Do you have extra (or too few) characters in your hash.txt file? This is what the line-length exception error means.
Also if you are using hashcat 4.x, you probably want to add -O (use optimized kernels) unless you expect the password to be very long.
Code:
$ cat - >hash.txt
8743b52063cd84097a65d1633f5c74f5
$ cat hash.txt
8743b52063cd84097a65d1633f5c74f5
$ hashcat -m 0 -a 3 -o cracked.txt --quiet hash.txt
$ cat cracked.txt
8743b52063cd84097a65d1633f5c74f5:hashcat
Also if you are using hashcat 4.x, you probably want to add -O (use optimized kernels) unless you expect the password to be very long.
~