Your post-flop line looks really strong and you might have gotten max value from some range between 88 and JJ that couldn't continue once the Q fell on the turn. You have to consider, you have blockers to both draws holding a 5 and two diamonds.
Maybe a check on the turn would have kept his bluffs in, or maybe he checks back and the board pairs or the flush comes in or both, and then what do you do? (Well, unless it's the 6d of course.) Straights are vulnerable, his raise of your donk bet shows strength, and if he does have a set or a nutty flush draw you've got to charge him, so a bet on the turn is fine. Stack sizes are just awkward so it's hard to keep his draws in; he has no payoff if he gets there when you are effectively all in.
Maybe sizing down your flop bet would have left more breathing room, and you'd get to the turn with like a 1/2-1/3 stack pot bet that looks convincing and odds-to-call worthy. I guess that's the note I'm left with offering, but that's still targeting a small and optimistic part of his range like KdQd or something. I'm assuming this is 2/5, so chalk all this up to one of many answers to the question "why can't we play 57s profitably from under the gun with less than 100bb?"
Still, it's mostly just back luck he didn't have 66 I guess.