[INFO] fetching crate fliphash 0.1.0... [INFO] testing fliphash-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate fliphash 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate fliphash 0.1.0 [INFO] finished tweaking crates.io crate fliphash 0.1.0 [INFO] tweaked toml for crates.io crate fliphash 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fliphash 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 78 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.12.1 (available: v0.14.0) [INFO] [stderr] Adding ordered-float v4.6.0 (available: v5.0.0) [INFO] [stderr] Adding proptest-derive v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding statrs v0.16.1 (available: v0.18.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45f6c8a1a785a75c79baaa7ff0482289b3262faaeded02b687446363d47b8e00 [INFO] running `Command { std: "docker" "start" "-a" "45f6c8a1a785a75c79baaa7ff0482289b3262faaeded02b687446363d47b8e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45f6c8a1a785a75c79baaa7ff0482289b3262faaeded02b687446363d47b8e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45f6c8a1a785a75c79baaa7ff0482289b3262faaeded02b687446363d47b8e00", kill_on_drop: false }` [INFO] [stdout] 45f6c8a1a785a75c79baaa7ff0482289b3262faaeded02b687446363d47b8e00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8268ae7e02243a9dc07c9aa1e74085e8bd1df477dce9043289c71c76a078a934 [INFO] running `Command { std: "docker" "start" "-a" "8268ae7e02243a9dc07c9aa1e74085e8bd1df477dce9043289c71c76a078a934", kill_on_drop: false }` [INFO] [stderr] Compiling fliphash v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "8268ae7e02243a9dc07c9aa1e74085e8bd1df477dce9043289c71c76a078a934", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8268ae7e02243a9dc07c9aa1e74085e8bd1df477dce9043289c71c76a078a934", kill_on_drop: false }` [INFO] [stdout] 8268ae7e02243a9dc07c9aa1e74085e8bd1df477dce9043289c71c76a078a934 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f0ba1c5658b4d5c837920d7f7c3f8b49c8884a93fb46bdfe8fe680effda542e [INFO] running `Command { std: "docker" "start" "-a" "5f0ba1c5658b4d5c837920d7f7c3f8b49c8884a93fb46bdfe8fe680effda542e", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling simba v0.6.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling proptest-derive v0.4.0 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling test-case v3.3.1 [INFO] [stderr] Compiling nalgebra v0.29.0 [INFO] [stderr] Compiling statrs v0.16.1 [INFO] [stderr] Compiling fliphash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `R: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` is not satisfied [INFO] [stdout] --> src/lib.rs:345:22 [INFO] [stdout] | [INFO] [stdout] 345 | fn sample(&self, rng: &mut R) -> U64Key { [INFO] [stdout] | ^^^ the trait `DerefMut` is not implemented for `R` [INFO] [stdout] | [INFO] [stdout] = note: required for `R` to implement `_IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] = note: required for `R` to implement `_IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] note: the requirement `R: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` appears on the `impl`'s method `sample` but not on the corresponding trait's method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Distribution { [INFO] [stdout] | ------------ in this trait [INFO] [stdout] 36 | /// Generate a random value of `T`, using `rng` as the source of randomness. [INFO] [stdout] 37 | fn sample(&self, rng: &mut R) -> T; [INFO] [stdout] | ^^^^^^ this trait's method doesn't have the requirement `R: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] help: consider further restricting type parameter `R` with trait `DerefMut` [INFO] [stdout] | [INFO] [stdout] 345 | fn sample(&self, rng: &mut R) -> U64Key { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` is not satisfied [INFO] [stdout] --> src/lib.rs:345:22 [INFO] [stdout] | [INFO] [stdout] 345 | fn sample(&self, rng: &mut R) -> U64Key { [INFO] [stdout] | - ^^^ the trait `Sized` is not implemented for `R` [INFO] [stdout] | | [INFO] [stdout] | this type parameter needs to be `Sized` [INFO] [stdout] | [INFO] [stdout] = note: required for `R` to implement `_IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] = note: required for `R` to implement `_IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] note: the requirement `R: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` appears on the `impl`'s method `sample` but not on the corresponding trait's method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Distribution { [INFO] [stdout] | ------------ in this trait [INFO] [stdout] 36 | /// Generate a random value of `T`, using `rng` as the source of randomness. [INFO] [stdout] 37 | fn sample(&self, rng: &mut R) -> T; [INFO] [stdout] | ^^^^^^ this trait's method doesn't have the requirement `R: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 345 - fn sample(&self, rng: &mut R) -> U64Key { [INFO] [stdout] 345 + fn sample(&self, rng: &mut R) -> U64Key { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` is not satisfied [INFO] [stdout] --> src/lib.rs:358:22 [INFO] [stdout] | [INFO] [stdout] 358 | fn sample(&self, rng: &mut R) -> Bytes { [INFO] [stdout] | ^^^ the trait `DerefMut` is not implemented for `R` [INFO] [stdout] | [INFO] [stdout] = note: required for `R` to implement `_IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] = note: required for `R` to implement `_IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] note: the requirement `R: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` appears on the `impl`'s method `sample` but not on the corresponding trait's method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Distribution { [INFO] [stdout] | ------------ in this trait [INFO] [stdout] 36 | /// Generate a random value of `T`, using `rng` as the source of randomness. [INFO] [stdout] 37 | fn sample(&self, rng: &mut R) -> T; [INFO] [stdout] | ^^^^^^ this trait's method doesn't have the requirement `R: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] help: consider further restricting type parameter `R` with trait `DerefMut` [INFO] [stdout] | [INFO] [stdout] 358 | fn sample(&self, rng: &mut R) -> Bytes { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` is not satisfied [INFO] [stdout] --> src/lib.rs:358:22 [INFO] [stdout] | [INFO] [stdout] 358 | fn sample(&self, rng: &mut R) -> Bytes { [INFO] [stdout] | - ^^^ the trait `Sized` is not implemented for `R` [INFO] [stdout] | | [INFO] [stdout] | this type parameter needs to be `Sized` [INFO] [stdout] | [INFO] [stdout] = note: required for `R` to implement `_IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] = note: required for `R` to implement `_IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] note: the requirement `R: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` appears on the `impl`'s method `sample` but not on the corresponding trait's method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Distribution { [INFO] [stdout] | ------------ in this trait [INFO] [stdout] 36 | /// Generate a random value of `T`, using `rng` as the source of randomness. [INFO] [stdout] 37 | fn sample(&self, rng: &mut R) -> T; [INFO] [stdout] | ^^^^^^ this trait's method doesn't have the requirement `R: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 358 - fn sample(&self, rng: &mut R) -> Bytes { [INFO] [stdout] 358 + fn sample(&self, rng: &mut R) -> Bytes { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R: rand::Rng` is not satisfied [INFO] [stdout] --> src/lib.rs:346:32 [INFO] [stdout] | [INFO] [stdout] 346 | U64Key(self.sample(rng)) [INFO] [stdout] | ------ ^^^ the trait `rand::RngCore` is not implemented for `R` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `R` to implement `rand::Rng` [INFO] [stdout] note: required by a bound in `rand::distributions::Distribution::sample` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | fn sample(&self, rng: &mut R) -> T; [INFO] [stdout] | ^^^ required by this bound in `Distribution::sample` [INFO] [stdout] help: consider further restricting type parameter `R` with trait `RngCore` [INFO] [stdout] | [INFO] [stdout] 345 | fn sample(&self, rng: &mut R) -> U64Key { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tests::_IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/lib.rs:362:41 [INFO] [stdout] | [INFO] [stdout] 362 | let mut bytes = vec![0; rng.gen_range(SIZE_RANGE)]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `gen` exists for struct `ThreadRng`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:515:27 [INFO] [stdout] | [INFO] [stdout] 515 | seed: rng.gen::(), [INFO] [stdout] | ^^^ method cannot be called on `ThreadRng` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/thread.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ThreadRng { [INFO] [stdout] | -------------------- doesn't satisfy `_: RngCore` or `_: Rng` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Rng` which provides `gen` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 267 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `gen_range` exists for struct `ThreadRng`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:516:39 [INFO] [stdout] | [INFO] [stdout] 516 | range: ..=H::from(rng.gen_range(2..200)).unwrap(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/thread.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ThreadRng { [INFO] [stdout] | -------------------- doesn't satisfy `_: RngCore` or `_: Rng` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Rng` which provides `gen_range` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 267 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `gen_range` exists for struct `ThreadRng`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:517:33 [INFO] [stdout] | [INFO] [stdout] 517 | num_hashes: rng.gen_range(100..10000), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/thread.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ThreadRng { [INFO] [stdout] | -------------------- doesn't satisfy `_: RngCore` or `_: Rng` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Rng` which provides `gen_range` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 267 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `next_u64` exists for struct `ThreadRng`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:518:35 [INFO] [stdout] | [INFO] [stdout] 518 | key_rng_seed: rng.next_u64(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/thread.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ThreadRng { [INFO] [stdout] | -------------------- doesn't satisfy `ThreadRng: DerefMut`, `ThreadRng: Deref` or `_: RngCore` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ThreadRng: DerefMut` [INFO] [stdout] which is required by `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] `ThreadRng: Deref` [INFO] [stdout] which is required by `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `RngCore` which provides `next_u64` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 267 + use rand::RngCore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:521:97 [INFO] [stdout] | [INFO] [stdout] 498 | fn regularity(fliphash_with_seed: impl Fn(&K, S, RangeToInclusive) -> H) [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 521 | let mut num_occurrences = vec![0_u64; test_case.range.end.to_usize().unwrap() + 1]; [INFO] [stdout] | ^ expected type parameter `H`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `H` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `sample_iter` exists for struct `StdRng`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:523:22 [INFO] [stdout] | [INFO] [stdout] 522 | / StdRng::seed_from_u64(test_case.key_rng_seed) [INFO] [stdout] 523 | | .sample_iter(Standard) [INFO] [stdout] | |_____________________-^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/std.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct StdRng(Rng); [INFO] [stdout] | ----------------- doesn't satisfy `StdRng: rand::distributions::Distribution<_>`, `_: RngCore` or `_: Rng` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] `StdRng: rand::distributions::Distribution<_>` [INFO] [stdout] which is required by `&StdRng: rand::distributions::Distribution<_>` [INFO] [stdout] `&StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `&StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] `&mut StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `&mut StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Rng` which provides `sample_iter` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 267 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `gen` exists for struct `ThreadRng`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:586:58 [INFO] [stdout] | [INFO] [stdout] 586 | seeds: array::from_fn::(|_| rng.gen()), [INFO] [stdout] | ^^^ method cannot be called on `ThreadRng` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/thread.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ThreadRng { [INFO] [stdout] | -------------------- doesn't satisfy `_: RngCore` or `_: Rng` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Rng` which provides `gen` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 267 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `gen_range` exists for struct `ThreadRng`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:587:45 [INFO] [stdout] | [INFO] [stdout] 587 | range: ..=NumCast::from(rng.gen_range(5..20)).unwrap(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/thread.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ThreadRng { [INFO] [stdout] | -------------------- doesn't satisfy `_: RngCore` or `_: Rng` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Rng` which provides `gen_range` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 267 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `gen_range` exists for struct `ThreadRng`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:588:33 [INFO] [stdout] | [INFO] [stdout] 588 | num_hashes: rng.gen_range(100..10000), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/thread.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ThreadRng { [INFO] [stdout] | -------------------- doesn't satisfy `_: RngCore` or `_: Rng` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Rng` which provides `gen_range` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 267 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `next_u64` exists for struct `ThreadRng`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:589:35 [INFO] [stdout] | [INFO] [stdout] 589 | key_rng_seed: rng.next_u64(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/thread.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ThreadRng { [INFO] [stdout] | -------------------- doesn't satisfy `ThreadRng: DerefMut`, `ThreadRng: Deref` or `_: RngCore` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ThreadRng: DerefMut` [INFO] [stdout] which is required by `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] `ThreadRng: Deref` [INFO] [stdout] which is required by `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `RngCore` which provides `next_u64` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 267 + use rand::RngCore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `sample_iter` exists for struct `StdRng`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:603:22 [INFO] [stdout] | [INFO] [stdout] 602 | / StdRng::seed_from_u64(test_case.key_rng_seed) [INFO] [stdout] 603 | | .sample_iter(Standard) [INFO] [stdout] | |_____________________-^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/std.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct StdRng(Rng); [INFO] [stdout] | ----------------- doesn't satisfy `StdRng: rand::distributions::Distribution<_>`, `_: RngCore` or `_: Rng` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] `StdRng: rand::distributions::Distribution<_>` [INFO] [stdout] which is required by `&StdRng: rand::distributions::Distribution<_>` [INFO] [stdout] `&StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `&StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] `&mut StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `&mut StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Rng` which provides `sample_iter` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 267 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `gen` exists for struct `ThreadRng`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:670:27 [INFO] [stdout] | [INFO] [stdout] 670 | seed: rng.gen(), [INFO] [stdout] | ^^^ method cannot be called on `ThreadRng` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/thread.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ThreadRng { [INFO] [stdout] | -------------------- doesn't satisfy `_: RngCore` or `_: Rng` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Rng` which provides `gen` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 267 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `gen_range` exists for struct `ThreadRng`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:679:33 [INFO] [stdout] | [INFO] [stdout] 679 | num_hashes: rng.gen_range(100..10000), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/thread.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ThreadRng { [INFO] [stdout] | -------------------- doesn't satisfy `_: RngCore` or `_: Rng` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Rng` which provides `gen_range` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 267 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `next_u64` exists for struct `ThreadRng`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:680:35 [INFO] [stdout] | [INFO] [stdout] 680 | key_rng_seed: rng.next_u64(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/thread.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ThreadRng { [INFO] [stdout] | -------------------- doesn't satisfy `ThreadRng: DerefMut`, `ThreadRng: Deref` or `_: RngCore` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ThreadRng: DerefMut` [INFO] [stdout] which is required by `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] `ThreadRng: Deref` [INFO] [stdout] which is required by `ThreadRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `RngCore` which provides `next_u64` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 267 + use rand::RngCore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `sample_iter` exists for struct `StdRng`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:707:22 [INFO] [stdout] | [INFO] [stdout] 706 | / StdRng::seed_from_u64(test_case.key_rng_seed) [INFO] [stdout] 707 | | .sample_iter(Standard) [INFO] [stdout] | |_____________________-^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/std.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct StdRng(Rng); [INFO] [stdout] | ----------------- doesn't satisfy `StdRng: rand::distributions::Distribution<_>`, `_: RngCore` or `_: Rng` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] `StdRng: rand::distributions::Distribution<_>` [INFO] [stdout] which is required by `&StdRng: rand::distributions::Distribution<_>` [INFO] [stdout] `&StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `&StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] `&mut StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `&mut StdRng: _IMPL_ARBITRARY_FOR_U64Key::_proptest::prelude::Rng` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Rng` which provides `sample_iter` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 267 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fliphash` (lib test) due to 20 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "5f0ba1c5658b4d5c837920d7f7c3f8b49c8884a93fb46bdfe8fe680effda542e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f0ba1c5658b4d5c837920d7f7c3f8b49c8884a93fb46bdfe8fe680effda542e", kill_on_drop: false }` [INFO] [stdout] 5f0ba1c5658b4d5c837920d7f7c3f8b49c8884a93fb46bdfe8fe680effda542e