I'm sort of waiting for the next image update to see if it is still broken, but thought I'd report this in case anyone else has the issue later.
Operating System
macOS
12.6.5
Runner Image
Image: macos-12
Included Software: https://github.com/actions/runner-images/blob/macOS-12/20230505.1/images/macos/macos-12-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macOS-12%2F20230505.1
Operating System
macOS
12.6.4
21G526
Runner Image
Image: macos-12
Included Software: https://github.com/actions/runner-images/blob/macOS-12/20230328.1/images/macos/macos-12-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macOS-12%2F20230328.1
error[E0425]: cannot find function `xmlSecOpenSSLTransformHmacMd5GetKlass` in module `bindings`
--> /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/xmlsec-0.2.2/src/crypto/openssl.rs:80:55
|
80 | Self::HmacMd5 => unsafe { bindings::xmlSecOpenSSLTransformHmacMd5GetKlass() },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `xmlSecOpenSSLTransformHmacSha1GetKlass`
|
::: /Users/runner/work/my-project/my-project/target/release/build/xmlsec-ce71c6600a0b42d1/out/bindings.rs:61325:5
|
61325 | pub fn xmlSecOpenSSLTransformHmacSha1GetKlass() -> xmlSecTransformId;
| --------------------------------------------------------------------- similarly named function `xmlSecOpenSSLTransformHmacSha1GetKlass` defined here
error[E0425]: cannot find function `xmlSecOpenSSLTransformMd5GetKlass` in module `bindings`
--> /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/xmlsec-0.2.2/src/crypto/openssl.rs:87:55
|
87 | Self::Md5 => unsafe { bindings::xmlSecOpenSSLTransformMd5GetKlass() },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `xmlSecOpenSSLTransformEcdhGetKlass`
|
::: /Users/runner/work/my-project/my-project/target/release/build/xmlsec-ce71c6600a0b42d1/out/bindings.rs:61309:5
|
61309 | pub fn xmlSecOpenSSLTransformEcdhGetKlass() -> xmlSecTransformId;
| ----------------------------------------------------------------- similarly named function `xmlSecOpenSSLTransformEcdhGetKlass` defined here
error[E0425]: cannot find function `xmlSecOpenSSLTransformRsaMd5GetKlass` in module `bindings`
--> /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/xmlsec-0.2.2/src/crypto/openssl.rs:89:55
|
89 | Self::RsaMd5 => unsafe { bindings::xmlSecOpenSSLTransformRsaMd5GetKlass() },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `xmlSecOpenSSLTransformRsaOaepGetKlass`
|
::: /Users/runner/work/my-project/my-project/target/release/build/xmlsec-ce71c6600a0b42d1/out/bindings.rs:61389:5
|
61389 | pub fn xmlSecOpenSSLTransformRsaOaepGetKlass() -> xmlSecTransformId;
| -------------------------------------------------------------------- similarly named function `xmlSecOpenSSLTransformRsaOaepGetKlass` defined here
error[E0308]: mismatched types
--> /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/xmlsec-0.2.2/src/keys.rs:90:13
|
88 | let key = unsafe { bindings::xmlSecOpenSSLAppKeyLoadMemory(
| --------------------------------------- arguments to this function are incorrect
89 | buffer.as_ptr(),
90 | buffer.len() as u32,
| ^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32`
|
note: function defined here
--> /Users/runner/work/my-project/my-project/target/release/build/xmlsec-ce71c6600a0b42d1/out/bindings.rs:60638:12
|
60638 | pub fn xmlSecOpenSSLAppKeyLoadMemory(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: you can convert a `u32` to a `u64`
|
90 | (buffer.len() as u32).into(),
| + ++++++++
error[E0308]: mismatched types
--> /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/xmlsec-0.2.2/src/keys.rs:125:17
|
122 | bindings::xmlSecOpenSSLAppKeyCertLoadMemory(
| ------------------------------------------- arguments to this function are incorrect
...
125 | buff.len() as u32,
| ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32`
|
note: function defined here
--> /Users/runner/work/my-project/my-project/target/release/build/xmlsec-ce71c6600a0b42d1/out/bindings.rs:60689:12
|
60689 | pub fn xmlSecOpenSSLAppKeyCertLoadMemory(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: you can convert a `u32` to a `u64`
|
125 | (buff.len() as u32).into(),
| + ++++++++
Some errors have detailed explanations: E0308, E0425.
For more information about an error, try `rustc --explain E0308`.
error: could not compile `xmlsec` due to 5 previous errors
warning: build failed, waiting for other jobs to finish...
Error: Process completed with exit code 101.