I don't know how that error arises.
Encode-3.01 builds and tests fine for me on both 32-bit and 64-bit Strawberry Perl 5.30.0.
Also, you should already have Encode-3.01 installed (in perl\vendor\lib), and there is no point installing something you already have: