[INFO] fetching crate rand-distributions 0.1.2... [INFO] checking rand-distributions-0.1.2 against master#7f5a42b073dc2bee2aa625052eb066ee07072048 for pr-78991 [INFO] extracting crate rand-distributions 0.1.2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate rand-distributions 0.1.2 on toolchain 7f5a42b073dc2bee2aa625052eb066ee07072048 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rand-distributions 0.1.2 [INFO] finished tweaking crates.io crate rand-distributions 0.1.2 [INFO] tweaked toml for crates.io crate rand-distributions 0.1.2 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c40b90890737c234ac5a5d4c485d70303ef59fcbcc6ac729f34abe9e043c233e [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" "c40b90890737c234ac5a5d4c485d70303ef59fcbcc6ac729f34abe9e043c233e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c40b90890737c234ac5a5d4c485d70303ef59fcbcc6ac729f34abe9e043c233e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c40b90890737c234ac5a5d4c485d70303ef59fcbcc6ac729f34abe9e043c233e", kill_on_drop: false }` [INFO] [stdout] c40b90890737c234ac5a5d4c485d70303ef59fcbcc6ac729f34abe9e043c233e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 5e39109368a42914b9e22a405d28a4bdf5e19418d1e4fc786c0e7f860cba6fbd [INFO] running `Command { std: "docker" "start" "-a" "5e39109368a42914b9e22a405d28a4bdf5e19418d1e4fc786c0e7f860cba6fbd", kill_on_drop: false }` [INFO] [stderr] Checking rand-distributions v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/random.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / macro_rules! random_simple_to_default_distribution { [INFO] [stdout] 45 | | ($ty:ty) => { [INFO] [stdout] 46 | | impl DefaultDistribution for $ty { [INFO] [stdout] 47 | | type Distribution = RandomSimpleDistribution<$ty>; [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/random.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | use rand::{self, thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/impls.rs:165:27 [INFO] [stdout] | [INFO] [stdout] 165 | use rand::{self, Rng, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/rng_ext.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | use rand::{self, thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/uniform.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | use rand::{self, thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/uniform_range.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | use rand::{self, thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `DowncastPrimitiveInteger` in public interface (error E0445) [INFO] [stdout] --> src/uniform.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / impl Distribution for Uniform [INFO] [stdout] 37 | | { [INFO] [stdout] 38 | | type Output = T; [INFO] [stdout] 39 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` 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 #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `PrimitiveInteger` in public interface (error E0445) [INFO] [stdout] --> src/uniform_range.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl UniformPrimitiveIntegerRange [INFO] [stdout] 25 | | where Wrapping: Sub> [INFO] [stdout] 26 | | { [INFO] [stdout] 27 | | #[inline] [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [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 #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `PrimitiveInteger` in public interface (error E0445) [INFO] [stdout] --> src/uniform_range.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / impl IntoDistribution for Range [INFO] [stdout] 44 | | where Wrapping: Sub>, [INFO] [stdout] 45 | | UniformPrimitiveIntegerRange: Distribution [INFO] [stdout] 46 | | { [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [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 #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `PrimitiveInteger` in public interface (error E0445) [INFO] [stdout] --> src/uniform_range.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / impl Distribution for UniformPrimitiveIntegerRange [INFO] [stdout] 56 | | where Wrapping: Add>, [INFO] [stdout] 57 | | Uniform: Distribution [INFO] [stdout] 58 | | { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [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 #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `DowncastPrimitiveInteger` in public interface (error E0445) [INFO] [stdout] --> src/uniform.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / impl Distribution for Uniform [INFO] [stdout] 37 | | { [INFO] [stdout] 38 | | type Output = T; [INFO] [stdout] 39 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` 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 #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `PrimitiveInteger` in public interface (error E0445) [INFO] [stdout] --> src/uniform_range.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl UniformPrimitiveIntegerRange [INFO] [stdout] 25 | | where Wrapping: Sub> [INFO] [stdout] 26 | | { [INFO] [stdout] 27 | | #[inline] [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [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 #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `PrimitiveInteger` in public interface (error E0445) [INFO] [stdout] --> src/uniform_range.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / impl IntoDistribution for Range [INFO] [stdout] 44 | | where Wrapping: Sub>, [INFO] [stdout] 45 | | UniformPrimitiveIntegerRange: Distribution [INFO] [stdout] 46 | | { [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [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 #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `PrimitiveInteger` in public interface (error E0445) [INFO] [stdout] --> src/uniform_range.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / impl Distribution for UniformPrimitiveIntegerRange [INFO] [stdout] 56 | | where Wrapping: Add>, [INFO] [stdout] 57 | | Uniform: Distribution [INFO] [stdout] 58 | | { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [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 #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | ::std::mem::size_of::<(A)>() == 8 [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | ::std::mem::size_of::<(A)>() == 8 [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.72s [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5e39109368a42914b9e22a405d28a4bdf5e19418d1e4fc786c0e7f860cba6fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e39109368a42914b9e22a405d28a4bdf5e19418d1e4fc786c0e7f860cba6fbd", kill_on_drop: false }` [INFO] [stdout] 5e39109368a42914b9e22a405d28a4bdf5e19418d1e4fc786c0e7f860cba6fbd