Solution:

The water will never reach the next bar: the boat is floating and therefore it will rise with the tide.