"Mismatched types" error when trying `forc index build`

When I try to build the indexer, I get a lot of these errors

These are the versions:

- forc : 0.46.1
- forc-client
     - forc-deploy : 0.46.1
     - forc-run: 0.46.1
- forc-doc : 0.46.1
- forc-explore: 0.28.1
- forc-fmt: 0.46.1
- forc-index : 0.21.2
- forc-lsp: 0.46.1
- forc-tx: 0.46.1
- forc-wallet: 0.3.0

fuel-core: 0.20.5
fuel-core-keygen: Error getting version string
fuel-indexer: 0.21.2

Hi there!

I recommend updating to the latest version (>0.24) anjd try again.

Please note that, since the indexer is deprecated, is no longer part of forc so you’ll have to build from source.