An open barrel with two planks of wood over the top end will do for every ship. Not sophisticated, but cheap.
I’m sure the ships will have appropriate plumbing. I was referring to the nation as a whole, where lots and lots of folks still crap in vacant lots, fields, beaches, streets, etc.