Fix historical validation code runtime API (#3187)

* remove some 'allow(unused)'

* fix historical validation code runtime API
12 jobs for master
in 27 minutes and 13 seconds, using 0 compute credits, and was queued for 4 seconds
Scheduled