Show registry name for SourceId from lockfile
Show registry name for SourceId from lockfile

Since current lockfile does not serialize any registry names. We here
try best effort to restore registry name from either `[registries]`
table or `[source]` replacement table. This is done by manually
implementing `Hash` and `PartialEq` for `SourceIdInner`, of which two
traits previously are simply `derive`d.

To make `SourceIdInner` generate the same hash whether contains `name`
field or not, here we remove `name` field from hashing and only concern
about `kind`, `precise` and `canonical_url`.

nipunn1313/cargo,eminence/cargo,rust-lang/cargo,rustyhorde/cargo,nipunn1313/cargo,rustyhorde/cargo,rust-lang/cargo,rustyhorde/cargo,nipunn1313/cargo,rust-lang/cargo,eminence/cargo,nipunn1313/cargo,rustyhorde/cargo,eminence/cargo,eminence/cargo,rust-lang/cargo