[noun (place)] + まで [noun (time)] + まで [verb (dictionary form)] + まで [noun] + から + [noun] + まで
まで marks where something stops: the place a movement goes as far as, or the time an action lasts until. It follows the noun, and English has "to", "as far as" or "until" for it.
After a time word, the action goes on the whole time up to that point.
まで is "until": the action continues up to the limit. までに is "by": the action happens once, at some point before the limit.
×五時まで来てください is wrong. Coming happens once; it cannot go on until five. A deadline always needs までに for the same reason.
から gives the start and まで the end, for places and for times alike. Either one can also stand on its own.
These go beyond a place or a time.
A verb in front of まで is in the dictionary form, whatever the tense of the sentence.
The second sentence is in the past and still has でる出る: ×出たまで.
After a noun, まで can also mean "even": the list has gone further than you would expect.