[INFO] fetching crate rstat 0.6.0... [INFO] testing rstat-0.6.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate rstat 0.6.0 into /workspace/builds/worker-7-tc2/source [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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rstat 0.6.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 69 packages to latest compatible versions [INFO] [stderr] Adding ndarray v0.13.1 (available: v0.16.1) [INFO] [stderr] Adding ndarray-linalg v0.12.1 (available: v0.17.0) [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding rand_distr v0.2.2 (available: v0.5.1) [INFO] [stderr] Adding spaces v5.0.0 (available: v6.0.0) [INFO] [stderr] Adding special-fun v0.2.0 (available: v0.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76d833bd7ea4e660839c7626e6f84fc39378c2954c42eafcba7dad861c0f785a [INFO] running `Command { std: "docker" "start" "-a" "76d833bd7ea4e660839c7626e6f84fc39378c2954c42eafcba7dad861c0f785a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76d833bd7ea4e660839c7626e6f84fc39378c2954c42eafcba7dad861c0f785a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76d833bd7ea4e660839c7626e6f84fc39378c2954c42eafcba7dad861c0f785a", kill_on_drop: false }` [INFO] [stdout] 76d833bd7ea4e660839c7626e6f84fc39378c2954c42eafcba7dad861c0f785a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36a499f96391a7f52dfa9c4698e8cc0144b6f9850c0a651f4b684c802d9d733b [INFO] running `Command { std: "docker" "start" "-a" "36a499f96391a7f52dfa9c4698e8cc0144b6f9850c0a651f4b684c802d9d733b", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling special-fun v0.2.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling spaces v5.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling failure v0.1.8 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(future_incompatible)]`) 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/folded_normal.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | 0.5 * (((x + mu) / sigma / sqrt_2).erf() + ((x - mu) / sigma / sqrt_2).erf()), [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::erf(...)` 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/folded_normal.rs:70:84 [INFO] [stdout] | [INFO] [stdout] 70 | 0.5 * (((x + mu) / sigma / sqrt_2).erf() + ((x - mu) / sigma / sqrt_2).erf()), [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::erf(...)` 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/folded_normal.rs:105:62 [INFO] [stdout] | [INFO] [stdout] 105 | sigma * TWO_OVER_PI.sqrt() * (-z * z).exp() + mu * z.erf() [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::erf(...)` 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/levy.rs:47:57 [INFO] [stdout] | [INFO] [stdout] 47 | Probability::new_unchecked((c / 2.0 / (x - mu)).erfc()) [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::erfc(...)` 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)]` (part of `#[warn(unused)]`) 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/probability.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidProbabilityError` [INFO] [stdout] 15 | #[fail(display = "Value {} doesn't lie in the range [0.0, 1.0].", _0)] [INFO] [stdout] 16 | pub struct InvalidProbabilityError(f64); [INFO] [stdout] | ----------------------- `InvalidProbabilityError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/probability.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidProbabilityError` [INFO] [stdout] 15 | #[fail(display = "Value {} doesn't lie in the range [0.0, 1.0].", _0)] [INFO] [stdout] 16 | pub struct InvalidProbabilityError(f64); [INFO] [stdout] | ----------------------- `InvalidProbabilityError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/probability.rs:373:24 [INFO] [stdout] | [INFO] [stdout] 373 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidSimplexError` [INFO] [stdout] 374 | #[fail(display = "Probabilities {:?} do not sum to 1.", _0)] [INFO] [stdout] 375 | pub struct InvalidSimplexError(Vec); [INFO] [stdout] | ------------------- `InvalidSimplexError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/probability.rs:373:24 [INFO] [stdout] | [INFO] [stdout] 373 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidSimplexError` [INFO] [stdout] 374 | #[fail(display = "Probabilities {:?} do not sum to 1.", _0)] [INFO] [stdout] 375 | pub struct InvalidSimplexError(Vec); [INFO] [stdout] | ------------------- `InvalidSimplexError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fitting.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_FittingError` [INFO] [stdout] 5 | pub enum FittingError { [INFO] [stdout] | ------------ `FittingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fitting.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_FittingError` [INFO] [stdout] 5 | pub enum FittingError { [INFO] [stdout] | ------------ `FittingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/mixture.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MixtureError` [INFO] [stdout] 24 | pub enum MixtureError { [INFO] [stdout] | ------------ `MixtureError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/mixture.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MixtureError` [INFO] [stdout] 24 | pub enum MixtureError { [INFO] [stdout] | ------------ `MixtureError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.27s [INFO] running `Command { std: "docker" "inspect" "36a499f96391a7f52dfa9c4698e8cc0144b6f9850c0a651f4b684c802d9d733b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36a499f96391a7f52dfa9c4698e8cc0144b6f9850c0a651f4b684c802d9d733b", kill_on_drop: false }` [INFO] [stdout] 36a499f96391a7f52dfa9c4698e8cc0144b6f9850c0a651f4b684c802d9d733b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b97babb5bd09966ac31cd16459715679316a30d2858efdd94a3b08afab8613ec [INFO] running `Command { std: "docker" "start" "-a" "b97babb5bd09966ac31cd16459715679316a30d2858efdd94a3b08afab8613ec", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(future_incompatible)]`) 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/folded_normal.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | 0.5 * (((x + mu) / sigma / sqrt_2).erf() + ((x - mu) / sigma / sqrt_2).erf()), [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::erf(...)` 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/folded_normal.rs:70:84 [INFO] [stdout] | [INFO] [stdout] 70 | 0.5 * (((x + mu) / sigma / sqrt_2).erf() + ((x - mu) / sigma / sqrt_2).erf()), [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::erf(...)` 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/folded_normal.rs:105:62 [INFO] [stdout] | [INFO] [stdout] 105 | sigma * TWO_OVER_PI.sqrt() * (-z * z).exp() + mu * z.erf() [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::erf(...)` 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/levy.rs:47:57 [INFO] [stdout] | [INFO] [stdout] 47 | Probability::new_unchecked((c / 2.0 / (x - mu)).erfc()) [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::erfc(...)` 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)]` (part of `#[warn(unused)]`) 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/probability.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidProbabilityError` [INFO] [stdout] 15 | #[fail(display = "Value {} doesn't lie in the range [0.0, 1.0].", _0)] [INFO] [stdout] 16 | pub struct InvalidProbabilityError(f64); [INFO] [stdout] | ----------------------- `InvalidProbabilityError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/probability.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidProbabilityError` [INFO] [stdout] 15 | #[fail(display = "Value {} doesn't lie in the range [0.0, 1.0].", _0)] [INFO] [stdout] 16 | pub struct InvalidProbabilityError(f64); [INFO] [stdout] | ----------------------- `InvalidProbabilityError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rstat v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/probability.rs:373:24 [INFO] [stdout] | [INFO] [stdout] 373 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidSimplexError` [INFO] [stdout] 374 | #[fail(display = "Probabilities {:?} do not sum to 1.", _0)] [INFO] [stdout] 375 | pub struct InvalidSimplexError(Vec); [INFO] [stdout] | ------------------- `InvalidSimplexError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/probability.rs:373:24 [INFO] [stdout] | [INFO] [stdout] 373 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidSimplexError` [INFO] [stdout] 374 | #[fail(display = "Probabilities {:?} do not sum to 1.", _0)] [INFO] [stdout] 375 | pub struct InvalidSimplexError(Vec); [INFO] [stdout] | ------------------- `InvalidSimplexError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fitting.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_FittingError` [INFO] [stdout] 5 | pub enum FittingError { [INFO] [stdout] | ------------ `FittingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fitting.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_FittingError` [INFO] [stdout] 5 | pub enum FittingError { [INFO] [stdout] | ------------ `FittingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/mixture.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MixtureError` [INFO] [stdout] 24 | pub enum MixtureError { [INFO] [stdout] | ------------ `MixtureError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/mixture.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MixtureError` [INFO] [stdout] 24 | pub enum MixtureError { [INFO] [stdout] | ------------ `MixtureError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(future_incompatible)]`) 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/folded_normal.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | 0.5 * (((x + mu) / sigma / sqrt_2).erf() + ((x - mu) / sigma / sqrt_2).erf()), [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::erf(...)` 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/folded_normal.rs:70:84 [INFO] [stdout] | [INFO] [stdout] 70 | 0.5 * (((x + mu) / sigma / sqrt_2).erf() + ((x - mu) / sigma / sqrt_2).erf()), [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::erf(...)` 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/folded_normal.rs:105:62 [INFO] [stdout] | [INFO] [stdout] 105 | sigma * TWO_OVER_PI.sqrt() * (-z * z).exp() + mu * z.erf() [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::erf(...)` 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/levy.rs:47:57 [INFO] [stdout] | [INFO] [stdout] 47 | Probability::new_unchecked((c / 2.0 / (x - mu)).erfc()) [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::erfc(...)` 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)]` (part of `#[warn(unused)]`) 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/probability.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidProbabilityError` [INFO] [stdout] 15 | #[fail(display = "Value {} doesn't lie in the range [0.0, 1.0].", _0)] [INFO] [stdout] 16 | pub struct InvalidProbabilityError(f64); [INFO] [stdout] | ----------------------- `InvalidProbabilityError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/probability.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidProbabilityError` [INFO] [stdout] 15 | #[fail(display = "Value {} doesn't lie in the range [0.0, 1.0].", _0)] [INFO] [stdout] 16 | pub struct InvalidProbabilityError(f64); [INFO] [stdout] | ----------------------- `InvalidProbabilityError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/probability.rs:373:24 [INFO] [stdout] | [INFO] [stdout] 373 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidSimplexError` [INFO] [stdout] 374 | #[fail(display = "Probabilities {:?} do not sum to 1.", _0)] [INFO] [stdout] 375 | pub struct InvalidSimplexError(Vec); [INFO] [stdout] | ------------------- `InvalidSimplexError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/probability.rs:373:24 [INFO] [stdout] | [INFO] [stdout] 373 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidSimplexError` [INFO] [stdout] 374 | #[fail(display = "Probabilities {:?} do not sum to 1.", _0)] [INFO] [stdout] 375 | pub struct InvalidSimplexError(Vec); [INFO] [stdout] | ------------------- `InvalidSimplexError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fitting.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_FittingError` [INFO] [stdout] 5 | pub enum FittingError { [INFO] [stdout] | ------------ `FittingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fitting.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_FittingError` [INFO] [stdout] 5 | pub enum FittingError { [INFO] [stdout] | ------------ `FittingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/mixture.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MixtureError` [INFO] [stdout] 24 | pub enum MixtureError { [INFO] [stdout] | ------------ `MixtureError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/mixture.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MixtureError` [INFO] [stdout] 24 | pub enum MixtureError { [INFO] [stdout] | ------------ `MixtureError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.15s [INFO] running `Command { std: "docker" "inspect" "b97babb5bd09966ac31cd16459715679316a30d2858efdd94a3b08afab8613ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b97babb5bd09966ac31cd16459715679316a30d2858efdd94a3b08afab8613ec", kill_on_drop: false }` [INFO] [stdout] b97babb5bd09966ac31cd16459715679316a30d2858efdd94a3b08afab8613ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8a9aa25d5e1d3f8b91e77366fcc725b811b2fd11ea9e51d6882b4c98d543ddee [INFO] running `Command { std: "docker" "start" "-a" "8a9aa25d5e1d3f8b91e77366fcc725b811b2fd11ea9e51d6882b4c98d543ddee", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(future_incompatible)]`) 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/folded_normal.rs:70:48 [INFO] [stderr] | [INFO] [stderr] 70 | 0.5 * (((x + mu) / sigma / sqrt_2).erf() + ((x - mu) / sigma / sqrt_2).erf()), [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::erf(...)` 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/folded_normal.rs:70:84 [INFO] [stderr] | [INFO] [stderr] 70 | 0.5 * (((x + mu) / sigma / sqrt_2).erf() + ((x - mu) / sigma / sqrt_2).erf()), [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::erf(...)` 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/folded_normal.rs:105:62 [INFO] [stderr] | [INFO] [stderr] 105 | sigma * TWO_OVER_PI.sqrt() * (-z * z).exp() + mu * z.erf() [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::erf(...)` 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/levy.rs:47:57 [INFO] [stderr] | [INFO] [stderr] 47 | Probability::new_unchecked((c / 2.0 / (x - mu)).erfc()) [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::erfc(...)` 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)]` (part of `#[warn(unused)]`) 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/probability.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidProbabilityError` [INFO] [stderr] 15 | #[fail(display = "Value {} doesn't lie in the range [0.0, 1.0].", _0)] [INFO] [stderr] 16 | pub struct InvalidProbabilityError(f64); [INFO] [stderr] | ----------------------- `InvalidProbabilityError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/probability.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidProbabilityError` [INFO] [stderr] 15 | #[fail(display = "Value {} doesn't lie in the range [0.0, 1.0].", _0)] [INFO] [stdout] [INFO] [stderr] 16 | pub struct InvalidProbabilityError(f64); [INFO] [stdout] running 12 tests [INFO] [stderr] | ----------------------- `InvalidProbabilityError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/probability.rs:373:24 [INFO] [stderr] | [INFO] [stderr] 373 | #[derive(Clone, Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidSimplexError` [INFO] [stderr] 374 | #[fail(display = "Probabilities {:?} do not sum to 1.", _0)] [INFO] [stderr] 375 | pub struct InvalidSimplexError(Vec); [INFO] [stderr] | ------------------- `InvalidSimplexError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/probability.rs:373:24 [INFO] [stderr] | [INFO] [stderr] 373 | #[derive(Clone, Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidSimplexError` [INFO] [stderr] 374 | #[fail(display = "Probabilities {:?} do not sum to 1.", _0)] [INFO] [stderr] 375 | pub struct InvalidSimplexError(Vec); [INFO] [stderr] | ------------------- `InvalidSimplexError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] test linalg::tests::test_choleksy ... ok [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] test linalg::tests::test_inverse_lt ... ok [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] test normal::multivariate::tests::test_pdf ... ok [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/fitting.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stdout] test mixture::tests::test_uniform_pair_mixture ... ok [INFO] [stderr] | `Fail` is not local [INFO] [stdout] test params::constraints::tests::test_non_negative ... ok [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_FittingError` [INFO] [stdout] test univariate::arcsine::tests::test_median ... ok [INFO] [stderr] 5 | pub enum FittingError { [INFO] [stdout] test probability::tests::test_sample_index_degenerate ... ok [INFO] [stderr] | ------------ `FittingError` is not local [INFO] [stdout] test probability::tests::test_sample_index_degenerate_n ... ok [INFO] [stderr] | [INFO] [stdout] test univariate::arcsine::tests::test_skewness ... ok [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] test univariate::arcsine::tests::test_variance ... ok [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] test univariate::arcsine::tests::test_mode ... ok [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] test univariate::arcsine::tests::test_mean ... ok [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] --> src/fitting.rs:4:17 [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_FittingError` [INFO] [stderr] 5 | pub enum FittingError { [INFO] [stderr] | ------------ `FittingError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/mixture.rs:23:24 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Clone, Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MixtureError` [INFO] [stderr] 24 | pub enum MixtureError { [INFO] [stderr] | ------------ `MixtureError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/mixture.rs:23:24 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Clone, Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MixtureError` [INFO] [stderr] 24 | pub enum MixtureError { [INFO] [stderr] | ------------ `MixtureError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rstat` (lib) generated 51 warnings (run `cargo fix --lib -p rstat` to apply 2 suggestions) [INFO] [stderr] warning: `rstat` (lib test) generated 51 warnings (51 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rstat-f1e540c2e3a41c82) [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)]` (part of `#[warn(unused)]`) 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/normal/multivariate.rs - normal::multivariate::IsotropicNormal::isotropic_unchecked (line 515) ... ok [INFO] [stdout] test src/lib.rs - ContinuousDistribution::pdf (line 237) ... ok [INFO] [stdout] test src/lib.rs - Distribution::params (line 102) ... 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::IsotropicNormal::isotropic (line 497) ... ok [INFO] [stdout] test src/lib.rs - Distribution::support (line 84) ... ok [INFO] [stdout] test src/lib.rs - Convolution::convolve (line 273) ... ok [INFO] [stdout] test src/mixture.rs - mixture::Mixture (line 33) ... ok [INFO] [stdout] test src/normal/multivariate.rs - normal::multivariate::IsotropicNormal::standard_unchecked (line 593) ... ok [INFO] [stdout] test src/normal/multivariate.rs - normal::multivariate::DiagonalNormal::diagonal (line 319) ... ok [INFO] [stdout] test src/normal/multivariate.rs - normal::multivariate::IsotropicNormal::standard (line 575) ... ok [INFO] [stdout] test src/normal/multivariate.rs - normal::multivariate::MvNormal>::new_unchecked (line 131) ... ok [INFO] [stdout] test src/probability.rs - probability::Probability::ln (line 91) ... ok [INFO] [stdout] test src/normal/multivariate.rs - normal::multivariate::IsotropicNormal::homogeneous (line 541) ... 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::MvNormal>::new (line 105) ... ok [INFO] [stdout] test src/probability.rs - probability::Probability::powf (line 111) ... ok [INFO] [stdout] test src/probability.rs - probability::Probability::is_valid (line 80) ... ok [INFO] [stdout] test src/probability.rs - probability::Probability::new (line 35) ... ok [INFO] [stdout] test src/params/mod.rs - params::Param::value (line 18) ... ok [INFO] [stdout] test src/probability.rs - probability::Probability::powi (line 121) ... ok [INFO] [stdout] test src/probability.rs - probability::Probability::log2 (line 101) ... ok [INFO] [stdout] test src/probability.rs - probability::Probability::unwrap (line 70) ... ok [INFO] [stdout] test src/lib.rs - Distribution::cdf (line 122) ... 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.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8a9aa25d5e1d3f8b91e77366fcc725b811b2fd11ea9e51d6882b4c98d543ddee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a9aa25d5e1d3f8b91e77366fcc725b811b2fd11ea9e51d6882b4c98d543ddee", kill_on_drop: false }` [INFO] [stdout] 8a9aa25d5e1d3f8b91e77366fcc725b811b2fd11ea9e51d6882b4c98d543ddee