It was a wasted trip.

Literal

Wasted-foot [copula-だった] [assertive-よ].

無駄足 = 'wasted steps, fruitless errand' — 無駄 ('waste') + 足 ('foot'). A vivid Japanese metaphor: you walked there for nothing. Casual past-state with よ for sharing the experience.