didcomm-rust
didcomm-rust copied to clipboard
Tag 0.4.1 uniffy build is broken
I am trying to build uniffy project from tag 0.4.1,
but running the build command gives the following error output.
➜ uniffi cargo build --release
Updating crates.io index
Updating git repository `https://github.com/hyperledger/aries-askar`
Compiling proc-macro2 v1.0.69
Compiling unicode-ident v1.0.12
Compiling version_check v0.9.4
Compiling typenum v1.17.0
Compiling memchr v2.3.4
Compiling serde v1.0.189
Compiling subtle v2.4.1
Compiling cfg-if v1.0.0
Compiling libc v0.2.149
Compiling syn v1.0.109
Compiling thiserror v1.0.50
Compiling radium v0.5.3
Compiling lexical-core v0.7.6
Compiling generic-array v0.14.7
Compiling nom v6.2.2
Compiling ryu v1.0.15
Compiling bitflags v1.3.2
Compiling serde_json v1.0.107
Compiling quote v1.0.33
Compiling getrandom v0.2.10
Compiling syn v2.0.38
Compiling nom v5.1.3
Compiling tap v1.0.1
Compiling wyz v0.2.0
Compiling rand_core v0.6.4
Compiling arrayvec v0.5.2
Compiling funty v1.1.0
Compiling camino v1.1.6
Compiling static_assertions v1.1.0
Compiling anyhow v1.0.75
Compiling opaque-debug v0.3.0
Compiling askama_escape v0.10.3
Compiling bitvec v0.19.6
Compiling paste v1.0.14
Compiling ucd-trie v0.1.6
Compiling byteorder v1.5.0
Compiling digest v0.9.0
Compiling cipher v0.2.5
Compiling universal-hash v0.4.1
Compiling signature v1.3.2
Compiling crypto-mac v0.11.1
Compiling ff v0.10.1
Compiling itoa v1.0.9
Compiling rand_core v0.5.1
Compiling unicode-width v0.1.11
Compiling textwrap v0.11.0
Compiling group v0.10.0
Compiling hmac v0.11.0
Compiling aead v0.3.2
Compiling block-buffer v0.9.0
Compiling cpufeatures v0.2.10
Compiling futures-core v0.3.28
Compiling unicode-segmentation v1.10.1
Compiling autocfg v1.1.0
Compiling slab v0.4.9
Compiling heck v0.3.3
Compiling weedle v0.12.0
Compiling sha2 v0.9.9
Compiling clap v2.34.0
Compiling poly1305 v0.6.2
Compiling futures-task v0.3.28
Compiling fnv v1.0.7
Compiling der v0.4.5
Compiling ident_case v1.0.1
Compiling serde_derive v1.0.189
Compiling thiserror-impl v1.0.50
Compiling zeroize_derive v1.4.2
Compiling futures-channel v0.3.28
Compiling darling_core v0.12.4
Compiling zeroize v1.4.3
Compiling aes-soft v0.6.4
Compiling crypto-bigint v0.2.11
Compiling pest v2.7.4
Compiling curve25519-dalek v3.2.0
Compiling chacha20 v0.6.0
Compiling elliptic-curve v0.10.6
Compiling salsa20 v0.7.2
error[E0433]: failed to resolve: could not find `memmem` in `memchr`
--> /Users/i******/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pest-2.7.4/src/position.rs:311:33
|
311 | memchr::memmem::find(&self.input.as_bytes()[self.pos..], s1.as_bytes())
| ^^^^^^ could not find `memmem` in `memchr`
Compiling ecdsa v0.12.4
Compiling polyval v0.4.5
For more information about this error, try `rustc --explain E0433`.
error: could not compile `pest` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `pest` (lib) due to previous error
```
I am able to overcome this issue when I forcibly add dependency of [email protected]
to Cargo.toml
. Is this something on my env f*cking things or anyone else also got this issue?