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

[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        |   Keywords:  rust tor-tests
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 The latest travis builds fail on the rust tests after #26258 got merged (i
 guess). Here are some fails:

 {{{
   --> external/crypto_digest.rs:74:1
    |
 74 | const N_DIGEST_ALGORITHMS: usize = DIGEST_SHA3_512 as usize + 1;
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: #[warn(dead_code)] on by default

 warning: type alias is never used: `smartlist_t`
    --> external/crypto_digest.rs:120:1
     |
 120 | type smartlist_t = Stringlist;
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 warning: constant item is never used: `N_DIGEST_ALGORITHMS`
   --> external/crypto_digest.rs:74:1
    |
 74 | const N_DIGEST_ALGORITHMS: usize = DIGEST_SHA3_512 as usize + 1;
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: #[warn(dead_code)] on by default

 warning: type alias is never used: `smartlist_t`
    --> external/crypto_digest.rs:120:1
     |
 120 | type smartlist_t = Stringlist;
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

     Finished dev [unoptimized + debuginfo] target(s) in 3.39 secs
      Running /home/travis/build/torproject/tor/tor-0.3.4.2-alpha-
 dev/_build/src/rust/target/debug/deps/external-99409f0e61b6d8c2
 }}}

 See https://api.travis-ci.org/v3/job/392350333/log.txt etc.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26378>
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