Skip to content

Instantly share code, notes, and snippets.

@jonhoo
Created May 31, 2019 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonhoo/bfd609b65bc4370c8c65b11c8ad440ef to your computer and use it in GitHub Desktop.
Save jonhoo/bfd609b65bc4370c8c65b11c8ad440ef to your computer and use it in GitHub Desktop.
| cargo t
Compiling hdrhistogram v6.1.1
Compiling crossbeam-deque v0.7.1
Compiling rand v0.6.5
Compiling parking_lot v0.6.4
Compiling hdrsample v6.0.3
Compiling tower-spawn-ready v0.1.0 (/home/jon/dev/others/tower/tower-spawn-ready)
Compiling tower-limit v0.1.0
Compiling tower-load v0.1.0 (/home/jon/dev/others/tower/tower-load)
error[E0277]: the trait bound `tokio_sync::oneshot::error::RecvError: std::error::Error` is not satisfied
--> tower-spawn-ready/src/service.rs:76:31
|
76 | let svc = try_ready!(fut.poll())?;
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `tokio_sync::oneshot::error::RecvError`
|
= note: required because of the requirements on the impl of `std::convert::From<tokio_sync::oneshot::error::RecvError>` for `std::boxed::Box<dyn std::error::Error + std::marker::Send + std::marker::Sync>`
= note: required by `std::convert::From::from`
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.
error: Could not compile `tower-spawn-ready`.
warning: build failed, waiting for other jobs to finish...
error[E0277]: the trait bound `rand_pcg::Mcg128Xsl64: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/small.rs:96:6
|
96 | impl SeedableRng for SmallRng {
| ^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_pcg::Mcg128Xsl64`
error[E0277]: the trait bound `rand_hc::Hc128Rng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/std.rs:55:6
|
55 | impl SeedableRng for StdRng {
| ^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Rng`
error[E0277]: the trait bound `rand_isaac::IsaacRng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:50:6
|
50 | impl SeedableRng for IsaacRng {
| ^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_isaac::IsaacRng`
error[E0277]: the trait bound `rand_isaac::Isaac64Rng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:96:6
|
96 | impl SeedableRng for Isaac64Rng {
| ^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_isaac::Isaac64Rng`
error[E0277]: the trait bound `rand_chacha::ChaChaRng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:141:6
|
141 | impl SeedableRng for ChaChaRng {
| ^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_chacha::ChaChaRng`
error[E0277]: the trait bound `rand_hc::Hc128Rng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:198:6
|
198 | impl SeedableRng for Hc128Rng {
| ^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Rng`
error[E0277]: the trait bound `rand_xorshift::XorShiftRng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:239:6
|
239 | impl SeedableRng for XorShiftRng {
| ^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_xorshift::XorShiftRng`
error[E0277]: the trait bound `rand_hc::Hc128Rng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:279:6
|
279 | impl SeedableRng for StdRng {
| ^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Rng`
error[E0277]: the trait bound `rand_hc::Hc128Core: rand_core::block::BlockRngCore` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/thread.rs:73:5
|
73 | rng: *mut ReseedingRng<Hc128Core, EntropyRng>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rand_core::block::BlockRngCore` is not implemented for `rand_hc::Hc128Core`
|
note: required by `rngs::adapter::reseeding::ReseedingRng`
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/adapter/reseeding.rs:88:1
|
88 | / pub struct ReseedingRng<R, Rsdr>(BlockRng<ReseedingCore<R, Rsdr>>)
89 | | where R: BlockRngCore + SeedableRng,
90 | | Rsdr: RngCore;
| |____________________^
error[E0277]: the trait bound `rand_hc::Hc128Core: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/thread.rs:73:5
|
73 | rng: *mut ReseedingRng<Hc128Core, EntropyRng>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Core`
|
note: required by `rngs::adapter::reseeding::ReseedingRng`
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/adapter/reseeding.rs:88:1
|
88 | / pub struct ReseedingRng<R, Rsdr>(BlockRng<ReseedingCore<R, Rsdr>>)
89 | | where R: BlockRngCore + SeedableRng,
90 | | Rsdr: RngCore;
| |____________________^
error[E0277]: the trait bound `rand_hc::Hc128Core: rand_core::block::BlockRngCore` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/thread.rs:76:1
|
76 | / thread_local!(
77 | | static THREAD_RNG_KEY: UnsafeCell<ReseedingRng<Hc128Core, EntropyRng>> = {
78 | | let mut entropy_source = EntropyRng::new();
79 | | let r = Hc128Core::from_rng(&mut entropy_source).unwrap_or_else(|err|
... |
85 | | }
86 | | );
| |__^ the trait `rand_core::block::BlockRngCore` is not implemented for `rand_hc::Hc128Core`
|
note: required by `rngs::adapter::reseeding::ReseedingRng`
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/adapter/reseeding.rs:88:1
|
88 | / pub struct ReseedingRng<R, Rsdr>(BlockRng<ReseedingCore<R, Rsdr>>)
89 | | where R: BlockRngCore + SeedableRng,
90 | | Rsdr: RngCore;
| |____________________^
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0277]: the trait bound `rand_hc::Hc128Core: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/thread.rs:76:1
|
76 | / thread_local!(
77 | | static THREAD_RNG_KEY: UnsafeCell<ReseedingRng<Hc128Core, EntropyRng>> = {
78 | | let mut entropy_source = EntropyRng::new();
79 | | let r = Hc128Core::from_rng(&mut entropy_source).unwrap_or_else(|err|
... |
85 | | }
86 | | );
| |__^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Core`
|
note: required by `rngs::adapter::reseeding::ReseedingRng`
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/adapter/reseeding.rs:88:1
|
88 | / pub struct ReseedingRng<R, Rsdr>(BlockRng<ReseedingCore<R, Rsdr>>)
89 | | where R: BlockRngCore + SeedableRng,
90 | | Rsdr: RngCore;
| |____________________^
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0277]: the trait bound `rand_hc::Hc128Core: rand_core::block::BlockRngCore` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/thread.rs:76:1
|
76 | / thread_local!(
77 | | static THREAD_RNG_KEY: UnsafeCell<ReseedingRng<Hc128Core, EntropyRng>> = {
78 | | let mut entropy_source = EntropyRng::new();
79 | | let r = Hc128Core::from_rng(&mut entropy_source).unwrap_or_else(|err|
... |
85 | | }
86 | | );
| |__^ the trait `rand_core::block::BlockRngCore` is not implemented for `rand_hc::Hc128Core`
|
note: required by `rngs::adapter::reseeding::ReseedingRng`
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/adapter/reseeding.rs:88:1
|
88 | / pub struct ReseedingRng<R, Rsdr>(BlockRng<ReseedingCore<R, Rsdr>>)
89 | | where R: BlockRngCore + SeedableRng,
90 | | Rsdr: RngCore;
| |____________________^
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0277]: the trait bound `rand_hc::Hc128Core: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/thread.rs:76:1
|
76 | / thread_local!(
77 | | static THREAD_RNG_KEY: UnsafeCell<ReseedingRng<Hc128Core, EntropyRng>> = {
78 | | let mut entropy_source = EntropyRng::new();
79 | | let r = Hc128Core::from_rng(&mut entropy_source).unwrap_or_else(|err|
... |
85 | | }
86 | | );
| |__^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Core`
|
note: required by `rngs::adapter::reseeding::ReseedingRng`
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/adapter/reseeding.rs:88:1
|
88 | / pub struct ReseedingRng<R, Rsdr>(BlockRng<ReseedingCore<R, Rsdr>>)
89 | | where R: BlockRngCore + SeedableRng,
90 | | Rsdr: RngCore;
| |____________________^
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0277]: the trait bound `rand_hc::Hc128Core: rand_core::block::BlockRngCore` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/thread.rs:76:1
|
76 | / thread_local!(
77 | | static THREAD_RNG_KEY: UnsafeCell<ReseedingRng<Hc128Core, EntropyRng>> = {
78 | | let mut entropy_source = EntropyRng::new();
79 | | let r = Hc128Core::from_rng(&mut entropy_source).unwrap_or_else(|err|
... |
85 | | }
86 | | );
| |__^ the trait `rand_core::block::BlockRngCore` is not implemented for `rand_hc::Hc128Core`
|
note: required by `rngs::adapter::reseeding::ReseedingRng`
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/adapter/reseeding.rs:88:1
|
88 | / pub struct ReseedingRng<R, Rsdr>(BlockRng<ReseedingCore<R, Rsdr>>)
89 | | where R: BlockRngCore + SeedableRng,
90 | | Rsdr: RngCore;
| |____________________^
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0277]: the trait bound `rand_hc::Hc128Core: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/thread.rs:76:1
|
76 | / thread_local!(
77 | | static THREAD_RNG_KEY: UnsafeCell<ReseedingRng<Hc128Core, EntropyRng>> = {
78 | | let mut entropy_source = EntropyRng::new();
79 | | let r = Hc128Core::from_rng(&mut entropy_source).unwrap_or_else(|err|
... |
85 | | }
86 | | );
| |__^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Core`
|
note: required by `rngs::adapter::reseeding::ReseedingRng`
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/adapter/reseeding.rs:88:1
|
88 | / pub struct ReseedingRng<R, Rsdr>(BlockRng<ReseedingCore<R, Rsdr>>)
89 | | where R: BlockRngCore + SeedableRng,
90 | | Rsdr: RngCore;
| |____________________^
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0277]: the trait bound `rand_hc::Hc128Core: rand_core::block::BlockRngCore` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/thread.rs:76:1
|
76 | / thread_local!(
77 | | static THREAD_RNG_KEY: UnsafeCell<ReseedingRng<Hc128Core, EntropyRng>> = {
78 | | let mut entropy_source = EntropyRng::new();
79 | | let r = Hc128Core::from_rng(&mut entropy_source).unwrap_or_else(|err|
... |
85 | | }
86 | | );
| |__^ the trait `rand_core::block::BlockRngCore` is not implemented for `rand_hc::Hc128Core`
|
note: required by `rngs::adapter::reseeding::ReseedingRng`
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/adapter/reseeding.rs:88:1
|
88 | / pub struct ReseedingRng<R, Rsdr>(BlockRng<ReseedingCore<R, Rsdr>>)
89 | | where R: BlockRngCore + SeedableRng,
90 | | Rsdr: RngCore;
| |____________________^
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0277]: the trait bound `rand_hc::Hc128Core: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/thread.rs:76:1
|
76 | / thread_local!(
77 | | static THREAD_RNG_KEY: UnsafeCell<ReseedingRng<Hc128Core, EntropyRng>> = {
78 | | let mut entropy_source = EntropyRng::new();
79 | | let r = Hc128Core::from_rng(&mut entropy_source).unwrap_or_else(|err|
... |
85 | | }
86 | | );
| |__^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Core`
|
note: required by `rngs::adapter::reseeding::ReseedingRng`
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/adapter/reseeding.rs:88:1
|
88 | / pub struct ReseedingRng<R, Rsdr>(BlockRng<ReseedingCore<R, Rsdr>>)
89 | | where R: BlockRngCore + SeedableRng,
90 | | Rsdr: RngCore;
| |____________________^
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0277]: the trait bound `rand_pcg::Mcg128Xsl64: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/small.rs:97:5
|
97 | type Seed = <Rng as SeedableRng>::Seed;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_pcg::Mcg128Xsl64`
error[E0277]: the trait bound `rand_pcg::Mcg128Xsl64: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/small.rs:99:5
|
99 | / fn from_seed(seed: Self::Seed) -> Self {
100 | | SmallRng(Rng::from_seed(seed))
101 | | }
| |_____^ the trait `rand_core::SeedableRng` is not implemented for `rand_pcg::Mcg128Xsl64`
error[E0277]: the trait bound `rand_hc::Hc128Rng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/std.rs:56:5
|
56 | type Seed = <Hc128Rng as SeedableRng>::Seed;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Rng`
error[E0277]: the trait bound `rand_hc::Hc128Rng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/rngs/std.rs:58:5
|
58 | / fn from_seed(seed: Self::Seed) -> Self {
59 | | StdRng(Hc128Rng::from_seed(seed))
60 | | }
| |_____^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Rng`
error[E0277]: the trait bound `rand_isaac::IsaacRng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:51:5
|
51 | type Seed = <rand_isaac::IsaacRng as SeedableRng>::Seed;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_isaac::IsaacRng`
error[E0277]: the trait bound `rand_isaac::IsaacRng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:53:5
|
53 | / fn from_seed(seed: Self::Seed) -> Self {
54 | | IsaacRng(rand_isaac::IsaacRng::from_seed(seed))
55 | | }
| |_____^ the trait `rand_core::SeedableRng` is not implemented for `rand_isaac::IsaacRng`
error[E0277]: the trait bound `rand_isaac::Isaac64Rng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:97:5
|
97 | type Seed = <rand_isaac::Isaac64Rng as SeedableRng>::Seed;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_isaac::Isaac64Rng`
error[E0277]: the trait bound `rand_isaac::Isaac64Rng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:99:5
|
99 | / fn from_seed(seed: Self::Seed) -> Self {
100 | | Isaac64Rng(rand_isaac::Isaac64Rng::from_seed(seed))
101 | | }
| |_____^ the trait `rand_core::SeedableRng` is not implemented for `rand_isaac::Isaac64Rng`
error[E0277]: the trait bound `rand_chacha::ChaChaRng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:142:5
|
142 | type Seed = <rand_chacha::ChaChaRng as SeedableRng>::Seed;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_chacha::ChaChaRng`
error[E0277]: the trait bound `rand_chacha::ChaChaRng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:144:5
|
144 | / fn from_seed(seed: Self::Seed) -> Self {
145 | | ChaChaRng(rand_chacha::ChaChaRng::from_seed(seed))
146 | | }
| |_____^ the trait `rand_core::SeedableRng` is not implemented for `rand_chacha::ChaChaRng`
error[E0277]: the trait bound `rand_hc::Hc128Rng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:199:5
|
199 | type Seed = <rand_hc::Hc128Rng as SeedableRng>::Seed;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Rng`
error[E0277]: the trait bound `rand_hc::Hc128Rng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:201:5
|
201 | / fn from_seed(seed: Self::Seed) -> Self {
202 | | Hc128Rng(rand_hc::Hc128Rng::from_seed(seed))
203 | | }
| |_____^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Rng`
error[E0277]: the trait bound `rand_xorshift::XorShiftRng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:240:5
|
240 | type Seed = <::rand_xorshift::XorShiftRng as SeedableRng>::Seed;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_xorshift::XorShiftRng`
error[E0277]: the trait bound `rand_xorshift::XorShiftRng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:242:5
|
242 | / fn from_seed(seed: Self::Seed) -> Self {
243 | | XorShiftRng(::rand_xorshift::XorShiftRng::from_seed(seed))
244 | | }
| |_____^ the trait `rand_core::SeedableRng` is not implemented for `rand_xorshift::XorShiftRng`
error[E0277]: the trait bound `rand_hc::Hc128Rng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:280:5
|
280 | type Seed = <rngs::StdRng as SeedableRng>::Seed;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Rng`
error[E0277]: the trait bound `rand_hc::Hc128Rng: rand_core::SeedableRng` is not satisfied
--> /home/jon/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:282:5
|
282 | / fn from_seed(seed: Self::Seed) -> Self {
283 | | StdRng(rngs::StdRng::from_seed(seed))
284 | | }
| |_____^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Rng`
error: aborting due to 34 previous errors
@jonhoo
Copy link
Author

jonhoo commented May 31, 2019

Fixed with

| cargo update
    Updating crates.io index
    Updating git repository `https://github.com/carllerche/tokio-mock-task`
    Updating arrayvec v0.4.7 -> v0.4.10
    Updating autocfg v0.1.2 -> v0.1.4
    Updating byteorder v1.2.7 -> v1.3.1
    Updating bytes v0.4.10 -> v0.4.12
    Updating cc v1.0.25 -> v1.0.37
    Updating cfg-if v0.1.6 -> v0.1.9
    Removing crossbeam-utils v0.5.0
      Adding fuchsia-cprng v0.1.1
    Updating hdrsample v6.0.3 -> v6.0.4
    Updating humantime v1.1.1 -> v1.2.0
    Updating lazy_static v1.1.0 -> v1.3.0
    Removing lazycell v1.2.0
    Updating libc v0.2.43 -> v0.2.57
    Updating lock_api v0.1.4 -> v0.1.5
    Updating miniz-sys v0.1.11 -> v0.1.12
    Updating mio v0.6.16 -> v0.6.19
    Updating nodrop v0.1.12 -> v0.1.13
    Updating num-traits v0.2.6 -> v0.2.8
    Updating num_cpus v1.8.0 -> v1.10.0
      Adding numtoa v0.1.0
    Updating owning_ref v0.3.3 -> v0.4.0
    Updating parking_lot v0.6.4 -> v0.7.1
    Updating parking_lot_core v0.3.1 -> v0.4.0
    Removing rand v0.4.3
    Removing rand v0.5.5
      Adding rand v0.4.6
    Removing rand_core v0.2.2
    Removing rand_core v0.3.0
      Adding rand_core v0.3.1
    Updating rand_os v0.1.1 -> v0.1.3
    Updating rand_pcg v0.1.1 -> v0.1.2
    Updating redox_syscall v0.1.40 -> v0.1.54
    Updating slab v0.4.1 -> v0.4.2
    Updating smallvec v0.6.5 -> v0.6.9
    Updating termion v1.5.1 -> v1.5.2
    Updating tokio v0.1.19 -> v0.1.21
    Updating tokio-reactor v0.1.6 -> v0.1.9
    Updating tokio-sync v0.1.3 -> v0.1.5
    Updating tokio-tcp v0.1.2 -> v0.1.3
    Updating tokio-trace-core v0.1.0 -> v0.2.0
    Updating tokio-udp v0.1.2 -> v0.1.3
    Updating tokio-uds v0.2.3 -> v0.2.5
    Removing unreachable v1.0.0
    Updating winapi v0.3.6 -> v0.3.7
    Updating winapi-util v0.1.1 -> v0.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment