Skip to content

Spurious PermissionDenied error with cargo's rename_with_link_search_path test in AppVeyor #48775

Closed
@kennytm

Description

@kennytm

Symptom: The check-aux job fails with the following log:

failures:
---- rename_with_link_search_path stdout ----
	running `C:\projects\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\release\cargo.exe build`
running `C:\projects\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\release\cargo.exe run`
thread 'rename_with_link_search_path' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 5, kind: PermissionDenied, message: "Access is denied." }', libcore\result.rs:945:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
failures:
    rename_with_link_search_path
test result: FAILED. 63 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out

First seen in #48476 (comment), and again in #47463 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-spuriousArea: Spurious failures in builds (spuriously == for no apparent reason)C-bugCategory: This is a bug.O-windows-msvcToolchain: MSVC, Operating system: WindowsT-cargoRelevant to the cargo 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