[INFO] fetching crate rand-distributions 0.1.2... [INFO] building rand-distributions-0.1.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate rand-distributions 0.1.2 into /workspace/builds/worker-7-tc1/source [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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rand-distributions 0.1.2 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding num v0.1.43 (available: v0.4.3) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-complex v0.1.44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69377cbf766ffa9b38a7964d44cb0db33d34857208d993ac1e3cb983f04536e5 [INFO] running `Command { std: "docker" "start" "-a" "69377cbf766ffa9b38a7964d44cb0db33d34857208d993ac1e3cb983f04536e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69377cbf766ffa9b38a7964d44cb0db33d34857208d993ac1e3cb983f04536e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69377cbf766ffa9b38a7964d44cb0db33d34857208d993ac1e3cb983f04536e5", kill_on_drop: false }` [INFO] [stdout] 69377cbf766ffa9b38a7964d44cb0db33d34857208d993ac1e3cb983f04536e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca23d20047fbd4270be8d28d423a160ca02f4060cf8235b1d1dad27d078e2fc5 [INFO] running `Command { std: "docker" "start" "-a" "ca23d20047fbd4270be8d28d423a160ca02f4060cf8235b1d1dad27d078e2fc5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling rand-distributions v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `random_simple_to_default_distribution` [INFO] [stdout] --> src/random.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | macro_rules! random_simple_to_default_distribution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `PrimitiveInteger::Unsigned` is more private than the item `UniformPrimitiveIntegerRange` [INFO] [stdout] --> src/uniform_range.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl UniformPrimitiveIntegerRange [INFO] [stdout] 25 | | where Wrapping: Sub> [INFO] [stdout] | |____________________________________________________________________^ implementation `UniformPrimitiveIntegerRange` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but associated type `PrimitiveInteger::Unsigned` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/uniform_range.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | type Unsigned : PrimitiveInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PrimitiveInteger` is more private than the item `UniformPrimitiveIntegerRange` [INFO] [stdout] --> src/uniform_range.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl UniformPrimitiveIntegerRange [INFO] [stdout] 25 | | where Wrapping: Sub> [INFO] [stdout] | |____________________________________________________________________^ implementation `UniformPrimitiveIntegerRange` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `PrimitiveInteger` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/uniform_range.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | trait PrimitiveInteger: PrimInt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | fn test(&self, Args) -> bool { [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Args` [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] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - ::std::mem::size_of::<(A)>() == 8 [INFO] [stdout] 16 + ::std::mem::size_of::() == 8 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.90s [INFO] running `Command { std: "docker" "inspect" "ca23d20047fbd4270be8d28d423a160ca02f4060cf8235b1d1dad27d078e2fc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca23d20047fbd4270be8d28d423a160ca02f4060cf8235b1d1dad27d078e2fc5", kill_on_drop: false }` [INFO] [stdout] ca23d20047fbd4270be8d28d423a160ca02f4060cf8235b1d1dad27d078e2fc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4706fd6eeaa13a8606cb34886f4cfa08fddb0c012db26180d76e379dcfd1f6a9 [INFO] running `Command { std: "docker" "start" "-a" "4706fd6eeaa13a8606cb34886f4cfa08fddb0c012db26180d76e379dcfd1f6a9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unused macro definition: `random_simple_to_default_distribution` [INFO] [stdout] --> src/random.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | macro_rules! random_simple_to_default_distribution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `PrimitiveInteger::Unsigned` is more private than the item `UniformPrimitiveIntegerRange` [INFO] [stdout] --> src/uniform_range.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl UniformPrimitiveIntegerRange [INFO] [stdout] 25 | | where Wrapping: Sub> [INFO] [stdout] | |____________________________________________________________________^ implementation `UniformPrimitiveIntegerRange` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but associated type `PrimitiveInteger::Unsigned` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/uniform_range.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | type Unsigned : PrimitiveInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PrimitiveInteger` is more private than the item `UniformPrimitiveIntegerRange` [INFO] [stdout] --> src/uniform_range.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl UniformPrimitiveIntegerRange [INFO] [stdout] 25 | | where Wrapping: Sub> [INFO] [stdout] | |____________________________________________________________________^ implementation `UniformPrimitiveIntegerRange` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `PrimitiveInteger` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/uniform_range.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | trait PrimitiveInteger: PrimInt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand-distributions v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | fn test(&self, Args) -> bool { [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Args` [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] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - ::std::mem::size_of::<(A)>() == 8 [INFO] [stdout] 16 + ::std::mem::size_of::() == 8 [INFO] [stdout] | [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)]` (part of `#[warn(unused)]`) 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: associated type `PrimitiveInteger::Unsigned` is more private than the item `uniform_range::UniformPrimitiveIntegerRange` [INFO] [stdout] --> src/uniform_range.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl UniformPrimitiveIntegerRange [INFO] [stdout] 25 | | where Wrapping: Sub> [INFO] [stdout] | |____________________________________________________________________^ implementation `uniform_range::UniformPrimitiveIntegerRange` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but associated type `PrimitiveInteger::Unsigned` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/uniform_range.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | type Unsigned : PrimitiveInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PrimitiveInteger` is more private than the item `uniform_range::UniformPrimitiveIntegerRange` [INFO] [stdout] --> src/uniform_range.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl UniformPrimitiveIntegerRange [INFO] [stdout] 25 | | where Wrapping: Sub> [INFO] [stdout] | |____________________________________________________________________^ implementation `uniform_range::UniformPrimitiveIntegerRange` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `PrimitiveInteger` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/uniform_range.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | trait PrimitiveInteger: PrimInt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/random.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | struct MyType(u8); [INFO] [stdout] | ------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "4706fd6eeaa13a8606cb34886f4cfa08fddb0c012db26180d76e379dcfd1f6a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4706fd6eeaa13a8606cb34886f4cfa08fddb0c012db26180d76e379dcfd1f6a9", kill_on_drop: false }` [INFO] [stdout] 4706fd6eeaa13a8606cb34886f4cfa08fddb0c012db26180d76e379dcfd1f6a9