[INFO] fetching crate rand-mersenne-twister 0.1.0... [INFO] testing rand-mersenne-twister-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate rand-mersenne-twister 0.1.0 into /workspace/builds/worker-3-tc1/source [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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rand-mersenne-twister 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 45 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] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 061eec856f255e321ba6cd221f7cd6098d7c3d86d7b87c6ed9af6c585c161f77 [INFO] running `Command { std: "docker" "start" "-a" "061eec856f255e321ba6cd221f7cd6098d7c3d86d7b87c6ed9af6c585c161f77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "061eec856f255e321ba6cd221f7cd6098d7c3d86d7b87c6ed9af6c585c161f77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "061eec856f255e321ba6cd221f7cd6098d7c3d86d7b87c6ed9af6c585c161f77", kill_on_drop: false }` [INFO] [stdout] 061eec856f255e321ba6cd221f7cd6098d7c3d86d7b87c6ed9af6c585c161f77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f48d5686287f5f9e3505233ad1ecdc7e94321c57b688579816b467d4c0849793 [INFO] running `Command { std: "docker" "start" "-a" "f48d5686287f5f9e3505233ad1ecdc7e94321c57b688579816b467d4c0849793", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling rand_core v0.10.1 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling rand v0.10.1 [INFO] [stderr] Compiling rand-mersenne-twister v0.1.0 (/opt/rustwide/workdir) [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 `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)]` (part of `#[warn(unused)]`) 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] 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/562dee4820c458d823175268e41601d4c060588a/library/core/src/marker.rs:454:0 [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[E0046]: not all trait items implemented, missing: `next_u64`, `fill_bytes` [INFO] [stdout] --> src/mt32.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | impl Rng for MTRng32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ missing `next_u64`, `fill_bytes` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn next_u64(&mut self) -> u64 { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn fill_bytes(&mut self, _: &mut [u8]) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MTRng32: DerefMut` is not satisfied [INFO] [stdout] --> src/mt32.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | impl Rng for MTRng32 { [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `DerefMut` is not implemented for `MTRng32` [INFO] [stdout] --> src/mt32.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MTRng32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `TryRng`: [INFO] [stdout] SmallRng [INFO] [stdout] StdRng [INFO] [stdout] SysRng [INFO] [stdout] ThreadRng [INFO] [stdout] UnwrapErr [INFO] [stdout] Xoshiro128PlusPlus [INFO] [stdout] Xoshiro256PlusPlus [INFO] [stdout] chacha20::rng::ChaCha12Rng [INFO] [stdout] and 2 others [INFO] [stdout] = note: required for `MTRng32` to implement `TryRng` [INFO] [stdout] note: required by a bound in `Rng` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.10.1/src/lib.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait Rng: TryRng { [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-1949cf8c6b5b557f/rand_core-0.10.1/src/seedable_rng.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | 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-1949cf8c6b5b557f/rand_core-0.10.1/src/seedable_rng.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | 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: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-1949cf8c6b5b557f/rand_core-0.10.1/src/seedable_rng.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | 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: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-1949cf8c6b5b557f/rand_core-0.10.1/src/seedable_rng.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | 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/562dee4820c458d823175268e41601d4c060588a/library/core/src/marker.rs:454:0 [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[E0046]: not all trait items implemented, missing: `fill_bytes` [INFO] [stdout] --> src/mt64.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | impl Rng for MTRng64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ missing `fill_bytes` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn fill_bytes(&mut self, _: &mut [u8]) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MTRng64: DerefMut` is not satisfied [INFO] [stdout] --> src/mt64.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | impl Rng for MTRng64 { [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `DerefMut` is not implemented for `MTRng64` [INFO] [stdout] --> src/mt64.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MTRng64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `TryRng`: [INFO] [stdout] SmallRng [INFO] [stdout] StdRng [INFO] [stdout] SysRng [INFO] [stdout] ThreadRng [INFO] [stdout] UnwrapErr [INFO] [stdout] Xoshiro128PlusPlus [INFO] [stdout] Xoshiro256PlusPlus [INFO] [stdout] chacha20::rng::ChaCha12Rng [INFO] [stdout] and 2 others [INFO] [stdout] = note: required for `MTRng64` to implement `TryRng` [INFO] [stdout] note: required by a bound in `Rng` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.10.1/src/lib.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait Rng: TryRng { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0119, E0277, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rand-mersenne-twister` (lib) due to 16 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f48d5686287f5f9e3505233ad1ecdc7e94321c57b688579816b467d4c0849793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f48d5686287f5f9e3505233ad1ecdc7e94321c57b688579816b467d4c0849793", kill_on_drop: false }` [INFO] [stdout] f48d5686287f5f9e3505233ad1ecdc7e94321c57b688579816b467d4c0849793