Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #26455
Closed (moved) (moved)
Open
Issue created Jun 21, 2018 by Taylor Yu@catalyst

use correct CARGO_HOME in test_rust.sh

make check currently doesn't seem to work with --enable-rust without --enable-cargo-online-mode.

It looks like cargo expects CARGO_HOME to point to the .cargo directory itself, not the directory containing it. Builds seem to work anyway because we cd to a directory where cargo can find a .cargo directory, even though we set CARGO_HOME incorrectly.

This might be making Jenkins builds fail too:

https://jenkins.torproject.org/job/tor-ci-linux-master-rust/ARCHITECTURE=i386,SUITE=sid/lastBuild/console

20:04:05 FAIL: src/test/test_rust.sh
20:04:05 ===========================
20:04:05 
20:04:05 error: attempting to make an HTTP request, but --frozen was specified
20:04:05 error: attempting to make an HTTP request, but --frozen was specified

This incarnation of this bug seems to be in the fix for #26258 (moved), but similar problems seem to exist in releases as far back as 0.3.1.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking