fix build (comment some deprecated tox functions), add `Cargo.lock` to .gitignore

Subj. But it segfaults for the reason I don't know yet.
What's going on here?