If there is the possibility of a collision with a vehicle ahead, the beep sounds continuously and a warning is indicated in the multi-information display and the active driving display.

Smart Brake Support (SBS) (Some models)
Stopping The Smart Brake Support (SBS) System OperationMazda 6 Owners Manual: Cruise Control (Some models)
With cruise control, you can set and automatically maintain any speed of more
than about 25 km/h (16 mph).
WARNING
Do not use the cruise control under the following conditions: Using
the cruise control under the following conditions is dangerous and could result
in loss of vehicle control.
...
Mazda 6 Owners Manual: Dtc c1955, c1956
Caution
When attaching the tester lead to the DSC HU/CM connector the SST
(49 G066 004) must be used.
Diagnostic procedure
...