I ran into the same error, initially I tried with default nightly-2020-10-05, then nightly-2020-10-01 and nightly-2020-10-06... but nothing is working.
Steps followed to downgrade the nightly are :
- rustup uninstall nightly
- rustup install nightly-
- rustup target add wasm32-unknown-unknown --toolchain nightly-
- WASM_BUILD_TOOLCHAIN=nightly- cargo build --release
I have tried on both Windows and Ubuntu 18.04 environment. But every time I get the same error.