Stack build failed

logs:

PS C:\Users\myland\code\tmp\helloworld> stack build
Stack has not been tested with GHC versions above 8.10, and using 9.4.6, this may fail
Preparing to install GHC to an isolated location.
This will not interfere with any system-level installation.
Already downloaded.
Already downloaded.
Already downloaded.
Decompressing ghc-9.4.6.tar.xz...

7-Zip 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15

Scanning the drive for archives:
1 file, 275033780 bytes (263 MiB)

Extracting archive: C:\Users\myland\AppData\Local\Programs\stack\x86_64-windows\ghc-9.4.6.tar.xz
--
Path = C:\Users\myland\AppData\Local\Programs\stack\x86_64-windows\ghc-9.4.6.tar.xz
Type = xz
Physical Size = 275033780
Method = LZMA2:26 CRC64
Streams = 1
Blocks = 1

Everything is Ok

Size:       2875668480
Compressed: 275033780
Extracting ghc-9.4.6.tar...
Extracted total of 21 files from ghc-9.4.6.tar
C:\Users\myland\AppData\Local\Programs\stack\x86_64-windows\ghc-9.4.6-tmp-d5659b0833b5b64e\ghc-9.4.6\: renameDirectory:pathIsDirectory:CreateFile "\\\\?\\C:\\Users\\myland\\AppData\\Local\\Programs\\stack\\x86_64-windows\\ghc-9.4.6-tmp-d5659b0833b5b64e\\ghc-9.4.6\\": does not exist (系统找不到指定的文件。)

Sounds like you need to update stack, try stack upgrade --binary-only or if that does not work just stack upgrade.

Thanks, fixed with stack upgrade , now

Version 2.11.1, Git revision c1167a6abc3f4978ccded5ba0246a57387da0e2f x86_64 hpack-0.35.2