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

Fix most remaining Polonius test differences #64749

Merged
merged 2 commits into from
Oct 4, 2019

Conversation

matthewjasper
Copy link
Contributor

This fixes most of the Polonius test differences and also avoids overflow in issue-38591.rs.

r? @nikomatsakis

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 24, 2019
@matthewjasper

This comment has been minimized.

@rust-highfive

This comment has been minimized.

@matthewjasper matthewjasper changed the title Fix most remaining Polonius Fix most remaining Polonius test differences Sep 25, 2019
@Dylan-DPC-zz Dylan-DPC-zz 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 Sep 25, 2019
@rust-highfive

This comment has been minimized.

@matthewjasper matthewjasper force-pushed the liveness-opt branch 2 times, most recently from a7c0bee to ce8beec Compare September 26, 2019 17:57
@lqd lqd added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Sep 27, 2019
@bors
Copy link
Contributor

bors commented Sep 30, 2019

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

Copy link
Contributor

@nikomatsakis nikomatsakis left a comment

Choose a reason for hiding this comment

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

r=me with nit addressed in some way

@nikomatsakis nikomatsakis 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 Oct 1, 2019
@matthewjasper
Copy link
Contributor Author

@bors r=nikomatsakis

@bors
Copy link
Contributor

bors commented Oct 2, 2019

📌 Commit 2180c24 has been approved by nikomatsakis

@bors bors 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 Oct 2, 2019
@bors
Copy link
Contributor

bors commented Oct 2, 2019

⌛ Testing commit 2180c24 with merge ef73235fd519d3420eb3e6c06b6d51867d36050b...

Manishearth added a commit to Manishearth/rust that referenced this pull request Oct 2, 2019
…atsakis

Fix most remaining Polonius test differences

This fixes most of the Polonius test differences and also avoids overflow in issue-38591.rs.

r? @nikomatsakis
@Manishearth
Copy link
Member

@bors force

@Manishearth
Copy link
Member

@bors retry

@bors
Copy link
Contributor

bors commented Oct 2, 2019

⌛ Testing commit 2180c24 with merge 7cd00f4485f8edcc8553ca9cf9c023575f0fe3e1...

@rust-highfive
Copy link
Collaborator

Your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-10-02T23:50:06.0840546Z Version      : 1.0.0
2019-10-02T23:50:06.0840644Z Author       : Microsoft
2019-10-02T23:50:06.0840711Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2019-10-02T23:50:06.0840826Z ==============================================================================
2019-10-02T23:50:06.5013192Z System.NullReferenceException: Object reference not set to an instance of an object.
2019-10-02T23:50:06.5014792Z    at Newtonsoft.Json.JsonReader.get_Path()
2019-10-02T23:50:06.5016014Z    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
2019-10-02T23:50:06.5017101Z    at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
2019-10-02T23:50:06.5017610Z    at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
2019-10-02T23:50:06.5017893Z    at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
2019-10-02T23:50:06.5018153Z    at Agent.PluginHost.Program.Main(String[] args)
2019-10-02T23:50:06.5300003Z ##[error]Exit code 1 returned from process: file name '/home/vsts/agents/2.158.0/bin/Agent.PluginHost', arguments 'task "Agent.Plugins.Repository.CheckoutTask, Agent.Plugins"'.
2019-10-02T23:50:06.5748686Z ##[section]Starting: Upload CPU usage statistics
2019-10-02T23:50:06.5751779Z ==============================================================================
2019-10-02T23:50:06.5751859Z Task         : Bash
2019-10-02T23:50:06.5751929Z Description  : Run a Bash script on macOS, Linux, or Windows
---
2019-10-02T23:50:06.7172498Z aws s3 cp --acl public-read cpu-usage.csv s3://$DEPLOY_BUCKET/rustc-builds/$BUILD_SOURCEVERSION/cpu-$CI_JOB_NAME.csv
2019-10-02T23:50:06.7194249Z ========================== Starting Command Output ===========================
2019-10-02T23:50:06.7217431Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/39a33c5e-bc43-4692-b5dc-d87366e7d299.sh
2019-10-02T23:50:10.4129418Z 
2019-10-02T23:50:10.4131251Z The user-provided path cpu-usage.csv does not exist.
2019-10-02T23:50:10.4568255Z ##[error]Bash exited with code '255'.
2019-10-02T23:50:10.4581390Z ##[section]Starting: Checkout
2019-10-02T23:50:10.4583104Z ==============================================================================
2019-10-02T23:50:10.4583237Z Task         : Get sources
2019-10-02T23:50:10.4583304Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@bors
Copy link
Contributor

bors commented Oct 2, 2019

💔 Test failed - checks-azure

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 2, 2019
@matthewjasper
Copy link
Contributor Author

@bors retry

@bors bors 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-review Status: Awaiting review from the assignee but also interested parties. labels Oct 3, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 3, 2019
…atsakis

Fix most remaining Polonius test differences

This fixes most of the Polonius test differences and also avoids overflow in issue-38591.rs.

r? @nikomatsakis
Centril added a commit to Centril/rust that referenced this pull request Oct 3, 2019
…atsakis

Fix most remaining Polonius test differences

This fixes most of the Polonius test differences and also avoids overflow in issue-38591.rs.

r? @nikomatsakis
bors added a commit that referenced this pull request Oct 3, 2019
Rollup of 5 pull requests

Successful merges:

 - #64690 (proc_macro API: Expose `macro_rules` hygiene)
 - #64749 (Fix most remaining Polonius test differences)
 - #64938 (Avoid ICE on ReFree region on where clause)
 - #64999 (extract expected return type for async fn generators)
 - #65037 (`#[track_caller]` feature gate (RFC 2091))

Failed merges:

r? @ghost
Centril added a commit to Centril/rust that referenced this pull request Oct 4, 2019
…atsakis

Fix most remaining Polonius test differences

This fixes most of the Polonius test differences and also avoids overflow in issue-38591.rs.

r? @nikomatsakis
bors added a commit that referenced this pull request Oct 4, 2019
Rollup of 5 pull requests

Successful merges:

 - #64749 (Fix most remaining Polonius test differences)
 - #64817 (Replace ClosureSubsts with SubstsRef)
 - #64874 (Simplify ExprUseVisitor)
 - #65026 (metadata: Some crate loading cleanup)
 - #65073 (Remove `borrowck_graphviz_postflow` from test)

Failed merges:

r? @ghost
@bors
Copy link
Contributor

bors commented Oct 4, 2019

⌛ Testing commit 2180c24 with merge 9e35a28...

@bors bors merged commit 2180c24 into rust-lang:master Oct 4, 2019
@matthewjasper matthewjasper deleted the liveness-opt branch October 4, 2019 12:04
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request May 31, 2024
…g, r=oli-obk

Revert propagation of drop-live information from Polonius

rust-lang#64749 introduced a flow of drop-use data from Polonius to `LivenessResults::add_extra_drop_facts()`, which makes `LivenessResults` agree with Polonius on liveness in the presence of free regions that may be dropped. Later changes accidentally removed this flow. This PR restores it.
jieyouxu added a commit to jieyouxu/rust that referenced this pull request May 31, 2024
…g, r=oli-obk

Revert propagation of drop-live information from Polonius

rust-lang#64749 introduced a flow of drop-use data from Polonius to `LivenessResults::add_extra_drop_facts()`, which makes `LivenessResults` agree with Polonius on liveness in the presence of free regions that may be dropped. Later changes accidentally removed this flow. This PR restores it.
jieyouxu added a commit to jieyouxu/rust that referenced this pull request May 31, 2024
…g, r=oli-obk

Revert propagation of drop-live information from Polonius

rust-lang#64749 introduced a flow of drop-use data from Polonius to `LivenessResults::add_extra_drop_facts()`, which makes `LivenessResults` agree with Polonius on liveness in the presence of free regions that may be dropped. Later changes accidentally removed this flow. This PR restores it.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request May 31, 2024
…g, r=oli-obk

Revert propagation of drop-live information from Polonius

rust-lang#64749 introduced a flow of drop-use data from Polonius to `LivenessResults::add_extra_drop_facts()`, which makes `LivenessResults` agree with Polonius on liveness in the presence of free regions that may be dropped. Later changes accidentally removed this flow. This PR restores it.
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request May 31, 2024
Rollup merge of rust-lang#125652 - amandasystems:you-dropped-something, r=oli-obk

Revert propagation of drop-live information from Polonius

rust-lang#64749 introduced a flow of drop-use data from Polonius to `LivenessResults::add_extra_drop_facts()`, which makes `LivenessResults` agree with Polonius on liveness in the presence of free regions that may be dropped. Later changes accidentally removed this flow. This PR restores it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants