[INFO] fetching crate probability 0.17.0... [INFO] testing probability-0.17.0 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate probability 0.17.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate probability 0.17.0 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate probability 0.17.0 [INFO] finished tweaking crates.io crate probability 0.17.0 [INFO] tweaked toml for crates.io crate probability 0.17.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert v0.7.4 [INFO] [stderr] Downloaded special v0.8.1 [INFO] [stderr] Downloaded random v0.12.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a0ea47616ba41c3beee9627c907be5e5c670599efd9e18a756e8ebf12547735 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2a0ea47616ba41c3beee9627c907be5e5c670599efd9e18a756e8ebf12547735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a0ea47616ba41c3beee9627c907be5e5c670599efd9e18a756e8ebf12547735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a0ea47616ba41c3beee9627c907be5e5c670599efd9e18a756e8ebf12547735", kill_on_drop: false }` [INFO] [stdout] 2a0ea47616ba41c3beee9627c907be5e5c670599efd9e18a756e8ebf12547735 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb782f2d477b35740698cf13c2198e9fe2438edf1aa63337f70d9e954f768504 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fb782f2d477b35740698cf13c2198e9fe2438edf1aa63337f70d9e954f768504", kill_on_drop: false }` [INFO] [stderr] Compiling random v0.12.2 [INFO] [stderr] Compiling special v0.8.1 [INFO] [stderr] Compiling probability v0.17.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/distribution/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | fn density(&self, f64) -> f64; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/distribution/mod.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | fn mass(&self, Self::Value) -> f64; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Value` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/distribution/mod.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | fn distribution(&self, f64) -> f64; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/distribution/mod.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | fn inverse(&self, f64) -> Self::Value; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/distribution/mod.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | fn sample(&self, &mut S) -> Self::Value [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut S` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "fb782f2d477b35740698cf13c2198e9fe2438edf1aa63337f70d9e954f768504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb782f2d477b35740698cf13c2198e9fe2438edf1aa63337f70d9e954f768504", kill_on_drop: false }` [INFO] [stdout] fb782f2d477b35740698cf13c2198e9fe2438edf1aa63337f70d9e954f768504 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f547949129bd849e3fec1d35ccb4f0e7f872548aa5594d6982e51d9f440e1513 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f547949129bd849e3fec1d35ccb4f0e7f872548aa5594d6982e51d9f440e1513", kill_on_drop: false }` [INFO] [stderr] Compiling assert v0.7.4 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/distribution/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | fn density(&self, f64) -> f64; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/distribution/mod.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | fn mass(&self, Self::Value) -> f64; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Value` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/distribution/mod.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | fn distribution(&self, f64) -> f64; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/distribution/mod.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | fn inverse(&self, f64) -> Self::Value; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/distribution/mod.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | fn sample(&self, &mut S) -> Self::Value [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut S` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling probability v0.17.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/distribution/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | fn density(&self, f64) -> f64; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/distribution/mod.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | fn mass(&self, Self::Value) -> f64; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Value` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/distribution/mod.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | fn distribution(&self, f64) -> f64; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/distribution/mod.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | fn inverse(&self, f64) -> Self::Value; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/distribution/mod.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | fn sample(&self, &mut S) -> Self::Value [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut S` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 192 | let d = new!([0.0, 0.75, 0.25, 0.0]); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 223 | assert_eq!(new!([0.1, 0.2, 0.3, 0.4]).entropy(), 1.2798542258336676); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 228 | let d = new!([0.0, 0.75, 0.25, 0.0]); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 246 | assert_eq!(new!([0.1, 0.2, 0.3, 0.4]).kurtosis(), -0.7999999999999998); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 252 | let d = new!(p); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 265 | assert_eq!(new!([0.3, 0.3, 0.4]).mean(), 1.1); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 267 | new!([1.0 / 6.0, 1.0 / 3.0, 1.0 / 3.0, 1.0 / 6.0]).mean(), [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 274 | assert_eq!(new!([0.6, 0.2, 0.2]).median(), 0.0); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 276 | assert_eq!(new!([0.1, 0.2, 0.3, 0.4]).median(), 2.0); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 278 | new!([1.0 / 6.0, 1.0 / 3.0, 1.0 / 3.0, 1.0 / 6.0]).median(), [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 285 | assert_eq!(new!([0.6, 0.2, 0.2]).modes(), vec![0]); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 288 | assert_eq!(new!([0.4, 0.2, 0.4]).modes(), vec![0, 2]); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 290 | new!([1.0 / 6.0, 1.0 / 3.0, 1.0 / 3.0, 1.0 / 6.0]).modes(), [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 299 | let sum = Independent(&new!([0.0, 0.5, 0.5]), &mut source) [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 307 | assert!(Independent(&new!(p), &mut source) [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 316 | new!([1.0 / 6.0, 1.0 / 3.0, 1.0 / 3.0, 1.0 / 6.0]).skewness(), [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 319 | assert_eq!(new!([0.1, 0.2, 0.3, 0.4]).skewness(), -0.6); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/distribution/categorical.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 326 | new!([1.0 / 6.0, 1.0 / 3.0, 1.0 / 3.0, 1.0 / 6.0]).variance(), [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.45s [INFO] running `Command { std: "docker" "inspect" "f547949129bd849e3fec1d35ccb4f0e7f872548aa5594d6982e51d9f440e1513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f547949129bd849e3fec1d35ccb4f0e7f872548aa5594d6982e51d9f440e1513", kill_on_drop: false }` [INFO] [stdout] f547949129bd849e3fec1d35ccb4f0e7f872548aa5594d6982e51d9f440e1513 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5853af760a86a184f3a6e8ba57ec55578c3a6b6d9e1a0d1334265d612e0653a9 [INFO] running `Command { std: "docker" "start" "-a" "5853af760a86a184f3a6e8ba57ec55578c3a6b6d9e1a0d1334265d612e0653a9", kill_on_drop: false }` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/distribution/mod.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | fn density(&self, f64) -> f64; [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/distribution/mod.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | fn mass(&self, Self::Value) -> f64; [INFO] [stderr] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Value` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/distribution/mod.rs:23:28 [INFO] [stderr] | [INFO] [stderr] 23 | fn distribution(&self, f64) -> f64; [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/distribution/mod.rs:37:23 [INFO] [stderr] | [INFO] [stderr] 37 | fn inverse(&self, f64) -> Self::Value; [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/distribution/mod.rs:73:25 [INFO] [stderr] | [INFO] [stderr] 73 | fn sample(&self, &mut S) -> Self::Value [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut S` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 192 | let d = new!([0.0, 0.75, 0.25, 0.0]); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 223 | assert_eq!(new!([0.1, 0.2, 0.3, 0.4]).entropy(), 1.2798542258336676); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 228 | let d = new!([0.0, 0.75, 0.25, 0.0]); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 246 | assert_eq!(new!([0.1, 0.2, 0.3, 0.4]).kurtosis(), -0.7999999999999998); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 252 | let d = new!(p); [INFO] [stderr] | ------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 265 | assert_eq!(new!([0.3, 0.3, 0.4]).mean(), 1.1); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 267 | new!([1.0 / 6.0, 1.0 / 3.0, 1.0 / 3.0, 1.0 / 6.0]).mean(), [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 274 | assert_eq!(new!([0.6, 0.2, 0.2]).median(), 0.0); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 276 | assert_eq!(new!([0.1, 0.2, 0.3, 0.4]).median(), 2.0); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 278 | new!([1.0 / 6.0, 1.0 / 3.0, 1.0 / 3.0, 1.0 / 6.0]).median(), [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 285 | assert_eq!(new!([0.6, 0.2, 0.2]).modes(), vec![0]); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 288 | assert_eq!(new!([0.4, 0.2, 0.4]).modes(), vec![0, 2]); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 290 | new!([1.0 / 6.0, 1.0 / 3.0, 1.0 / 3.0, 1.0 / 6.0]).modes(), [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 299 | let sum = Independent(&new!([0.0, 0.5, 0.5]), &mut source) [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 307 | assert!(Independent(&new!(p), &mut source) [INFO] [stderr] | ------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 316 | new!([1.0 / 6.0, 1.0 / 3.0, 1.0 / 3.0, 1.0 / 6.0]).skewness(), [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 319 | assert_eq!(new!([0.1, 0.2, 0.3, 0.4]).skewness(), -0.6); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/distribution/categorical.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | ($p:expr) => { Categorical::new(&$p); } [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 326 | new!([1.0 / 6.0, 1.0 / 3.0, 1.0 / 3.0, 1.0 / 6.0]).variance(), [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `probability` (lib) generated 5 warnings [INFO] [stderr] warning: `probability` (lib test) generated 23 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/probability-22a76327e8f01b0f) [INFO] [stdout] [INFO] [stdout] running 138 tests [INFO] [stdout] test distribution::bernoulli::tests::kurtosis ... ok [INFO] [stdout] test distribution::bernoulli::tests::mean ... ok [INFO] [stdout] test distribution::bernoulli::tests::median ... ok [INFO] [stdout] test distribution::bernoulli::tests::modes ... ok [INFO] [stdout] test distribution::bernoulli::tests::skewness ... ok [INFO] [stdout] test distribution::bernoulli::tests::variance ... ok [INFO] [stdout] test distribution::bernoulli::tests::sample ... ok [INFO] [stdout] test distribution::beta::tests::median ... ok [INFO] [stdout] test distribution::beta::tests::distribution ... ok [INFO] [stdout] test distribution::beta::tests::modes ... ok [INFO] [stdout] test distribution::beta::tests::entropy ... ok [INFO] [stdout] test distribution::beta::tests::skewness ... ok [INFO] [stdout] test distribution::binomial::tests::distribution ... ok [INFO] [stdout] test distribution::binomial::tests::entropy ... ok [INFO] [stdout] test distribution::bernoulli::tests::entropy ... ok [INFO] [stdout] test distribution::binomial::tests::mean ... ok [INFO] [stdout] test distribution::beta::tests::inverse ... ok [INFO] [stdout] test distribution::beta::tests::kurtosis ... ok [INFO] [stdout] test distribution::beta::tests::density ... ok [INFO] [stdout] test distribution::beta::tests::mean ... ok [INFO] [stdout] test distribution::beta::tests::variance ... ok [INFO] [stdout] test distribution::beta::tests::sample ... ok [INFO] [stdout] test distribution::binomial::tests::inverse ... ok [INFO] [stdout] test distribution::binomial::tests::kurtosis ... ok [INFO] [stdout] test distribution::categorical::tests::kurtosis ... ok [INFO] [stdout] test distribution::binomial::tests::median ... ok [INFO] [stdout] test distribution::binomial::tests::variance ... ok [INFO] [stdout] test distribution::categorical::tests::distribution ... ok [INFO] [stdout] test distribution::categorical::tests::entropy ... ok [INFO] [stdout] test distribution::categorical::tests::inverse ... ok [INFO] [stdout] test distribution::exponential::tests::distribution ... ok [INFO] [stdout] test distribution::categorical::tests::mass ... ok [INFO] [stdout] test distribution::binomial::tests::modes ... ok [INFO] [stdout] test distribution::categorical::tests::mean ... ok [INFO] [stdout] test distribution::categorical::tests::median ... ok [INFO] [stdout] test distribution::categorical::tests::modes ... ok [INFO] [stdout] test distribution::exponential::tests::deviation ... ok [INFO] [stdout] test distribution::exponential::tests::density ... ok [INFO] [stdout] test distribution::exponential::tests::kurtosis ... ok [INFO] [stdout] test distribution::categorical::tests::variance ... ok [INFO] [stdout] test distribution::exponential::tests::inverse ... ok [INFO] [stdout] test distribution::exponential::tests::median ... ok [INFO] [stdout] test distribution::exponential::tests::modes ... ok [INFO] [stdout] test distribution::exponential::tests::mean ... ok [INFO] [stdout] test distribution::exponential::tests::skewness ... ok [INFO] [stdout] test distribution::exponential::tests::variance ... ok [INFO] [stdout] test distribution::gamma::tests::distribution ... ok [INFO] [stdout] test distribution::gamma::tests::density ... ok [INFO] [stdout] test distribution::exponential::tests::entropy ... ok [INFO] [stdout] test distribution::gamma::tests::modes ... ok [INFO] [stdout] test distribution::gamma::tests::entropy ... ok [INFO] [stdout] test distribution::gamma::tests::mean ... ok [INFO] [stdout] test distribution::gamma::tests::variance ... ok [INFO] [stdout] test distribution::gamma::tests::kurtosis ... ok [INFO] [stdout] test distribution::gaussian::tests::density ... ok [INFO] [stdout] test distribution::gamma::tests::skewness ... ok [INFO] [stdout] test distribution::bernoulli::tests::inverse ... ok [INFO] [stdout] test distribution::gaussian::tests::deviation ... ok [INFO] [stdout] test distribution::bernoulli::tests::mass ... ok [INFO] [stdout] test distribution::binomial::tests::mass ... ok [INFO] [stdout] test distribution::gaussian::tests::kurtosis ... ok [INFO] [stdout] test distribution::bernoulli::tests::distribution ... ok [INFO] [stdout] test distribution::gaussian::tests::mean ... ok [INFO] [stdout] test distribution::gaussian::tests::distribution ... ok [INFO] [stdout] test distribution::gaussian::tests::median ... ok [INFO] [stdout] test distribution::gaussian::tests::entropy ... ok [INFO] [stdout] test distribution::gaussian::tests::skewness ... ok [INFO] [stdout] test distribution::binomial::tests::skewness ... ok [INFO] [stdout] test distribution::laplace::tests::deviation ... ok [INFO] [stdout] test distribution::laplace::tests::distribution ... ok [INFO] [stdout] test distribution::laplace::tests::entropy ... ok [INFO] [stdout] test distribution::laplace::tests::mean ... ok [INFO] [stdout] test distribution::laplace::tests::kurtosis ... ok [INFO] [stdout] test distribution::laplace::tests::inverse ... ok [INFO] [stdout] test distribution::laplace::tests::variance ... ok [INFO] [stdout] test distribution::laplace::tests::median ... ok [INFO] [stdout] test distribution::laplace::tests::modes ... ok [INFO] [stdout] test distribution::logistic::tests::distribution ... ok [INFO] [stdout] test distribution::laplace::tests::skewness ... ok [INFO] [stdout] test distribution::logistic::tests::entropy ... ok [INFO] [stdout] test distribution::logistic::tests::density ... ok [INFO] [stdout] test distribution::logistic::tests::deviation ... ok [INFO] [stdout] test distribution::logistic::tests::median ... ok [INFO] [stdout] test distribution::logistic::tests::inverse ... ok [INFO] [stdout] test distribution::logistic::tests::modes ... ok [INFO] [stdout] test distribution::logistic::tests::mean ... ok [INFO] [stdout] test distribution::logistic::tests::kurtosis ... ok [INFO] [stdout] test distribution::lognormal::tests::density ... ok [INFO] [stdout] test distribution::lognormal::tests::deviation ... ok [INFO] [stdout] test distribution::logistic::tests::variance ... ok [INFO] [stdout] test distribution::logistic::tests::skewness ... ok [INFO] [stdout] test distribution::lognormal::tests::kurtosis ... ok [INFO] [stdout] test distribution::lognormal::tests::distribution ... ok [INFO] [stdout] test distribution::lognormal::tests::mean ... ok [INFO] [stdout] test distribution::lognormal::tests::entropy ... ok [INFO] [stdout] test distribution::lognormal::tests::inverse ... ok [INFO] [stdout] test distribution::lognormal::tests::variance ... ok [INFO] [stdout] test distribution::pert::tests::density ... ok [INFO] [stdout] test distribution::lognormal::tests::median ... ok [INFO] [stdout] test distribution::lognormal::tests::modes ... ok [INFO] [stdout] test distribution::pert::tests::kurtosis ... ok [INFO] [stdout] test distribution::lognormal::tests::skewness ... ok [INFO] [stdout] test distribution::pert::tests::mean ... ok [INFO] [stdout] test distribution::pert::tests::distribution ... ok [INFO] [stdout] test distribution::pert::tests::inverse ... ok [INFO] [stdout] test distribution::gaussian::tests::inverse ... ok [INFO] [stdout] test distribution::pert::tests::sample ... ok [INFO] [stdout] test distribution::pert::tests::entropy ... ok [INFO] [stdout] test distribution::pert::tests::skewness ... ok [INFO] [stdout] test distribution::pert::tests::median ... ok [INFO] [stdout] test distribution::pert::tests::modes ... ok [INFO] [stdout] test distribution::triangular::tests::median ... ok [INFO] [stdout] test distribution::pert::tests::variance ... ok [INFO] [stdout] test distribution::triangular::tests::modes ... ok [INFO] [stdout] test distribution::triangular::tests::density ... ok [INFO] [stdout] test distribution::triangular::tests::deviation ... ok [INFO] [stdout] test distribution::triangular::tests::skewness ... ok [INFO] [stdout] test distribution::triangular::tests::distribution ... ok [INFO] [stdout] test distribution::uniform::tests::distribution ... ok [INFO] [stdout] test distribution::uniform::tests::entropy ... ok [INFO] [stdout] test distribution::triangular::tests::entropy ... ok [INFO] [stdout] test distribution::triangular::tests::variance ... ok [INFO] [stdout] test distribution::uniform::tests::density ... ok [INFO] [stdout] test distribution::uniform::tests::inverse ... ok [INFO] [stdout] test distribution::uniform::tests::kurtosis ... ok [INFO] [stdout] test distribution::uniform::tests::mean ... ok [INFO] [stdout] test distribution::uniform::tests::median ... ok [INFO] [stdout] test distribution::uniform::tests::sample ... ok [INFO] [stdout] test distribution::uniform::tests::skewness ... ok [INFO] [stdout] test distribution::uniform::tests::variance ... ok [INFO] [stdout] test distribution::laplace::tests::density ... ok [INFO] [stdout] test distribution::gaussian::tests::variance ... ok [INFO] [stdout] test distribution::gaussian::tests::modes ... ok [INFO] [stdout] test distribution::triangular::tests::inverse ... ok [INFO] [stdout] test distribution::triangular::tests::kurtosis ... ok [INFO] [stdout] test distribution::triangular::tests::mean ... ok [INFO] [stdout] test distribution::categorical::tests::sample ... ok [INFO] [stdout] test distribution::categorical::tests::skewness ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 138 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests probability [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 5) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5853af760a86a184f3a6e8ba57ec55578c3a6b6d9e1a0d1334265d612e0653a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5853af760a86a184f3a6e8ba57ec55578c3a6b6d9e1a0d1334265d612e0653a9", kill_on_drop: false }` [INFO] [stdout] 5853af760a86a184f3a6e8ba57ec55578c3a6b6d9e1a0d1334265d612e0653a9