# Contributing to rustc: ./x.py test tidy gives a lot of errors

**URL:** <https://users.rust-lang.org/t/contributing-to-rustc-x-py-test-tidy-gives-a-lot-of-errors/47712>\
**Category:** help\
**Created:** [August 24, 2020, 10:19am UTC](https://users.rust-lang.org/t/contributing-to-rustc-x-py-test-tidy-gives-a-lot-of-errors/47712 "2020-08-24T10:19:46Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![daboross](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/daboross/32/43777_2.png) [@daboross](https://users.rust-lang.org/u/daboross)\
**Post date:** [August 24, 2020, 8:45pm UTC](https://users.rust-lang.org/t/contributing-to-rustc-x-py-test-tidy-gives-a-lot-of-errors/47712/5 "2020-08-24T20:45:22Z")

</div>

From the [tidy source](https://github.com/rust-lang/rust/blob/master/src/tools/tidy/src/bins.rs#L40), it looks like this is checking for files in git which have the executable permission bit set. I would imagine this is directly caused by running on NTFS, which doesn't have such an executable bit.

The test is disabled on windows, but apparently not on Linux running NTFS! I'd recommend filing a bug report on the rust-lang/rust repo.

In the meantime, cloning on a non-NTFS filesystem should work around the error.

---

_[View the full topic](https://users.rust-lang.org/t/contributing-to-rustc-x-py-test-tidy-gives-a-lot-of-errors/47712)._
