The cause of the error is specified more precisely in v5.11.4-24-g1549364*, yet the location is even more hidden:
$ ./perl -Ilib -Tde 1
Insecure dependency in require while running with -T switch at lib/per
+l5db.pl line 1417.
Compilation failed in require.
at -e line 0
main::BEGIN() called at lib/perl5db.pl line 0
eval {...} called at lib/perl5db.pl line 0
BEGIN failed--compilation aborted.
at -e line 0
Debugged program terminated. Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
DB<1> q
Is the problem that Carp isn't taint safe? That's not good. How about you submit a bug report?