Skip to content

Spurious failure "failed to remove file ... Access is denied" in cargo test profile_selection_check_all_targets* on Windows #56040

Description

@kennytm

Symptom: On x86_64-msvc-cargo, a cargo test with name like profile_selection_check_all_targets* failed to build due to error like

error: failed to remove file `C:\projects\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\cit\t988\foo\target\debug\libfoo.rmeta`
Caused by:
  Access is denied. (os error 5)

Previous instances:

Note: the cargo submodule was most recently updated by #55830 on 2018-11-10T15:03:11Z, but the 7 days of inactivity suggests #55830 may not be the cause.

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

    A-spuriousArea: Spurious failures in builds (spuriously == for no apparent reason)C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-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