phper-framework / phper

The framework that allows us to write PHP extensions using pure and safe Rust whenever possible.
Other
295 stars 17 forks source link

CI failed for no method named `parse2` found for struct `Pkcs12` in the current scope #155

Closed Xuanwo closed 3 months ago

Xuanwo commented 3 months ago

https://github.com/phper-framework/phper/actions/runs/10219414423/job/28277624873?pr=153

error[E0599]: no method named `parse2` found for struct `Pkcs12` in the current scope
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/native-tls-0.2.12/src/imp/openssl.rs:162:29
    |
162 |         let parsed = pkcs12.parse2(pass)?;
    |                             ^^^^^^ help: there is a method with a similar name: `parse`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `native-tls` due to previous error
warning: build failed, waiting for other jobs to finish...
jmjoy commented 3 months ago

Or maybe some libraries break compatibility, I'll take a look.

jmjoy commented 3 months ago

Fixed by https://github.com/phper-framework/phper/pull/157

Xuanwo commented 3 months ago

Thanks!