Google ignores the noindex directive in robots.txt now. You're supposed to put it in your HTTP response headers or HTML meta tags...
https://developers.google.com/search/blog/2019/07/a-note-on-...
https://developers.google.com/search/blog/2019/07/a-note-on-...