Error while installing Game Porting Toolkit on the gptk command

Error: Failure while executing; /usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.1.3\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 14.0\)\ curl/8.1.2 --header Accept-Language:\ en --retry 3 --fail --location --silent --head https://mirrors.ustc.edu.cn/homebrew-bottles/bison-3.8.2.ventura.bottle.tar.gz exited with 35.

and i ran it again,

Error: An unexpected error occurred during the brew link step The formula built, but is not symlinked into /usr/local Directory not empty @ dir_s_rmdir - /usr/local/opt/game-porting-toolkit Error: Directory not empty @ dir_s_rmdir - /usr/local/opt/game-porting-toolkit

Error while installing Game Porting Toolkit on the gptk command
 
 
Q