Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Try use tcx.ensure_ok for some predicates_of queries. #139256

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

Draft
zetanumbers wants to merge 1 commit into rust-lang:master
base: master
Choose a base branch
Loading
from zetanumbers:ensure_ok_predicates_of

Conversation

Copy link
Contributor

@zetanumbers zetanumbers commented Apr 2, 2025

No description provided.

Copy link
Collaborator

rustbot commented Apr 2, 2025

r? @fmease

rustbot has assigned @fmease.
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

@rustbot rustbot added 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 Apr 2, 2025
Copy link
Contributor Author

@rustbot rustbot assigned petrochenkov and unassigned fmease Apr 2, 2025
Copy link
Contributor Author

@bors try @rust-timer queue

Copy link
Collaborator

Insufficient permissions to issue commands to rust-timer.

Copy link
Collaborator

bors commented Apr 2, 2025

@zetanumbers: 🔑 Insufficient privileges: not in try users

Copy link
Contributor

Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Apr 2, 2025
@petrochenkov petrochenkov 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 Apr 2, 2025
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 2, 2025
... r=<try>
Try use `tcx.ensure_ok` for some predicates_of queries.
Copy link
Collaborator

bors commented Apr 2, 2025

⌛ Trying commit c76ca6d with merge 701a149...

Copy link
Collaborator

The job x86_64-gnu-llvm-18 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#19 exporting to docker image format
#19 sending tarball 20.5s done
#19 DONE 33.2s
##[endgroup]
Setting extra environment values for docker: --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-18]
[CI_JOB_NAME=x86_64-gnu-llvm-18]
debug: `DISABLE_CI_RUSTC_IF_INCOMPATIBLE` configured.
---
sccache: Listening on address 127.0.0.1:4226
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-18', '--enable-llvm-link-shared', '--set', 'rust.randomize-layout=true', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'build.print-step-timings', '--enable-verbose-tests', '--set', 'build.metrics', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: build.build := x86_64-unknown-linux-gnu
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-18/bin/llvm-config
configure: llvm.link-shared := True
configure: rust.randomize-layout := True
configure: rust.thin-lto-import-instr-limit := 10

Copy link
Collaborator

The job dist-x86_64-linux failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
file:.git/config remote.origin.url=https://github.com/rust-lang-ci/rust
file:.git/config remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
file:.git/config gc.auto=0
file:.git/config http.https://github.com/.extraheader=AUTHORIZATION: basic ***
file:.git/config branch.try.remote=origin
file:.git/config branch.try.merge=refs/heads/try
file:.git/config remote.upstream.url=https://github.com/rust-lang/rust
file:.git/config remote.upstream.fetch=+refs/heads/*:refs/remotes/upstream/*
file:.git/config submodule.library/backtrace.active=true
file:.git/config submodule.library/backtrace.url=https://github.com/rust-lang/backtrace-rs.git
file:.git/config submodule.library/stdarch.active=true
---
Caused by:
 Command RUST_BACKTRACE=full python3 /checkout/x.py build --target x86_64-unknown-linux-gnu --host x86_64-unknown-linux-gnu --stage 2 library/std --rust-profile-generate /tmp/tmp-multistage/opt-artifacts/rustc-pgo --set llvm.thin-lto=false --set llvm.link-shared=true [at /checkout/obj] has failed with exit code Some(1)
Stack backtrace:
 0: <anyhow::Error>::msg::<alloc::string::String>
 at /rust/deps/anyhow-1.0.97/src/backtrace.rs:27:14
 1: <opt_dist::exec::CmdBuilder>::run
 at /rustc/701a14933fcd932c04de44c8e1b5e9b860f9b2b0/src/tools/opt-dist/src/exec.rs:80:17
 2: <opt_dist::exec::Bootstrap>::run
 at /rustc/701a14933fcd932c04de44c8e1b5e9b860f9b2b0/src/tools/opt-dist/src/exec.rs:181:9
 3: opt_dist::execute_pipeline::{closure#1}::{closure#0}
 at /rustc/701a14933fcd932c04de44c8e1b5e9b860f9b2b0/src/tools/opt-dist/src/main.rs:222:13
 4: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#1}::{closure#0}, ()>
 at /rustc/701a14933fcd932c04de44c8e1b5e9b860f9b2b0/src/tools/opt-dist/src/timer.rs:111:22
 5: opt_dist::execute_pipeline::{closure#1}
 at /rustc/701a14933fcd932c04de44c8e1b5e9b860f9b2b0/src/tools/opt-dist/src/main.rs:211:9
 6: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#1}, opt_dist::training::RustcPGOProfile>
 at /rustc/701a14933fcd932c04de44c8e1b5e9b860f9b2b0/src/tools/opt-dist/src/timer.rs:111:22
 7: opt_dist::execute_pipeline
 at /rustc/701a14933fcd932c04de44c8e1b5e9b860f9b2b0/src/tools/opt-dist/src/main.rs:208:29
 8: opt_dist::main
 at /rustc/701a14933fcd932c04de44c8e1b5e9b860f9b2b0/src/tools/opt-dist/src/main.rs:408:18
 9: <fn() -> core::result::Result<(), anyhow::Error> as core::ops::function::FnOnce<()>>::call_once
 at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/ops/function.rs:250:5
 10: std::sys::backtrace::__rust_begin_short_backtrace::<fn() -> core::result::Result<(), anyhow::Error>, core::result::Result<(), anyhow::Error>>
 at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/sys/backtrace.rs:152:18
 11: std::rt::lang_start::<core::result::Result<(), anyhow::Error>>::{closure#0}
 at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/rt.rs:199:18
 12: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
 at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/ops/function.rs:284:13
 13: std::panicking::try::do_call
 at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/panicking.rs:587:40
 14: std::panicking::try
 at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/panicking.rs:550:19

Copy link
Collaborator

bors commented Apr 2, 2025

💔 Test failed - checks-actions

Copy link
Member

I don't expect this to do much given that the predicates_of query is already used pretty heavily so I'm not certain when we'd benefit from not loading these queries' values from the disk, but doesn't hurt to check. Please fix the build errors.

Copy link
Collaborator

bors commented Jul 1, 2025

☔ The latest upstream changes (presumably #142030) made this pull request unmergeable. Please resolve the merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. S-waiting-on-perf Status: Waiting on a perf run to be completed. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /