Skip to content

change snapshot tracking in fulfillment contexts#113154

Merged
bors merged 1 commit into
rust-lang:masterfrom
lcnr:better-probe-check
Jul 1, 2023
Merged

change snapshot tracking in fulfillment contexts#113154
bors merged 1 commit into
rust-lang:masterfrom
lcnr:better-probe-check

Conversation

@lcnr

@lcnr lcnr commented Jun 29, 2023

Copy link
Copy Markdown
Contributor

use the exact snapshot number to prevent misuse even when created inside of a snapshot

@rustbot

rustbot commented Jun 29, 2023

Copy link
Copy Markdown
Collaborator

r? @cjgillot

(rustbot has picked a reviewer for you, use r? to override)

@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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Jun 29, 2023
@rustbot

rustbot commented Jun 29, 2023

Copy link
Copy Markdown
Collaborator

Some changes occurred in engine.rs, potentially modifying the public API of ObligationCtxt.

cc @lcnr, @compiler-errors

Some changes occurred to the core trait solver

cc @rust-lang/initiative-trait-system-refactor

Some changes occurred in const_evaluatable.rs

cc @BoxyUwU

@lcnr

lcnr commented Jun 29, 2023

Copy link
Copy Markdown
Contributor Author

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Jun 29, 2023
@bors

bors commented Jun 29, 2023

Copy link
Copy Markdown
Collaborator

⌛ Trying commit d04775d with merge f93fa484ba0ec403938990b190c4fd5ae53b7a18...

@bors

bors commented Jun 29, 2023

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@bors bors 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 Jun 29, 2023
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@lcnr

lcnr commented Jun 29, 2023

Copy link
Copy Markdown
Contributor Author

what's happening with bors rn, both here and in #113150? it seems like the runs just get cancelled for no reason 🤔 cc @rust-lang/infra-bors

@Kobzol

Kobzol commented Jun 29, 2023

Copy link
Copy Markdown
Member

Parallel try builds are temporarily broken (they will be cancelled), until #113059 gets merged. CC @pietroalbini

@compiler-errors compiler-errors self-assigned this Jun 29, 2023
@compiler-errors

Copy link
Copy Markdown
Contributor

@bors try

@bors

bors commented Jun 30, 2023

Copy link
Copy Markdown
Collaborator

⌛ Trying commit d04775d with merge 90c2b525eb095f8c5841cd99315173668f83f699...

@bors

bors commented Jun 30, 2023

Copy link
Copy Markdown
Collaborator

☀️ Try build successful - checks-actions
Build commit: 90c2b525eb095f8c5841cd99315173668f83f699 (90c2b525eb095f8c5841cd99315173668f83f699)

@rust-timer

This comment has been minimized.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (90c2b525eb095f8c5841cd99315173668f83f699): comparison URL.

Overall result: ❌ regressions - no action needed

Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf.

@bors rollup=never
@rustbot label: -S-waiting-on-perf -perf-regression

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
0.3% [0.3%, 0.3%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
2.1% [0.4%, 3.9%] 4
Regressions ❌
(secondary)
1.2% [1.1%, 1.4%] 2
Improvements ✅
(primary)
-1.2% [-2.4%, -0.5%] 3
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.7% [-2.4%, 3.9%] 7

Cycles

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
0.8% [0.5%, 1.1%] 2
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.8% [0.5%, 1.1%] 2

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 662.146s -> 660.849s (-0.20%)

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Jun 30, 2023
@compiler-errors

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Jun 30, 2023

Copy link
Copy Markdown
Collaborator

📌 Commit d04775d has been approved by compiler-errors

It is now in the queue for this repository.

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

bors commented Jul 1, 2023

Copy link
Copy Markdown
Collaborator

⌛ Testing commit d04775d with merge 7383ab7...

@bors

bors commented Jul 1, 2023

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: compiler-errors
Pushing 7383ab7 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jul 1, 2023
@bors bors merged commit 7383ab7 into rust-lang:master Jul 1, 2023
@rustbot rustbot added this to the 1.72.0 milestone Jul 1, 2023
@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (7383ab7): comparison URL.

Overall result: ❌ regressions - no action needed

@rustbot label: -perf-regression

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
0.2% [0.2%, 0.2%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
1.9% [0.5%, 5.8%] 9
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 1.9% [0.5%, 5.8%] 9

Cycles

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
0.5% [0.5%, 0.5%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-0.5% [-0.5%, -0.5%] 1
Improvements ✅
(secondary)
-2.3% [-2.3%, -2.2%] 2
All ❌✅ (primary) 0.0% [-0.5%, 0.5%] 2

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 661.363s -> 661.53s (0.03%)

@lcnr lcnr deleted the better-probe-check branch July 1, 2023 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. 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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants