Skip to content

tidy on NTFS spuriously warns about executable bit #75902

Description

@scrabsha

When I run ./x.py tidy, I get a lot of errors:

$ ./x.py test tidy
Updating only changed submodules
Submodules updated in 0.02 seconds
    Finished dev [unoptimized + debuginfo] target(s) in 0.15s
Building stage0 tool tidy (x86_64-unknown-linux-gnu)
    Finished release [optimized + debuginfo] target(s) in 0.14s
tidy check
* 615 error codes
* highest error code: E0772
Checking which error codes lack tests...
Found 509 error codes
Found 0 error codes with no tests
Done!
tidy error: binary checked into source: /mnt/rust/src/librustc_errors/annotate_snippet_emitter_writer.rs
tidy error: binary checked into source: /mnt/rust/src/librustc_errors/Cargo.toml
tidy error: binary checked into source: /mnt/rust/src/librustc_errors/diagnostic.rs
tidy error: binary checked into source: /mnt/rust/src/librustc_errors/diagnostic_builder.rs
tidy error: binary checked into source: /mnt/rust/src/librustc_errors/emitter.rs
tidy error: binary checked into source: /mnt/rust/src/librustc_errors/json/tests.rs
tidy error: binary checked into source: /mnt/rust/src/librustc_errors/json.rs
tidy error: binary checked into source: /mnt/rust/src/librustc_errors/lib.rs
tidy error: binary checked into source: /mnt/rust/src/librustc_errors/lock.rs
tidy error: binary checked into source: /mnt/rust/src/librustc_errors/registry.rs
tidy error: binary checked into source: /mnt/rust/src/librustc_errors/snippet.rs
tidy error: binary checked into source: /mnt/rust/src/librustc_errors/styled_buffer.rs
tidy error: binary checked into source: /mnt/rust/src/librustc_middle/arena.rs
tidy error: binary checked into source: /mnt/rust/src/librustc_middle/benches/lib.rs
tidy error: binary checked into source: /mnt/rust/src/librustc_middle/Cargo.toml
tidy error: binary checked into source: /mnt/rust/src/librustc_middle/dep_graph/dep_node.rs

(Followed by about 22900 similar errors).

I reported the issue on URLO. @daboross found where in the code the error is emitted (here). According to them, the error comes from the fact I am running ./x.py test tidy on a NTFS partition on Linux (see their comment).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions