Skip to content

Current beta cannot bootstrap itself #60265

Closed
@Keruspe

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`.

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