Rust defi example is not working properly?

The first error could be because you didn’t fetch submodules. Can you try git submodule update --init?

I’m looking into the second error. It’s discussed over here: Problem insalling Internet Identity in Local Setup