It looks like the doc tests for libgraphviz create files example{1,2,3}.dot, which end up being left behind in the cwd after running make check.
I'm not sure what the correct solution here is. The doc tests could explicitly try to write to /tmp, but it may make more sense for rustdoc's test runner to use a temporary directory as the cwd so the individual tests don't have to worry about this.