[INFO] fetching crate fliphash 0.1.0... [INFO] fixing fliphash-0.1.0 against try#5fed607fb5806ae20927e7e9193e3793c411ac20+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817 [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 5fed607fb5806ae20927e7e9193e3793c411ac20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "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" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 101 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.3.0) [INFO] [stderr] Adding proptest-derive v0.4.0 (available: v0.8.0) [INFO] [stderr] Adding rand v0.8.6 (available: v0.10.1) [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" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a0bd7291165f966650e3e6fa33d1e45c0274963c7295e4fd75db2b8d100be517 [INFO] running `Command { std: "docker" "start" "a0bd7291165f966650e3e6fa33d1e45c0274963c7295e4fd75db2b8d100be517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a0bd7291165f966650e3e6fa33d1e45c0274963c7295e4fd75db2b8d100be517" "/opt/rustwide/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0bd7291165f966650e3e6fa33d1e45c0274963c7295e4fd75db2b8d100be517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a0bd7291165f966650e3e6fa33d1e45c0274963c7295e4fd75db2b8d100be517" "/opt/rustwide/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }` [INFO] [stderr] crater-edition-check: migrating to next edition [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling zerocopy v0.8.52 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking bitflags v2.13.0 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking fastrand v2.4.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking typenum v1.20.1 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking rand v0.9.4 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking regex-syntax v0.8.11 [INFO] [stderr] Checking rusty-fork v0.3.1 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking fliphash v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lib.rs (11 fixes) [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking proptest v1.11.0 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling proptest-derive v0.4.0 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking statrs v0.16.1 [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.6/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.6/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.6/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.6/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: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait RngCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.5/src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait RngCore { [INFO] [stdout] | ----------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.6/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] 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.r#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.6/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.6/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.6/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.6/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.6/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.r#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.6/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.6/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.6/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.6/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.6/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.r#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.6/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.6/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.6/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.6/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 [INFO] running `Command { std: "docker" "inspect" "a0bd7291165f966650e3e6fa33d1e45c0274963c7295e4fd75db2b8d100be517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0bd7291165f966650e3e6fa33d1e45c0274963c7295e4fd75db2b8d100be517", kill_on_drop: false }` [INFO] [stdout] a0bd7291165f966650e3e6fa33d1e45c0274963c7295e4fd75db2b8d100be517