The default gigignore template generates a line with Cargo.lock rather than /Cargo.lock, causing necessary Cargo.locks in non-root directories to be ignored.
This becomes an issue if one uses cargo vendor to vendor deps - as the gitignore file ignores the dependencies' Cargo.locks, which one is required to have to build without error.