It can be though. You already are giving the viewer the anticipation that something sad will happen.What ? Saying the ending is sad??
That is written everywhere on the film. It is not a spoiler unless you mention what happened to certain people IMO.
Saying a movie has a sad ending is not a spoiler.