Seen this before, but forgot how to reproduce. Now popping up again after the migration:
Unpacking /usr/local/Library/Taps/homebrew/homebrew-core/Formula/fetch-crl.rb ...
error in process sentinel: apply: Setting current directory: No such file or directory, /Library/Caches/Homebrew/vailable f/
error in process sentinel: Setting current directory: No such file or directory, /Library/Caches/Homebrew/vailable f/
Seen this before, but forgot how to reproduce. Now popping up again after the migration: