Password Attacks - Password Mutations

I’m stuck and can’t apply a list of rules to a list of passwords to mutate them.

After entering the command:
hashcat --force password.list -r custom.rule --stdout | sort -u > mut_password.list
I get an empty mut_password.list file without any words.

I also tried:
hashcat --force password.list -r custom.rule --stdout
But then I got the error ''Illegal instruction"

The password.list and custom.rule files are not empty and I didn’t change them in any way, they remained the same as I downloaded them from the lesson

Please help me figure out why the list of rules cannot be applied. I’m using ParrotOS on VirtialBox

I am facing this kind problem while using hydra, have you got solution?