[INFO] fetching crate stats_traits 0.1.0... [INFO] testing stats_traits-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate stats_traits 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate stats_traits 0.1.0 [INFO] finished tweaking crates.io crate stats_traits 0.1.0 [INFO] tweaked toml for crates.io crate stats_traits 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stats_traits 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed7ac2861c069adcb12621c9893f90f722680f5ad699707896aa777970987c70 [INFO] running `Command { std: "docker" "start" "-a" "ed7ac2861c069adcb12621c9893f90f722680f5ad699707896aa777970987c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed7ac2861c069adcb12621c9893f90f722680f5ad699707896aa777970987c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed7ac2861c069adcb12621c9893f90f722680f5ad699707896aa777970987c70", kill_on_drop: false }` [INFO] [stdout] ed7ac2861c069adcb12621c9893f90f722680f5ad699707896aa777970987c70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f9bb8fc658b56961e5e3c974b170e0c0627883fcaa91e63c8b84be58a0a09d4 [INFO] running `Command { std: "docker" "start" "-a" "1f9bb8fc658b56961e5e3c974b170e0c0627883fcaa91e63c8b84be58a0a09d4", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling stats_traits v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.65s [INFO] running `Command { std: "docker" "inspect" "1f9bb8fc658b56961e5e3c974b170e0c0627883fcaa91e63c8b84be58a0a09d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f9bb8fc658b56961e5e3c974b170e0c0627883fcaa91e63c8b84be58a0a09d4", kill_on_drop: false }` [INFO] [stdout] 1f9bb8fc658b56961e5e3c974b170e0c0627883fcaa91e63c8b84be58a0a09d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b213825c8e3f2c3f0d11a2c1debed2d29a94cfa76238c8dd00988e4fb3295219 [INFO] running `Command { std: "docker" "start" "-a" "b213825c8e3f2c3f0d11a2c1debed2d29a94cfa76238c8dd00988e4fb3295219", kill_on_drop: false }` [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling stats_traits v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `panic` is ambiguous [INFO] [stdout] --> src/freq.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | assert_relative_eq!(vec.mean().unwrap(), 5.0 / 3.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `panic` could refer to the macro imported here [INFO] [stdout] --> src/freq.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | use std::prelude::rust_2021::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] note: `panic` could also refer to a macro from prelude [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/prelude/mod.rs:41:12 [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 #147319 [INFO] [stdout] = note: `#[warn(ambiguous_panic_imports)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `assert` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `panic` is ambiguous [INFO] [stdout] --> src/freq.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | assert_relative_eq!(vec.variance().unwrap(), 2.0 / 9.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `panic` could refer to the macro imported here [INFO] [stdout] --> src/freq.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | use std::prelude::rust_2021::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] note: `panic` could also refer to a macro from prelude [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/prelude/mod.rs:41:12 [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 #147319 [INFO] [stdout] = note: this warning originates in the macro `assert` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `panic` is ambiguous [INFO] [stdout] --> src/stats.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | assert_relative_eq!(v.sum(), 6.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `panic` could refer to the macro imported here [INFO] [stdout] --> src/stats.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | use std::prelude::rust_2021::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] note: `panic` could also refer to a macro from prelude [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/prelude/mod.rs:41:12 [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 #147319 [INFO] [stdout] = note: this warning originates in the macro `assert` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `panic` is ambiguous [INFO] [stdout] --> src/stats.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | assert_relative_eq!(v.mean().unwrap(), 2.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `panic` could refer to the macro imported here [INFO] [stdout] --> src/stats.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | use std::prelude::rust_2021::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] note: `panic` could also refer to a macro from prelude [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/prelude/mod.rs:41:12 [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 #147319 [INFO] [stdout] = note: this warning originates in the macro `assert` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `panic` is ambiguous [INFO] [stdout] --> src/stats.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | assert_relative_eq!(v.variance().unwrap(), 2.0 / 3.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `panic` could refer to the macro imported here [INFO] [stdout] --> src/stats.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | use std::prelude::rust_2021::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] note: `panic` could also refer to a macro from prelude [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/prelude/mod.rs:41:12 [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 #147319 [INFO] [stdout] = note: this warning originates in the macro `assert` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `panic` is ambiguous [INFO] [stdout] --> src/stats.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | assert_relative_eq!(v.std_dev().unwrap(), 2.0_f64.sqrt() / 3.0_f64.sqrt()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `panic` could refer to the macro imported here [INFO] [stdout] --> src/stats.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | use std::prelude::rust_2021::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] note: `panic` could also refer to a macro from prelude [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/prelude/mod.rs:41:12 [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 #147319 [INFO] [stdout] = note: this warning originates in the macro `assert` which comes from the expansion of the macro `assert_relative_eq` (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 0.91s [INFO] running `Command { std: "docker" "inspect" "b213825c8e3f2c3f0d11a2c1debed2d29a94cfa76238c8dd00988e4fb3295219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b213825c8e3f2c3f0d11a2c1debed2d29a94cfa76238c8dd00988e4fb3295219", kill_on_drop: false }` [INFO] [stdout] b213825c8e3f2c3f0d11a2c1debed2d29a94cfa76238c8dd00988e4fb3295219 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f574b8cf4b4a2fb2955340fe738e496944e6cd5ba5bb44fbd60c582627796801 [INFO] running `Command { std: "docker" "start" "-a" "f574b8cf4b4a2fb2955340fe738e496944e6cd5ba5bb44fbd60c582627796801", kill_on_drop: false }` [INFO] [stderr] warning: `panic` is ambiguous [INFO] [stderr] --> src/freq.rs:228:9 [INFO] [stderr] | [INFO] [stderr] 228 | assert_relative_eq!(vec.mean().unwrap(), 5.0 / 3.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stderr] note: `panic` could refer to the macro imported here [INFO] [stderr] --> src/freq.rs:205:9 [INFO] [stderr] | [INFO] [stderr] 205 | use std::prelude::rust_2021::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stderr] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stderr] note: `panic` could also refer to a macro from prelude [INFO] [stderr] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/prelude/mod.rs:41:12 [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 #147319 [INFO] [stderr] = note: `#[warn(ambiguous_panic_imports)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `assert` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `panic` is ambiguous [INFO] [stderr] --> src/freq.rs:237:9 [INFO] [stderr] | [INFO] [stderr] 237 | assert_relative_eq!(vec.variance().unwrap(), 2.0 / 9.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stderr] note: `panic` could refer to the macro imported here [INFO] [stderr] --> src/freq.rs:205:9 [INFO] [stderr] | [INFO] [stderr] 205 | use std::prelude::rust_2021::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stderr] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stderr] note: `panic` could also refer to a macro from prelude [INFO] [stderr] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/prelude/mod.rs:41:12 [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 #147319 [INFO] [stderr] = note: this warning originates in the macro `assert` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `panic` is ambiguous [INFO] [stderr] --> src/stats.rs:214:9 [INFO] [stderr] | [INFO] [stderr] 214 | assert_relative_eq!(v.sum(), 6.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stderr] note: `panic` could refer to the macro imported here [INFO] [stderr] --> src/stats.rs:203:9 [INFO] [stderr] | [INFO] [stderr] 203 | use std::prelude::rust_2021::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stderr] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stderr] note: `panic` could also refer to a macro from prelude [INFO] [stderr] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/prelude/mod.rs:41:12 [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 #147319 [INFO] [stderr] = note: this warning originates in the macro `assert` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `panic` is ambiguous [INFO] [stderr] --> src/stats.rs:229:9 [INFO] [stderr] | [INFO] [stderr] 229 | assert_relative_eq!(v.mean().unwrap(), 2.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stderr] note: `panic` could refer to the macro imported here [INFO] [stderr] --> src/stats.rs:203:9 [INFO] [stderr] | [INFO] [stderr] 203 | use std::prelude::rust_2021::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stderr] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stderr] note: `panic` could also refer to a macro from prelude [INFO] [stderr] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/prelude/mod.rs:41:12 [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 #147319 [INFO] [stderr] = note: this warning originates in the macro `assert` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `panic` is ambiguous [INFO] [stderr] --> src/stats.rs:238:9 [INFO] [stderr] | [INFO] [stderr] 238 | assert_relative_eq!(v.variance().unwrap(), 2.0 / 3.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stderr] note: `panic` could refer to the macro imported here [INFO] [stderr] --> src/stats.rs:203:9 [INFO] [stderr] | [INFO] [stderr] 203 | use std::prelude::rust_2021::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stderr] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stderr] note: `panic` could also refer to a macro from prelude [INFO] [stderr] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/prelude/mod.rs:41:12 [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 #147319 [INFO] [stderr] = note: this warning originates in the macro `assert` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `panic` is ambiguous [INFO] [stderr] --> src/stats.rs:244:9 [INFO] [stderr] | [INFO] [stderr] 244 | assert_relative_eq!(v.std_dev().unwrap(), 2.0_f64.sqrt() / 3.0_f64.sqrt()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stderr] note: `panic` could refer to the macro imported here [INFO] [stderr] --> src/stats.rs:203:9 [INFO] [stderr] | [INFO] [stderr] 203 | use std::prelude::rust_2021::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stderr] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stderr] note: `panic` could also refer to a macro from prelude [INFO] [stderr] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/prelude/mod.rs:41:12 [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 #147319 [INFO] [stderr] = note: this warning originates in the macro `assert` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `stats_traits` (lib test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stats_traits-f5236040ccccb2d9) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test freq::tests::test_std_dev ... ok [INFO] [stdout] test freq::tests::test_mean ... ok [INFO] [stdout] test freq::tests::test_variance ... ok [INFO] [stdout] test helpers::tests::test_max_f32_nan ... ok [INFO] [stdout] test freq::tests::test_sum ... ok [INFO] [stdout] test helpers::tests::test_max_i32 ... ok [INFO] [stdout] test helpers::tests::test_min_f32 ... ok [INFO] [stdout] test helpers::tests::test_min_f32_nan ... ok [INFO] [stdout] test helpers::tests::test_min_i32 ... ok [INFO] [stdout] test stats::tests::test_count_vec ... ok [INFO] [stdout] test stats::tests::test_mean_vec ... ok [INFO] [stdout] test stats::tests::test_max_vec ... ok [INFO] [stdout] test stats::tests::test_min_vec ... ok [INFO] [stdout] test stats::tests::test_non_zero_count_fail ... ok [INFO] [stdout] test stats::tests::test_non_zero_count_as_item_fail ... ok [INFO] [stdout] test stats::tests::test_std_dev_vec ... ok [INFO] [stdout] test stats::tests::test_std_dev_vec_fail ... ok [INFO] [stdout] test stats::tests::test_range_vec ... ok [INFO] [stdout] test stats::tests::test_sum_vec ... ok [INFO] [stdout] test stats::tests::test_variance_vec ... ok [INFO] [stdout] test helpers::tests::test_max_f32 ... ok [INFO] [stdout] test freq::tests::test_non_zero_count ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests stats_traits [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/freq.rs - freq::FrequencyStats::sum (line 62) ... ok [INFO] [stdout] test src/stats.rs - stats::Stats::count (line 36) ... ok [INFO] [stdout] test src/freq.rs - freq::FrequencyStats::count (line 22) ... ok [INFO] [stdout] test src/stats.rs - stats::Stats::std_dev (line 128) ... ok [INFO] [stdout] test src/stats.rs - stats::Stats::mean (line 82) ... ok [INFO] [stdout] test src/stats.rs - stats::Stats::mean (line 76) ... ok [INFO] [stdout] test src/stats.rs - stats::Stats::sum (line 20) ... ok [INFO] [stdout] test src/freq.rs - freq::FrequencyStats::sum (line 57) ... ok [INFO] [stdout] test src/stats.rs - stats::Stats::mean (line 72) ... ok [INFO] [stdout] test src/stats.rs - stats::Stats::sum (line 24) ... ok [INFO] [stdout] test src/stats.rs - stats::Stats::variance (line 101) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.29s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f574b8cf4b4a2fb2955340fe738e496944e6cd5ba5bb44fbd60c582627796801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f574b8cf4b4a2fb2955340fe738e496944e6cd5ba5bb44fbd60c582627796801", kill_on_drop: false }` [INFO] [stdout] f574b8cf4b4a2fb2955340fe738e496944e6cd5ba5bb44fbd60c582627796801