Skip to content

Found two different crates with name… #19

@jirutka

Description

@jirutka
...
cargo:crates-io: Building crates-io-0.2.0 (needed by: cargo-0.11.0)
cargo:crates-io:  PROFILE="release" TARGET="x86_64-unknown-linux-musl" CARGO_MANIFEST_DIR="/tmp/cargo/crates-io-0.2.0" OUT_DIR="/tmp/cargo" CARGO_PKG_VERSION_MAJOR="0" CARGO_PKG_VERSION="0.2.0" CARGO_PKG_VERSION_PATCH="0" HOST="x86_64-unknown-linux-musl" PATH="/home/jirutjak/rustc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" DEBUG="0" OPT_LEVEL="0" CARGO_PKG_VERSION_MINOR="2" NUM_JOBS="1" CARGO_PKG_VERSION_PRE="" rustc /tmp/cargo/crates-io-0.2.0/lib.rs --crate-name crates_io --crate-type lib -C extra-filename=-0_2_0 --out-dir /tmp/cargo --emit=dep-info,link --target x86_64-unknown-linux-musl -L /tmp/cargo -L /tmp/cargo/lib -l dylib=ssl -l dylib=crypto -L /tmp/cargo/lib -l static=curl --extern curl=/tmp/cargo/libcurl-0_2_19.rlib --extern rustc_serialize=/tmp/cargo/librustc_serialize-0_3_19.rlib --extern url=/tmp/cargo/liburl-0_2_38.rlib
cargo:crates-io: /tmp/cargo/crates-io-0.2.0/lib.rs:2:1: 2:18 error: found two different crates with name `url` that are not distinguished by differing `-C metadata`. This will result in symbol conflicts between the two. [E0523]
cargo:crates-io: /tmp/cargo/crates-io-0.2.0/lib.rs:2 extern crate url;
cargo:crates-io:                                     ^~~~~~~~~~~~~~~~~

Exception:
 from ./bootstrap.py, line 1002:
 build command failed: 101
ls /tmp/cargo/ | grep '^url-*'
url-0.2.38
url-0_2_38.d
url-1.0.0
url-1.1.1
url-1_1_1.d

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