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

clean-cargo-cache fails if no builds have been performed #20784

Closed
jdm opened this issue May 14, 2018 · 1 comment
Closed

clean-cargo-cache fails if no builds have been performed #20784

jdm opened this issue May 14, 2018 · 1 comment

Comments

@jdm
Copy link
Member

@jdm jdm commented May 14, 2018

Error running mach:

    ['clean-cargo-cache', '--keep', '3', '--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:

OSError: [Errno 2] No such file or directory: '/home/servo/.cargo/git/db'

  File "/home/servo/buildbot/slave/linux-rel-wpt/build/python/servo/bootstrap_commands.py", line 240, in clean_cargo_cache
    git_db_list = filter(lambda f: not f.startswith('.'), os.listdir(git_db_dir))
@highfive
Copy link

@highfive highfive commented May 14, 2018

Hi! If you have any questions regarding this issue, feel free to make a comment here, or ask it in the #servo channel in IRC.

If you intend to work on this issue, then add @highfive: assign me to your comment, and I'll assign this to you. 😄

Eijebong added a commit to Eijebong/servo that referenced this issue May 15, 2018
@jdm jdm added the C-assigned label May 22, 2018
bors-servo added a commit that referenced this issue May 29, 2018
Don't try to list files in directories that don't exist

Fixes #20784

<!-- 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/20789)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Jun 6, 2018
Don't try to list files in directories that don't exist

Fixes #20784

<!-- 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/20789)
<!-- 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.

None yet
2 participants
You can’t perform that action at this time.