[INFO] fetching crate rand-mersenne-twister 0.1.0... [INFO] checking rand-mersenne-twister-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rand-mersenne-twister 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate rand-mersenne-twister 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rand-mersenne-twister 0.1.0 [INFO] finished tweaking crates.io crate rand-mersenne-twister 0.1.0 [INFO] tweaked toml for crates.io crate rand-mersenne-twister 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7b4de6d2e970a5fde0605b1522d8f8839e08141dfbd12a2ca2d493002e4ca99 [INFO] running `Command { std: "docker" "start" "-a" "c7b4de6d2e970a5fde0605b1522d8f8839e08141dfbd12a2ca2d493002e4ca99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7b4de6d2e970a5fde0605b1522d8f8839e08141dfbd12a2ca2d493002e4ca99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7b4de6d2e970a5fde0605b1522d8f8839e08141dfbd12a2ca2d493002e4ca99", kill_on_drop: false }` [INFO] [stdout] c7b4de6d2e970a5fde0605b1522d8f8839e08141dfbd12a2ca2d493002e4ca99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75f24638b6bcb1df561940371d845114b328ecab48945f1ffe83cd9a578071fa [INFO] running `Command { std: "docker" "start" "-a" "75f24638b6bcb1df561940371d845114b328ecab48945f1ffe83cd9a578071fa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rand-mersenne-twister v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0407]: method `next_u32` is not a member of trait `Rng` [INFO] [stdout] --> src/mt32.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / fn next_u32(&mut self) -> u32 { [INFO] [stdout] 147 | | self.next() [INFO] [stdout] 148 | | } [INFO] [stdout] | |_____^ not a member of trait `Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `reseed` is not a member of trait `SeedableRng` [INFO] [stdout] --> src/mt32.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | / fn reseed(&mut self, seed: u32) { [INFO] [stdout] 153 | | self.reset(seed); [INFO] [stdout] 154 | | } [INFO] [stdout] | |_____^ not a member of trait `SeedableRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `reseed` is not a member of trait `SeedableRng` [INFO] [stdout] --> src/mt32.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / fn reseed(&mut self, seed: &'a [u32]) { [INFO] [stdout] 163 | | self.reset_array(seed); [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____^ not a member of trait `SeedableRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `next_u32` is not a member of trait `Rng` [INFO] [stdout] --> src/mt64.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / fn next_u32(&mut self) -> u32 { [INFO] [stdout] 147 | | self.next() as u32 [INFO] [stdout] 148 | | } [INFO] [stdout] | |_____^ not a member of trait `Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `next_u64` is not a member of trait `Rng` [INFO] [stdout] --> src/mt64.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / fn next_u64(&mut self) -> u64 { [INFO] [stdout] 151 | | self.next() [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ not a member of trait `Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `reseed` is not a member of trait `SeedableRng` [INFO] [stdout] --> src/mt64.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | / fn reseed(&mut self, seed: u64) { [INFO] [stdout] 157 | | self.reset(seed); [INFO] [stdout] 158 | | } [INFO] [stdout] | |_____^ not a member of trait `SeedableRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `reseed` is not a member of trait `SeedableRng` [INFO] [stdout] --> src/mt64.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | / fn reseed(&mut self, seed: &'a [u64]) { [INFO] [stdout] 167 | | self.reset_array(seed); [INFO] [stdout] 168 | | } [INFO] [stdout] | |_____^ not a member of trait `SeedableRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `next_u32` is not a member of trait `Rng` [INFO] [stdout] --> src/mt32.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / fn next_u32(&mut self) -> u32 { [INFO] [stdout] 147 | | self.next() [INFO] [stdout] 148 | | } [INFO] [stdout] | |_____^ not a member of trait `Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `reseed` is not a member of trait `SeedableRng` [INFO] [stdout] --> src/mt32.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | / fn reseed(&mut self, seed: u32) { [INFO] [stdout] 153 | | self.reset(seed); [INFO] [stdout] 154 | | } [INFO] [stdout] | |_____^ not a member of trait `SeedableRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `reseed` is not a member of trait `SeedableRng` [INFO] [stdout] --> src/mt32.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / fn reseed(&mut self, seed: &'a [u32]) { [INFO] [stdout] 163 | | self.reset_array(seed); [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____^ not a member of trait `SeedableRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mt32.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | for index in (1..N) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - for index in (1..N) { [INFO] [stdout] 55 + for index in 1..N { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mt32.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | for _ in (0..size) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - for _ in (0..size) { [INFO] [stdout] 71 + for _ in 0..size { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mt32.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | for _ in (0..N - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - for _ in (0..N - 1) { [INFO] [stdout] 88 + for _ in 0..N - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mt64.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | for index in (1..N) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - for index in (1..N) { [INFO] [stdout] 56 + for index in 1..N { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mt64.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | for _ in (0..size) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - for _ in (0..size) { [INFO] [stdout] 71 + for _ in 0..size { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mt64.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | for _ in (0..N - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - for _ in (0..N - 1) { [INFO] [stdout] 88 + for _ in 0..N - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `next_u32` is not a member of trait `Rng` [INFO] [stdout] --> src/mt64.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / fn next_u32(&mut self) -> u32 { [INFO] [stdout] 147 | | self.next() as u32 [INFO] [stdout] 148 | | } [INFO] [stdout] | |_____^ not a member of trait `Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `next_u64` is not a member of trait `Rng` [INFO] [stdout] --> src/mt64.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / fn next_u64(&mut self) -> u64 { [INFO] [stdout] 151 | | self.next() [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ not a member of trait `Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `reseed` is not a member of trait `SeedableRng` [INFO] [stdout] --> src/mt64.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | / fn reseed(&mut self, seed: u64) { [INFO] [stdout] 157 | | self.reset(seed); [INFO] [stdout] 158 | | } [INFO] [stdout] | |_____^ not a member of trait `SeedableRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `reseed` is not a member of trait `SeedableRng` [INFO] [stdout] --> src/mt64.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | / fn reseed(&mut self, seed: &'a [u64]) { [INFO] [stdout] 167 | | self.reset_array(seed); [INFO] [stdout] 168 | | } [INFO] [stdout] | |_____^ not a member of trait `SeedableRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mt32.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | for index in (1..N) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - for index in (1..N) { [INFO] [stdout] 55 + for index in 1..N { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mt32.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | for _ in (0..size) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - for _ in (0..size) { [INFO] [stdout] 71 + for _ in 0..size { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mt32.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | for _ in (0..N - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - for _ in (0..N - 1) { [INFO] [stdout] 88 + for _ in 0..N - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/mt32.rs:180:16 [INFO] [stdout] | [INFO] [stdout] 180 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mt64.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | for index in (1..N) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - for index in (1..N) { [INFO] [stdout] 56 + for index in 1..N { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mt64.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | for _ in (0..size) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - for _ in (0..size) { [INFO] [stdout] 71 + for _ in 0..size { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mt64.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | for _ in (0..N - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - for _ in (0..N - 1) { [INFO] [stdout] 88 + for _ in 0..N - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/mt64.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mt32.rs:214:61 [INFO] [stdout] | [INFO] [stdout] 214 | let mut buf: [u8; 64 * 1024] = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mt64.rs:220:61 [INFO] [stdout] | [INFO] [stdout] 220 | let mut buf: [u8; 64 * 1024] = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MTRng32: Clone` is not satisfied [INFO] [stdout] --> src/mt32.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | impl Copy for MTRng32 {} [INFO] [stdout] | ^^^^^^^ the trait `Clone` is not implemented for `MTRng32` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] help: consider annotating `MTRng32` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct MTRng32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MTRng32: Clone` is not satisfied [INFO] [stdout] --> src/mt32.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | impl Copy for MTRng32 {} [INFO] [stdout] | ^^^^^^^ the trait `Clone` is not implemented for `MTRng32` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] help: consider annotating `MTRng32` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | pub struct MTRng32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MTRng32: RngCore` is not satisfied [INFO] [stdout] --> src/mt32.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | impl Rng for MTRng32 { [INFO] [stdout] | ^^^^^^^ the trait `RngCore` is not implemented for `MTRng32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `RngCore`: [INFO] [stdout] &'a mut R [INFO] [stdout] Box [INFO] [stdout] OsRng [INFO] [stdout] ReadRng [INFO] [stdout] ReseedingRng [INFO] [stdout] StdRng [INFO] [stdout] StepRng [INFO] [stdout] ThreadRng [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `Rng` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait Rng: RngCore { [INFO] [stdout] | ^^^^^^^ required by this bound in `Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/mt32.rs:151:6 [INFO] [stdout] | [INFO] [stdout] 151 | impl SeedableRng for MTRng32 { [INFO] [stdout] | ^^^^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/mt32.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | impl<'a> SeedableRng<&'a [u32]> for MTRng32 { [INFO] [stdout] | ^^^^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MTRng32: RngCore` is not satisfied [INFO] [stdout] --> src/mt32.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | impl Rng for MTRng32 { [INFO] [stdout] | ^^^^^^^ the trait `RngCore` is not implemented for `MTRng32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `RngCore`: [INFO] [stdout] &'a mut R [INFO] [stdout] Box [INFO] [stdout] OsRng [INFO] [stdout] ReadRng [INFO] [stdout] ReseedingRng [INFO] [stdout] StdRng [INFO] [stdout] StepRng [INFO] [stdout] ThreadRng [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `Rng` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait Rng: RngCore { [INFO] [stdout] | ^^^^^^^ required by this bound in `Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `SeedableRng` for type `MTRng32` [INFO] [stdout] --> src/mt32.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 151 | impl SeedableRng for MTRng32 { [INFO] [stdout] | --------------------------------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 161 | impl<'a> SeedableRng<&'a [u32]> for MTRng32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `MTRng32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/mt32.rs:151:6 [INFO] [stdout] | [INFO] [stdout] 151 | impl SeedableRng for MTRng32 { [INFO] [stdout] | ^^^^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/mt32.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | impl<'a> SeedableRng<&'a [u32]> for MTRng32 { [INFO] [stdout] | ^^^^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/mt64.rs:155:6 [INFO] [stdout] | [INFO] [stdout] 155 | impl SeedableRng for MTRng64 { [INFO] [stdout] | ^^^^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `SeedableRng` for type `MTRng32` [INFO] [stdout] --> src/mt32.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 151 | impl SeedableRng for MTRng32 { [INFO] [stdout] | --------------------------------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 161 | impl<'a> SeedableRng<&'a [u32]> for MTRng32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `MTRng32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/mt64.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | impl<'a> SeedableRng<&'a [u64]> for MTRng64 { [INFO] [stdout] | ^^^^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/mt64.rs:155:6 [INFO] [stdout] | [INFO] [stdout] 155 | impl SeedableRng for MTRng64 { [INFO] [stdout] | ^^^^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `SeedableRng` for type `MTRng64` [INFO] [stdout] --> src/mt64.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 155 | impl SeedableRng for MTRng64 { [INFO] [stdout] | --------------------------------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 165 | impl<'a> SeedableRng<&'a [u64]> for MTRng64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `MTRng64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/mt64.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | impl<'a> SeedableRng<&'a [u64]> for MTRng64 { [INFO] [stdout] | ^^^^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `SeedableRng` for type `MTRng64` [INFO] [stdout] --> src/mt64.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 155 | impl SeedableRng for MTRng64 { [INFO] [stdout] | --------------------------------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 165 | impl<'a> SeedableRng<&'a [u64]> for MTRng64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `MTRng64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MTRng64: Clone` is not satisfied [INFO] [stdout] --> src/mt64.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | impl Copy for MTRng64 {} [INFO] [stdout] | ^^^^^^^ the trait `Clone` is not implemented for `MTRng64` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] help: consider annotating `MTRng64` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Clone)] [INFO] [stdout] 29 | pub struct MTRng64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MTRng64: RngCore` is not satisfied [INFO] [stdout] --> src/mt64.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | impl Rng for MTRng64 { [INFO] [stdout] | ^^^^^^^ the trait `RngCore` is not implemented for `MTRng64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `RngCore`: [INFO] [stdout] &'a mut R [INFO] [stdout] Box [INFO] [stdout] OsRng [INFO] [stdout] ReadRng [INFO] [stdout] ReseedingRng [INFO] [stdout] StdRng [INFO] [stdout] StepRng [INFO] [stdout] ThreadRng [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `Rng` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait Rng: RngCore { [INFO] [stdout] | ^^^^^^^ required by this bound in `Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MTRng64: Clone` is not satisfied [INFO] [stdout] --> src/mt64.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | impl Copy for MTRng64 {} [INFO] [stdout] | ^^^^^^^ the trait `Clone` is not implemented for `MTRng64` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] help: consider annotating `MTRng64` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Clone)] [INFO] [stdout] 29 | pub struct MTRng64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MTRng64: RngCore` is not satisfied [INFO] [stdout] --> src/mt64.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | impl Rng for MTRng64 { [INFO] [stdout] | ^^^^^^^ the trait `RngCore` is not implemented for `MTRng64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `RngCore`: [INFO] [stdout] &'a mut R [INFO] [stdout] Box [INFO] [stdout] OsRng [INFO] [stdout] ReadRng [INFO] [stdout] ReseedingRng [INFO] [stdout] StdRng [INFO] [stdout] StepRng [INFO] [stdout] ThreadRng [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `Rng` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait Rng: RngCore { [INFO] [stdout] | ^^^^^^^ required by this bound in `Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_iter` found for struct `MTRng32` in the current scope [INFO] [stdout] --> src/mt32.rs:206:34 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MTRng32 { [INFO] [stdout] | ------------------ method `gen_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 206 | let values: Vec<_> = rng.gen_iter().take(TEST_VECTOR.len()).collect(); [INFO] [stdout] | ^^^^^^^^ method not found in `MTRng32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0119, E0277, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rand-mersenne-twister` (lib) due to 18 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `MTRng32` in the current scope [INFO] [stdout] --> src/mt32.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MTRng32 { [INFO] [stdout] | ------------------ method `fill_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 216 | rng.fill_bytes(&mut buf); [INFO] [stdout] | ^^^^^^^^^^ method not found in `MTRng32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `fill_bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `RngCore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_iter` found for struct `MTRng64` in the current scope [INFO] [stdout] --> src/mt64.rs:212:34 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MTRng64 { [INFO] [stdout] | ------------------ method `gen_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 212 | let values: Vec<_> = rng.gen_iter().take(TEST_VECTOR.len()).collect(); [INFO] [stdout] | ^^^^^^^^ method not found in `MTRng64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `MTRng64` in the current scope [INFO] [stdout] --> src/mt64.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MTRng64 { [INFO] [stdout] | ------------------ method `fill_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 222 | rng.fill_bytes(&mut buf); [INFO] [stdout] | ^^^^^^^^^^ method not found in `MTRng64` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `fill_bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `RngCore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0119, E0277, E0407, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rand-mersenne-twister` (lib test) due to 22 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "75f24638b6bcb1df561940371d845114b328ecab48945f1ffe83cd9a578071fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75f24638b6bcb1df561940371d845114b328ecab48945f1ffe83cd9a578071fa", kill_on_drop: false }` [INFO] [stdout] 75f24638b6bcb1df561940371d845114b328ecab48945f1ffe83cd9a578071fa