directory target and (mode promote) $ dune build @all 2>&1 | head -n2 Error: Is a directory -> required by _build/default/dir [1]