faokunega / pg-embed

Run a Postgresql database locally on Linux, MacOS or Windows as part of another Rust application or test.
MIT License
116 stars 26 forks source link

error: the crate `pg-embed v0.7.1 (pg-embed)` depends on crate `sqlx v0.6.2` multiple times with different names #18

Open SamuelMarks opened 1 year ago

SamuelMarks commented 1 year ago

On 5b2b60608f8d7883acf60f3960beed9a5fd98459:

$ git clone https://github.com/faokunega/pg-embed
$ cd pg-embed
$ cargo make
$ cargo make
[cargo-make] INFO - cargo make 0.36.4
[cargo-make] INFO - Project: pg-embed
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: default
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: legacy-migration
[cargo-make] INFO - Execute Command: Command {
    program: "cargo",
    args: [
        "cargo",
        "fmt",
    ],
    stdin: Some(
        Inherit,
    ),
    stdout: Some(
        Inherit,
    ),
    stderr: Some(
        Inherit,
    ),
    create_pidfd: false,
}
[cargo-make] INFO - Skipping Task: format-toml-conditioned-flow 
[cargo-make] INFO - Execute Command: Command {
    program: "cargo",
    args: [
        "cargo",
        "build",
        "--all-features",
    ],
    stdin: Some(
        Inherit,
    ),
    stdout: Some(
        Inherit,
    ),
    stderr: Some(
        Inherit,
    ),
    create_pidfd: false,
}
warning: file `pg-embed/tests/postgres_tokio.rs` found to be present in multiple build targets:
  * `integration-test` target `postgres_tokio1`
  * `integration-test` target `postgres_tokio2`
  Downloaded async-channel v1.8.0
  Downloaded ghash v0.3.1
  Downloaded hmac v0.10.1
  Downloaded hkdf v0.10.0
  Downloaded infer v0.2.3
  Downloaded kv-log-macro v1.0.7
  Downloaded pin-project-internal v1.0.12
  Downloaded time-macros v0.1.1
  Downloaded surf v2.3.2
  Downloaded unicase v2.6.0
  Downloaded tracing-futures v0.2.5
  Downloaded time v0.2.27
  Downloaded value-bag v1.0.0-alpha.9
  Downloaded universal-hash v0.4.1
  Downloaded waker-fn v1.1.0
  Downloaded spinning_top v0.2.4
  Downloaded tracing-attributes v0.1.23
  Downloaded async-executor v1.5.0
  Downloaded aes v0.6.0
  Downloaded aead v0.3.2
  Downloaded aes-gcm v0.8.0
  Downloaded async-lock v2.6.0
  Downloaded async-io v1.12.0
  Downloaded async-task v4.3.0
  Downloaded async-process v1.6.0
  Downloaded aes-soft v0.6.4
  Downloaded cipher v0.2.5
  Downloaded async-std v1.12.0
  Downloaded blocking v1.3.0
  Downloaded concurrent-queue v2.1.0
  Downloaded crypto-mac v0.10.1
  Downloaded const_fn v0.4.9
  Downloaded ctor v0.1.26
  Downloaded ctr v0.6.0
  Downloaded bytes v0.5.6
  Downloaded flume v0.9.2
  Downloaded http-client v6.5.3
  Downloaded futures-lite v1.12.0
  Downloaded parking v2.0.0
  Downloaded mime_guess v2.0.4
  Downloaded isahc v0.9.14
  Downloaded sluice v0.5.5
  Downloaded serde_qs v0.8.5
  Downloaded polyval v0.4.5
  Downloaded atomic-waker v1.1.0
  Downloaded time-macros-impl v0.1.2
  Downloaded async-global-executor v2.3.1
  Downloaded polling v2.5.2
  Downloaded cookie v0.14.4
  Downloaded async-attributes v1.1.2
  Downloaded pin-project v1.0.12
  Downloaded standback v0.2.17
  Downloaded futures-rustls v0.22.2
  Downloaded cpuid-bool v0.2.0
  Downloaded http-types v2.12.0
  Downloaded libnghttp2-sys v0.1.7+1.45.0
  Downloaded 56 crates (7.6 MB) in 0.73s (largest was `libnghttp2-sys` at 4.5 MB)
error: the crate `pg-embed v0.7.1 (pg-embed)` depends on crate `sqlx v0.6.2` multiple times with different names
[cargo-make] ERROR - Error while executing command, exit code: 101
[cargo-make] WARN - Build Failed.