rules_rust icon indicating copy to clipboard operation
rules_rust copied to clipboard

URL in 0.2.1 release `http_archive` snippet gives a 404

Open jfirebaugh opened this issue 2 years ago • 1 comments

Using the snippet from https://github.com/bazelbuild/rules_rust/releases/tag/0.2.1:

http_archive(
    name = "rules_rust",
    sha256 = "b58c63a6d8221f408f8852b4f74f81bc8c7aac9273f3899a74e32e6168a2c624",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_rust/releases/download/0.2.1/rules_rust-v0.2.1.tar.gz",
        "https://github.com/bazelbuild/rules_rust/releases/download/0.2.1/rules_rust-v0.2.1.tar.gz",
    ],
)

Produces the following:

WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_rust/releases/download/0.2.1/rules_rust-v0.2.1.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found

jfirebaugh avatar Apr 07 '22 23:04 jfirebaugh

Also seeing this...

(15:51:31) WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_rust/releases/download/0.2.1/rules_rust-v0.2.1.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found

On other projects also.

https://github.com/bazelbuild/rules_go/issues/3104

uhthomas avatar Apr 14 '22 14:04 uhthomas

This has been resolved in future releases. The artifacts were never uploaded to the google mirror so that's where the 404 comes from. We no longer suggest users use the google mirror.

UebelAndre avatar Feb 08 '23 08:02 UebelAndre