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