If you can write to `HOMEBREW_PREFIX` (which isn't the case for `/usr/local` on newer macOSs) then don't complain about these directories not existing.
Library
This directory contains all the code run by the official brew and brew cask commands in Homebrew and all formulae (package descriptions) in taps (repositories containing formulae) in Taps subdirectories.