prisma / quaint

SQL Query AST and Visitor for Rust
Apache License 2.0
582 stars 61 forks source link

error from 53c756a - method not found in `SslOpts` #436

Open bangbaew opened 1 year ago

bangbaew commented 1 year ago
image

there are two notified errors: error[E0599]: no method named `with_pkcs12_path` found for struct `SslOpts` in the current scope and error[E0599]: no method named `with_password` found for struct `SslOpts` in the current scope

when running prisma rust cli, and I found that the latest commit (53c756a) has something to do with mysql-async/ssl, does anyone have a solution?

this issue occurs on windows x64 gnu native, but not in docker rust image.

pimeys commented 1 year ago

If you're building Quaint, update the lock file first with cargo update.

MachariaK commented 1 year ago

I am experiencing the same issue on Windows x64 :

image

pimeys commented 1 year ago

You have to have mysql_async updated in all the systems using quaint.