Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mirror-all-snapshots.py cannot download 2012-10-09-cd6f24f-macos snapshot #5993

Closed
ivan opened this issue Apr 22, 2013 · 9 comments
Closed
Labels
P-low Low priority

Comments

@ivan
Copy link
Contributor

ivan commented Apr 22, 2013

src/etc/mirror-all-snapshots.py tries to download http://static.rust-lang.org/stage0-snapshots/rust-stage0-2012-10-09-cd6f24f-macos-i386-7f2f2857eac33ff0792e4ea7a3ff91a09304fcab.tar.bz2 , but static.rust-lang.org serves an AccessDenied error for this snapshot.

downloading http://static.rust-lang.org/stage0-snapshots/rust-stage0-2012-10-09-cd6f24f-macos-i386-7f2f2857eac33ff0792e4ea7a3ff91a09304fcab.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
115   231    0   231    0     0    781      0 --:--:-- --:--:-- --:--:--  4529
Traceback (most recent call last):
  File "src/etc/mirror-all-snapshots.py", line 35, in <module>
    raise Exception("bad hash on download")
Exception: bad hash on download
@Aatch
Copy link
Contributor

Aatch commented Jun 7, 2013

I'm gonna go out on a limb here and say that the older snapshots have been removed from server.

@graydon should this be closed?

@ivan
Copy link
Contributor Author

ivan commented Jun 7, 2013

I was interested in grabbing all of these in case I later went through the work of re-bootstrapping Rust from scratch, to make sure no compiler worms slipped into that 50MB of machine code. I guess this could probably be done without the official snapshots.

@graydon
Copy link
Contributor

graydon commented Jun 7, 2013

Oh, I probably missed one when moving them from dl.rust-lang.org to static.rust-lang.org

@ivan
Copy link
Contributor Author

ivan commented Jun 7, 2013

I think a lot more than one is missing; when I checked about a month ago, (almost?) everything older than that one 404ed as well.

@catamorphism
Copy link
Contributor

Nominating -- I think we should decide whether it's important to preserve the entire snapshot history.

@catamorphism
Copy link
Contributor

We decided this is a theoretical concern and that we can't realistically keep the entire snapshot history around; it also wouldn't be realistic for someone to do the bootstrapping exercise from scratch. That said, leaving it open to remind us that the history is incomplete.

@flaper87
Copy link
Contributor

Triage bump. I think this bug could be closed after documenting it in https://github.com/mozilla/rust/wiki/Note-compiler-snapshots

@frewsxcv
Copy link
Member

For what it's worth, the original link @ivan (the OP) posted works for me and I'm able to download that snapshot. I think this can be closed?

@flaper87
Copy link
Contributor

Closing as per previous comments.

flip1995 pushed a commit to flip1995/rust that referenced this issue Sep 10, 2020
default_trait_access: Fix wrong suggestion

rust-lang/rust-clippy#5975 (comment)
> I think the underlying problem is clippy suggests code with complete parameters, not clippy triggers this lint even for complex types. AFAIK, If code compiles with `Default::default`, it doesn't need to specify any parameters, as type inference is working. (So, in this case, `default_trait_access` should suggest `RefCell::default`.)

Fixes rust-lang#5975 Fixes rust-lang#5990

changelog: `default_trait_access`: fixed wrong suggestion
calebcartwright pushed a commit to calebcartwright/rust that referenced this issue Jun 22, 2024
`generated_marker_line_search_limit` allows users to configure how many
lines rustfmt should search for an `@generated` marker comment when
`format_generated_files=false`

---------

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-low Low priority
Projects
None yet
Development

No branches or pull requests

6 participants