Skip to content

Non-deterministic errors resolving multple versions of openssl-sys in rust beta 1.13.0-beta.3 #3268

Closed
@brson

Description

@brson

I found this on crater in our new builds of cargo that we paired with the Rust 1.13 beta. It affects cargo-edit-0.1.3 and megam_api-0.1.10 at least, but seems to be non-deterministic, so may affect others.

When building either of these crates without a lockfile I sometimes get this error:

error: native library `openssl` is being linked to by more than one version of the same package, but it can only be linked once; try updating or pinning your dependencies to ensure that this package only shows up once

  openssl-sys v0.9.0
  openssl-sys v0.7.17

Rerunning cargo build sometimes makes it go away.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions