Skip to content

Tweak crate error wording and turn them into fatal errors - #165823

Merged
rust-bors[bot] merged 3 commits into
rust-lang:mainfrom
estebank:crate-errs
Nov 13, 2026
Merged

rust-bors[bot] merged 3 commits into
rust-lang:mainfrom
estebank:crate-errs

Conversation

@estebank

@estebank estebank commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

View all comments

Reduce the verbosity of compiler output by refusing to advance to later stages when a crate could not be imported.

When crate isn't found and this rustc was invoked by cargo, mention "check the [dependencies] section in Cargo.toml for the missing crate or use cargo add {ident} to add it to your Cargo.toml".

Fix #97685 (the case in particular in that ticket no longer happens, but this PR fixes the general case). Fix #98318. CC #96799. Fix #89733.

@rustbot rustbot added A-run-make Area: port run-make Makefiles to rmake.rs S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 11, 2026
@rustbot

rustbot commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator

r? @nnethercote

rustbot has assigned @nnethercote.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 79 candidates
  • Random selection from 20 candidates

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

Comment thread compiler/rustc_metadata/src/creader.rs Resolved
Comment thread compiler/rustc_metadata/src/creader.rs Resolved
Comment thread compiler/rustc_metadata/src/creader.rs Outdated
// dummy. We ignore compiler-injected prelude/sysroot loads here so they don't
// suppress unrelated diagnostics, such as "unsupported targets for std library"
// etc., these maybe helpful for users to resolve crate loading failure.
// crate maybe injrected with `standard_library_imports::inject`, their span is dummy.

@nnethercote nnethercote Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uh, the changes here from the first commit (which were good) were undone in the second commit.

View changes since the review

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Git rebase industrial accident 😔

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 days since, etc.

@nnethercote

Copy link
Copy Markdown
Contributor

r=me once tests are green.

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 12, 2026
@rustbot

rustbot commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

Reminder, once the PR becomes ready for a review, use @rustbot ready.

Reduce the verbosity of compiler output by refusing to advance to later stages when a crate could not be imported.
@rustbot

rustbot commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@nnethercote

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@rust-bors

rust-bors Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 26312b9 has been approved by nnethercote

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 12, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Nov 12, 2026
Tweak crate error wording and turn them into fatal errors

Reduce the verbosity of compiler output by refusing to advance to later stages when a crate could not be imported.

When crate isn't found and this rustc was invoked by cargo, mention "check the `[dependencies]` section in `Cargo.toml` for the missing crate or use `cargo add {ident}` to add it to your `Cargo.toml`".

Fix rust-lang#97685 (the case in particular in that ticket no longer happens, but this PR fixes the general case). Fix rust-lang#98318. CC rust-lang#96799. Fix rust-lang#89733.
rust-bors Bot pushed a commit that referenced this pull request Nov 13, 2026
…uwer

Rollup of 12 pull requests

Successful merges:

 - #164707 (Re-enable rustc profile generation for static linked llvm on Windows x64 builds )
 - #165221 (Canonicalize more comparison operators)
 - #165880 (Remove dead code for returning `BackendRepr::Memory` with `PassMode::Direct`)
 - #164108 (Add unstable `-Zllvm-tpde` flag to `rustc_codegen_llvm`)
 - #165565 (view-types: lower view types from HIR)
 - #165771 (tests: cover MSVC ThinLTO exported symbol preservation)
 - #165810 (reflection: reflect attributes from adts, fields, and variants)
 - #165823 (Tweak crate error wording and turn them into fatal errors)
 - #165849 (More opt-dist improvements)
 - #165855 (Update `sysinfo` version to `0.40.3`)
 - #165861 (cg_llvm: Use an invariant lifetime brand for LLVM attributes)
 - #165872 (Some attribute related cleanups)
Zalathar added a commit to Zalathar/rust that referenced this pull request Nov 13, 2026
Tweak crate error wording and turn them into fatal errors

Reduce the verbosity of compiler output by refusing to advance to later stages when a crate could not be imported.

When crate isn't found and this rustc was invoked by cargo, mention "check the `[dependencies]` section in `Cargo.toml` for the missing crate or use `cargo add {ident}` to add it to your `Cargo.toml`".

Fix rust-lang#97685 (the case in particular in that ticket no longer happens, but this PR fixes the general case). Fix rust-lang#98318. CC rust-lang#96799. Fix rust-lang#89733.
rust-bors Bot pushed a commit that referenced this pull request Nov 13, 2026
Rollup of 13 pull requests

Successful merges:

 - #164707 (Re-enable rustc profile generation for static linked llvm on Windows x64 builds )
 - #165068 (Change color usage for highlights)
 - #165841 (Tell Miri about the alignment handling in the Windows System allocator)
 - #165880 (Remove dead code for returning `BackendRepr::Memory` with `PassMode::Direct`)
 - #164108 (Add unstable `-Zllvm-tpde` flag to `rustc_codegen_llvm`)
 - #165565 (view-types: lower view types from HIR)
 - #165622 (small cleanups in rustc_codegen_llvm)
 - #165771 (tests: cover MSVC ThinLTO exported symbol preservation)
 - #165810 (reflection: reflect attributes from adts, fields, and variants)
 - #165823 (Tweak crate error wording and turn them into fatal errors)
 - #165849 (More opt-dist improvements)
 - #165855 (Update `sysinfo` version to `0.40.3`)
 - #165872 (Some attribute related cleanups)

Failed merges:

 - #165861 (cg_llvm: Use an invariant lifetime brand for LLVM attributes)
@Zalathar

Copy link
Copy Markdown
Member

@bors r-
@bors try jobs=test-various

@rust-bors rust-bors Bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 13, 2026
@rust-bors

rust-bors Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

This pull request was unapproved.

This PR was contained in a rollup (#165897), which was unapproved.

View changes since this unapproval

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 13, 2026
Tweak crate error wording and turn them into fatal errors


try-job: test-various
@rust-bors

rust-bors Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 3c036bc failed: CI. Failed job:

@rust-log-analyzer

This comment has been minimized.

@estebank

Copy link
Copy Markdown
Contributor Author

@bors r=@nnethercote

@rust-bors

rust-bors Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 9a4b54a has been tentatively approved by nnethercote

It will be put into the queue for this repository once PR CI succeeds.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 13, 2026
@Zalathar

Copy link
Copy Markdown
Member

@bors try jobs=test-various

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 13, 2026
Tweak crate error wording and turn them into fatal errors


try-job: test-various
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-x86_64-gnu-tools failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
100  177M  100  177M    0     0   308M      0 --:--:-- --:--:-- --:--:--  307M
#12 DONE 1.6s

#13 [ 7/10] RUN unzip -d /usr/bin/ chrome-linux64.zip && rm chrome-linux64.zip
#13 0.040 Archive:  chrome-linux64.zip
#13 0.040   inflating: /usr/bin/chrome-linux64/ABOUT  
#13 0.040   inflating: /usr/bin/chrome-linux64/MEIPreload/manifest.json  
#13 0.040   inflating: /usr/bin/chrome-linux64/MEIPreload/preloaded_data.pb  
#13 0.040   inflating: /usr/bin/chrome-linux64/PrivacySandboxAttestationsPreloaded/manifest.json  
#13 0.040   inflating: /usr/bin/chrome-linux64/PrivacySandboxAttestationsPreloaded/privacy-sandbox-attestations.dat  
#13 0.041   inflating: /usr/bin/chrome-linux64/WidevineCdm/LICENSE  
#13 0.041   inflating: /usr/bin/chrome-linux64/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so  
#13 0.167   inflating: /usr/bin/chrome-linux64/WidevineCdm/manifest.json  
#13 0.167   inflating: /usr/bin/chrome-linux64/chrome  
#13 2.317   inflating: /usr/bin/chrome-linux64/chrome-wrapper  
#13 2.317   inflating: /usr/bin/chrome-linux64/chrome_100_percent.pak  
#13 2.322   inflating: /usr/bin/chrome-linux64/chrome_200_percent.pak  
#13 2.330   inflating: /usr/bin/chrome-linux64/chrome_crashpad_handler  
#13 2.346   inflating: /usr/bin/chrome-linux64/chrome_sandbox  
#13 2.347   inflating: /usr/bin/chrome-linux64/deb.deps  
#13 2.347   inflating: /usr/bin/chrome-linux64/icudtl.dat  
#13 2.424   inflating: /usr/bin/chrome-linux64/libEGL.so  
#13 2.427   inflating: /usr/bin/chrome-linux64/libGLESv2.so  
#13 2.475   inflating: /usr/bin/chrome-linux64/libvk_swiftshader.so  
#13 2.512   inflating: /usr/bin/chrome-linux64/libvulkan.so.1  
#13 2.516   inflating: /usr/bin/chrome-linux64/locales/af.pak  
#13 2.521   inflating: /usr/bin/chrome-linux64/locales/af_FEMININE.pak  
#13 2.521   inflating: /usr/bin/chrome-linux64/locales/af_MASCULINE.pak  
#13 2.521   inflating: /usr/bin/chrome-linux64/locales/af_NEUTER.pak  
#13 2.521   inflating: /usr/bin/chrome-linux64/locales/am.pak  
#13 2.528   inflating: /usr/bin/chrome-linux64/locales/am_FEMININE.pak  
#13 2.528   inflating: /usr/bin/chrome-linux64/locales/am_MASCULINE.pak  
#13 2.528   inflating: /usr/bin/chrome-linux64/locales/am_NEUTER.pak  
#13 2.528   inflating: /usr/bin/chrome-linux64/locales/ar.pak  
#13 2.535   inflating: /usr/bin/chrome-linux64/locales/ar_FEMININE.pak  
#13 2.535   inflating: /usr/bin/chrome-linux64/locales/ar_MASCULINE.pak  
#13 2.535   inflating: /usr/bin/chrome-linux64/locales/ar_NEUTER.pak  
#13 2.535   inflating: /usr/bin/chrome-linux64/locales/bg.pak  
#13 2.543   inflating: /usr/bin/chrome-linux64/locales/bg_FEMININE.pak  
#13 2.543   inflating: /usr/bin/chrome-linux64/locales/bg_MASCULINE.pak  
#13 2.543   inflating: /usr/bin/chrome-linux64/locales/bg_NEUTER.pak  
#13 2.543   inflating: /usr/bin/chrome-linux64/locales/bn.pak  
#13 2.553   inflating: /usr/bin/chrome-linux64/locales/bn_FEMININE.pak  
#13 2.553   inflating: /usr/bin/chrome-linux64/locales/bn_MASCULINE.pak  
#13 2.554   inflating: /usr/bin/chrome-linux64/locales/bn_NEUTER.pak  
#13 2.554   inflating: /usr/bin/chrome-linux64/locales/ca.pak  
#13 2.559   inflating: /usr/bin/chrome-linux64/locales/ca_FEMININE.pak  
#13 2.559   inflating: /usr/bin/chrome-linux64/locales/ca_MASCULINE.pak  
#13 2.559   inflating: /usr/bin/chrome-linux64/locales/ca_NEUTER.pak  
#13 2.559   inflating: /usr/bin/chrome-linux64/locales/cs.pak  
#13 2.564   inflating: /usr/bin/chrome-linux64/locales/cs_FEMININE.pak  
#13 2.564   inflating: /usr/bin/chrome-linux64/locales/cs_MASCULINE.pak  
#13 2.564   inflating: /usr/bin/chrome-linux64/locales/cs_NEUTER.pak  
#13 2.564   inflating: /usr/bin/chrome-linux64/locales/da.pak  
#13 2.569   inflating: /usr/bin/chrome-linux64/locales/da_FEMININE.pak  
#13 2.569   inflating: /usr/bin/chrome-linux64/locales/da_MASCULINE.pak  
#13 2.569   inflating: /usr/bin/chrome-linux64/locales/da_NEUTER.pak  
#13 2.569   inflating: /usr/bin/chrome-linux64/locales/de.pak  
#13 2.574   inflating: /usr/bin/chrome-linux64/locales/de_FEMININE.pak  
#13 2.574   inflating: /usr/bin/chrome-linux64/locales/de_MASCULINE.pak  
#13 2.574   inflating: /usr/bin/chrome-linux64/locales/de_NEUTER.pak  
#13 2.574   inflating: /usr/bin/chrome-linux64/locales/el.pak  
#13 2.582   inflating: /usr/bin/chrome-linux64/locales/el_FEMININE.pak  
#13 2.582   inflating: /usr/bin/chrome-linux64/locales/el_MASCULINE.pak  
#13 2.582   inflating: /usr/bin/chrome-linux64/locales/el_NEUTER.pak  
#13 2.582   inflating: /usr/bin/chrome-linux64/locales/en-GB.pak  
#13 2.586   inflating: /usr/bin/chrome-linux64/locales/en-GB_FEMININE.pak  
#13 2.586   inflating: /usr/bin/chrome-linux64/locales/en-GB_MASCULINE.pak  
#13 2.586   inflating: /usr/bin/chrome-linux64/locales/en-GB_NEUTER.pak  
#13 2.586   inflating: /usr/bin/chrome-linux64/locales/en-US.pak  
#13 2.591   inflating: /usr/bin/chrome-linux64/locales/en-US_FEMININE.pak  
#13 2.591   inflating: /usr/bin/chrome-linux64/locales/en-US_MASCULINE.pak  
#13 2.591   inflating: /usr/bin/chrome-linux64/locales/en-US_NEUTER.pak  
#13 2.591   inflating: /usr/bin/chrome-linux64/locales/es-419.pak  
#13 2.596   inflating: /usr/bin/chrome-linux64/locales/es-419_FEMININE.pak  
#13 2.596   inflating: /usr/bin/chrome-linux64/locales/es-419_MASCULINE.pak  
#13 2.596   inflating: /usr/bin/chrome-linux64/locales/es-419_NEUTER.pak  
#13 2.596   inflating: /usr/bin/chrome-linux64/locales/es.pak  
#13 2.601   inflating: /usr/bin/chrome-linux64/locales/es_FEMININE.pak  
#13 2.601   inflating: /usr/bin/chrome-linux64/locales/es_MASCULINE.pak  
#13 2.601   inflating: /usr/bin/chrome-linux64/locales/es_NEUTER.pak  
#13 2.601   inflating: /usr/bin/chrome-linux64/locales/et.pak  
#13 2.605   inflating: /usr/bin/chrome-linux64/locales/et_FEMININE.pak  
#13 2.605   inflating: /usr/bin/chrome-linux64/locales/et_MASCULINE.pak  
#13 2.605   inflating: /usr/bin/chrome-linux64/locales/et_NEUTER.pak  
#13 2.606   inflating: /usr/bin/chrome-linux64/locales/fa.pak  
#13 2.612   inflating: /usr/bin/chrome-linux64/locales/fa_FEMININE.pak  
#13 2.612   inflating: /usr/bin/chrome-linux64/locales/fa_MASCULINE.pak  
#13 2.612   inflating: /usr/bin/chrome-linux64/locales/fa_NEUTER.pak  
#13 2.612   inflating: /usr/bin/chrome-linux64/locales/fi.pak  
#13 2.617   inflating: /usr/bin/chrome-linux64/locales/fi_FEMININE.pak  
#13 2.617   inflating: /usr/bin/chrome-linux64/locales/fi_MASCULINE.pak  
#13 2.617   inflating: /usr/bin/chrome-linux64/locales/fi_NEUTER.pak  
#13 2.617   inflating: /usr/bin/chrome-linux64/locales/fil.pak  
#13 2.622   inflating: /usr/bin/chrome-linux64/locales/fil_FEMININE.pak  
#13 2.622   inflating: /usr/bin/chrome-linux64/locales/fil_MASCULINE.pak  
#13 2.622   inflating: /usr/bin/chrome-linux64/locales/fil_NEUTER.pak  
#13 2.622   inflating: /usr/bin/chrome-linux64/locales/fr.pak  
#13 2.627   inflating: /usr/bin/chrome-linux64/locales/fr_FEMININE.pak  
#13 2.627   inflating: /usr/bin/chrome-linux64/locales/fr_MASCULINE.pak  
#13 2.628   inflating: /usr/bin/chrome-linux64/locales/fr_NEUTER.pak  
#13 2.628   inflating: /usr/bin/chrome-linux64/locales/gu.pak  
#13 2.637   inflating: /usr/bin/chrome-linux64/locales/gu_FEMININE.pak  
#13 2.637   inflating: /usr/bin/chrome-linux64/locales/gu_MASCULINE.pak  
#13 2.637   inflating: /usr/bin/chrome-linux64/locales/gu_NEUTER.pak  
#13 2.637   inflating: /usr/bin/chrome-linux64/locales/he.pak  
#13 2.643   inflating: /usr/bin/chrome-linux64/locales/he_FEMININE.pak  
#13 2.643   inflating: /usr/bin/chrome-linux64/locales/he_MASCULINE.pak  
#13 2.643   inflating: /usr/bin/chrome-linux64/locales/he_NEUTER.pak  
#13 2.643   inflating: /usr/bin/chrome-linux64/locales/hi.pak  
#13 2.652   inflating: /usr/bin/chrome-linux64/locales/hi_FEMININE.pak  
#13 2.653   inflating: /usr/bin/chrome-linux64/locales/hi_MASCULINE.pak  
#13 2.653   inflating: /usr/bin/chrome-linux64/locales/hi_NEUTER.pak  
#13 2.653   inflating: /usr/bin/chrome-linux64/locales/hr.pak  
#13 2.658   inflating: /usr/bin/chrome-linux64/locales/hr_FEMININE.pak  
#13 2.658   inflating: /usr/bin/chrome-linux64/locales/hr_MASCULINE.pak  
#13 2.658   inflating: /usr/bin/chrome-linux64/locales/hr_NEUTER.pak  
#13 2.658   inflating: /usr/bin/chrome-linux64/locales/hu.pak  
#13 2.663   inflating: /usr/bin/chrome-linux64/locales/hu_FEMININE.pak  
#13 2.663   inflating: /usr/bin/chrome-linux64/locales/hu_MASCULINE.pak  
#13 2.663   inflating: /usr/bin/chrome-linux64/locales/hu_NEUTER.pak  
#13 2.663   inflating: /usr/bin/chrome-linux64/locales/id.pak  
#13 2.667   inflating: /usr/bin/chrome-linux64/locales/id_FEMININE.pak  
#13 2.667   inflating: /usr/bin/chrome-linux64/locales/id_MASCULINE.pak  
#13 2.668   inflating: /usr/bin/chrome-linux64/locales/id_NEUTER.pak  
#13 2.668   inflating: /usr/bin/chrome-linux64/locales/it.pak  
#13 2.672   inflating: /usr/bin/chrome-linux64/locales/it_FEMININE.pak  
#13 2.672   inflating: /usr/bin/chrome-linux64/locales/it_MASCULINE.pak  
#13 2.672   inflating: /usr/bin/chrome-linux64/locales/it_NEUTER.pak  
#13 2.672   inflating: /usr/bin/chrome-linux64/locales/ja.pak  
#13 2.678   inflating: /usr/bin/chrome-linux64/locales/ja_FEMININE.pak  
#13 2.678   inflating: /usr/bin/chrome-linux64/locales/ja_MASCULINE.pak  
#13 2.678   inflating: /usr/bin/chrome-linux64/locales/ja_NEUTER.pak  
#13 2.678   inflating: /usr/bin/chrome-linux64/locales/kn.pak  
#13 2.688   inflating: /usr/bin/chrome-linux64/locales/kn_FEMININE.pak  
#13 2.688   inflating: /usr/bin/chrome-linux64/locales/kn_MASCULINE.pak  
#13 2.688   inflating: /usr/bin/chrome-linux64/locales/kn_NEUTER.pak  
#13 2.688   inflating: /usr/bin/chrome-linux64/locales/ko.pak  
#13 2.693   inflating: /usr/bin/chrome-linux64/locales/ko_FEMININE.pak  
#13 2.693   inflating: /usr/bin/chrome-linux64/locales/ko_MASCULINE.pak  
#13 2.693   inflating: /usr/bin/chrome-linux64/locales/ko_NEUTER.pak  
#13 2.693   inflating: /usr/bin/chrome-linux64/locales/lt.pak  
#13 2.699   inflating: /usr/bin/chrome-linux64/locales/lt_FEMININE.pak  
#13 2.699   inflating: /usr/bin/chrome-linux64/locales/lt_MASCULINE.pak  
#13 2.699   inflating: /usr/bin/chrome-linux64/locales/lt_NEUTER.pak  
#13 2.699   inflating: /usr/bin/chrome-linux64/locales/lv.pak  
#13 2.704   inflating: /usr/bin/chrome-linux64/locales/lv_FEMININE.pak  
#13 2.704   inflating: /usr/bin/chrome-linux64/locales/lv_MASCULINE.pak  
#13 2.704   inflating: /usr/bin/chrome-linux64/locales/lv_NEUTER.pak  
#13 2.704   inflating: /usr/bin/chrome-linux64/locales/ml.pak  
#13 2.714   inflating: /usr/bin/chrome-linux64/locales/ml_FEMININE.pak  
#13 2.714   inflating: /usr/bin/chrome-linux64/locales/ml_MASCULINE.pak  
#13 2.714   inflating: /usr/bin/chrome-linux64/locales/ml_NEUTER.pak  
#13 2.715   inflating: /usr/bin/chrome-linux64/locales/mr.pak  
#13 2.723   inflating: /usr/bin/chrome-linux64/locales/mr_FEMININE.pak  
#13 2.723   inflating: /usr/bin/chrome-linux64/locales/mr_MASCULINE.pak  
#13 2.724   inflating: /usr/bin/chrome-linux64/locales/mr_NEUTER.pak  
#13 2.724   inflating: /usr/bin/chrome-linux64/locales/ms.pak  
#13 2.728   inflating: /usr/bin/chrome-linux64/locales/ms_FEMININE.pak  
#13 2.728   inflating: /usr/bin/chrome-linux64/locales/ms_MASCULINE.pak  
#13 2.728   inflating: /usr/bin/chrome-linux64/locales/ms_NEUTER.pak  
#13 2.728   inflating: /usr/bin/chrome-linux64/locales/nb.pak  
#13 2.733   inflating: /usr/bin/chrome-linux64/locales/nb_FEMININE.pak  
#13 2.733   inflating: /usr/bin/chrome-linux64/locales/nb_MASCULINE.pak  
#13 2.733   inflating: /usr/bin/chrome-linux64/locales/nb_NEUTER.pak  
#13 2.733   inflating: /usr/bin/chrome-linux64/locales/nl.pak  
#13 2.737   inflating: /usr/bin/chrome-linux64/locales/nl_FEMININE.pak  
#13 2.738   inflating: /usr/bin/chrome-linux64/locales/nl_MASCULINE.pak  
#13 2.738   inflating: /usr/bin/chrome-linux64/locales/nl_NEUTER.pak  
#13 2.738   inflating: /usr/bin/chrome-linux64/locales/pl.pak  
#13 2.743   inflating: /usr/bin/chrome-linux64/locales/pl_FEMININE.pak  
#13 2.743   inflating: /usr/bin/chrome-linux64/locales/pl_MASCULINE.pak  
#13 2.743   inflating: /usr/bin/chrome-linux64/locales/pl_NEUTER.pak  
#13 2.743   inflating: /usr/bin/chrome-linux64/locales/pt-BR.pak  
#13 2.748   inflating: /usr/bin/chrome-linux64/locales/pt-BR_FEMININE.pak  
#13 2.749   inflating: /usr/bin/chrome-linux64/locales/pt-BR_MASCULINE.pak  
#13 2.749   inflating: /usr/bin/chrome-linux64/locales/pt-BR_NEUTER.pak  
#13 2.749   inflating: /usr/bin/chrome-linux64/locales/pt-PT.pak  
#13 2.753   inflating: /usr/bin/chrome-linux64/locales/pt-PT_FEMININE.pak  
#13 2.753   inflating: /usr/bin/chrome-linux64/locales/pt-PT_MASCULINE.pak  
#13 2.754   inflating: /usr/bin/chrome-linux64/locales/pt-PT_NEUTER.pak  
#13 2.754   inflating: /usr/bin/chrome-linux64/locales/ro.pak  
#13 2.758   inflating: /usr/bin/chrome-linux64/locales/ro_FEMININE.pak  
#13 2.759   inflating: /usr/bin/chrome-linux64/locales/ro_MASCULINE.pak  
#13 2.759   inflating: /usr/bin/chrome-linux64/locales/ro_NEUTER.pak  
#13 2.759   inflating: /usr/bin/chrome-linux64/locales/ru.pak  
#13 2.766   inflating: /usr/bin/chrome-linux64/locales/ru_FEMININE.pak  
#13 2.766   inflating: /usr/bin/chrome-linux64/locales/ru_MASCULINE.pak  
#13 2.766   inflating: /usr/bin/chrome-linux64/locales/ru_NEUTER.pak  
#13 2.766   inflating: /usr/bin/chrome-linux64/locales/sk.pak  
#13 2.771   inflating: /usr/bin/chrome-linux64/locales/sk_FEMININE.pak  
#13 2.771   inflating: /usr/bin/chrome-linux64/locales/sk_MASCULINE.pak  
#13 2.772   inflating: /usr/bin/chrome-linux64/locales/sk_NEUTER.pak  
#13 2.772   inflating: /usr/bin/chrome-linux64/locales/sl.pak  
#13 2.777   inflating: /usr/bin/chrome-linux64/locales/sl_FEMININE.pak  
#13 2.777   inflating: /usr/bin/chrome-linux64/locales/sl_MASCULINE.pak  
#13 2.777   inflating: /usr/bin/chrome-linux64/locales/sl_NEUTER.pak  
#13 2.777   inflating: /usr/bin/chrome-linux64/locales/sr.pak  
#13 2.784   inflating: /usr/bin/chrome-linux64/locales/sr_FEMININE.pak  
#13 2.784   inflating: /usr/bin/chrome-linux64/locales/sr_MASCULINE.pak  
#13 2.784   inflating: /usr/bin/chrome-linux64/locales/sr_NEUTER.pak  
#13 2.784   inflating: /usr/bin/chrome-linux64/locales/sv.pak  
#13 2.789   inflating: /usr/bin/chrome-linux64/locales/sv_FEMININE.pak  
#13 2.789   inflating: /usr/bin/chrome-linux64/locales/sv_MASCULINE.pak  
#13 2.789   inflating: /usr/bin/chrome-linux64/locales/sv_NEUTER.pak  
#13 2.789   inflating: /usr/bin/chrome-linux64/locales/sw.pak  
#13 2.794   inflating: /usr/bin/chrome-linux64/locales/sw_FEMININE.pak  
#13 2.794   inflating: /usr/bin/chrome-linux64/locales/sw_MASCULINE.pak  
#13 2.794   inflating: /usr/bin/chrome-linux64/locales/sw_NEUTER.pak  
#13 2.794   inflating: /usr/bin/chrome-linux64/locales/ta.pak  
#13 2.804   inflating: /usr/bin/chrome-linux64/locales/ta_FEMININE.pak  
#13 2.804   inflating: /usr/bin/chrome-linux64/locales/ta_MASCULINE.pak  
#13 2.804   inflating: /usr/bin/chrome-linux64/locales/ta_NEUTER.pak  
#13 2.804   inflating: /usr/bin/chrome-linux64/locales/te.pak  
#13 2.814   inflating: /usr/bin/chrome-linux64/locales/te_FEMININE.pak  
#13 2.814   inflating: /usr/bin/chrome-linux64/locales/te_MASCULINE.pak  
#13 2.814   inflating: /usr/bin/chrome-linux64/locales/te_NEUTER.pak  
#13 2.814   inflating: /usr/bin/chrome-linux64/locales/th.pak  
#13 2.823   inflating: /usr/bin/chrome-linux64/locales/th_FEMININE.pak  
#13 2.823   inflating: /usr/bin/chrome-linux64/locales/th_MASCULINE.pak  
#13 2.823   inflating: /usr/bin/chrome-linux64/locales/th_NEUTER.pak  
#13 2.823   inflating: /usr/bin/chrome-linux64/locales/tr.pak  
#13 2.827   inflating: /usr/bin/chrome-linux64/locales/tr_FEMININE.pak  
#13 2.828   inflating: /usr/bin/chrome-linux64/locales/tr_MASCULINE.pak  
#13 2.828   inflating: /usr/bin/chrome-linux64/locales/tr_NEUTER.pak  
#13 2.828   inflating: /usr/bin/chrome-linux64/locales/uk.pak  
#13 2.835   inflating: /usr/bin/chrome-linux64/locales/uk_FEMININE.pak  
#13 2.835   inflating: /usr/bin/chrome-linux64/locales/uk_MASCULINE.pak  
#13 2.835   inflating: /usr/bin/chrome-linux64/locales/uk_NEUTER.pak  
#13 2.835   inflating: /usr/bin/chrome-linux64/locales/ur.pak  
#13 2.842   inflating: /usr/bin/chrome-linux64/locales/ur_FEMININE.pak  
#13 2.842   inflating: /usr/bin/chrome-linux64/locales/ur_MASCULINE.pak  
#13 2.842   inflating: /usr/bin/chrome-linux64/locales/ur_NEUTER.pak  
#13 2.842   inflating: /usr/bin/chrome-linux64/locales/vi.pak  
#13 2.847   inflating: /usr/bin/chrome-linux64/locales/vi_FEMININE.pak  
#13 2.847   inflating: /usr/bin/chrome-linux64/locales/vi_MASCULINE.pak  
#13 2.847   inflating: /usr/bin/chrome-linux64/locales/vi_NEUTER.pak  
#13 2.848   inflating: /usr/bin/chrome-linux64/locales/zh-CN.pak  
#13 2.852   inflating: /usr/bin/chrome-linux64/locales/zh-CN_FEMININE.pak  
#13 2.852   inflating: /usr/bin/chrome-linux64/locales/zh-CN_MASCULINE.pak  
#13 2.852   inflating: /usr/bin/chrome-linux64/locales/zh-CN_NEUTER.pak  
#13 2.852   inflating: /usr/bin/chrome-linux64/locales/zh-TW.pak  
#13 2.856   inflating: /usr/bin/chrome-linux64/locales/zh-TW_FEMININE.pak  
#13 2.856   inflating: /usr/bin/chrome-linux64/locales/zh-TW_MASCULINE.pak  
#13 2.856   inflating: /usr/bin/chrome-linux64/locales/zh-TW_NEUTER.pak  
#13 2.856  extracting: /usr/bin/chrome-linux64/product_logo_48.png  
#13 2.856   inflating: /usr/bin/chrome-linux64/resources.pak  
#13 2.944   inflating: /usr/bin/chrome-linux64/rpm.deps  
#13 2.944   inflating: /usr/bin/chrome-linux64/v8_context_snapshot.bin  
#13 2.949   inflating: /usr/bin/chrome-linux64/vk_swiftshader_icd.json  
#13 2.949    creating: /usr/bin/chrome-linux64/resources/
#13 2.949    creating: /usr/bin/chrome-linux64/resources/inspector_overlay/
#13 2.950   inflating: /usr/bin/chrome-linux64/resources/inspector_overlay/inspector_overlay_resources.grd  
#13 2.950   inflating: /usr/bin/chrome-linux64/resources/inspector_overlay/main.js  
#13 2.950    creating: /usr/bin/chrome-linux64/resources/accessibility/
#13 2.950    creating: /usr/bin/chrome-linux64/resources/accessibility/reading_mode_gdocs_helper/
#13 2.950   inflating: /usr/bin/chrome-linux64/resources/accessibility/reading_mode_gdocs_helper/content.js  
#13 2.950   inflating: /usr/bin/chrome-linux64/resources/accessibility/reading_mode_gdocs_helper/gdocs_script.js  
#13 2.951   inflating: /usr/bin/chrome-linux64/resources/accessibility/reading_mode_gdocs_helper_manifest.json  
#13 2.951    creating: /usr/bin/chrome-linux64/hyphen-data/
#13 2.951   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-tk.hyb  
#13 2.951   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-de-1901.hyb  
#13 2.952   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-de-1996.hyb  
#13 2.953   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-mul-ethi.hyb  
#13 2.953   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-es.hyb  
#13 2.954   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-hi.hyb  
#13 2.954   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-cu.hyb  
#13 2.954   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-as.hyb  
#13 2.954   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-ta.hyb  
#13 2.955   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-pa.hyb  
#13 2.955   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-el.hyb  
#13 2.955   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-te.hyb  
#13 2.955   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-und-ethi.hyb  
#13 2.955   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-de-ch-1901.hyb  
#13 2.956   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-bg.hyb  
#13 2.956   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-gu.hyb  
#13 2.956   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-et.hyb  
#13 2.957   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-cs.hyb  
#13 2.957   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-nl.hyb  
#13 2.958   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-ru.hyb  
#13 2.959   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-hy.hyb  
#13 2.959   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-uk.hyb  
#13 2.959   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-eu.hyb  
#13 2.959   inflating: /usr/bin/chrome-linux64/hyphen-data/manifest.json  
#13 2.959   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-ga.hyb  
#13 2.960   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-sk.hyb  
#13 2.960   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-mr.hyb  
#13 2.960   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-bn.hyb  
#13 2.961   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-nb.hyb  
#13 2.962   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-en-gb.hyb  
#13 2.963   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-or.hyb  
#13 2.963   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-cy.hyb  
#13 2.963   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-hr.hyb  
#13 2.963   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-fr.hyb  
#13 2.964   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-kn.hyb  
#13 2.964   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-mn-cyrl.hyb  
#13 2.964   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-lt.hyb  
#13 2.964   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-en-us.hyb  
#13 2.965   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-ml.hyb  
#13 2.965   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-pt.hyb  
#13 2.965   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-be.hyb  
#13 2.965   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-sl.hyb  
#13 2.965   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-lv.hyb  
#13 2.966   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-sv.hyb  
#13 2.966   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-hu.hyb  
#13 2.969   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-af.hyb  
#13 2.970   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-sq.hyb  
#13 2.970   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-ka.hyb  
#13 2.971   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-it.hyb  
#13 2.971   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-gl.hyb  
#13 2.971   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-da.hyb  
#13 2.971   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-nn.hyb  
#13 2.973   inflating: /usr/bin/chrome-linux64/hyphen-data/hyph-la.hyb  
#13 DONE 4.9s

#14 [ 8/10] COPY scripts/nodejs.sh /scripts/
#14 DONE 0.0s

---
#15 2.321 + mv node-v24.22.2-linux-x64 /node
#15 2.323 + /node/bin/node /node/bin/npm install --global yarn@1.22.22
#15 2.796 
#15 2.796 added 1 package in 421ms
#15 2.797 npm warn install-scripts 1 package has install scripts not yet covered by allowScripts:
#15 2.797 npm warn install-scripts   yarn@1.22.22 (preinstall: :; (node ./preinstall.js > /dev/null 2>&1 || true))
#15 2.797 npm warn install-scripts
#15 2.797 npm warn install-scripts Run `npm install -g --allow-scripts=yarn` to allow these scripts once, or `npm config set allow-scripts=yarn --location=user` to allow them for all global installs.
#15 2.799 npm notice
#15 2.799 npm notice New major version of npm available! 11.19.1 -> 12.2.2
#15 2.799 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.2
#15 2.799 npm notice To update run: npm install -g npm@12.2.2
#15 2.799 npm notice
---
......                                             (156/156)

======== tests/rustdoc-gui/notable-trait.goml ========

[ERROR] line 3: TimeoutError: Navigation timeout of 30000 ms exceeded: for command `go-to: "file://" + |DOC_PATH| + "/test_docs/struct.NotableStructWithLongName.html"`
    at <about:blank>

======== tests/rustdoc-gui/search-result-display.goml ========

[WARNING] line 38: Delta is 0 for "x", maybe try to use `compare-elements-position` instead?

@rust-bors rust-bors Bot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 13, 2026
@rust-bors

rust-bors Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

❌ Commit 9a4b54a has been unapproved due to PR CI failure. Reapprove it with @bors r+ force if you want to ignore the failure.

View changes since this unapproval

@rust-bors rust-bors Bot removed the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Nov 13, 2026
@Zalathar

Copy link
Copy Markdown
Member

PR CI flaked out.

@bors r=nnethercote

@rust-bors

rust-bors Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 9a4b54a has been tentatively approved by nnethercote

It will be put into the queue for this repository once PR CI succeeds.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 13, 2026
@rust-bors

rust-bors Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: e2dea4a (e2dea4af3003b0cbbe597636020b834e12dddb1c)
Base parent: 8eb778d (8eb778d04094d3af4b26580cab327e0413eb1e02)

JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Nov 13, 2026
Tweak crate error wording and turn them into fatal errors

Reduce the verbosity of compiler output by refusing to advance to later stages when a crate could not be imported.

When crate isn't found and this rustc was invoked by cargo, mention "check the `[dependencies]` section in `Cargo.toml` for the missing crate or use `cargo add {ident}` to add it to your `Cargo.toml`".

Fix rust-lang#97685 (the case in particular in that ticket no longer happens, but this PR fixes the general case). Fix rust-lang#98318. CC rust-lang#96799. Fix rust-lang#89733.
rust-bors Bot pushed a commit that referenced this pull request Nov 13, 2026
…uwer

Rollup of 18 pull requests

Successful merges:

 - #164828 (When suggesting path of renamed crate, use the renamed name)
 - #164864 (Avoid hoisting uninitialized reads in EarlyOtherwiseBranch)
 - #165068 (Change color usage for highlights)
 - #165221 (Canonicalize more comparison operators)
 - #165841 (Tell Miri about the alignment handling in the Windows System allocator)
 - #165869 (Cleanup: Remove `path_matches` and `value_str` from `AttributeExt`)
 - #165880 (Remove dead code for returning `BackendRepr::Memory` with `PassMode::Direct`)
 - #164108 (Add unstable `-Zllvm-tpde` flag to `rustc_codegen_llvm`)
 - #165565 (view-types: lower view types from HIR)
 - #165622 (small cleanups in rustc_codegen_llvm)
 - #165745 (Don't ICE when a guard condition is a place of type `!`)
 - #165771 (tests: cover MSVC ThinLTO exported symbol preservation)
 - #165810 (reflection: reflect attributes from adts, fields, and variants)
 - #165823 (Tweak crate error wording and turn them into fatal errors)
 - #165849 (More opt-dist improvements)
 - #165855 (Update `sysinfo` version to `0.40.3`)
 - #165872 (Some attribute related cleanups)
 - #165905 (CI: Use a consistent locale when sorting docker build inputs)
rust-bors Bot pushed a commit that referenced this pull request Nov 13, 2026
…uwer

Rollup of 17 pull requests

Successful merges:

 - #164828 (When suggesting path of renamed crate, use the renamed name)
 - #164864 (Avoid hoisting uninitialized reads in EarlyOtherwiseBranch)
 - #165068 (Change color usage for highlights)
 - #165221 (Canonicalize more comparison operators)
 - #165841 (Tell Miri about the alignment handling in the Windows System allocator)
 - #165869 (Cleanup: Remove `path_matches` and `value_str` from `AttributeExt`)
 - #165880 (Remove dead code for returning `BackendRepr::Memory` with `PassMode::Direct`)
 - #164108 (Add unstable `-Zllvm-tpde` flag to `rustc_codegen_llvm`)
 - #165565 (view-types: lower view types from HIR)
 - #165622 (small cleanups in rustc_codegen_llvm)
 - #165771 (tests: cover MSVC ThinLTO exported symbol preservation)
 - #165810 (reflection: reflect attributes from adts, fields, and variants)
 - #165823 (Tweak crate error wording and turn them into fatal errors)
 - #165849 (More opt-dist improvements)
 - #165855 (Update `sysinfo` version to `0.40.3`)
 - #165872 (Some attribute related cleanups)
 - #165905 (CI: Use a consistent locale when sorting docker build inputs)
@rust-bors
rust-bors Bot merged commit 4110514 into rust-lang:main Nov 13, 2026
21 of 28 checks passed
@rustbot rustbot added this to the 1.102.0 milestone Nov 13, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 13, 2026
Rollup merge of #165823 - estebank:crate-errs, r=nnethercote

Tweak crate error wording and turn them into fatal errors

Reduce the verbosity of compiler output by refusing to advance to later stages when a crate could not be imported.

When crate isn't found and this rustc was invoked by cargo, mention "check the `[dependencies]` section in `Cargo.toml` for the missing crate or use `cargo add {ident}` to add it to your `Cargo.toml`".

Fix #97685 (the case in particular in that ticket no longer happens, but this PR fixes the general case). Fix #98318. CC #96799. Fix #89733.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-run-make Area: port run-make Makefiles to rmake.rs S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

5 participants