assertion-failed is in fact only a serious-condition, not an error. comes handy in some usages...
darcs failed: Unable to "darcs diff" here.
ERROR: repository upgrade required, try `darcs optimize --upgrade`
See http://wiki.darcs.net/OF for more details.