rust-lang / docs.rs

crates.io documentation generator
https://docs.rs
MIT License
960 stars 195 forks source link

My crate build fails and the build error message is not very informative #2542

Open wada314 opened 3 weeks ago

wada314 commented 3 weeks ago

Crate name

protoc-plugin-by-closure

Build failure link

https://docs.rs/crate/protoc-plugin-by-closure/0.1.3/builds/1281496

Additional details

Hello! As title says, my relatively-trivial crate is failing to build in docs.rs and the error message is not very useful. My crate is just a single lib.rs src file... Just one special thing I can imagine is that it's depending on a cargo unstable feature bindeps so the crate is containing .cargo/config.toml file with a simple content:

[unstable]
bindeps = true

and the crate is depending on an binary-only carte protoc-plugin-bin.

My repository dir

thanks in advance,

syphar commented 2 weeks ago

the actual error is:

error: failed to parse manifest at /home/cratesfyi/workspace-builder/builds/protoc-plugin-by-closure-0.1.3/source Cargo.toml Caused by: artifact = … requires -Z bindeps (protoc-plugin-bin)

( I need to check why this part is missing in the logs )