Building test2 v0.1.0 (current)
Built [ 0.828s] (current)
Parsing test2 v0.1.0 (current)
Parsed [ 0.004s] (current)
Building test2 v0.1.0 (baseline)
error: running cargo-doc on crate 'test2' failed with output:
-----
warning: placeholder v0.0.0 (/home/yonas/git/rust-ci-github-actions-workflow/target/semver-checks/registry-test2-0_1_0-default-01666ec060466c14) ignoring invalid dependency `test2` which is missing a lib target
error: no library targets found in package `test2`
-----
error: failed to build rustdoc for crate test2 v0.1.0
note: this is usually due to a compilation error in the crate,
and is unlikely to be a bug in cargo-semver-checks
note: the following command can be used to reproduce the error:
cargo new --lib example &&
cd example &&
echo '[workspace]' >> Cargo.toml &&
cargo add test2@=0.1.0 &&
cargo check &&
cargo doc
error: aborting due to failure to build rustdoc for crate test2 v0.1.0
Building test2 v0.1.0 (current) Built [ 0.828s] (current) Parsing test2 v0.1.0 (current) Parsed [ 0.004s] (current) Building test2 v0.1.0 (baseline) error: running cargo-doc on crate 'test2' failed with output: ----- warning: placeholder v0.0.0 (/home/yonas/git/rust-ci-github-actions-workflow/target/semver-checks/registry-test2-0_1_0-default-01666ec060466c14) ignoring invalid dependency `test2` which is missing a lib target error: no library targets found in package `test2` ----- error: failed to build rustdoc for crate test2 v0.1.0 note: this is usually due to a compilation error in the crate, and is unlikely to be a bug in cargo-semver-checks note: the following command can be used to reproduce the error: cargo new --lib example && cd example && echo '[workspace]' >> Cargo.toml && cargo add test2@=0.1.0 && cargo check && cargo doc error: aborting due to failure to build rustdoc for crate test2 v0.1.0