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

[WIP] Tracking the unsolved variables that was assigned ! type #78051

Closed
wants to merge 3 commits into from
Closed

[WIP] Tracking the unsolved variables that was assigned ! type #78051

wants to merge 3 commits into from

Conversation

blitzerr
Copy link
Contributor

Addresses #66173

@rust-highfive
Copy link
Collaborator

r? @estebank

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 17, 2020
@blitzerr
Copy link
Contributor Author

r? @nikomatsakis

@camelid camelid added the A-type-system Area: Type system label Oct 17, 2020
@blitzerr blitzerr changed the title Tracking the unsolved variables that was assigned ! type [WIP] Tracking the unsolved variables that was assigned ! type Oct 20, 2020
//FIXME: Add explanation.
pub FALL_BACK_TO_NEVER_TYPE,
Deny,
"Unresolved variable might fall back to never_type `!`"
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpick: the style for user visible messages is not to have leading upper-case titling.

Suggested change
"Unresolved variable might fall back to never_type `!`"
"unresolved variable might fall back to never_type `!`"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks a lot @estebank I will make the change.

@bors
Copy link
Contributor

bors commented Nov 1, 2020

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

Note that reviewers usually do not review pull requests until merge conflicts are resolved! Once you resolve the conflicts, you should change the labels applied by bors to indicate that your PR is ready for review. Post this as a comment to change the labels:

@rustbot modify labels: +S-waiting-on-review -S-waiting-on-author

@blitzerr
Copy link
Contributor Author

blitzerr commented Nov 5, 2020

@bors try

@bors
Copy link
Contributor

bors commented Nov 5, 2020

@blitzerr: 🔑 Insufficient privileges: not in try users

@nikomatsakis
Copy link
Contributor

@bors try

@bors
Copy link
Contributor

bors commented Nov 5, 2020

⌛ Trying commit 20c2094 with merge e1ed1bb65d7f01dd2fb49e022313bc28e06d9560...

@rust-log-analyzer
Copy link
Collaborator

The job dist-x86_64-linux of 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.
##[section]Starting: Request a runner to run this job
Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest-xl'
Can't find any online and idle self-hosted runner in current repository's organization account that matches the required labels: 'ubuntu-latest-xl'
Found online and idle hosted runner in current repository's organization account that matches the required labels: 'ubuntu-latest-xl'
##[section]Finishing: Request a runner to run this job
##[debug]Starting: try (dist-x86_64-linux, ubuntu-latest-xl)
##[debug]Starting: Set up job
Current runner version: '2.273.6'
##[group]Operating System
Ubuntu
---
##[debug]Evaluating job defaults
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v2'
##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f' to '/home/runner/work/_actions/_temp_42d6ca9f-d06f-40ff-9dd6-059505422b0f/624c3343-e4c5-44a0-a6a1-58c9467342d5.tar.gz'
##[debug]Unwrap 'actions-checkout-5a4ac90' to '/home/runner/work/_actions/actions/checkout/v2'
##[debug]Archive '/home/runner/work/_actions/_temp_42d6ca9f-d06f-40ff-9dd6-059505422b0f/624c3343-e4c5-44a0-a6a1-58c9467342d5.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v2'.
Download action repository 'rust-lang/simpleinfra@master'
##[debug]Download 'https://api.github.com/repos/rust-lang/simpleinfra/tarball/825b781f5ce1c08493fb921b0d847d3bf6bc7d91' to '/home/runner/work/_actions/_temp_80d2c7b5-bdf7-45bf-9d11-bd19ff9efd3a/b068d976-be7c-406d-bc3b-c15508cd6386.tar.gz'
##[debug]Unwrap 'rust-lang-simpleinfra-825b781' to '/home/runner/work/_actions/rust-lang/simpleinfra/master'
##[debug]Archive '/home/runner/work/_actions/_temp_80d2c7b5-bdf7-45bf-9d11-bd19ff9efd3a/b068d976-be7c-406d-bc3b-c15508cd6386.tar.gz' has been unzipped into '/home/runner/work/_actions/rust-lang/simpleinfra/master'.
##[debug]action.yml for action: '/home/runner/work/_actions/rust-lang/simpleinfra/master/github-actions/cancel-outdated-builds/action.yml'.
##[debug]Set step 'run1' display name to: 'disable git crlf conversion'
##[debug]Set step 'actionscheckout' display name to: 'checkout the source code'
##[debug]Set step 'run2' display name to: 'configure the PR in which the error message will be posted'
---
  ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55
  CACHE_DOMAIN: ci-caches.rust-lang.org
##[endgroup]
##[debug]Overwrite 'shell' base on job defaults.
##[debug]/bin/bash --noprofile --norc -e -o pipefail /home/runner/work/_temp/5aab460d-53d7-4fc4-87cf-4dd0a6476258.sh
##[debug]Evaluating condition for step: 'checkout the source code'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
---
::endgroup::
##[endgroup]
::group::Fetching the repository
##[group]Fetching the repository
[command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=2 origin +e1ed1bb65d7f01dd2fb49e022313bc28e06d9560:refs/remotes/origin/try
---
   Compiling tempfile v3.1.0
   Compiling serde_json v1.0.59
   Compiling lint-docs v0.1.0 (/checkout/src/tools/lint-docs)
    Finished release [optimized] target(s) in 8.70s
error: could not determine lint name in /checkout/compiler/rustc_lint_defs/src/builtin.rs:2557: lint name should end with comma, line was `//FIXME: Add explanation.`


command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/lint-docs" "--src" "/checkout/compiler" "--out" "/checkout/obj/build/x86_64-unknown-linux-gnu/md-doc/rustc/src/lints" "--rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--rustc-target" "x86_64-unknown-linux-gnu"


failed to run: /checkout/obj/build/bootstrap/debug/bootstrap dist --host x86_64-unknown-linux-gnu --target x86_64-unknown-linux-gnu --include-default-paths src/tools/build-manifest
Build completed unsuccessfully in 0:22:42
Build completed unsuccessfully in 0:22:42
== clock drift check ==
  local time: Thu Nov  5 20:31:35 UTC 2020
  network time: Wed, 04 Nov 2020 23:05:40 GMT
== end clock drift check ==
##[error]Process completed with exit code 1.
##[debug]Evaluating: env.ARTIFACTS_AWS_ACCESS_KEY_ID
##[debug]Evaluating Index:
##[debug]..Evaluating env:
##[debug]..=> Object
---
##[debug]Evaluating And:
##[debug]..Evaluating success:
##[debug]..=> false
##[debug]=> false
##[debug]Expanded: (false && !env['SKIP_JOB'] && ((github['event_name'] == 'push') || (env['DEPLOY'] == '1') || (env['DEPLOY_ALT'] == '1')))
##[debug]Evaluating condition for step: 'Post checkout the source code'
##[debug]Evaluating: always()
##[debug]Evaluating always:
##[debug]=> true
---
Completed runner diagnostic log upload
Cleaning up orphan processes
Terminate orphan process: pid (6176) (python)
##[debug]Finishing: Complete job
##[debug]Finishing: try (dist-x86_64-linux, ubuntu-latest-xl)

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 @rust-lang/infra. (Feature Requests)

@bors
Copy link
Contributor

bors commented Nov 5, 2020

💔 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 Nov 5, 2020
@JohnCSimon JohnCSimon 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 24, 2020
@Dylan-DPC-zz
Copy link

@blitzerr any updates on this?

@nikomatsakis
Copy link
Contributor

Closing in favor of #79366 (I've discussed this with @blitzerr)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-type-system Area: Type system S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.