[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #26378 [Core Tor/Tor]: Travis fails on rust tests (test_rust.sh)



#26378: Travis fails on rust tests (test_rust.sh)
----------------------------+------------------------------------
 Reporter:  asn             |          Owner:  (none)
     Type:  defect          |         Status:  new
 Priority:  Medium          |      Milestone:  Tor: 0.3.4.x-final
Component:  Core Tor/Tor    |        Version:
 Severity:  Normal          |     Resolution:
 Keywords:  rust tor-tests  |  Actual Points:
Parent ID:                  |         Points:
 Reviewer:                  |        Sponsor:
----------------------------+------------------------------------

Comment (by catalyst):

 A little more info
 {{{
    Compiling crypto v0.0.1 (file:///Users/tlyu/src/tor/src/rust/crypto)
 error[E0277]: the trait bound `rngs::jitter::TimerError:
 std::error::Error` is not satisfied
    -->
 /Users/tlyu/src/tor/src/ext/rust/crates/rand-0.5.0-pre.2/src/rngs/jitter.rs:265:9
     |
 265 |         Error::with_cause(ErrorKind::Unavailable,
     |         ^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not
 implemented for `rngs::jitter::TimerError`
     |
     = note: required because of the requirements on the impl of
 `core::convert::From<rngs::jitter::TimerError>` for
 `alloc::boxed::Box<std::error::Error + core::marker::Send +
 core::marker::Sync + 'static>`
     = note: required because of the requirements on the impl of
 `core::convert::Into<alloc::boxed::Box<std::error::Error +
 core::marker::Send + core::marker::Sync + 'static>>` for
 `rngs::jitter::TimerError`
     = note: required by `rand_core::Error::with_cause`
 }}}
 I'm guessing some dependency of the rand crate needs updating.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26378#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs