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

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jun 15 17:59:48 UTC 2018


#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


More information about the tor-bugs mailing list