Limitations of nearest-neighbor quantum networks