I had a similar issue on my old 996
The master cylinder seized up resulting in slight pressure being constantly applied to the rear brake unknown to me. When slowing down for a junction it somehow sheared off the mounting bolts causing the caliper to drop into the wheel and then to make matters even worse ripped out the valve core giving me an instant flat as well as a heart attack.
Keep an eye on your rear brake