A page https://www.arduino.cc/reference/en/language/functions/communication/serial/ does not have description of methods readStringUntil() or readString() nor it does contain information that says all methods from https://www.arduino.cc/reference/en/language/functions/communication/stream/ are available on a Serial object.
Solution may be writing that all methods from stream are available on the Serial object (if this is true).
This issue is somewhat linked to arduino/Arduino#3718