`volumes` is not nullable. Add a null check or annotate it properly.