Skip to content

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

Open
@pitdicker

Description

@pitdicker

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-incr-compArea: Incremental compilationC-bugCategory: This is a bug.T-compilerRelevant to the compiler 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