Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #26378

Closed (moved)
Open
Opened Jun 15, 2018 by George Kadianakis@asn

test_rust.sh fails on src/rust/crypto

The latest travis builds fail on the rust tests after #26258 (moved) 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.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.3.4.x-final
Milestone
Tor: 0.3.4.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#26378