blackbeam/mysql_async

Prisma Rust cli build failed with error mysql async error

Alivers opened this issue · 0 comments

Compiling mysql_async v0.31.3 (https://github.com/prisma/mysql_async?branch=vendored-openssl#d39990b6)
   Compiling rusqlite v0.25.4
   Compiling hyper v0.14.24
   Compiling mobc v0.7.3 (https://github.com/prisma/mobc?tag=1.0.6#80462c48)
   Compiling tokio-util v0.6.10
   Compiling trust-dns-proto v0.21.2
   Compiling quaint v0.2.0-alpha.13 (https://github.com/prisma/quaint?rev=6df49f14efe99696e577ffb9902c83b09bec8de2#6df49f14)
   Compiling user-facing-error-macros v0.1.0 (https://github.com/Brendonovich/prisma-engines?rev=6bad339fc5b8bbc77e028eeae2038cf2ade2e6be#6bad339f)
   Compiling bson v2.5.0
error[E0599]: no method named `with_pkcs12_path` found for struct `SslOpts` in the current scope
   --> /Users/aliver/.cargo/git/checkouts/quaint-9f01e008b9a89c14/6df49f1/src/connector/mysql.rs:187:41
    |
187 |                     ssl_opts = ssl_opts.with_pkcs12_path(Some(Path::new(&*v).to_path_buf()));
    |                                         ^^^^^^^^^^^^^^^^ method not found in `SslOpts`