Skip to content

Current beta cannot bootstrap itself #60265

Description

@Keruspe

When trying to build the current beta (2bc1d40) using itself, the build of bootstrap fails with

error: the item `Seek` is imported redundantly
    --> src/bootstrap/lib.rs:1128:23
     |
126  | use std::io::{Seek, SeekFrom, Write, Read};
     |               ---- the item `Seek` is already imported here
...
1128 |         use std::io::{Seek, SeekFrom};
     |                       ^^^^
     |
note: lint level defined here
    --> src/bootstrap/lib.rs:107:9
     |
107  | #![deny(warnings)]
     |         ^^^^^^^^
     = note: #[deny(unused_imports)] implied by #[deny(warnings)]

error: the item `SeekFrom` is imported redundantly
    --> src/bootstrap/lib.rs:1128:29
     |
126  | use std::io::{Seek, SeekFrom, Write, Read};
     |                     -------- the item `SeekFrom` is already imported here
...
1128 |         use std::io::{Seek, SeekFrom};
     |                             ^^^^^^^^

error: aborting due to 2 previous errors

error: Could not compile `bootstrap`.

Activity

  1. hellow554 commented on Apr 25, 2019

    @hellow554
    Contributor

    @rustbot modify labels: A-rustbuild

    also label:regression-from-stable-to-beta

  2. rustbot commented on Apr 25, 2019

    @rustbot
    Collaborator

    Error: Label regression-from-stable-to-beta can only be set by Rust team members

    Please let @rust-lang/release know if you're having trouble with this bot.

  3. added
    T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
    on Apr 25, 2019
  4. emilyalbini commented on Apr 25, 2019

    @emilyalbini
    Member

    @rustbot modify labels: T-infra

    I'm not sure we support bootstrapping a beta with itself. @Mark-Simulacrum?

  5. added
    T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.
    on Apr 25, 2019
  6. mati865 commented on Apr 25, 2019

    @mati865
    Member

    Once beta is promoted to stable it will be bootstrapping stable with stable which Linux distributions do a lot so it'd be nice.

  7. Mark-Simulacrum commented on Apr 26, 2019

    @Mark-Simulacrum
    Member

    We try to support distro's efforts to support self-bootstrapping; the PR (#60273) already posted looks fine to me. I'll leave a comment to that effect there as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions