Mystical mistake on the sames toolchains 2

Continuing the question… My issue is still not resolved.
Running forc check inside contract is ok, but i got problems with building.

Help me reinstall forc or another stuff… I cant solve this problem long time…

1 Like

This is indeed still very weird let me check in with @cr-fuel again

1 Like

It seems there are two compiler version competing, in the next version forc will show a warning when this happens.

The pow() function changed from Self to u32 in this commit. I’d recommend casting it as u32 instead and the problem should be solved. The underlying issue is that where it compiles, an older std-lib/compiler is used and in the computer where it fails, it is using the newer compiler/std-lib.