Not sure if it'll help, but first thing you could try is to update Futhark. I can tell by the output that this is not the latest version.
- error: assigning to 'xxx' (aka 'xxx') from incompatible type 'x... mantielero
- error: assigning to 'xxx' (aka 'xxx') from incompatible ty... PMunch