Build errors on windows

I managed to build and run anki but after running bazel clean --expunge in the anki folder I’m getting the following errors trying to build with .\run:

Extracting Bazel installation...
Starting local Bazel server and connecting to it...
INFO: Analyzed target //qt:runanki (721 packages loaded, 33300 targets configured).
INFO: Found 1 target...
ERROR: <builtin>: BazelWorkspaceStatusAction stable-status.txt failed: Failed to determine workspace status: Process exited with status 127
/bin/bash: .toolsstatus.sh: No such file or directory
ERROR: C:/dev/github/anki/qt/aqt/BUILD.bazel:6:8: Executing genrule //qt/aqt:hooks_gen failed: (Exit 1): bash.exe failed: error executing command C:\Windows\system32\bash.exe -c source external/bazel_tools/tools/genrule/genrule-setup.sh; bazel-out/host/bin/qt/genhooks_gui.exe bazel-out/x64_windows-fastbuild/bin/qt/aqt/hooks_gen.py
LAUNCHER ERROR: Cannot open the binary to read launch data        
LAUNCHER ERROR: Failed to parse launch info.
ERROR: C:/dev/github/anki/qt/aqt/BUILD.bazel:13:8: Executing genrule //qt/aqt:extract_sass_colors 
failed: (Exit 1): bash.exe failed: error executing command C:\Windows\system32\bash.exe -c ... (remaining 1 argument skipped)
LAUNCHER ERROR: Cannot open the binary to read launch data
LAUNCHER ERROR: Failed to parse launch info.
ERROR: C:/dev/github/anki/qt/aqt/forms/BUILD.bazel:11:12: Building Qt UI //qt/aqt/forms:generated_forms_build failed: (Exit 1): bash.exe failed: error executing command C:\Windows\system32\bash.exe -c ... (remaining 1 argument skipped)
LAUNCHER ERROR: Cannot open the binary to read launch data
LAUNCHER ERROR: Failed to parse launch info.
ERROR: C:/dev/github/anki/ts/editable/BUILD.bazel:8:13: SassCompiler ts/editable/editable-base.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-2-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/ts/reviewer/BUILD.bazel:7:13: SassCompiler ts/reviewer/reviewer.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-1-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/qt/aqt/data/web/css/BUILD.bazel:4:13: SassCompiler qt/aqt/data/web/css/deckbrowser.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-3-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/ts/svelte/BUILD.bazel:14:11: Compiling TypeScript project //ts/svelte:svelte_worker_ts [tsc -p ts/svelte/tsconfig.json] [for host] failed: (Exit 127): tsc.bat failed: error executing command bazel-out\host\bin\external\npm\typescript\bin\tsc.bat --project bazel-out/host/bin/ts/svelte/tsconfig.json --outDir bazel-out/host/bin/ts/svelte --rootDir bazel-out/host/bin/ts/svelte --declarationDir ... (remaining 4 arguments skipped)
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/npm/typescript/bin/tsc.sh: No such file or directory
ERROR: C:/dev/github/anki/ts/mathjax/BUILD.bazel:6:11: Compiling TypeScript project //ts/mathjax:mathjax_ts [tsc -p ts/mathjax/tsconfig.json] failed: (Exit 127): tsc.bat failed: error executing command bazel-out\host\bin\external\npm\typescript\bin\tsc.bat --project bazel-out/x64_windows-fastbuild/bin/ts/mathjax/tsconfig.json --outDir bazel-out/x64_windows-fastbuild/bin/ts/mathjax --rootDir ... (remaining 6 arguments skipped)
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/npm/typescript/bin/tsc.sh: No such file or directory
ERROR: C:/dev/github/anki/qt/aqt/data/web/css/BUILD.bazel:4:13: SassCompiler qt/aqt/data/web/css/reviewer-bottom.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-4-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/ts/lib/BUILD.bazel:35:19: Action ts/lib/backend_proto_static.js failed: 
(Exit 127): pbjs.bat failed: error executing command bazel-out\host\bin\external\npm\protobufjs\bin\pbjs.bat --target=static-module --wrap=default --force-number --force-message --out=bazel-out/x64_windows-fastbuild/bin/ts/lib/backend_proto_static.js ... (remaining 20 arguments skipped)       
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/npm/protobufjs/bin/pbjs.sh: No such file or directory
ERROR: C:/dev/github/anki/ts/lib/BUILD.bazel:35:19: Action ts/lib/backend_proto.js failed: (Exit 127): pbjs.bat failed: error executing command bazel-out\host\bin\external\npm\protobufjs\bin\pbjs.bat --target=json-module --wrap=default --force-number --force-message --out=bazel-out/x64_windows-fastbuild/bin/ts/lib/backend_proto.js ... (remaining 20 arguments skipped)
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/npm/protobufjs/bin/pbjs.sh: No such file or directory
ERROR: C:/dev/github/anki/qt/aqt/data/web/css/BUILD.bazel:4:13: SassCompiler qt/aqt/data/web/css/webview.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-6-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/qt/aqt/data/web/css/BUILD.bazel:4:13: SassCompiler qt/aqt/data/web/css/overview.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-5-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/qt/aqt/data/web/css/BUILD.bazel:4:13: SassCompiler qt/aqt/data/web/css/toolbar-bottom.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-7-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/qt/aqt/data/web/css/BUILD.bazel:4:13: SassCompiler qt/aqt/data/web/css/toolbar.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-8-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/ts/editor/BUILD.bazel:8:13: SassCompiler ts/editor/legacy.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-9-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/ts/editor/BUILD.bazel:8:13: SassCompiler ts/editor/editor-base.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-10-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/ts/html-filter/BUILD.bazel:6:11: Compiling TypeScript project //ts/html-filter:html-filter [tsc -p ts/html-filter/tsconfig.json] failed: (Exit 127): tsc.bat failed: error executing command bazel-out\host\bin\external\npm\typescript\bin\tsc.bat --project bazel-out/x64_windows-fastbuild/bin/ts/html-filter/tsconfig.json --outDir bazel-out/x64_windows-fastbuild/bin/ts/html-filter --rootDir ... (remaining 6 arguments skipped)
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/npm/typescript/bin/tsc.sh: No such file or directory
ERROR: C:/dev/github/anki/ts/graphs/BUILD.bazel:11:13: SassCompiler ts/graphs/graphs-base.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-11-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/ts/deck-options/BUILD.bazel:12:13: SassCompiler ts/deck-options/deck-options-base.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-12-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/ts/import-csv/BUILD.bazel:11:13: SassCompiler ts/import-csv/import-csv-base.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-13-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/ts/congrats/BUILD.bazel:11:13: SassCompiler ts/congrats/congrats-base.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-14-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/ts/change-notetype/BUILD.bazel:12:13: SassCompiler ts/change-notetype/change-notetype-base.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-15-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/ts/card-info/BUILD.bazel:11:13: SassCompiler ts/card-info/card-info-base.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-16-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/ts/fields/BUILD.bazel:11:13: SassCompiler ts/fields/fields-base.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at C:/bazel/anki/5qpr6cyc/bazel-workers/worker-17-SassCompiler.log ---8<---8<---
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/io_bazel_rules_sass/sass/sass.sh: No such file or directory
---8<---8<--- End of log ---8<---8<---
ERROR: C:/dev/github/anki/qt/aqt/data/qt/BUILD.bazel:9:8: Executing genrule //qt/aqt/data/qt:icons_qrc failed: (Exit 1): bash.exe failed: error executing command C:\Windows\system32\bash.exe -c ... (remaining 1 argument skipped)
LAUNCHER ERROR: Cannot open the binary to read launch data
LAUNCHER ERROR: Failed to parse launch info.
ERROR: C:/dev/github/anki/pylib/anki/BUILD.bazel:15:8: Executing genrule //pylib/anki:hooks_gen failed: (Exit 1): bash.exe failed: error executing command C:\Windows\system32\bash.exe -c source external/bazel_tools/tools/genrule/genrule-setup.sh; bazel-out/host/bin/pylib/tools/genhooks.exe bazel-out/x64_windows-fastbuild/bin/pylib/anki/hooks_gen.py
LAUNCHER ERROR: Cannot open the binary to read launch data
LAUNCHER ERROR: Failed to parse launch info.
ERROR: C:/dev/github/anki/qt/aqt/data/web/js/BUILD.bazel:13:11: Compiling TypeScript project //qt/aqt/data/web/js:aqt [tsc -p qt/aqt/data/web/js/tsconfig.json] failed: (Exit 127): tsc.bat failed: 
error executing command bazel-out\host\bin\external\npm\typescript\bin\tsc.bat --project bazel-out/x64_windows-fastbuild/bin/qt/aqt/data/web/js/tsconfig.json --outDir bazel-out/x64_windows-fastbuild/bin/qt/aqt/data/web/js ... (remaining 7 arguments skipped)
/bin/bash: C:/bazel/anki/5qpr6cyc/execroot/ankidesktop/bazel-out/host/bin/external/npm/typescript/bin/tsc.sh: No such file or directory
ERROR: C:/dev/github/anki/pylib/anki/_backend/BUILD.bazel:38:8: Executing genrule //pylib/anki/_backend:fluent_gen failed: (Exit 1): bash.exe failed: error executing command C:\Windows\system32\bash.exe -c ... (remaining 1 argument skipped)
LAUNCHER ERROR: Cannot open the binary to read launch data
LAUNCHER ERROR: Failed to parse launch info.
ERROR: C:/dev/github/anki/ts/lib/BUILD.bazel:25:8: Executing genrule //ts/lib:fluent_gen failed: (Exit 1): bash.exe failed: error executing command C:\Windows\system32\bash.exe -c ... (remaining 1 argument skipped)
LAUNCHER ERROR: Cannot open the binary to read launch data
LAUNCHER ERROR: Failed to parse launch info.
INFO: From Running Cargo build script zstd_sys:
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
INFO: From Running Cargo build script zstd_sys:
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-pthread'        
ERROR: C:/dev/github/anki/pylib/anki/_backend/BUILD.bazel:20:8: Executing genrule //pylib/anki/_backend:rsbackend_gen failed: (Exit 1): bash.exe failed: error executing command C:\Windows\system32\bash.exe -c ... (remaining 1 argument skipped)
LAUNCHER ERROR: Cannot open the binary to read launch data
LAUNCHER ERROR: Failed to parse launch info.
Target //qt:runanki failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 431.386s, Critical Path: 147.50s
INFO: 1536 processes: 821 internal, 715 local.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully

I managed to build it from admin PS but i dont see why. I seem to get this error pretty arbitrarily