You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is a regression. This works on rustc/cargo 1.26 but fails on rustc/cargo 1.27.
We have a dependency in the project parity-dapps-glue. This crate is published in crates.io, and we have a crate (parity-dapps) depending on the crates.io version. There's another local version of parity-dapps-glue. That local version is not being dependent by any other crates in the project, but it's included as a member of the workspace.
Given we have a checkout of parity:
git clone https://github.com/paritytech/parity
cd parity
git checkout 683a26c8300c7022950bb2d678b82a616b79d434
Go to the parity-dapps-glue folder and run cd dapps/js-glue && cargo test --release --verbose works without any issue. However, when in the root folder of the project, run command cargo test --all --release --verbose fails with the following error:
error[E0465]: multiple rlib candidates for `syntex` found
--> /home/sorpaas/repos/parity3/dapps/js-glue/src/lib.rs:21:1
|
21 | extern crate syntex;
| ^^^^^^^^^^^^^^^^^^^^
|
You can see there're two --extern syntex arguments pointing to different files.
I checked the doctests build for cd dapps/js-glue && cargo test --release --verbose and cargo test --release --all --verbose, they're building with the same feature sets.
I expected to see this happen: The above command works just as in rust/cargo 1.26.
The text was updated successfully, but these errors were encountered:
sorpaas
changed the title
doctests try to link multiple identical depencendy on the same path
doctests try to link multiple identical dependency on the same path
Jun 27, 2018
I think this is a regression. This works on rustc/cargo 1.26 but fails on rustc/cargo 1.27.
We have a dependency in the project
parity-dapps-glue
. This crate is published in crates.io, and we have a crate (parity-dapps
) depending on the crates.io version. There's another local version ofparity-dapps-glue
. That local version is not being dependent by any other crates in the project, but it's included as a member of the workspace.Given we have a checkout of parity:
Go to the
parity-dapps-glue
folder and runcd dapps/js-glue && cargo test --release --verbose
works without any issue. However, when in the root folder of the project, run commandcargo test --all --release --verbose
fails with the following error:Checking the command cargo tries to run:
You can see there're two
--extern syntex
arguments pointing to different files.I checked the doctests build for
cd dapps/js-glue && cargo test --release --verbose
andcargo test --release --all --verbose
, they're building with the same feature sets.rustc
version:rustc 1.27.0 (3eda71b00 2018-06-19)
cargo
version:cargo 1.27.0 (1e95190e5 2018-05-27)
rel openethereum/parity-ethereum#8983
The text was updated successfully, but these errors were encountered: