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

error: unused import - when building Rust on Solaris where isn't fd-lock available #113085

Closed
psumbera opened this issue Jun 27, 2023 · 0 comments · Fixed by #113048
Closed

error: unused import - when building Rust on Solaris where isn't fd-lock available #113085

psumbera opened this issue Jun 27, 2023 · 0 comments · Fixed by #113048
Labels
T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@psumbera
Copy link
Contributor

error: unused import: `std::fs::OpenOptions`
 --> bin/main.rs:8:5
  |
8 | use std::fs::OpenOptions;
  |     ^^^^^^^^^^^^^^^^^^^^
  |
  = note: `-D unused-imports` implied by `-D warnings`

error: unused import: `std::io::Write`
 --> bin/main.rs:9:5
  |
9 | use std::io::Write;
  |     ^^^^^^^^^^^^^^

error: unused imports: `fs`, `process`
  --> bin/main.rs:10:16
   |
10 | use std::{env, fs, process};
   |                ^^  ^^^^^^^

error: could not compile `bootstrap` due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
Building bootstrap
failed to run: /builds/psumbera/rust-lang-build/build/x86_64-pc-solaris/stage0/bin/cargo build --manifest-path /builds/psumbera/rust-lang-build/src/bootstrap/Cargo.toml
Build completed unsuccessfully in 0:01:26

This is regression from: e7e584b

Prposed fix: #113048

@onur-ozkan onur-ozkan added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Jun 27, 2023
@bors bors closed this as completed in 376c944 Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants