Skip to content
This repository was archived by the owner on Jun 21, 2019. It is now read-only.

Vendoring crate from git repo produces invalid .cargo-checksum.json #61

@djg

Description

@djg

I'm trying to vendor tokio-uds into Gecko since the git repo has fixes my code needs. cargo-vendor version 0.1.12 produces "package": null in the jSON, which causes Gecko build to fail:

 0:01.99 error: failed to load source for a dependency on `log`
 0:01.99 
 0:01.99 Caused by:
 0:01.99   Unable to update registry https://github.com/rust-lang/crates.io-index
 0:01.99 
 0:01.99 Caused by:
 0:01.99   failed to update replaced source `registry https://github.com/rust-lang/crates.io-index`
 0:01.99 
 0:01.99 Caused by:
 0:01.99   failed to decode `.cargo-checksum.json` of tokio-uds v0.1.6
 0:02.00 
 0:02.00 Caused by:
 0:02.00   invalid type: unit value, expected a string at line 1 column 674

.cargo-checksum.json:

{"files":{".travis.yml":"931def7b1510d5bcefff1addb0c804de4b20dd57d6d71062aa5c31f5383dfb64","Cargo.toml":"c8e69d8e264381e1a3bbd0bb540c86f02db13f9f22ea1adeba1645241965a407","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"69036b033e4bb951821964dbc3d9b1efe6913a6e36d9c1f206de4035a1a85cc4","README.md":"d99405dcf91b78024df7460186680c5334524232338cd9ddce0d39639958694a","src/frame.rs":"bf35e7134ce40679ca8125dbb008871db54af50450b6b389284d505e110bd0bd","src/lib.rs":"04b1cbf5a0fa2f62a0e1f9441caaed877e008eb43cc7b3fa15ac52e7da37904a","src/ucred.rs":"c60465ebe515eefea6de9a09e5ae67538ed28509a5c6553ef67541dca6a80bb2"},"package":null}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions