Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appveyor doesn't like clean-cargo-cache changes #19831

Closed
jdm opened this issue Jan 22, 2018 · 4 comments
Closed

Appveyor doesn't like clean-cargo-cache changes #19831

jdm opened this issue Jan 22, 2018 · 4 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Jan 22, 2018

set CARGO_HOME=C:\Users\appveyor\.cargo
mach clean-nightlies --keep 2 --force
Current Rust version for Servo: nightly-2018-01-21
Current Rust version for geckolib: 1.22.1
Nothing to remove.
mach clean-cargo-cache --keep 2 --force
Error running mach:
    ['clean-cargo-cache', '--keep', '2', '--force']
The error occurred in the implementation of the invoked mach command.
This should never occur and is likely a bug in the implementation of that
command. Consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
WindowsError: [Error 3] The system cannot find the path specified: u'C:\\Users\\appveyor\\.cargo\\git\\db\\*.*'
  File "C:\projects\servo\python\servo\bootstrap_commands.py", line 238, in clean_cargo_cache
    git_db_list = filter(lambda f: not f.startswith('.'), os.listdir(git_db_dir))
Command exited with code 1
@highfive
Copy link

@highfive highfive commented Jan 22, 2018

@pyfisch
Copy link
Contributor

@pyfisch pyfisch commented Jan 22, 2018

Probably related: #19823

@tigercosmos
Copy link
Collaborator

@tigercosmos tigercosmos commented Jan 23, 2018

Previous work, but I don't know why fail now.

@jdm
Copy link
Member Author

@jdm jdm commented Jan 23, 2018

I'm pretty sure this error means that we don't actually cache the .cargo directory on appveyor.

bors-servo added a commit that referenced this issue Jan 24, 2018
Remove clean-cache from appveyor.

This fixes #19831.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19832)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Jan 24, 2018
Remove clean-cache from appveyor.

This fixes #19831.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19832)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

4 participants
You can’t perform that action at this time.