to finish its pass. He can pass does not mean you can right after him. You were not even sure there'd be enough room for your car in between him and the truck right after he passes.
Turn your head. When you are watching the left, things can change in an instant on your right.
The lady with the dog should have made eye contact with you before crossing.