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

Compiliation aborted because it can not delete dep-graph.bin #48614

Open
pitdicker opened this issue Feb 28, 2018 · 2 comments
Open

Compiliation aborted because it can not delete dep-graph.bin #48614

pitdicker opened this issue Feb 28, 2018 · 2 comments
Labels
A-incr-comp Area: Incremental compilation C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@pitdicker
Copy link
Contributor

Probably not important, but I report it anyway.
See this travis log: https://travis-ci.org/rust-lang-nursery/rand/jobs/347348670

The first test command finishes successfully, but the second fails because one of the (leftover?) incremental compilation files can not be deleted (because it does not exist).

The command "cargo test --tests --no-default-features --features=alloc" exited with 0.
$ cargo test --all --features serde-1,log,nightly
   Compiling rand v0.4.2 (file:///home/travis/build/rust-lang-nursery/rand)
error: Failed to delete invalidated or incompatible incremental compilation session directory contents `/home/travis/build/rust-lang-nursery/rand/target/debug/incremental/rand-1tsi5gagblzct/s-eyqipa1yw1-8k3grx-working/dep-graph.bin`: No such file or directory (os error 2).
error: aborting due to previous error
error: Could not compile `rand`.
warning: build failed, waiting for other jobs to finish...
error: build failed
@pietroalbini pietroalbini added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. A-incr-comp Area: Incremental compilation C-bug Category: This is a bug. labels Mar 6, 2018
@iddan
Copy link

iddan commented Sep 12, 2018

This happens for me when executing cargo build inside the docker image janitortechnology/servo on a Google Cloud Compute Engine instance.

Marwes added a commit to Marwes/rust that referenced this issue Mar 26, 2019
Centril added a commit to Centril/rust that referenced this issue Mar 27, 2019
fix: Make incremental artifact deletion more robust

Should fix the intermittent errors reported in rust-lang#57958

cc rust-lang#48614
cuviper added a commit to cuviper/rust that referenced this issue Mar 28, 2019
fix: Make incremental artifact deletion more robust

Should fix the intermittent errors reported in rust-lang#57958

cc rust-lang#48614
@steveklabnik
Copy link
Member

Has anyone seen this issue lately? any chance of a smaller reproduction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-incr-comp Area: Incremental compilation C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants