I'm also hitting this in vcpkg. The pcre2 port downloads its tarball from a GitHub Releases URL. 618 causes vcpkg to fail the port, and CMake configure dies at project(). vcpkg only retries 408/429/5xx, so 618 is treated as non-transient and there's no retry at all.
Downloading https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.49/pcre2-10.49.tar.gz -> pcre2-10.49.tar.gz
error: curl operation failed with response code 618.
error: Not a transient network error, won't retry download from https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.49/pcre2-10.49.tar.gz
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:134 (message): Download failed, halting portfile.
error: building pcre2:x86-windows failed with: BUILD_FAILED
CMake Error at C:/vcpkg/scripts/buildsystems/vcpkg.cmake:1002 (message): vcpkg install failed.
-- Configuring incomplete, errors occurred!