FYI - Made raised beds out of plain old untreated pine, no sort of waterproofing used at all. 5 years and still going (though showing fair amount of rot).

Made a compost bin out of cedar leftovers (for the frame), 8 years and no sign of rot at all - even on the bottom.

This is in St. Paul, MN - winter climate.