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

./x.py dist --stage 1 fails on due to rust-analyzer submodule not being checked out automatically #97464

Closed
the8472 opened this issue May 27, 2022 · 0 comments · Fixed by #97465
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@the8472
Copy link
Member

the8472 commented May 27, 2022

Output:

./x.py dist --stage 1
Updating only changed submodules
  Submodules updated in 0.00 seconds
Building rustbuild
    Finished dev [unoptimized] target(s) in 0.09s
[...]
Dist rust-docs-1.63.0-dev-x86_64-unknown-linux-gnu
	finished in 20.759 seconds
Dist rustc-1.63.0-dev-x86_64-unknown-linux-gnu
	finished in 22.955 seconds
Dist rust-std-1.63.0-dev-x86_64-unknown-linux-gnu
	finished in 16.022 seconds
Dist rustc-dev-1.63.0-dev-x86_64-unknown-linux-gnu
	finished in 94.375 seconds
Dist rust-src-1.63.0-dev
	finished in 6.274 seconds
Dist rust-dev-1.63.0-dev-x86_64-unknown-linux-gnu
	finished in 46.734 seconds
error: failed to read `/home/the8472/workspace/rust/./src/tools/rust-analyzer/Cargo.toml`

Caused by:
  No such file or directory (os error 2)

My config.toml does not override any submodules-related settings. The symptoms look quite similar to #96456 but I don't have build.vendor set.

Commit: 56fd680

@the8472 the8472 added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) C-bug Category: This is a bug. labels May 27, 2022
@bors bors closed this as completed in b97bfc3 May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. 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.

1 participant