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] NRVO pass for acyclic CFGs #71003

Closed
wants to merge 5 commits into from
Closed

[WIP] NRVO pass for acyclic CFGs #71003

wants to merge 5 commits into from

Conversation

jonas-schievink
Copy link
Contributor

No description provided.

@rust-highfive
Copy link
Collaborator

r? @eddyb

(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 Apr 10, 2020
@slanterns
Copy link
Contributor

Is this related to #47954 ?

@jonas-schievink
Copy link
Contributor Author

Yeah, it's a simpler version of that

@eddyb
Copy link
Member

eddyb commented Apr 10, 2020

@slanterns Yeah, it's a simpler approximation - oops, @jonas-schievink already replied.

Failure seems to be formatting related, so I'm going ahead with:
@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion

@bors
Copy link
Contributor

bors commented Apr 10, 2020

⌛ Trying commit 7c9604caf7dd0a32fc3384571aaf27f36a3cbba4 with merge 88171401698a07eb245f0c4ac15085e1128ec7a7...

@jonas-schievink
Copy link
Contributor Author

@bors try @rust-timer queue

@bors
Copy link
Contributor

bors commented Apr 10, 2020

⌛ Trying commit cfaaae36b313af2db65274cffe3b5ca7d7275116 with merge d50710b6cf33db9d82496ae2032d7643605fb0e4...

@eddyb
Copy link
Member

eddyb commented Apr 10, 2020

Looks like neither of the racing try builds worked:

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion

@bors
Copy link
Contributor

bors commented Apr 10, 2020

⌛ Trying commit cfaaae36b313af2db65274cffe3b5ca7d7275116 with merge c0ce9fadf4f57ef142f608c346e5369c80fc39f5...

@bors
Copy link
Contributor

bors commented Apr 11, 2020

☀️ Try build successful - checks-azure
Build commit: c0ce9fadf4f57ef142f608c346e5369c80fc39f5 (c0ce9fadf4f57ef142f608c346e5369c80fc39f5)

@rust-timer
Copy link
Collaborator

Queued c0ce9fadf4f57ef142f608c346e5369c80fc39f5 with parent 9682f0e, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit c0ce9fadf4f57ef142f608c346e5369c80fc39f5, comparison URL.

@bjorn3
Copy link
Member

bjorn3 commented Apr 11, 2020

promoted_mir is has become much slower in many cases.

@eddyb
Copy link
Member

eddyb commented Apr 11, 2020

@bjorn3 To be clear, this run was for fun (since the approach is arguably bruteforce right now).
I'm impressed it's only 30x though.

#47954 initially had regressions like 320x and I remember even 9000x but can't confirm that because the perf data from back then is gone now.
Also, those regressions were inflate and clap-rs, IIRC? Which both look fine now.

As for promoted_mir, I wonder if we're doing unnecessary work on constant MIR.
We might want to skip it, not because miri can't handle it (modulo #71005), but for perf reasons.

@jonas-schievink
Copy link
Contributor Author

Wow, I'm impressed that building rustc with this optimization actually made it quite a bit faster in some cases! That makes me think making this optimization fast but approximate could already be a fairly big gain.

@rust-highfive
Copy link
Collaborator

The job mingw-check 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.
2020-04-12T22:02:19.3255192Z ========================== Starting Command Output ===========================
2020-04-12T22:02:19.3260142Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/2fcc4ba6-074a-40fe-982d-a9c9efd51921.sh
2020-04-12T22:02:19.3260691Z 
2020-04-12T22:02:19.3265382Z ##[section]Finishing: Disable git automatic line ending conversion
2020-04-12T22:02:19.3282251Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71003/merge to s
2020-04-12T22:02:19.3285148Z Task         : Get sources
2020-04-12T22:02:19.3285404Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-12T22:02:19.3285649Z Version      : 1.0.0
2020-04-12T22:02:19.3285818Z Author       : Microsoft
---
2020-04-12T22:02:20.4848034Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-04-12T22:02:20.4854825Z ##[command]git config gc.auto 0
2020-04-12T22:02:20.4859091Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-04-12T22:02:20.4862971Z ##[command]git config --get-all http.proxy
2020-04-12T22:02:20.4870860Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/71003/merge:refs/remotes/pull/71003/merge
---
2020-04-12T22:05:32.7755127Z  ---> 78ad2f4d4aca
2020-04-12T22:05:32.7755377Z Step 6/7 : ENV RUN_CHECK_WITH_PARALLEL_QUERIES 1
2020-04-12T22:05:32.7760887Z  ---> Using cache
2020-04-12T22:05:32.7761225Z  ---> 4d2dc61c4d00
2020-04-12T22:05:32.7762430Z Step 7/7 : ENV SCRIPT python3 ../x.py test src/tools/expand-yaml-anchors &&            python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu &&            python3 ../x.py build --stage 0 src/tools/build-manifest &&            python3 ../x.py test --stage 0 src/tools/compiletest &&            python3 ../x.py test src/tools/tidy &&            /scripts/validate-toolstate.sh
2020-04-12T22:05:32.7776624Z  ---> 776b6266a8b7
2020-04-12T22:05:32.7822381Z Successfully built 776b6266a8b7
2020-04-12T22:05:32.7875739Z Successfully tagged rust-ci:latest
2020-04-12T22:05:32.8383472Z Built container sha256:776b6266a8b7d63e2d3c2b5a784dbf521184a904fb10bf818c6b5c7e1ab74d4a
2020-04-12T22:05:32.8383472Z Built container sha256:776b6266a8b7d63e2d3c2b5a784dbf521184a904fb10bf818c6b5c7e1ab74d4a
2020-04-12T22:05:32.8398237Z Looks like docker image is the same as before, not uploading
2020-04-12T22:05:40.2273295Z [CI_JOB_NAME=mingw-check]
2020-04-12T22:05:40.2487408Z [CI_JOB_NAME=mingw-check]
2020-04-12T22:05:40.2516873Z == clock drift check ==
2020-04-12T22:05:40.2527118Z   local time: Sun Apr 12 22:05:40 UTC 2020
2020-04-12T22:05:40.5573665Z   network time: Sun, 12 Apr 2020 22:05:40 GMT
2020-04-12T22:05:40.5598359Z Starting sccache server...
2020-04-12T22:05:40.6682782Z configure: processing command line
2020-04-12T22:05:40.6683083Z configure: 
2020-04-12T22:05:40.6684003Z configure: rust.parallel-compiler := True
---
2020-04-12T22:09:50.6386537Z     Checking rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-12T22:09:50.8711348Z     Checking fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-12T22:09:51.0774728Z     Checking rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-12T22:09:51.0909852Z     Checking rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-12T22:09:51.6871249Z     Checking rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-12T22:09:54.1029892Z     Checking rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-12T22:09:54.5847323Z     Checking rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-12T22:09:56.6005519Z     Checking rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-12T22:09:57.0527961Z     Checking rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-12T22:11:48.7682481Z configure: rust.codegen-units-std := 1
2020-04-12T22:11:48.7682991Z configure: rust.verify-llvm-ir  := True
2020-04-12T22:11:48.7683390Z configure: build.cargo-native-static := True
2020-04-12T22:11:48.7683658Z configure: llvm.assertions      := True
2020-04-12T22:11:48.7684151Z configure: build.configure-args := ['--enable-sccache', '--disable-manage-submodu ...
2020-04-12T22:11:48.7684636Z configure: writing `config.toml` in current directory
2020-04-12T22:11:48.7684841Z configure: 
2020-04-12T22:11:48.7685279Z configure: run `python /checkout/x.py --help`
2020-04-12T22:11:48.7685499Z configure: 
---
2020-04-12T22:13:29.6327029Z Hugepagesize:       2048 kB
2020-04-12T22:13:29.6327239Z DirectMap4k:      135104 kB
2020-04-12T22:13:29.6327430Z DirectMap2M:     4059136 kB
2020-04-12T22:13:29.6327621Z DirectMap1G:     5242880 kB
2020-04-12T22:13:29.6355775Z + python3 ../x.py test src/tools/expand-yaml-anchors
2020-04-12T22:13:31.0789506Z Ensuring the YAML anchors in the GitHub Actions config were expanded
2020-04-12T22:13:31.0789506Z Ensuring the YAML anchors in the GitHub Actions config were expanded
2020-04-12T22:13:31.0799842Z Building stage0 tool expand-yaml-anchors (x86_64-unknown-linux-gnu)
2020-04-12T22:13:31.3499350Z    Compiling unicode-xid v0.2.0
2020-04-12T22:13:31.4672704Z    Compiling syn v1.0.11
2020-04-12T22:13:32.3645498Z    Compiling linked-hash-map v0.5.2
2020-04-12T22:13:32.4323296Z    Compiling lazy_static v1.4.0
2020-04-12T22:13:32.4323296Z    Compiling lazy_static v1.4.0
2020-04-12T22:13:32.5973337Z    Compiling yaml-rust v0.4.3
2020-04-12T22:13:37.1132705Z    Compiling quote v1.0.2
2020-04-12T22:13:52.1957812Z    Compiling thiserror-impl v1.0.5
2020-04-12T22:13:57.3438095Z    Compiling thiserror v1.0.5
2020-04-12T22:13:57.4009314Z    Compiling yaml-merge-keys v0.4.0
2020-04-12T22:13:58.6121349Z    Compiling expand-yaml-anchors v0.1.0 (/checkout/src/tools/expand-yaml-anchors)
2020-04-12T22:14:00.2594246Z Build completed successfully in 0:00:30
2020-04-12T22:14:00.2681404Z + python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu
2020-04-12T22:14:00.5684159Z     Finished dev [unoptimized] target(s) in 0.20s
2020-04-12T22:14:01.7208603Z Checking rustdoc artifacts (x86_64-unknown-linux-gnu -> i686-pc-windows-gnu)
---
2020-04-12T22:16:12.2177248Z     Checking rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-12T22:16:12.2750686Z     Checking fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-12T22:16:12.4686781Z     Checking rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-12T22:16:12.6486135Z     Checking rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-12T22:16:13.0861052Z     Checking rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-12T22:16:15.4267581Z     Checking rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-12T22:16:15.9299937Z     Checking rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-12T22:16:18.1333982Z     Checking rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-12T22:16:18.5876012Z     Checking rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-12T22:20:04.3698045Z    Compiling cargo_metadata v0.9.1
2020-04-12T22:20:08.8960653Z    Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
2020-04-12T22:20:19.9594219Z     Finished release [optimized] target(s) in 25.51s
2020-04-12T22:20:19.9684928Z tidy check
2020-04-12T22:20:26.0163670Z tidy error: /checkout/src/librustc_mir/transform/dag_nrvo.rs:34: TODO is deprecated; use FIXME
2020-04-12T22:20:28.8869517Z Found 490 error codes
2020-04-12T22:20:28.8869860Z Found 0 error codes with no tests
2020-04-12T22:20:28.8870193Z Done!
2020-04-12T22:20:28.8870382Z some tidy checks failed
2020-04-12T22:20:28.8870382Z some tidy checks failed
2020-04-12T22:20:28.8871392Z 
2020-04-12T22:20:28.8872913Z 
2020-04-12T22:20:28.8874586Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo"
2020-04-12T22:20:28.8875416Z 
2020-04-12T22:20:28.8875545Z 
2020-04-12T22:20:28.8876324Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
2020-04-12T22:20:28.8876731Z Build completed unsuccessfully in 0:00:35
2020-04-12T22:20:28.8876731Z Build completed unsuccessfully in 0:00:35
2020-04-12T22:20:28.8988335Z == clock drift check ==
2020-04-12T22:20:28.9002559Z   local time: Sun Apr 12 22:20:28 UTC 2020
2020-04-12T22:20:29.0206317Z   network time: Sun, 12 Apr 2020 22:20:29 GMT
2020-04-12T22:20:30.5751194Z 
2020-04-12T22:20:30.5751194Z 
2020-04-12T22:20:30.5824232Z ##[error]Bash exited with code '1'.
2020-04-12T22:20:30.5839261Z ##[section]Finishing: Run build
2020-04-12T22:20:30.5881785Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71003/merge to s
2020-04-12T22:20:30.5886080Z Task         : Get sources
2020-04-12T22:20:30.5886383Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-12T22:20:30.5886675Z Version      : 1.0.0
2020-04-12T22:20:30.5886873Z Author       : Microsoft
2020-04-12T22:20:30.5886873Z Author       : Microsoft
2020-04-12T22:20:30.5887201Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-04-12T22:20:30.5887573Z ==============================================================================
2020-04-12T22:20:30.9510690Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-04-12T22:20:30.9557704Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/71003/merge to s
2020-04-12T22:20:30.9656259Z Cleaning up task key
2020-04-12T22:20:30.9657637Z Start cleaning up orphan processes.
2020-04-12T22:20:30.9891591Z Terminate orphan process: pid (3480) (python)
2020-04-12T22:20:31.0093384Z ##[section]Finishing: Finalize Job

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)

@rust-lang rust-lang deleted a comment from rust-highfive Apr 12, 2020
@rust-lang rust-lang deleted a comment from rust-highfive Apr 12, 2020
@jonas-schievink
Copy link
Contributor Author

Let's see how the performance of an NRVO-optimized rustc changes.

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion

@bors
Copy link
Contributor

bors commented Apr 13, 2020

⌛ Trying commit 03e04dbe2e098ca3240a2049bc337bcc5f31f006 with merge bd02092214fcef215d0af94e0507e58e5adf802a...

Instead of collecting all uses every time. Should be faster than before,
but there's probably still things to improve.
@jonas-schievink
Copy link
Contributor Author

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion

@bors
Copy link
Contributor

bors commented Apr 14, 2020

⌛ Trying commit fa95297 with merge f7f520c3eaac507bffefad8b932af835ed31a2b5...

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-7 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.
2020-04-14T23:45:48.5384305Z ========================== Starting Command Output ===========================
2020-04-14T23:45:48.5387986Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/005b7537-3c08-41f8-ad80-55d2cca07ff3.sh
2020-04-14T23:45:48.5388354Z 
2020-04-14T23:45:48.5392732Z ##[section]Finishing: Disable git automatic line ending conversion
2020-04-14T23:45:48.5408340Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71003/merge to s
2020-04-14T23:45:48.5411069Z Task         : Get sources
2020-04-14T23:45:48.5411305Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-14T23:45:48.5411532Z Version      : 1.0.0
2020-04-14T23:45:48.5411707Z Author       : Microsoft
---
2020-04-14T23:45:49.7928203Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-04-14T23:45:49.7942547Z ##[command]git config gc.auto 0
2020-04-14T23:45:49.7952943Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-04-14T23:45:49.7961082Z ##[command]git config --get-all http.proxy
2020-04-14T23:45:49.7972044Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/71003/merge:refs/remotes/pull/71003/merge
---
2020-04-14T23:48:05.7279239Z  ---> f58a2bb1e753
2020-04-14T23:48:05.7301105Z Step 5/8 : ENV RUST_CONFIGURE_ARGS       --build=x86_64-unknown-linux-gnu       --llvm-root=/usr/lib/llvm-7       --enable-llvm-link-shared       --set rust.thin-lto-import-instr-limit=10
2020-04-14T23:48:05.7301976Z  ---> Using cache
2020-04-14T23:48:05.7302343Z  ---> d079cc6b6db8
2020-04-14T23:48:05.7303179Z Step 6/8 : ENV SCRIPT python2.7 ../x.py test --exclude src/tools/tidy &&            python2.7 ../x.py test src/test/mir-opt --pass=build                                   --target=armv5te-unknown-linux-gnueabi &&            python2.7 ../x.py test src/tools/tidy
2020-04-14T23:48:05.7304118Z  ---> 4183ca46ee56
2020-04-14T23:48:05.7304299Z Step 7/8 : ENV NO_DEBUG_ASSERTIONS=1
2020-04-14T23:48:05.7304614Z  ---> Using cache
2020-04-14T23:48:05.7304967Z  ---> 69e7f8a2a2fb
---
2020-04-14T23:48:05.8014669Z Looks like docker image is the same as before, not uploading
2020-04-14T23:48:13.8119136Z [CI_JOB_NAME=x86_64-gnu-llvm-7]
2020-04-14T23:48:13.8402665Z [CI_JOB_NAME=x86_64-gnu-llvm-7]
2020-04-14T23:48:13.8430759Z == clock drift check ==
2020-04-14T23:48:13.8438813Z   local time: Tue Apr 14 23:48:13 UTC 2020
2020-04-14T23:48:13.9520001Z   network time: Tue, 14 Apr 2020 23:48:13 GMT
2020-04-14T23:48:13.9540878Z Starting sccache server...
2020-04-14T23:48:14.0334697Z configure: processing command line
2020-04-14T23:48:14.0337852Z configure: 
2020-04-14T23:48:14.0339151Z configure: rust.dist-src        := False
---
2020-04-14T23:53:09.6893122Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-14T23:53:11.0797772Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-14T23:53:12.5724508Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-14T23:53:13.4784458Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-14T23:53:22.3161236Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-14T23:53:24.1976641Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-14T23:53:28.3850275Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-14T23:53:32.2479727Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-14T23:53:41.6709068Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-15T00:15:14.9883028Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-15T00:15:16.7152368Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-15T00:15:18.5827460Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-15T00:15:20.9299311Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-15T00:15:30.4960259Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-15T00:15:34.0909995Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-15T00:15:39.1713218Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-15T00:15:44.4007770Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-15T00:15:54.5322219Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-15T00:40:09.0781924Z .................................................................................................... 1700/9894
2020-04-15T00:40:13.5172905Z .................................................................................................... 1800/9894
2020-04-15T00:40:21.9241905Z .................................................................................................... 1900/9894
2020-04-15T00:40:29.7262159Z .....i.............................................................................................. 2000/9894
2020-04-15T00:40:35.6719351Z ...............................................................................................iiiii 2100/9894
2020-04-15T00:40:55.8481741Z .................................................................................................... 2300/9894
2020-04-15T00:40:57.8805139Z .................................................................................................... 2400/9894
2020-04-15T00:40:59.9914107Z .................................................................................................... 2500/9894
2020-04-15T00:41:05.3007846Z .................................................................................................... 2600/9894
---
2020-04-15T00:43:53.3463122Z .................................................................................................... 5100/9894
2020-04-15T00:44:00.5708520Z .................................................................................................... 5200/9894
2020-04-15T00:44:04.9436119Z ................i................................................................................... 5300/9894
2020-04-15T00:44:14.3311626Z ......i............................................................................................. 5400/9894
2020-04-15T00:44:19.2315792Z ......ii.ii........i...i............................................................................ 5500/9894
2020-04-15T00:44:26.5166527Z ....................................................i............................................... 5700/9894
2020-04-15T00:44:35.9286230Z ........................................................................ii.......................... 5800/9894
2020-04-15T00:44:41.9269437Z ...........i........................................................................................ 5900/9894
2020-04-15T00:44:47.0592127Z .................................................................................................... 6000/9894
2020-04-15T00:44:47.0592127Z .................................................................................................... 6000/9894
2020-04-15T00:44:56.4554075Z .................................................................................................... 6100/9894
2020-04-15T00:45:06.7271016Z .....ii...i..ii...........i......................................................................... 6200/9894
2020-04-15T00:45:21.0655150Z .................................................................................................... 6400/9894
2020-04-15T00:45:27.0983970Z .................................................................................................... 6500/9894
2020-04-15T00:45:27.0983970Z .................................................................................................... 6500/9894
2020-04-15T00:45:40.6206189Z ...................................i..ii............................................................ 6600/9894
2020-04-15T00:46:00.6500057Z .................................................................................................... 6800/9894
2020-04-15T00:46:02.5755574Z ...................................i................................................................ 6900/9894
2020-04-15T00:46:04.7068109Z .................................................................................................... 7000/9894
2020-04-15T00:46:06.7353272Z ..........................................................................i......................... 7100/9894
---
2020-04-15T00:47:41.8041799Z .................................................................................................... 7800/9894
2020-04-15T00:47:45.7189566Z .................................................................................................... 7900/9894
2020-04-15T00:47:51.8838622Z .................................................................................................... 8000/9894
2020-04-15T00:47:57.8205237Z ........................................i........................................................... 8100/9894
2020-04-15T00:48:06.5388429Z ........................................................................................iiiiii.iiiii 8200/9894
2020-04-15T00:48:12.3778788Z .i.................................................................................................. 8300/9894
2020-04-15T00:48:24.3194371Z .................................................................................................... 8500/9894
2020-04-15T00:48:33.6143169Z .................................................................................................... 8600/9894
2020-04-15T00:48:46.0585106Z .................................................................................................... 8700/9894
2020-04-15T00:48:52.0280555Z .................................................................................................... 8800/9894
---
2020-04-15T00:50:53.3334571Z Suite("src/test/mir-opt") not skipped for "bootstrap::test::MirOpt" -- not in ["src/tools/tidy"]
2020-04-15T00:50:53.3499498Z Check compiletest suite=mir-opt mode=mir-opt (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-15T00:50:53.5163683Z 
2020-04-15T00:50:53.5163976Z running 89 tests
2020-04-15T00:51:00.4944468Z .......FF.....................FF.........FFF.....F....................FF.F.FF............
2020-04-15T00:51:00.4949248Z 
2020-04-15T00:51:00.4967069Z ---- [mir-opt] mir-opt/const_allocation.rs stdout ----
2020-04-15T00:51:00.4967412Z 24 }
2020-04-15T00:51:00.4967530Z 25 
2020-04-15T00:51:00.4967530Z 25 
2020-04-15T00:51:00.4967854Z 26 alloc0 (static: FOO, size: 16, align: 8) {
2020-04-15T00:51:00.4968616Z -     ╾──────alloc17+0──────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.4969219Z +     ╾──────alloc14+0──────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.4969717Z 29 
2020-04-15T00:51:00.4969717Z 29 
2020-04-15T00:51:00.4970098Z - alloc17 (size: 72, align: 8) {
2020-04-15T00:51:00.4970338Z + alloc14 (size: 72, align: 8) {
2020-04-15T00:51:00.4970962Z 31     0x00 │ 00 00 00 00 __ __ __ __ ╾──────alloc4+0───────╼ │ ....░░░░╾──────╼
2020-04-15T00:51:00.4971748Z 32     0x10 │ 00 00 00 00 00 00 00 00 00 00 00 00 __ __ __ __ │ ............░░░░
2020-04-15T00:51:00.4972352Z -     0x20 │ ╾──────alloc8+0───────╼ 02 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.4972881Z -     0x30 │ 01 00 00 00 2a 00 00 00 ╾──────alloc13+0──────╼ │ ....*...╾──────╼
2020-04-15T00:51:00.4973396Z +     0x20 │ ╾──────alloc7+0───────╼ 02 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.4973925Z +     0x30 │ 01 00 00 00 2a 00 00 00 ╾──────alloc11+0──────╼ │ ....*...╾──────╼
2020-04-15T00:51:00.4978260Z 36 }
2020-04-15T00:51:00.4978383Z 37 
2020-04-15T00:51:00.4978470Z 
2020-04-15T00:51:00.4978470Z 
2020-04-15T00:51:00.4978624Z 38 alloc4 (size: 0, align: 8) {}
2020-04-15T00:51:00.4978777Z 39 
2020-04-15T00:51:00.4979111Z - alloc8 (size: 32, align: 8) {
2020-04-15T00:51:00.4979742Z -     0x00 │ ╾──────alloc7+0───────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.4980913Z -     0x10 │ ╾──────alloc9+0───────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.4981472Z + alloc7 (size: 32, align: 8) {
2020-04-15T00:51:00.4984337Z +     0x00 │ ╾──────alloc6+0───────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.4984888Z +     0x10 │ ╾──────alloc8+0───────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.4985225Z 44 
2020-04-15T00:51:00.4985225Z 44 
2020-04-15T00:51:00.4985530Z - alloc7 (size: 3, align: 1) {
2020-04-15T00:51:00.4985746Z + alloc6 (size: 3, align: 1) {
2020-04-15T00:51:00.4986333Z 47 }
2020-04-15T00:51:00.4986453Z 48 
2020-04-15T00:51:00.4986538Z 
2020-04-15T00:51:00.4986538Z 
2020-04-15T00:51:00.4986833Z - alloc9 (size: 3, align: 1) {
2020-04-15T00:51:00.4987034Z + alloc8 (size: 3, align: 1) {
2020-04-15T00:51:00.4987644Z 51 }
2020-04-15T00:51:00.4987749Z 52 
2020-04-15T00:51:00.4987832Z 
2020-04-15T00:51:00.4987832Z 
2020-04-15T00:51:00.4988151Z - alloc13 (size: 48, align: 8) {
2020-04-15T00:51:00.4988629Z -     0x00 │ ╾──────alloc12+0──────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.4989146Z -     0x10 │ ╾──────alloc14+0──────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.4990035Z -     0x20 │ ╾──────alloc15+0──────╼ 04 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.4990534Z + alloc11 (size: 48, align: 8) {
2020-04-15T00:51:00.5006680Z +     0x00 │ ╾──────alloc10+0──────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.5007294Z +     0x10 │ ╾──────alloc12+0──────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.5007820Z +     0x20 │ ╾──────alloc13+0──────╼ 04 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.5008154Z 58 
2020-04-15T00:51:00.5008154Z 58 
2020-04-15T00:51:00.5008464Z - alloc12 (size: 3, align: 1) {
2020-04-15T00:51:00.5008670Z + alloc10 (size: 3, align: 1) {
2020-04-15T00:51:00.5009298Z 60     6d 65 68                                        │ meh
2020-04-15T00:51:00.5009589Z 62 
2020-04-15T00:51:00.5009675Z 
2020-04-15T00:51:00.5009675Z 
2020-04-15T00:51:00.5010089Z - alloc14 (size: 3, align: 1) {
2020-04-15T00:51:00.5010305Z + alloc12 (size: 3, align: 1) {
2020-04-15T00:51:00.5010742Z 64     6d 6f 70                                        │ mop
2020-04-15T00:51:00.5011046Z 66 
2020-04-15T00:51:00.5011130Z 
2020-04-15T00:51:00.5011130Z 
2020-04-15T00:51:00.5011429Z - alloc15 (size: 4, align: 1) {
2020-04-15T00:51:00.5011648Z + alloc13 (size: 4, align: 1) {
2020-04-15T00:51:00.5012052Z 68     6d c3 b6 70                                     │ m..p
2020-04-15T00:51:00.5012353Z 70 
2020-04-15T00:51:00.5012438Z 
2020-04-15T00:51:00.5012438Z 
2020-04-15T00:51:00.5013186Z thread '[mir-opt] mir-opt/const_allocation.rs' panicked at 'Actual MIR output differs from expected MIR output /checkout/src/test/mir-opt/const_allocation/64bit/rustc.main.ConstProp.after.mir', src/tools/compiletest/src/runtest.rs:3159:25
2020-04-15T00:51:00.5013939Z 
2020-04-15T00:51:00.5014287Z ---- [mir-opt] mir-opt/const_allocation2.rs stdout ----
2020-04-15T00:51:00.5014481Z 24 }
2020-04-15T00:51:00.5014585Z 25 
2020-04-15T00:51:00.5014585Z 25 
2020-04-15T00:51:00.5014769Z 26 alloc0 (static: FOO, size: 16, align: 8) {
2020-04-15T00:51:00.5015270Z -     ╾──────alloc24+0──────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.5015762Z +     ╾──────alloc21+0──────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.5016079Z 29 
2020-04-15T00:51:00.5016079Z 29 
2020-04-15T00:51:00.5016385Z - alloc24 (size: 72, align: 8) {
2020-04-15T00:51:00.5016593Z + alloc21 (size: 72, align: 8) {
2020-04-15T00:51:00.5017060Z 31     0x00 │ 00 00 00 00 __ __ __ __ ╾──────alloc9+0───────╼ │ ....░░░░╾──────╼
2020-04-15T00:51:00.5017584Z 32     0x10 │ 00 00 00 00 00 00 00 00 00 00 00 00 __ __ __ __ │ ............░░░░
2020-04-15T00:51:00.5018107Z -     0x20 │ ╾──────alloc14+0──────╼ 02 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.5018631Z -     0x30 │ 01 00 00 00 2a 00 00 00 ╾──────alloc22+0──────╼ │ ....*...╾──────╼
2020-04-15T00:51:00.5019165Z +     0x20 │ ╾──────alloc13+0──────╼ 02 00 00 00 00 00 00 00 │ ╾──────╼........
2020-04-15T00:51:00.5019675Z +     0x30 │ 01 00 00 00 2a 00 00 00 ╾──────alloc20+0──────╼ │ ....*...╾──────╼
2020-04-15T00:51:00.5020369Z 36 }
2020-04-15T00:51:00.5020473Z 37 
2020-04-15T00:51:00.5020558Z 
2020-04-15T00:51:00.5020558Z 
2020-04-15T00:51:00.5020724Z 38 alloc9 (size: 0, align: 8) {}
2020-04-15T00:51:00.5020876Z 39 
2020-04-15T00:51:00.5021182Z - alloc14 (size: 16, align: 8) {
2020-04-15T00:51:00.5021660Z -     ╾──────alloc12+0──────╼ ╾──────alloc13+0──────╼ │ ╾──────╼╾──────╼
2020-04-15T00:51:00.5021910Z + alloc13 (size: 16, align: 8) {
2020-04-15T00:51:00.5022369Z +     ╾──────alloc11+0──────╼ ╾──────alloc12+0──────╼ │ ╾──────╼╾──────╼
2020-04-15T00:51:00.5022789Z 43 
2020-04-15T00:51:00.5022789Z 43 
2020-04-15T00:51:00.5023119Z - alloc12 (size: 1, align: 1) {
2020-04-15T00:51:00.5023400Z + alloc11 (size: 1, align: 1) {
2020-04-15T00:51:00.5024021Z 46 }
2020-04-15T00:51:00.5024125Z 47 
2020-04-15T00:51:00.5024223Z 
2020-04-15T00:51:00.5024223Z 
2020-04-15T00:51:00.5024520Z - alloc13 (size: 1, align: 1) {
2020-04-15T00:51:00.5024722Z + alloc12 (size: 1, align: 1) {
2020-04-15T00:51:00.5025309Z 50 }
2020-04-15T00:51:00.5025413Z 51 
2020-04-15T00:51:00.5025497Z 
2020-04-15T00:51:00.5025497Z 
2020-04-15T00:51:00.5025810Z - alloc22 (size: 24, align: 8) {
2020-04-15T00:51:00.5026290Z -     0x00 │ ╾──────alloc18+3──────╼ ╾──────alloc19+0──────╼ │ ╾──────╼╾──────╼
2020-04-15T00:51:00.5026780Z -     0x10 │ ╾──────alloc21+2──────╼                         │ ╾──────╼
2020-04-15T00:51:00.5027059Z + alloc20 (size: 24, align: 8) {
2020-04-15T00:51:00.5027539Z +     0x00 │ ╾──────alloc16+3──────╼ ╾──────alloc17+0──────╼ │ ╾──────╼╾──────╼
2020-04-15T00:51:00.5028042Z +     0x10 │ ╾──────alloc19+2──────╼                         │ ╾──────╼
2020-04-15T00:51:00.5028359Z 56 
2020-04-15T00:51:00.5028359Z 56 
2020-04-15T00:51:00.5028661Z - alloc18 (size: 4, align: 1) {
2020-04-15T00:51:00.5028866Z + alloc16 (size: 4, align: 1) {
2020-04-15T00:51:00.5029280Z 58     2a 45 15 6f                                     │ *E.o
2020-04-15T00:51:00.5029571Z 60 
2020-04-15T00:51:00.5029668Z 
2020-04-15T00:51:00.5029668Z 
2020-04-15T00:51:00.5029963Z - alloc19 (size: 1, align: 1) {
2020-04-15T00:51:00.5030165Z + alloc17 (size: 1, align: 1) {
2020-04-15T00:51:00.5030751Z 63 }
2020-04-15T00:51:00.5030856Z 64 
2020-04-15T00:51:00.5030939Z 
2020-04-15T00:51:00.5030939Z 
2020-04-15T00:51:00.5031249Z - alloc21 (size: 4, align: 1) {
2020-04-15T00:51:00.5031464Z + alloc19 (size: 4, align: 1) {
2020-04-15T00:51:00.5031865Z 66     2a 45 15 6f                                     │ *E.o
2020-04-15T00:51:00.5032167Z 68 
2020-04-15T00:51:00.5032258Z 
2020-04-15T00:51:00.5032258Z 
2020-04-15T00:51:00.5033006Z thread '[mir-opt] mir-opt/const_allocation2.rs' panicked at 'Actual MIR output differs from expected MIR output /checkout/src/test/mir-opt/const_allocation2/64bit/rustc.main.ConstProp.after.mir', src/tools/compiletest/src/runtest.rs:3159:25
2020-04-15T00:51:00.5033769Z ---- [mir-opt] mir-opt/copy_propagation.rs stdout ----
2020-04-15T00:51:00.5033769Z ---- [mir-opt] mir-opt/copy_propagation.rs stdout ----
2020-04-15T00:51:00.5034591Z thread '[mir-opt] mir-opt/copy_propagation.rs' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/tools/compiletest/src/runtest.rs:3111:34
2020-04-15T00:51:00.5035390Z ---- [mir-opt] mir-opt/copy_propagation_arg.rs stdout ----
2020-04-15T00:51:00.5035390Z ---- [mir-opt] mir-opt/copy_propagation_arg.rs stdout ----
2020-04-15T00:51:00.5036245Z thread '[mir-opt] mir-opt/copy_propagation_arg.rs' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/tools/compiletest/src/runtest.rs:3111:34
2020-04-15T00:51:00.5037050Z ---- [mir-opt] mir-opt/inline/inline-any-operand.rs stdout ----
2020-04-15T00:51:00.5037050Z ---- [mir-opt] mir-opt/inline/inline-any-operand.rs stdout ----
2020-04-15T00:51:00.5037638Z 4     let mut _0: bool;                    // return place in scope 0 at $DIR/inline-any-operand.rs:10:13: 10:17
2020-04-15T00:51:00.5038316Z 5     let _1: fn(i32, i32) -> bool {foo};  // in scope 0 at $DIR/inline-any-operand.rs:11:9: 11:10
2020-04-15T00:51:00.5038926Z 6     let mut _2: fn(i32, i32) -> bool {foo}; // in scope 0 at $DIR/inline-any-operand.rs:12:5: 12:6
2020-04-15T00:51:00.5039547Z -     let mut _3: i32;                     // in scope 0 at $DIR/inline-any-operand.rs:12:5: 12:13
2020-04-15T00:51:00.5040146Z -     let mut _4: i32;                     // in scope 0 at $DIR/inline-any-operand.rs:12:5: 12:13
2020-04-15T00:51:00.5040758Z +     let mut _5: i32;                     // in scope 0 at $DIR/inline-any-operand.rs:12:5: 12:13
2020-04-15T00:51:00.5041542Z +     let mut _6: i32;                     // in scope 0 at $DIR/inline-any-operand.rs:12:5: 12:13
2020-04-15T00:51:00.5042321Z 10         debug f => _1;                   // in scope 1 at $DIR/inline-any-operand.rs:11:9: 11:10
2020-04-15T00:51:00.5042582Z 11         scope 2 {
2020-04-15T00:51:00.5042686Z 
2020-04-15T00:51:00.5043125Z -             debug x => _3;               // in scope 2 at $DIR/inline-any-operand.rs:16:8: 16:9
2020-04-15T00:51:00.5043125Z -             debug x => _3;               // in scope 2 at $DIR/inline-any-operand.rs:16:8: 16:9
2020-04-15T00:51:00.5043732Z -             debug y => _4;               // in scope 2 at $DIR/inline-any-operand.rs:16:16: 16:17
2020-04-15T00:51:00.5044316Z +             debug x => _5;               // in scope 2 at $DIR/inline-any-operand.rs:16:8: 16:9
2020-04-15T00:51:00.5045375Z +             debug y => _6;               // in scope 2 at $DIR/inline-any-operand.rs:16:16: 16:17
2020-04-15T00:51:00.5046019Z +             let mut _3: i32;             // in scope 2 at $DIR/inline-any-operand.rs:12:5: 12:13
2020-04-15T00:51:00.5046783Z +             let mut _4: i32;             // in scope 2 at $DIR/inline-any-operand.rs:12:5: 12:13
2020-04-15T00:51:00.5047201Z 15     }
2020-04-15T00:51:00.5047311Z 16 
2020-04-15T00:51:00.5047397Z 
2020-04-15T00:51:00.5047397Z 
2020-04-15T00:51:00.5048010Z 25                                          // + literal: Const { ty: fn(i32, i32) -> bool {foo}, val: Value(Scalar(<ZST>)) }
2020-04-15T00:51:00.5048734Z 26         StorageLive(_2);                 // bb0[2]: scope 1 at $DIR/inline-any-operand.rs:12:5: 12:6
2020-04-15T00:51:00.5049391Z 27         _2 = _1;                         // bb0[3]: scope 1 at $DIR/inline-any-operand.rs:12:5: 12:6
2020-04-15T00:51:00.5050079Z -         _3 = const 1i32;                 // bb0[4]: scope 1 at $DIR/inline-any-operand.rs:12:5: 12:13
2020-04-15T00:51:00.5050750Z +         _5 = const 1i32;                 // bb0[4]: scope 1 at $DIR/inline-any-operand.rs:12:5: 12:13
2020-04-15T00:51:00.5051132Z 29                                          // ty::Const
2020-04-15T00:51:00.5051387Z 30                                          // + ty: i32
2020-04-15T00:51:00.5051683Z 31                                          // + val: Value(Scalar(0x00000001))
2020-04-15T00:51:00.5052068Z 32                                          // mir::Constant
2020-04-15T00:51:00.5052068Z 32                                          // mir::Constant
2020-04-15T00:51:00.5052617Z 33                                          // + span: $DIR/inline-any-operand.rs:12:7: 12:8
2020-04-15T00:51:00.5053071Z 34                                          // + literal: Const { ty: i32, val: Value(Scalar(0x00000001)) }
2020-04-15T00:51:00.5053762Z -         _4 = const -1i32;                // bb0[5]: scope 1 at $DIR/inline-any-operand.rs:12:5: 12:13
2020-04-15T00:51:00.5054432Z +         _6 = const -1i32;                // bb0[5]: scope 1 at $DIR/inline-any-operand.rs:12:5: 12:13
2020-04-15T00:51:00.5054792Z 36                                          // ty::Const
2020-04-15T00:51:00.5055065Z 37                                          // + ty: i32
2020-04-15T00:51:00.5055365Z 38                                          // + val: Value(Scalar(0xffffffff))
2020-04-15T00:51:00.5055763Z 39                                          // mir::Constant
2020-04-15T00:51:00.5055763Z 39                                          // mir::Constant
2020-04-15T00:51:00.5056312Z 40                                          // + span: $DIR/inline-any-operand.rs:12:10: 12:12
2020-04-15T00:51:00.5056758Z 41                                          // + literal: Const { ty: i32, val: Value(Scalar(0xffffffff)) }
2020-04-15T00:51:00.5057446Z -         _0 = Eq(move _3, move _4);       // bb0[6]: scope 2 at $DIR/inline-any-operand.rs:17:5: 17:11
2020-04-15T00:51:00.5058110Z -         StorageDead(_2);                 // bb0[7]: scope 1 at $DIR/inline-any-operand.rs:12:12: 12:13
2020-04-15T00:51:00.5058775Z -         StorageDead(_1);                 // bb0[8]: scope 0 at $DIR/inline-any-operand.rs:13:1: 13:2
2020-04-15T00:51:00.5059449Z -         return;                          // bb0[9]: scope 0 at $DIR/inline-any-operand.rs:13:2: 13:2
2020-04-15T00:51:00.5060328Z +         StorageLive(_3);                 // bb0[6]: scope 2 at $DIR/inline-any-operand.rs:17:5: 17:6
2020-04-15T00:51:00.5061043Z +         _3 = _5;                         // bb0[7]: scope 2 at $DIR/inline-any-operand.rs:17:5: 17:6
2020-04-15T00:51:00.5061708Z +         StorageLive(_4);                 // bb0[8]: scope 2 at $DIR/inline-any-operand.rs:17:10: 17:11
2020-04-15T00:51:00.5062383Z +         _4 = _6;                         // bb0[9]: scope 2 at $DIR/inline-any-operand.rs:17:10: 17:11
2020-04-15T00:51:00.5063062Z +         _0 = Eq(move _3, move _4);       // bb0[10]: scope 2 at $DIR/inline-any-operand.rs:17:5: 17:11
2020-04-15T00:51:00.5063744Z +         StorageDead(_4);                 // bb0[11]: scope 2 at $DIR/inline-any-operand.rs:17:10: 17:11
2020-04-15T00:51:00.5064419Z +         StorageDead(_3);                 // bb0[12]: scope 2 at $DIR/inline-any-operand.rs:17:10: 17:11
2020-04-15T00:51:00.5065111Z +         StorageDead(_2);                 // bb0[13]: scope 1 at $DIR/inline-any-operand.rs:12:12: 12:13
2020-04-15T00:51:00.5065781Z +         StorageDead(_1);                 // bb0[14]: scope 0 at $DIR/inline-any-operand.rs:13:1: 13:2
2020-04-15T00:51:00.5066460Z +         return;                          // bb0[15]: scope 0 at $DIR/inline-any-operand.rs:13:2: 13:2
2020-04-15T00:51:00.5066864Z 47 }
2020-04-15T00:51:00.5066968Z 48 
2020-04-15T00:51:00.5067068Z 
2020-04-15T00:51:00.5067068Z 
2020-04-15T00:51:00.5067822Z thread '[mir-opt] mir-opt/inline/inline-any-operand.rs' panicked at 'Actual MIR output differs from expected MIR output /checkout/src/test/mir-opt/inline/inline-any-operand/rustc.bar.Inline.after.mir', src/tools/compiletest/src/runtest.rs:3159:25
2020-04-15T00:51:00.5068629Z ---- [mir-opt] mir-opt/inline/inline-closure-borrows-arg.rs stdout ----
2020-04-15T00:51:00.5068629Z ---- [mir-opt] mir-opt/inline/inline-closure-borrows-arg.rs stdout ----
2020-04-15T00:51:00.5069196Z 9     let mut _5: (&i32, &i32);            // in scope 0 at $DIR/inline-closure-borrows-arg.rs:16:5: 16:12
2020-04-15T00:51:00.5069839Z 10     let mut _6: &i32;                    // in scope 0 at $DIR/inline-closure-borrows-arg.rs:16:7: 16:8
2020-04-15T00:51:00.5070498Z 11     let mut _7: &i32;                    // in scope 0 at $DIR/inline-closure-borrows-arg.rs:16:10: 16:11
2020-04-15T00:51:00.5071135Z -     let mut _8: &i32;                    // in scope 0 at $DIR/inline-closure-borrows-arg.rs:16:5: 16:12
2020-04-15T00:51:00.5071785Z 13     let mut _9: &i32;                    // in scope 0 at $DIR/inline-closure-borrows-arg.rs:16:5: 16:12
2020-04-15T00:51:00.5072423Z +     let mut _10: &i32;                   // in scope 0 at $DIR/inline-closure-borrows-arg.rs:16:5: 16:12
2020-04-15T00:51:00.5073206Z 15         debug x => _3;                   // in scope 1 at $DIR/inline-closure-borrows-arg.rs:12:9: 12:10
2020-04-15T00:51:00.5073489Z 16         scope 2 {
2020-04-15T00:51:00.5073597Z 
2020-04-15T00:51:00.5074067Z -             debug r => _8;               // in scope 2 at $DIR/inline-closure-borrows-arg.rs:12:14: 12:15
2020-04-15T00:51:00.5074067Z -             debug r => _8;               // in scope 2 at $DIR/inline-closure-borrows-arg.rs:12:14: 12:15
2020-04-15T00:51:00.5074712Z -             debug _s => _9;              // in scope 2 at $DIR/inline-closure-borrows-arg.rs:12:23: 12:25
2020-04-15T00:51:00.5075334Z +             debug r => _9;               // in scope 2 at $DIR/inline-closure-borrows-arg.rs:12:14: 12:15
2020-04-15T00:51:00.5075968Z +             debug _s => _10;             // in scope 2 at $DIR/inline-closure-borrows-arg.rs:12:23: 12:25
2020-04-15T00:51:00.5076596Z +             let _8: &i32;                // in scope 2 at $DIR/inline-closure-borrows-arg.rs:16:5: 16:12
2020-04-15T00:51:00.5077013Z 20     }
2020-04-15T00:51:00.5077143Z 21     scope 3 {
2020-04-15T00:51:00.5077244Z 
2020-04-15T00:51:00.5077244Z 
2020-04-15T00:51:00.5077763Z 41         StorageLive(_7);                 // bb0[7]: scope 1 at $DIR/inline-closure-borrows-arg.rs:16:10: 16:11
2020-04-15T00:51:00.5078489Z 42         _7 = &(*_2);                     // bb0[8]: scope 1 at $DIR/inline-closure-borrows-arg.rs:16:10: 16:11
2020-04-15T00:51:00.5079428Z 43         _5 = (move _6, move _7);         // bb0[9]: scope 1 at $DIR/inline-closure-borrows-arg.rs:16:5: 16:12
2020-04-15T00:51:00.5080206Z -         _8 = move (_5.0: &i32);          // bb0[10]: scope 1 at $DIR/inline-closure-borrows-arg.rs:16:5: 16:12
2020-04-15T00:51:00.5080960Z -         _9 = move (_5.1: &i32);          // bb0[11]: scope 1 at $DIR/inline-closure-borrows-arg.rs:16:5: 16:12
2020-04-15T00:51:00.5081693Z -         _0 = (*_8);                      // bb0[12]: scope 3 at $DIR/inline-closure-borrows-arg.rs:14:9: 14:18
2020-04-15T00:51:00.5082425Z -         StorageDead(_7);                 // bb0[13]: scope 1 at $DIR/inline-closure-borrows-arg.rs:16:11: 16:12
2020-04-15T00:51:00.5083152Z -         StorageDead(_6);                 // bb0[14]: scope 1 at $DIR/inline-closure-borrows-arg.rs:16:11: 16:12
2020-04-15T00:51:00.5083874Z -         StorageDead(_5);                 // bb0[15]: scope 1 at $DIR/inline-closure-borrows-arg.rs:16:11: 16:12
2020-04-15T00:51:00.5084617Z -         StorageDead(_4);                 // bb0[16]: scope 1 at $DIR/inline-closure-borrows-arg.rs:16:11: 16:12
2020-04-15T00:51:00.5092110Z -         StorageDead(_3);                 // bb0[17]: scope 0 at $DIR/inline-closure-borrows-arg.rs:17:1: 17:2
2020-04-15T00:51:00.5092912Z -         return;                          // bb0[18]: scope 0 at $DIR/inline-closure-borrows-arg.rs:17:2: 17:2
2020-04-15T00:51:00.5093721Z +         _9 = move (_5.0: &i32);          // bb0[10]: scope 1 at $DIR/inline-closure-borrows-arg.rs:16:5: 16:12
2020-04-15T00:51:00.5094525Z +         _10 = move (_5.1: &i32);         // bb0[11]: scope 1 at $DIR/inline-closure-borrows-arg.rs:16:5: 16:12
2020-04-15T00:51:00.5095328Z +         StorageLive(_8);                 // bb0[12]: scope 2 at $DIR/inline-closure-borrows-arg.rs:13:13: 13:21
2020-04-15T00:51:00.5096105Z +         _8 = _9;                         // bb0[13]: scope 2 at $DIR/inline-closure-borrows-arg.rs:13:24: 13:27
2020-04-15T00:51:00.5096881Z +         _0 = (*_8);                      // bb0[14]: scope 3 at $DIR/inline-closure-borrows-arg.rs:14:9: 14:18
2020-04-15T00:51:00.5097770Z +         StorageDead(_8);                 // bb0[15]: scope 2 at $DIR/inline-closure-borrows-arg.rs:15:5: 15:6
2020-04-15T00:51:00.5098488Z +         StorageDead(_7);                 // bb0[16]: scope 1 at $DIR/inline-closure-borrows-arg.rs:16:11: 16:12
2020-04-15T00:51:00.5099209Z +         StorageDead(_6);                 // bb0[17]: scope 1 at $DIR/inline-closure-borrows-arg.rs:16:11: 16:12
2020-04-15T00:51:00.5099940Z +         StorageDead(_5);                 // bb0[18]: scope 1 at $DIR/inline-closure-borrows-arg.rs:16:11: 16:12
2020-04-15T00:51:00.5100661Z +         StorageDead(_4);                 // bb0[19]: scope 1 at $DIR/inline-closure-borrows-arg.rs:16:11: 16:12
2020-04-15T00:51:00.5101388Z +         StorageDead(_3);                 // bb0[20]: scope 0 at $DIR/inline-closure-borrows-arg.rs:17:1: 17:2
2020-04-15T00:51:00.5102578Z +         return;                          // bb0[21]: scope 0 at $DIR/inline-closure-borrows-arg.rs:17:2: 17:2
2020-04-15T00:51:00.5111988Z 54 }
2020-04-15T00:51:00.5112348Z 55 
2020-04-15T00:51:00.5112442Z 
2020-04-15T00:51:00.5112442Z 
2020-04-15T00:51:00.5114354Z thread '[mir-opt] mir-opt/inline/inline-closure-borrows-arg.rs' panicked at 'Actual MIR output differs from expected MIR output /checkout/src/test/mir-opt/inline/inline-closure-borrows-arg/rustc.foo.Inline.after.mir', src/tools/compiletest/src/runtest.rs:3159:25
2020-04-15T00:51:00.5115390Z ---- [mir-opt] mir-opt/inline/inline-closure-captures.rs stdout ----
2020-04-15T00:51:00.5115390Z ---- [mir-opt] mir-opt/inline/inline-closure-captures.rs stdout ----
2020-04-15T00:51:00.5116073Z 10     let mut _6: &[closure@foo<T>::{{closure}}#0 q:&i32, t:&T]; // in scope 0 at $DIR/inline-closure-captures.rs:12:5: 12:6
2020-04-15T00:51:00.5116908Z 11     let mut _7: (i32,);                  // in scope 0 at $DIR/inline-closure-captures.rs:12:5: 12:9
2020-04-15T00:51:00.5117532Z 12     let mut _8: i32;                     // in scope 0 at $DIR/inline-closure-captures.rs:12:7: 12:8
2020-04-15T00:51:00.5118462Z -     let mut _11: i32;                    // in scope 0 at $DIR/inline-closure-captures.rs:12:5: 12:9
2020-04-15T00:51:00.5119705Z +     let mut _10: i32;                    // in scope 0 at $DIR/inline-closure-captures.rs:12:5: 12:9
2020-04-15T00:51:00.5120510Z 15         debug x => _3;                   // in scope 1 at $DIR/inline-closure-captures.rs:11:9: 11:10
2020-04-15T00:51:00.5120791Z 16         scope 2 {
2020-04-15T00:51:00.5120899Z 
2020-04-15T00:51:00.5120899Z 
2020-04-15T00:51:00.5121408Z -             debug _q => _11;             // in scope 2 at $DIR/inline-closure-captures.rs:11:14: 11:16
2020-04-15T00:51:00.5122044Z +             debug _q => _10;             // in scope 2 at $DIR/inline-closure-captures.rs:11:14: 11:16
2020-04-15T00:51:00.5122681Z 18             debug q => (*((*_6).0: &i32)); // in scope 2 at $DIR/inline-closure-captures.rs:10:23: 10:24
2020-04-15T00:51:00.5123367Z 19             debug t => (*((*_6).1: &T)); // in scope 2 at $DIR/inline-closure-captures.rs:10:17: 10:18
2020-04-15T00:51:00.5124007Z -             let mut _9: i32;             // in scope 2 at $DIR/inline-closure-captures.rs:12:5: 12:9
2020-04-15T00:51:00.5124953Z -             let mut _10: T;              // in scope 2 at $DIR/inline-closure-captures.rs:12:5: 12:9
2020-04-15T00:51:00.5125789Z +             let mut _9: T;               // in scope 2 at $DIR/inline-closure-captures.rs:12:5: 12:9
2020-04-15T00:51:00.5126804Z 23     }
2020-04-15T00:51:00.5126943Z 24 
2020-04-15T00:51:00.5127034Z 
2020-04-15T00:51:00.5127034Z 
2020-04-15T00:51:00.5127678Z 45         StorageLive(_8);                 // bb0[11]: scope 1 at $DIR/inline-closure-captures.rs:12:7: 12:8
2020-04-15T00:51:00.5128435Z 46         _8 = _2;                         // bb0[12]: scope 1 at $DIR/inline-closure-captures.rs:12:7: 12:8
2020-04-15T00:51:00.5129208Z 47         _7 = (move _8,);                 // bb0[13]: scope 1 at $DIR/inline-closure-captures.rs:12:5: 12:9
2020-04-15T00:51:00.5130179Z -         _11 = move (_7.0: i32);          // bb0[14]: scope 1 at $DIR/inline-closure-captures.rs:12:5: 12:9
2020-04-15T00:51:00.5130981Z -         StorageLive(_9);                 // bb0[15]: scope 2 at $DIR/inline-closure-captures.rs:11:19: 11:20
2020-04-15T00:51:00.5131866Z -         _9 = (*((*_6).0: &i32));         // bb0[16]: scope 2 at $DIR/inline-closure-captures.rs:11:19: 11:20
2020-04-15T00:51:00.5132676Z -         StorageLive(_10);                // bb0[17]: scope 2 at $DIR/inline-closure-captures.rs:11:22: 11:23
2020-04-15T00:51:00.5133537Z -         _10 = (*((*_6).1: &T));          // bb0[18]: scope 2 at $DIR/inline-closure-captures.rs:11:22: 11:23
2020-04-15T00:51:00.5134258Z -         (_0.0: i32) = move _9;           // bb0[19]: scope 2 at $DIR/inline-closure-captures.rs:11:18: 11:24
2020-04-15T00:51:00.5134977Z -         (_0.1: T) = move _10;            // bb0[20]: scope 2 at $DIR/inline-closure-captures.rs:11:18: 11:24
2020-04-15T00:51:00.5135716Z -         StorageDead(_10);                // bb0[21]: scope 2 at $DIR/inline-closure-captures.rs:11:23: 11:24
2020-04-15T00:51:00.5136432Z -         StorageDead(_9);                 // bb0[22]: scope 2 at $DIR/inline-closure-captures.rs:11:23: 11:24
2020-04-15T00:51:00.5137251Z -         StorageDead(_8);                 // bb0[23]: scope 1 at $DIR/inline-closure-captures.rs:12:8: 12:9
2020-04-15T00:51:00.5137969Z -         StorageDead(_7);                 // bb0[24]: scope 1 at $DIR/inline-closure-captures.rs:12:8: 12:9
2020-04-15T00:51:00.5138666Z -         StorageDead(_6);                 // bb0[25]: scope 1 at $DIR/inline-closure-captures.rs:12:8: 12:9
2020-04-15T00:51:00.5139374Z -         StorageDead(_3);                 // bb0[26]: scope 0 at $DIR/inline-closure-captures.rs:13:1: 13:2
2020-04-15T00:51:00.5140063Z -         return;                          // bb0[27]: scope 0 at $DIR/inline-closure-captures.rs:13:2: 13:2
2020-04-15T00:51:00.5140900Z +         _10 = move (_7.0: i32);          // bb0[14]: scope 1 at $DIR/inline-closure-captures.rs:12:5: 12:9
2020-04-15T00:51:00.5141916Z +         (_0.0: i32) = (*((*_6).0: &i32)); // bb0[15]: scope 2 at $DIR/inline-closure-captures.rs:11:19: 11:20
2020-04-15T00:51:00.5142683Z +         StorageLive(_9);                 // bb0[16]: scope 2 at $DIR/inline-closure-captures.rs:11:22: 11:23
2020-04-15T00:51:00.5143556Z +         _9 = (*((*_6).1: &T));           // bb0[17]: scope 2 at $DIR/inline-closure-captures.rs:11:22: 11:23
2020-04-15T00:51:00.5144342Z +         (_0.1: T) = move _9;             // bb0[18]: scope 2 at $DIR/inline-closure-captures.rs:11:18: 11:24
2020-04-15T00:51:00.5145106Z +         StorageDead(_9);                 // bb0[19]: scope 2 at $DIR/inline-closure-captures.rs:11:23: 11:24
2020-04-15T00:51:00.5145870Z +         StorageDead(_8);                 // bb0[20]: scope 1 at $DIR/inline-closure-captures.rs:12:8: 12:9
2020-04-15T00:51:00.5146787Z +         StorageDead(_7);                 // bb0[21]: scope 1 at $DIR/inline-closure-captures.rs:12:8: 12:9
2020-04-15T00:51:00.5147546Z +         StorageDead(_6);                 // bb0[22]: scope 1 at $DIR/inline-closure-captures.rs:12:8: 12:9
2020-04-15T00:51:00.5148295Z +         StorageDead(_3);                 // bb0[23]: scope 0 at $DIR/inline-closure-captures.rs:13:1: 13:2
2020-04-15T00:51:00.5149039Z +         return;                          // bb0[24]: scope 0 at $DIR/inline-closure-captures.rs:13:2: 13:2
2020-04-15T00:51:00.5149500Z 63 }
2020-04-15T00:51:00.5149611Z 64 
2020-04-15T00:51:00.5149702Z 
2020-04-15T00:51:00.5149702Z 
2020-04-15T00:51:00.5150663Z thread '[mir-opt] mir-opt/inline/inline-closure-captures.rs' panicked at 'Actual MIR output differs from expected MIR output /checkout/src/test/mir-opt/inline/inline-closure-captures/rustc.foo.Inline.after.mir', src/tools/compiletest/src/runtest.rs:3159:25
2020-04-15T00:51:00.5151500Z ---- [mir-opt] mir-opt/inline/inline-trait-method_2.rs stdout ----
2020-04-15T00:51:00.5151500Z ---- [mir-opt] mir-opt/inline/inline-trait-method_2.rs stdout ----
2020-04-15T00:51:00.5152095Z 7     let mut _3: &dyn X;                  // in scope 0 at $DIR/inline-trait-method_2.rs:5:10: 5:11
2020-04-15T00:51:00.5152992Z 9         debug x => _2;                   // in scope 1 at $DIR/inline-trait-method_2.rs:9:9: 9:10
2020-04-15T00:51:00.5152992Z 9         debug x => _2;                   // in scope 1 at $DIR/inline-trait-method_2.rs:9:9: 9:10
2020-04-15T00:51:00.5153590Z +         let mut _4: &dyn X;              // in scope 1 at $DIR/inline-trait-method_2.rs:5:5: 5:12
2020-04-15T00:51:00.5154104Z 11 
2020-04-15T00:51:00.5154236Z 12     bb0: {
2020-04-15T00:51:00.5154362Z 
2020-04-15T00:51:00.5154362Z 
2020-04-15T00:51:00.5154896Z 15         _3 = &(*_1);                     // bb0[2]: scope 0 at $DIR/inline-trait-method_2.rs:5:10: 5:11
2020-04-15T00:51:00.5155758Z 16         _2 = move _3 as &dyn X (Pointer(Unsize)); // bb0[3]: scope 0 at $DIR/inline-trait-method_2.rs:5:10: 5:11
2020-04-15T00:51:00.5156552Z 17         StorageDead(_3);                 // bb0[4]: scope 0 at $DIR/inline-trait-method_2.rs:5:10: 5:11
2020-04-15T00:51:00.5157324Z -         _0 = const <dyn X as X>::y(move _2) -> bb1; // bb0[5]: scope 1 at $DIR/inline-trait-method_2.rs:10:5: 10:10
2020-04-15T00:51:00.5158292Z +         StorageLive(_4);                 // bb0[5]: scope 1 at $DIR/inline-trait-method_2.rs:10:5: 10:6
2020-04-15T00:51:00.5159038Z +         _4 = _2;                         // bb0[6]: scope 1 at $DIR/inline-trait-method_2.rs:10:5: 10:6
2020-04-15T00:51:00.5159760Z +         _0 = const <dyn X as X>::y(move _4) -> bb1; // bb0[7]: scope 1 at $DIR/inline-trait-method_2.rs:10:5: 10:10
2020-04-15T00:51:00.5160181Z 19                                          // ty::Const
2020-04-15T00:51:00.5160741Z 20                                          // + ty: for<'r> fn(&'r dyn X) -> bool {<dyn X as X>::y}
2020-04-15T00:51:00.5161138Z 21                                          // + val: Value(Scalar(<ZST>))
2020-04-15T00:51:00.5161439Z 25     }
2020-04-15T00:51:00.5161548Z 26 
2020-04-15T00:51:00.5161670Z 27     bb1: {
2020-04-15T00:51:00.5161670Z 27     bb1: {
2020-04-15T00:51:00.5162208Z -         StorageDead(_2);                 // bb1[0]: scope 0 at $DIR/inline-trait-method_2.rs:5:11: 5:12
2020-04-15T00:51:00.5163279Z -         return;                          // bb1[1]: scope 0 at $DIR/inline-trait-method_2.rs:6:2: 6:2
2020-04-15T00:51:00.5164011Z +         StorageDead(_4);                 // bb1[0]: scope 1 at $DIR/inline-trait-method_2.rs:10:9: 10:10
2020-04-15T00:51:00.5164711Z +         StorageDead(_2);                 // bb1[1]: scope 0 at $DIR/inline-trait-method_2.rs:5:11: 5:12
2020-04-15T00:51:00.5165908Z +         return;                          // bb1[2]: scope 0 at $DIR/inline-trait-method_2.rs:6:2: 6:2
2020-04-15T00:51:00.5166330Z 31 }
2020-04-15T00:51:00.5166429Z 32 
2020-04-15T00:51:00.5166515Z 
2020-04-15T00:51:00.5166515Z 
2020-04-15T00:51:00.5167412Z thread '[mir-opt] mir-opt/inline/inline-trait-method_2.rs' panicked at 'Actual MIR output differs from expected MIR output /checkout/src/test/mir-opt/inline/inline-trait-method_2/rustc.test2.Inline.after.mir', src/tools/compiletest/src/runtest.rs:3159:25
2020-04-15T00:51:00.5168231Z ---- [mir-opt] mir-opt/simplify-arm-identity.rs stdout ----
2020-04-15T00:51:00.5168459Z 13           scope 2 {
2020-04-15T00:51:00.5168604Z 14           }
2020-04-15T00:51:00.5168749Z 15           scope 3 {
---
2020-04-15T00:51:00.5170402Z 19   
2020-04-15T00:51:00.5170489Z 
2020-04-15T00:51:00.5170596Z 49       }
2020-04-15T00:51:00.5170727Z 50   
2020-04-15T00:51:00.5170856Z 51       bb3: {
2020-04-15T00:51:00.5171406Z -           _4 = ((_1 as Foo).0: u8);        // bb3[0]: scope 1 at $DIR/simplify-arm-identity.rs:19:18: 19:19
2020-04-15T00:51:00.5172144Z -           ((_2 as Foo).0: u8) = move _4;   // bb3[1]: scope 3 at $DIR/simplify-arm-identity.rs:19:24: 19:35
2020-04-15T00:51:00.5172875Z +           _5 = ((_1 as Foo).0: u8);        // bb3[0]: scope 1 at $DIR/simplify-arm-identity.rs:19:18: 19:19
2020-04-15T00:51:00.5173718Z +           ((_2 as Foo).0: u8) = move _5;   // bb3[1]: scope 3 at $DIR/simplify-arm-identity.rs:19:24: 19:35
2020-04-15T00:51:00.5174481Z 54           discriminant(_2) = 0;            // bb3[2]: scope 3 at $DIR/simplify-arm-identity.rs:19:24: 19:35
2020-04-15T00:51:00.5175175Z 55           goto -> bb4;                     // bb3[3]: scope 1 at $DIR/simplify-arm-identity.rs:18:18: 21:6
2020-04-15T00:51:00.5175585Z 
2020-04-15T00:51:00.5175585Z 
2020-04-15T00:51:00.5176334Z thread '[mir-opt] mir-opt/simplify-arm-identity.rs' panicked at 'Actual MIR output differs from expected MIR output /checkout/src/test/mir-opt/simplify-arm-identity/rustc.main.SimplifyArmIdentity.diff', src/tools/compiletest/src/runtest.rs:3159:25
2020-04-15T00:51:00.5177136Z ---- [mir-opt] mir-opt/simplify-locals-removes-unused-consts.rs stdout ----
2020-04-15T00:51:00.5177136Z ---- [mir-opt] mir-opt/simplify-locals-removes-unused-consts.rs stdout ----
2020-04-15T00:51:00.5177769Z 15 -     let mut _10: u8;                     // in scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:30
2020-04-15T00:51:00.5178470Z 16 -     let mut _11: Temp;                   // in scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:28
2020-04-15T00:51:00.5179179Z 17 +     let _1: ();                          // in scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:14:5: 14:22
2020-04-15T00:51:00.5179868Z - +     let _2: ();                          // in scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:16:5: 16:35
2020-04-15T00:51:00.5180559Z + +     let mut _2: ((), ());                // in scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:14:13: 14:21
2020-04-15T00:51:00.5181263Z + +     let _3: ();                          // in scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:16:5: 16:35
2020-04-15T00:51:00.5182085Z + +     let mut _4: u8;                      // in scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:34
2020-04-15T00:51:00.5182607Z 20       }
2020-04-15T00:51:00.5182730Z 21   
2020-04-15T00:51:00.5182815Z 
2020-04-15T00:51:00.5182815Z 
2020-04-15T00:51:00.5183436Z 24 -         StorageLive(_2);                 // bb0[1]: scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:13:21: 13:23
2020-04-15T00:51:00.5184236Z 25 -         _2 = const ();                   // bb0[2]: scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:13:21: 13:23
2020-04-15T00:51:00.5185018Z 26 +         StorageLive(_1);                 // bb0[0]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:5: 14:22
2020-04-15T00:51:00.5185899Z - +         _1 = const use_zst(const {transmute(()): ((), ())}) -> bb1; // bb0[1]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:5: 14:22
2020-04-15T00:51:00.5186734Z + +         StorageLive(_2);                 // bb0[1]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:13: 14:21
2020-04-15T00:51:00.5187568Z + +         _2 = const {transmute(()): ((), ())}; // bb0[2]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:13: 14:21
2020-04-15T00:51:00.5188007Z 28                                            // ty::Const
2020-04-15T00:51:00.5188429Z 29 -                                          // + ty: ()
2020-04-15T00:51:00.5188911Z 30 -                                          // + val: Value(Scalar(<ZST>))
2020-04-15T00:51:00.5189108Z 
2020-04-15T00:51:00.5189568Z 41 -                                          // + literal: Const { ty: (), val: Value(Scalar(<ZST>)) }
2020-04-15T00:51:00.5190329Z 42 -         _1 = const {transmute(()): ((), ())}; // bb0[5]: scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:13:20: 13:28
2020-04-15T00:51:00.5191131Z 43 -                                          // ty::Const
2020-04-15T00:51:00.5191577Z - -                                          // + ty: ((), ())
2020-04-15T00:51:00.5192061Z - -                                          // + val: Value(Scalar(<ZST>))
2020-04-15T00:51:00.5192539Z - -                                          // mir::Constant
2020-04-15T00:51:00.5192819Z +                                            // + ty: ((), ())
2020-04-15T00:51:00.5193128Z +                                            // + val: Value(Scalar(<ZST>))
2020-04-15T00:51:00.5193424Z +                                            // mir::Constant
2020-04-15T00:51:00.5194036Z 47 -                                          // + span: $DIR/simplify-locals-removes-unused-consts.rs:13:20: 13:28
2020-04-15T00:51:00.5194758Z 48 -                                          // + literal: Const { ty: ((), ()), val: Value(Scalar(<ZST>)) }
2020-04-15T00:51:00.5195508Z 49 -         StorageDead(_3);                 // bb0[6]: scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:13:27: 13:28
2020-04-15T00:51:00.5195822Z 
2020-04-15T00:51:00.5196390Z 50 -         StorageDead(_2);                 // bb0[7]: scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:13:27: 13:28
2020-04-15T00:51:00.5197186Z 51 -         StorageDead(_1);                 // bb0[8]: scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:13:28: 13:29
2020-04-15T00:51:00.5197965Z 52 -         StorageLive(_4);                 // bb0[9]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:5: 14:22
2020-04-15T00:51:00.5198772Z - -         StorageLive(_6);                 // bb0[10]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:14: 14:16
2020-04-15T00:51:00.5199555Z - -         _6 = const ();                   // bb0[11]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:14: 14:16
2020-04-15T00:51:00.5200329Z + -         StorageLive(_5);                 // bb0[10]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:13: 14:21
2020-04-15T00:51:00.5201135Z + -         StorageLive(_6);                 // bb0[11]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:14: 14:16
2020-04-15T00:51:00.5202066Z + -         _6 = const ();                   // bb0[12]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:14: 14:16
2020-04-15T00:51:00.5202780Z 55 -                                          // ty::Const
2020-04-15T00:51:00.5203252Z 56 -                                          // + ty: ()
2020-04-15T00:51:00.5203714Z 57 -                                          // + val: Value(Scalar(<ZST>))
2020-04-15T00:51:00.5204276Z 58 -                                          // mir::Constant
2020-04-15T00:51:00.5204276Z 58 -                                          // mir::Constant
2020-04-15T00:51:00.5205039Z 59 -                                          // + span: $DIR/simplify-locals-removes-unused-consts.rs:14:14: 14:16
2020-04-15T00:51:00.5205767Z 60 -                                          // + literal: Const { ty: (), val: Value(Scalar(<ZST>)) }
2020-04-15T00:51:00.5206519Z - -         StorageLive(_7);                 // bb0[12]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:18: 14:20
2020-04-15T00:51:00.5207302Z - -         _7 = const ();                   // bb0[13]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:18: 14:20
2020-04-15T00:51:00.5208111Z + -         StorageLive(_7);                 // bb0[13]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:18: 14:20
2020-04-15T00:51:00.5209036Z + -         _7 = const ();                   // bb0[14]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:18: 14:20
2020-04-15T00:51:00.5209789Z 63 -                                          // ty::Const
2020-04-15T00:51:00.5210264Z 64 -                                          // + ty: ()
2020-04-15T00:51:00.5210785Z 65 -                                          // + val: Value(Scalar(<ZST>))
2020-04-15T00:51:00.5211408Z 66 -                                          // mir::Constant
2020-04-15T00:51:00.5211408Z 66 -                                          // mir::Constant
2020-04-15T00:51:00.5212067Z 67 -                                          // + span: $DIR/simplify-locals-removes-unused-consts.rs:14:18: 14:20
2020-04-15T00:51:00.5212822Z 68 -                                          // + literal: Const { ty: (), val: Value(Scalar(<ZST>)) }
2020-04-15T00:51:00.5213658Z - -         StorageDead(_7);                 // bb0[14]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:20: 14:21
2020-04-15T00:51:00.5214535Z - -         StorageDead(_6);                 // bb0[15]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:20: 14:21
2020-04-15T00:51:00.5215495Z - -         _4 = const use_zst(const {transmute(()): ((), ())}) -> bb1; // bb0[16]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:5: 14:22
2020-04-15T00:51:00.5216701Z + -         _5 = const {transmute(()): ((), ())}; // bb0[15]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:13: 14:21
2020-04-15T00:51:00.5217303Z 72 -                                          // ty::Const
2020-04-15T00:51:00.5217741Z + -                                          // + ty: ((), ())
2020-04-15T00:51:00.5218213Z + -                                          // + val: Value(Scalar(<ZST>))
2020-04-15T00:51:00.5218682Z + -                                          // mir::Constant
2020-04-15T00:51:00.5219333Z +                                            // + span: $DIR/simplify-locals-removes-unused-consts.rs:14:13: 14:21
2020-04-15T00:51:00.5219841Z +                                            // + literal: Const { ty: ((), ()), val: Value(Scalar(<ZST>)) }
2020-04-15T00:51:00.5220603Z + -         StorageDead(_7);                 // bb0[16]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:20: 14:21
2020-04-15T00:51:00.5221407Z + -         StorageDead(_6);                 // bb0[17]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:20: 14:21
2020-04-15T00:51:00.5222193Z + -         _4 = const use_zst(move _5) -> bb1; // bb0[18]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:5: 14:22
2020-04-15T00:51:00.5222984Z + +         _1 = const use_zst(move _2) -> bb1; // bb0[3]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:5: 14:22
2020-04-15T00:51:00.5223408Z +                                            // ty::Const
2020-04-15T00:51:00.5223795Z 73                                            // + ty: fn(((), ())) {use_zst}
2020-04-15T00:51:00.5224190Z 74                                            // + val: Value(Scalar(<ZST>))
2020-04-15T00:51:00.5224675Z 
2020-04-15T00:51:00.5224675Z 
2020-04-15T00:51:00.5225593Z 76                                            // + span: $DIR/simplify-locals-removes-unused-consts.rs:14:5: 14:12
2020-04-15T00:51:00.5226158Z 77                                            // + literal: Const { ty: fn(((), ())) {use_zst}, val: Value(Scalar(<ZST>)) }
2020-04-15T00:51:00.5226740Z -                                            // ty::Const
2020-04-15T00:51:00.5227187Z -                                            // + ty: ((), ())
2020-04-15T00:51:00.5227668Z -                                            // + val: Value(Scalar(<ZST>))
2020-04-15T00:51:00.5228123Z -                                            // mir::Constant
2020-04-15T00:51:00.5228740Z -                                            // + span: $DIR/simplify-locals-removes-unused-consts.rs:14:13: 14:21
2020-04-15T00:51:00.5229449Z -                                            // + literal: Const { ty: ((), ()), val: Value(Scalar(<ZST>)) }
2020-04-15T00:51:00.5230045Z 85   
2020-04-15T00:51:00.5230175Z 86       bb1: {
2020-04-15T00:51:00.5230281Z 
2020-04-15T00:51:00.5230281Z 
2020-04-15T00:51:00.5230873Z - -         StorageDead(_4);                 // bb1[0]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:22: 14:23
2020-04-15T00:51:00.5231806Z - -         StorageLive(_8);                 // bb1[1]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:5: 16:35
2020-04-15T00:51:00.5232646Z - -         StorageLive(_10);                // bb1[2]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:30
2020-04-15T00:51:00.5233500Z - -         StorageLive(_11);                // bb1[3]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:28
2020-04-15T00:51:00.5234517Z - -         _11 = const {transmute(0x28): Temp}; // bb1[4]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:28
2020-04-15T00:51:00.5235499Z - +         StorageDead(_1);                 // bb1[0]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:22: 14:23
2020-04-15T00:51:00.5236381Z - +         StorageLive(_2);                 // bb1[1]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:5: 16:35
2020-04-15T00:51:00.5237379Z - +         _2 = const use_u8(const 42u8) -> bb2; // bb1[2]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:5: 16:35
2020-04-15T00:51:00.5238324Z + -         StorageDead(_5);                 // bb1[0]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:21: 14:22
2020-04-15T00:51:00.5239113Z + -         StorageDead(_4);                 // bb1[1]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:22: 14:23
2020-04-15T00:51:00.5240052Z + -         StorageLive(_8);                 // bb1[2]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:5: 16:35
2020-04-15T00:51:00.5240901Z + -         StorageLive(_9);                 // bb1[3]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:34
2020-04-15T00:51:00.5241732Z + -         StorageLive(_10);                // bb1[4]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:30
2020-04-15T00:51:00.5242580Z + -         StorageLive(_11);                // bb1[5]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:28
2020-04-15T00:51:00.5243530Z + -         _11 = const {transmute(0x28): Temp}; // bb1[6]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:28
2020-04-15T00:51:00.5244340Z + +         StorageDead(_2);                 // bb1[0]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:21: 14:22
2020-04-15T00:51:00.5245447Z + +         StorageDead(_1);                 // bb1[1]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:14:22: 14:23
2020-04-15T00:51:00.5246414Z + +         StorageLive(_3);                 // bb1[2]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:5: 16:35
2020-04-15T00:51:00.5247266Z + +         StorageLive(_4);                 // bb1[3]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:34
2020-04-15T00:51:00.5248102Z + +         _4 = const 42u8;                 // bb1[4]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:34
2020-04-15T00:51:00.5248504Z 95                                            // ty::Const
2020-04-15T00:51:00.5248925Z 96 -                                          // + ty: Temp
2020-04-15T00:51:00.5249409Z 97 -                                          // + val: Value(Scalar(0x28))
2020-04-15T00:51:00.5249956Z 98 -                                          // mir::Constant
2020-04-15T00:51:00.5249956Z 98 -                                          // mir::Constant
2020-04-15T00:51:00.5250728Z 99 -                                          // + span: $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:28
2020-04-15T00:51:00.5251484Z 100 -                                          // + literal: Const { ty: Temp, val: Value(Scalar(0x28)) }
2020-04-15T00:51:00.5252270Z - -         _10 = const 40u8;                // bb1[5]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:30
2020-04-15T00:51:00.5253122Z + -         _10 = const 40u8;                // bb1[7]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:30
2020-04-15T00:51:00.5253737Z 102 -                                          // ty::Const
2020-04-15T00:51:00.5254838Z - -                                          // + ty: u8
2020-04-15T00:51:00.5255323Z +                                            // + ty: u8
2020-04-15T00:51:00.5255883Z 104 -                                          // + val: Value(Scalar(0x28))
2020-04-15T00:51:00.5256395Z 105 -                                          // mir::Constant
2020-04-15T00:51:00.5257062Z 106 -                                          // + span: $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:30
2020-04-15T00:51:00.5257548Z 
2020-04-15T00:51:00.5258210Z 107 -                                          // + literal: Const { ty: u8, val: Value(Scalar(0x28)) }
2020-04-15T00:51:00.5258968Z - -         StorageDead(_10);                // bb1[6]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:33: 16:34
2020-04-15T00:51:00.5259769Z - -         _8 = const use_u8(const 42u8) -> bb2; // bb1[7]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:5: 16:35
2020-04-15T00:51:00.5260555Z + -         _9 = const 42u8;                 // bb1[8]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:34
2020-04-15T00:51:00.5261150Z 110 -                                          // ty::Const
2020-04-15T00:51:00.5261569Z + -                                          // + ty: u8
2020-04-15T00:51:00.5261852Z +                                            // + val: Value(Scalar(0x2a))
2020-04-15T00:51:00.5262164Z +                                            // mir::Constant
2020-04-15T00:51:00.5262776Z +                                            // + span: $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:34
2020-04-15T00:51:00.5263271Z +                                            // + literal: Const { ty: u8, val: Value(Scalar(0x2a)) }
2020-04-15T00:51:00.5264003Z + -         StorageDead(_10);                // bb1[9]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:33: 16:34
2020-04-15T00:51:00.5265462Z + -         _8 = const use_u8(move _9) -> bb2; // bb1[10]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:5: 16:35
2020-04-15T00:51:00.5266450Z + +         _3 = const use_u8(move _4) -> bb2; // bb1[5]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:5: 16:35
2020-04-15T00:51:00.5266926Z +                                            // ty::Const
2020-04-15T00:51:00.5267253Z 111                                            // + ty: fn(u8) {use_u8}
2020-04-15T00:51:00.5267638Z 112                                            // + val: Value(Scalar(<ZST>))
2020-04-15T00:51:00.5268448Z 
2020-04-15T00:51:00.5268448Z 
2020-04-15T00:51:00.5269142Z 114                                            // + span: $DIR/simplify-locals-removes-unused-consts.rs:16:5: 16:11
2020-04-15T00:51:00.5269700Z 115                                            // + literal: Const { ty: fn(u8) {use_u8}, val: Value(Scalar(<ZST>)) }
2020-04-15T00:51:00.5270324Z -                                            // ty::Const
2020-04-15T00:51:00.5270870Z -                                            // + ty: u8
2020-04-15T00:51:00.5271336Z -                                            // + val: Value(Scalar(0x2a))
2020-04-15T00:51:00.5271801Z -                                            // mir::Constant
2020-04-15T00:51:00.5272423Z -                                            // + span: $DIR/simplify-locals-removes-unused-consts.rs:16:12: 16:34
2020-04-15T00:51:00.5273098Z -                                            // + literal: Const { ty: u8, val: Value(Scalar(0x2a)) }
2020-04-15T00:51:00.5273529Z 123   
2020-04-15T00:51:00.5273666Z 124       bb2: {
2020-04-15T00:51:00.5273775Z 
2020-04-15T00:51:00.5273775Z 
2020-04-15T00:51:00.5274333Z - -         StorageDead(_11);                // bb2[0]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:35: 16:36
2020-04-15T00:51:00.5275140Z - -         StorageDead(_8);                 // bb2[1]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:35: 16:36
2020-04-15T00:51:00.5275914Z - -         return;                          // bb2[2]: scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:17:2: 17:2
2020-04-15T00:51:00.5276705Z - +         StorageDead(_2);                 // bb2[0]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:35: 16:36
2020-04-15T00:51:00.5277478Z - +         return;                          // bb2[1]: scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:17:2: 17:2
2020-04-15T00:51:00.5278259Z + -         StorageDead(_9);                 // bb2[0]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:34: 16:35
2020-04-15T00:51:00.5279062Z + -         StorageDead(_11);                // bb2[1]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:35: 16:36
2020-04-15T00:51:00.5279846Z + -         StorageDead(_8);                 // bb2[2]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:35: 16:36
2020-04-15T00:51:00.5280634Z + -         return;                          // bb2[3]: scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:17:2: 17:2
2020-04-15T00:51:00.5281419Z + +         StorageDead(_4);                 // bb2[0]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:34: 16:35
2020-04-15T00:51:00.5282203Z + +         StorageDead(_3);                 // bb2[1]: scope 1 at $DIR/simplify-locals-removes-unused-consts.rs:16:35: 16:36
2020-04-15T00:51:00.5283000Z + +         return;                          // bb2[2]: scope 0 at $DIR/simplify-locals-removes-unused-consts.rs:17:2: 17:2
2020-04-15T00:51:00.5283470Z 131   }
2020-04-15T00:51:00.5283597Z 132   
2020-04-15T00:51:00.5283686Z 
2020-04-15T00:51:00.5283686Z 
2020-04-15T00:51:00.5284497Z thread '[mir-opt] mir-opt/simplify-locals-removes-unused-consts.rs' panicked at 'Actual MIR output differs from expected MIR output /checkout/src/test/mir-opt/simplify-locals-removes-unused-consts/rustc.main.SimplifyLocals.diff', src/tools/compiletest/src/runtest.rs:3159:25
2020-04-15T00:51:00.5285523Z ---- [mir-opt] mir-opt/simplify-locals-removes-unused-discriminant-reads.rs stdout ----
2020-04-15T00:51:00.5286159Z 5       debug x => _1;                       // in scope 0 at $DIR/simplify-locals-removes-unused-discriminant-reads.rs:1:8: 1:9
2020-04-15T00:51:00.5286159Z 5       debug x => _1;                       // in scope 0 at $DIR/simplify-locals-removes-unused-discriminant-reads.rs:1:8: 1:9
2020-04-15T00:51:00.5286983Z 6       let mut _0: std::option::Option<std::boxed::Box<()>>; // return place in scope 0 at $DIR/simplify-locals-removes-unused-discriminant-reads.rs:1:31: 1:46
2020-04-15T00:51:00.5287773Z 7       let mut _2: isize;                   // in scope 0 at $DIR/simplify-locals-removes-unused-discriminant-reads.rs:3:9: 3:13
2020-04-15T00:51:00.5288706Z -       let _3: std::boxed::Box<()>;         // in scope 0 at $DIR/simplify-locals-removes-unused-discriminant-reads.rs:4:14: 4:15
2020-04-15T00:51:00.5289518Z + -     let _3: std::boxed::Box<()>;         // in scope 0 at $DIR/simplify-locals-removes-unused-discriminant-reads.rs:4:14: 4:15
2020-04-15T00:51:00.5290268Z 9 -     let mut _4: std::boxed::Box<()>;     // in scope 0 at $DIR/simplify-locals-removes-unused-discriminant-reads.rs:4:25: 4:26
2020-04-15T00:51:00.5291023Z 10 -     let mut _5: isize;                   // in scope 0 at $DIR/simplify-locals-removes-unused-discriminant-reads.rs:6:1: 6:2
2020-04-15T00:51:00.5291752Z 11 -     let mut _6: isize;                   // in scope 0 at $DIR/simplify-locals-removes-unused-discriminant-reads.rs:6:1: 6:2
2020-04-15T00:51:00.5292038Z 
2020-04-15T00:51:00.5292572Z + +     let mut _3: std::boxed::Box<()>;     // in scope 0 at $DIR/simplify-locals-removes-unused-discriminant-reads.rs:4:25: 4:26
2020-04-15T00:51:00.5293478Z -           debug x => _3;                   // in scope 1 at $DIR/simplify-locals-removes-unused-discriminant-reads.rs:4:14: 4:15
2020-04-15T00:51:00.5294215Z + -         debug x => _4;                   // in scope 1 at $DIR/simplify-locals-removes-unused-discriminant-reads.rs:4:14: 4:15
2020-04-15T00:51:00.5294934Z + +         debug x => _3;                   // in scope 1 at $DIR/simplify-locals-removes-unused-discriminant-reads.rs:4:14: 4:15
2020-04-15T00:51:00.5295242Z 14       }
2020-04-15T00:51:00.5295242Z 14       }
2020-04-15T00:51:00.5295374Z 15   
2020-04-15T00:51:00.5295503Z 16       bb0: {
2020-04-15T00:51:00.5295610Z 
2020-04-15T00:51:00.5296474Z thread '[mir-opt] mir-opt/simplify-locals-removes-unused-discriminant-reads.rs' panicked at 'Actual MIR output differs from expected MIR output /checkout/src/test/mir-opt/simplify-locals-removes-unused-discriminant-reads/rustc.map.SimplifyLocals.diff', src/tools/compiletest/src/runtest.rs:3159:25
2020-04-15T00:51:00.5297309Z ---- [mir-opt] mir-opt/simplify_match.rs stdout ----
2020-04-15T00:51:00.5297309Z ---- [mir-opt] mir-opt/simplify_match.rs stdout ----
2020-04-15T00:51:00.5297632Z 6       let mut _1: bool;                    // in scope 0 at $DIR/simplify_match.rs:6:11: 6:31
2020-04-15T00:51:00.5298037Z 7       let _2: bool;                        // in scope 0 at $DIR/simplify_match.rs:6:17: 6:18
2020-04-15T00:51:00.5298761Z -           debug x => _2;                   // in scope 1 at $DIR/simplify_match.rs:6:17: 6:18
2020-04-15T00:51:00.5299149Z +           debug x => _1;                   // in scope 1 at $DIR/simplify_match.rs:6:17: 6:18
2020-04-15T00:51:00.5299397Z 10       }
2020-04-15T00:51:00.5299512Z 11   
2020-04-15T00:51:00.5299512Z 11   
2020-04-15T00:51:00.5299656Z 12       bb0: {
2020-04-15T00:51:00.5299763Z 
2020-04-15T00:51:00.5300040Z 13           nop;                             // bb0[0]: scope 0 at $DIR/simplify_match.rs:6:11: 6:31
2020-04-15T00:51:00.5300511Z 14           nop;                             // bb0[1]: scope 0 at $DIR/simplify_match.rs:6:17: 6:18
2020-04-15T00:51:00.5301165Z -           nop;                             // bb0[2]: scope 0 at $DIR/simplify_match.rs:6:21: 6:26
2020-04-15T00:51:00.5301606Z +           _1 = const false;                // bb0[2]: scope 0 at $DIR/simplify_match.rs:6:21: 6:26
2020-04-15T00:51:00.5301967Z +                                            // ty::Const
2020-04-15T00:51:00.5302220Z +                                            // + ty: bool
2020-04-15T00:51:00.5302504Z +                                            // + val: Value(Scalar(0x00))
2020-04-15T00:51:00.5302821Z +                                            // mir::Constant
2020-04-15T00:51:00.5303155Z +                                            // + span: $DIR/simplify_match.rs:6:21: 6:26
2020-04-15T00:51:00.5303583Z +                                            // + literal: Const { ty: bool, val: Value(Scalar(0x00)) }
2020-04-15T00:51:00.5304049Z 16           nop;                             // bb0[3]: scope 1 at $DIR/simplify_match.rs:6:28: 6:29
2020-04-15T00:51:00.5304612Z 17           nop;                             // bb0[4]: scope 0 at $DIR/simplify_match.rs:6:30: 6:31
2020-04-15T00:51:00.5305386Z - -         switchInt(const false) -> [false: bb1, otherwise: bb2]; // bb0[5]: scope 0 at $DIR/simplify_match.rs:7:9: 7:13
2020-04-15T00:51:00.5305981Z - -                                          // ty::Const
2020-04-15T00:51:00.5306402Z - -                                          // + ty: bool
2020-04-15T00:51:00.5306884Z - -                                          // + val: Value(Scalar(0x00))
2020-04-15T00:51:00.5307348Z - -                                          // mir::Constant
2020-04-15T00:51:00.5307870Z - -                                          // + span: $DIR/simplify_match.rs:6:21: 6:26
2020-04-15T00:51:00.5308518Z - -                                          // + literal: Const { ty: bool, val: Value(Scalar(0x00)) }
2020-04-15T00:51:00.5309171Z - +         goto -> bb1;                     // bb0[5]: scope 0 at $DIR/simplify_match.rs:7:9: 7:13
2020-04-15T00:51:00.5309862Z +           switchInt(_1) -> [false: bb1, otherwise: bb2]; // bb0[5]: scope 0 at $DIR/simplify_match.rs:7:9: 7:13
2020-04-15T00:51:00.5310318Z 27   
2020-04-15T00:51:00.5310446Z 28       bb1: {
2020-04-15T00:51:00.5310553Z 
2020-04-15T00:51:00.5310553Z 
2020-04-15T00:51:00.5311329Z thread '[mir-opt] mir-opt/simplify_match.rs' panicked at 'Actual MIR output differs from expected MIR output /checkout/src/test/mir-opt/simplify_match/rustc.main.SimplifyBranches-after-copy-prop.diff', src/tools/compiletest/src/runtest.rs:3159:25
2020-04-15T00:51:00.5312213Z ---- [mir-opt] mir-opt/simplify_try.rs stdout ----
2020-04-15T00:51:00.5312213Z ---- [mir-opt] mir-opt/simplify_try.rs stdout ----
2020-04-15T00:51:00.5312560Z 15       let _10: u32;                        // in scope 0 at $DIR/simplify_try.rs:6:13: 6:15
2020-04-15T00:51:00.5312971Z 16       let mut _11: u32;                    // in scope 0 at $DIR/simplify_try.rs:7:8: 7:9
2020-04-15T00:51:00.5313753Z -           debug y => _10;                  // in scope 1 at $DIR/simplify_try.rs:6:9: 6:10
2020-04-15T00:51:00.5314149Z +           debug y => _11;                  // in scope 1 at $DIR/simplify_try.rs:6:9: 6:10
2020-04-15T00:51:00.5314406Z 19       }
2020-04-15T00:51:00.5314563Z 20       scope 2 {
2020-04-15T00:51:00.5314563Z 20       scope 2 {
2020-04-15T00:51:00.5315050Z -           debug err => _6;                 // in scope 2 at $DIR/simplify_try.rs:6:14: 6:15
2020-04-15T00:51:00.5315533Z +           debug err => _8;                 // in scope 2 at $DIR/simplify_try.rs:6:14: 6:15
2020-04-15T00:51:00.5315809Z 22           scope 3 {
2020-04-15T00:51:00.5315970Z 23               scope 7 {
2020-04-15T00:51:00.5316440Z -                   debug t => _6;           // in scope 7 at $SRC_DIR/libcore/convert/mod.rs:LL:COL
2020-04-15T00:51:00.5316833Z +                   debug t => _8;           // in scope 7 at $SRC_DIR/libcore/convert/mod.rs:LL:COL
2020-04-15T00:51:00.5317250Z 26               scope 8 {
2020-04-15T00:51:00.5317250Z 26               scope 8 {
2020-04-15T00:51:00.5317731Z -                   debug v => _6;           // in scope 8 at $SRC_DIR/libcore/result.rs:LL:COL
2020-04-15T00:51:00.5318357Z -                   let mut _12: i32;        // in scope 8 at $DIR/simplify_try.rs:6:14: 6:15
2020-04-15T00:51:00.5318739Z +                   debug v => _8;           // in scope 8 at $SRC_DIR/libcore/result.rs:LL:COL
2020-04-15T00:51:00.5319144Z 30           }
2020-04-15T00:51:00.5319272Z 31       }
2020-04-15T00:51:00.5319382Z 
2020-04-15T00:51:00.5319501Z 32       scope 4 {
2020-04-15T00:51:00.5319501Z 32       scope 4 {
2020-04-15T00:51:00.5319956Z -           debug val => _10;                // in scope 4 at $DIR/simplify_try.rs:6:13: 6:15
2020-04-15T00:51:00.5320338Z +           debug val => _11;                // in scope 4 at $DIR/simplify_try.rs:6:13: 6:15
2020-04-15T00:51:00.5320597Z 34           scope 5 {
2020-04-15T00:51:00.5320741Z 35           }
2020-04-15T00:51:00.5320950Z 36       }
2020-04-15T00:51:00.5321058Z 
2020-04-15T00:51:00.5321177Z 37       scope 6 {
2020-04-15T00:51:00.5321725Z -           debug self => _1;                // in scope 6 at $SRC_DIR/libcore/result.rs:LL:COL
2020-04-15T00:51:00.5322101Z +           debug self => _4;                // in scope 6 at $SRC_DIR/libcore/result.rs:LL:COL
2020-04-15T00:51:00.5322444Z 40   
2020-04-15T00:51:00.5322585Z 41       bb0: {
2020-04-15T00:51:00.5322688Z 
2020-04-15T00:51:00.5322688Z 
2020-04-15T00:51:00.5323188Z -           _5 = discriminant(_1);           // bb0[0]: scope 0 at $DIR/simplify_try.rs:6:14: 6:15
2020-04-15T00:51:00.5323897Z -           switchInt(move _5) -> [0isize: bb1, otherwise: bb2]; // bb0[1]: scope 0 at $DIR/simplify_try.rs:6:14: 6:15
2020-04-15T00:51:00.5324408Z +           StorageLive(_3);                 // bb0[0]: scope 0 at $DIR/simplify_try.rs:6:13: 6:15
2020-04-15T00:51:00.5324958Z +           StorageLive(_4);                 // bb0[1]: scope 0 at $DIR/simplify_try.rs:6:13: 6:14
2020-04-15T00:51:00.5325418Z +           _4 = _1;                         // bb0[2]: scope 0 at $DIR/simplify_try.rs:6:13: 6:14
2020-04-15T00:51:00.5325862Z +           _3 = move _4;                    // bb0[3]: scope 6 at $SRC_DIR/libcore/result.rs:LL:COL
2020-04-15T00:51:00.5326293Z +           StorageDead(_4);                 // bb0[4]: scope 0 at $DIR/simplify_try.rs:6:14: 6:15
2020-04-15T00:51:00.5326743Z +           _5 = discriminant(_3);           // bb0[5]: scope 0 at $DIR/simplify_try.rs:6:14: 6:15
2020-04-15T00:51:00.5327485Z +           switchInt(move _5) -> [0isize: bb1, otherwise: bb2]; // bb0[6]: scope 0 at $DIR/simplify_try.rs:6:14: 6:15
2020-04-15T00:51:00.5327950Z 45   
2020-04-15T00:51:00.5328078Z 46       bb1: {
2020-04-15T00:51:00.5328184Z 
2020-04-15T00:51:00.5328184Z 
2020-04-15T00:51:00.5328674Z - -         _10 = ((_1 as Ok).0: u32);       // bb1[0]: scope 0 at $DIR/simplify_try.rs:6:13: 6:15
2020-04-15T00:51:00.5329351Z - -         ((_0 as Ok).0: u32) = move _10;  // bb1[1]: scope 1 at $DIR/simplify_try.rs:7:5: 7:10
2020-04-15T00:51:00.5330003Z - -         discriminant(_0) = 0;            // bb1[2]: scope 1 at $DIR/simplify_try.rs:7:5: 7:10
2020-04-15T00:51:00.5330652Z - +         _0 = move _1;                    // bb1[0]: scope 1 at $DIR/simplify_try.rs:7:5: 7:10
2020-04-15T00:51:00.5331277Z - +         nop;                             // bb1[1]: scope 1 at $DIR/simplify_try.rs:7:5: 7:10
2020-04-15T00:51:00.5331905Z - +         nop;                             // bb1[2]: scope 1 at $DIR/simplify_try.rs:7:5: 7:10
2020-04-15T00:51:00.5332543Z -           goto -> bb3;                     // bb1[3]: scope 0 at $DIR/simplify_try.rs:8:2: 8:2
2020-04-15T00:51:00.5332991Z +           _11 = ((_3 as Ok).0: u32);       // bb1[0]: scope 0 at $DIR/simplify_try.rs:6:13: 6:15
2020-04-15T00:51:00.5333441Z +           StorageDead(_3);                 // bb1[1]: scope 0 at $DIR/simplify_try.rs:6:15: 6:16
2020-04-15T00:51:00.5333899Z +           ((_0 as Ok).0: u32) = move _11;  // bb1[2]: scope 1 at $DIR/simplify_try.rs:7:5: 7:10
2020-04-15T00:51:00.5334348Z +           discriminant(_0) = 0;            // bb1[3]: scope 1 at $DIR/simplify_try.rs:7:5: 7:10
2020-04-15T00:51:00.5334984Z +           goto -> bb3;                     // bb1[4]: scope 0 at $DIR/simplify_try.rs:8:2: 8:2
2020-04-15T00:51:00.5335393Z 55   
2020-04-15T00:51:00.5335521Z 56       bb2: {
2020-04-15T00:51:00.5335643Z 
2020-04-15T00:51:00.5335643Z 
2020-04-15T00:51:00.5336134Z - -         _6 = ((_1 as Err).0: i32);       // bb2[0]: scope 0 at $DIR/simplify_try.rs:6:14: 6:15
2020-04-15T00:51:00.5336798Z - -         ((_0 as Err).0: i32) = move _6;  // bb2[1]: scope 8 at $SRC_DIR/libcore/result.rs:LL:COL
2020-04-15T00:51:00.5337458Z - -         discriminant(_0) = 1;            // bb2[2]: scope 8 at $SRC_DIR/libcore/result.rs:LL:COL
2020-04-15T00:51:00.5338076Z - +         _0 = move _1;                    // bb2[0]: scope 8 at $SRC_DIR/libcore/result.rs:LL:COL
2020-04-15T00:51:00.5338696Z - +         nop;                             // bb2[1]: scope 8 at $SRC_DIR/libcore/result.rs:LL:COL
2020-04-15T00:51:00.5339564Z - +         nop;                             // bb2[2]: scope 8 at $SRC_DIR/libcore/result.rs:LL:COL
2020-04-15T00:51:00.5340231Z -           goto -> bb3;                     // bb2[3]: scope 0 at $DIR/simplify_try.rs:6:14: 6:15
2020-04-15T00:51:00.5340683Z +           _8 = ((_3 as Err).0: i32);       // bb2[0]: scope 0 at $DIR/simplify_try.rs:6:14: 6:15
2020-04-15T00:51:00.5341157Z +           ((_0 as Err).0: i32) = move _8;  // bb2[1]: scope 8 at $SRC_DIR/libcore/result.rs:LL:COL
2020-04-15T00:51:00.5341600Z +           discriminant(_0) = 1;            // bb2[2]: scope 8 at $SRC_DIR/libcore/result.rs:LL:COL
2020-04-15T00:51:00.5342046Z +           StorageDead(_3);                 // bb2[3]: scope 0 at $DIR/simplify_try.rs:6:15: 6:16
2020-04-15T00:51:00.5342686Z +           goto -> bb3;                     // bb2[4]: scope 0 at $DIR/simplify_try.rs:6:14: 6:15
2020-04-15T00:51:00.5343098Z 65   
2020-04-15T00:51:00.5343226Z 66       bb3: {
2020-04-15T00:51:00.5343331Z 
2020-04-15T00:51:00.5343331Z 
2020-04-15T00:51:00.5344072Z thread '[mir-opt] mir-opt/simplify_try.rs' panicked at 'Actual MIR output differs from expected MIR output /checkout/src/test/mir-opt/simplify_try/rustc.try_identity.SimplifyArmIdentity.diff', src/tools/compiletest/src/runtest.rs:3159:25
2020-04-15T00:51:00.5344575Z 
2020-04-15T00:51:00.5344685Z failures:
2020-04-15T00:51:00.5345009Z     [mir-opt] mir-opt/const_allocation.rs
2020-04-15T00:51:00.5345384Z     [mir-opt] mir-opt/const_allocation2.rs
---
2020-04-15T00:51:00.5350524Z 
2020-04-15T00:51:00.5350932Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:348:22
2020-04-15T00:51:00.5351152Z 
2020-04-15T00:51:00.5351231Z 
2020-04-15T00:51:00.5354314Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/mir-opt" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/mir-opt" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "mir-opt" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-7/bin/FileCheck" "--nodejs" "/usr/bin/node" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "7.0.0" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2020-04-15T00:51:00.5356582Z 
2020-04-15T00:51:00.5356673Z 
2020-04-15T00:51:00.5357134Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --exclude src/tools/tidy
2020-04-15T00:51:00.5357452Z Build completed unsuccessfully in 1:01:18
2020-04-15T00:51:00.5357452Z Build completed unsuccessfully in 1:01:18
2020-04-15T00:51:00.5357653Z == clock drift check ==
2020-04-15T00:51:00.5357852Z   local time: Wed Apr 15 00:51:00 UTC 2020
2020-04-15T00:51:00.5753537Z   network time: Wed, 15 Apr 2020 00:51:00 GMT
2020-04-15T00:51:02.7673874Z 
2020-04-15T00:51:02.7673874Z 
2020-04-15T00:51:02.7750337Z ##[error]Bash exited with code '1'.
2020-04-15T00:51:02.7769518Z ##[section]Finishing: Run build
2020-04-15T00:51:02.7861239Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71003/merge to s
2020-04-15T00:51:02.7866952Z Task         : Get sources
2020-04-15T00:51:02.7867269Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-15T00:51:02.7867560Z Version      : 1.0.0
2020-04-15T00:51:02.7867787Z Author       : Microsoft
2020-04-15T00:51:02.7867787Z Author       : Microsoft
2020-04-15T00:51:02.7868224Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-04-15T00:51:02.7868714Z ==============================================================================
2020-04-15T00:51:03.1122363Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-04-15T00:51:03.1161405Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/71003/merge to s
2020-04-15T00:51:03.1245400Z Cleaning up task key
2020-04-15T00:51:03.1246548Z Start cleaning up orphan processes.
2020-04-15T00:51:03.1419902Z Terminate orphan process: pid (5826) (python)
2020-04-15T00:51:03.1564657Z ##[section]Finishing: Finalize Job

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 Apr 15, 2020

☀️ Try build successful - checks-azure
Build commit: f7f520c3eaac507bffefad8b932af835ed31a2b5 (f7f520c3eaac507bffefad8b932af835ed31a2b5)

@rust-timer
Copy link
Collaborator

Queued f7f520c3eaac507bffefad8b932af835ed31a2b5 with parent edc0258, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit f7f520c3eaac507bffefad8b932af835ed31a2b5, comparison URL.

@jonas-schievink
Copy link
Contributor Author

Well that's marginally less disastrous, but I've expected the optimization to make more of a difference. Maybe the expensive part is walking the CFG.

Now let's actually only run it on rustc

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion

@bors
Copy link
Contributor

bors commented Apr 15, 2020

⌛ Trying commit 2650c3a with merge d601b3227e7cb970a7dbdb29498252d6c133701a...

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-7 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.
2020-04-15T10:19:28.4893788Z ========================== Starting Command Output ===========================
2020-04-15T10:19:28.4896606Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/db4a5bb7-b715-4b73-b5b8-13b5823fdc1b.sh
2020-04-15T10:19:28.4896905Z 
2020-04-15T10:19:28.4901070Z ##[section]Finishing: Disable git automatic line ending conversion
2020-04-15T10:19:28.4922211Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71003/merge to s
2020-04-15T10:19:28.4925632Z Task         : Get sources
2020-04-15T10:19:28.4925934Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-15T10:19:28.4926248Z Version      : 1.0.0
2020-04-15T10:19:28.4926450Z Author       : Microsoft
---
2020-04-15T10:19:29.4901162Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-04-15T10:19:29.4907299Z ##[command]git config gc.auto 0
2020-04-15T10:19:29.4911377Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-04-15T10:19:29.4917161Z ##[command]git config --get-all http.proxy
2020-04-15T10:19:29.4924028Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/71003/merge:refs/remotes/pull/71003/merge
---
2020-04-15T10:21:51.8536461Z  ---> f58a2bb1e753
2020-04-15T10:21:51.8537408Z Step 5/8 : ENV RUST_CONFIGURE_ARGS       --build=x86_64-unknown-linux-gnu       --llvm-root=/usr/lib/llvm-7       --enable-llvm-link-shared       --set rust.thin-lto-import-instr-limit=10
2020-04-15T10:21:51.8538065Z  ---> Using cache
2020-04-15T10:21:51.8538449Z  ---> d079cc6b6db8
2020-04-15T10:21:51.8539483Z Step 6/8 : ENV SCRIPT python2.7 ../x.py test --exclude src/tools/tidy &&            python2.7 ../x.py test src/test/mir-opt --pass=build                                   --target=armv5te-unknown-linux-gnueabi &&            python2.7 ../x.py test src/tools/tidy
2020-04-15T10:21:51.8541670Z  ---> 4183ca46ee56
2020-04-15T10:21:51.8541926Z Step 7/8 : ENV NO_DEBUG_ASSERTIONS=1
2020-04-15T10:21:51.8542371Z  ---> Using cache
2020-04-15T10:21:51.8542753Z  ---> 69e7f8a2a2fb
---
2020-04-15T10:21:51.8947814Z Looks like docker image is the same as before, not uploading
2020-04-15T10:21:59.4016314Z [CI_JOB_NAME=x86_64-gnu-llvm-7]
2020-04-15T10:21:59.4301503Z [CI_JOB_NAME=x86_64-gnu-llvm-7]
2020-04-15T10:21:59.4322366Z == clock drift check ==
2020-04-15T10:21:59.4334768Z   local time: Wed Apr 15 10:21:59 UTC 2020
2020-04-15T10:21:59.7432958Z   network time: Wed, 15 Apr 2020 10:21:59 GMT
2020-04-15T10:21:59.7462449Z Starting sccache server...
2020-04-15T10:21:59.8416931Z configure: processing command line
2020-04-15T10:21:59.8417203Z configure: 
2020-04-15T10:21:59.8418166Z configure: rust.dist-src        := False
---
2020-04-15T10:27:39.5200917Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-15T10:27:41.1572967Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-15T10:27:42.8987198Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-15T10:27:44.7578213Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-15T10:27:54.1766051Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-15T10:27:57.3922535Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-15T10:28:02.1984014Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-15T10:28:06.7083768Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-15T10:28:16.8918023Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-15T10:52:53.7990019Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-15T10:52:55.6528399Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-15T10:52:57.7124136Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-15T10:53:00.8238630Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-15T10:53:10.1883213Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-15T10:53:15.0636000Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-15T10:53:20.3925171Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-15T10:53:26.0662416Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-15T10:53:35.0318944Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-15T11:19:40.6058559Z .................................................................................................... 1700/9896
2020-04-15T11:19:45.0567828Z .................................................................................................... 1800/9896
2020-04-15T11:19:53.7011850Z .................................................................................................... 1900/9896
2020-04-15T11:20:01.9819272Z ......i............................................................................................. 2000/9896
2020-04-15T11:20:08.5298882Z ................................................................................................iiii 2100/9896
2020-04-15T11:20:23.8719186Z i................................................................................................... 2200/9896
2020-04-15T11:20:33.0965751Z .................................................................................................... 2400/9896
2020-04-15T11:20:35.5588184Z .................................................................................................... 2500/9896
2020-04-15T11:20:41.7589612Z .................................................................................................... 2600/9896
2020-04-15T11:21:01.5959801Z .................................................................................................... 2700/9896
---
2020-04-15T11:24:01.9882094Z .................................................................................................... 5100/9896
2020-04-15T11:24:10.6681470Z .................................................................................................... 5200/9896
2020-04-15T11:24:15.5445667Z .................i.................................................................................. 5300/9896
2020-04-15T11:24:26.7228642Z .......i............................................................................................ 5400/9896
2020-04-15T11:24:32.9243790Z .......ii.ii........i...i........................................................................... 5500/9896
2020-04-15T11:24:41.7429184Z .....................................................i.............................................. 5700/9896
2020-04-15T11:24:52.7613135Z .........................................................................ii......................... 5800/9896
2020-04-15T11:25:00.7365657Z ............i....................................................................................... 5900/9896
2020-04-15T11:25:06.6398876Z .................................................................................................... 6000/9896
2020-04-15T11:25:06.6398876Z .................................................................................................... 6000/9896
2020-04-15T11:25:18.1939365Z .................................................................................................... 6100/9896
2020-04-15T11:25:29.5167052Z ......ii...i..ii...........i........................................................................ 6200/9896
2020-04-15T11:25:45.7686181Z .................................................................................................... 6400/9896
2020-04-15T11:25:52.5066148Z .................................................................................................... 6500/9896
2020-04-15T11:25:52.5066148Z .................................................................................................... 6500/9896
2020-04-15T11:26:18.6737909Z ....................................i..ii........................................................... 6600/9896
2020-04-15T11:26:39.5955484Z .................................................................................................... 6800/9896
2020-04-15T11:26:41.7421601Z ....................................i............................................................... 6900/9896
2020-04-15T11:26:43.9165255Z .................................................................................................... 7000/9896
2020-04-15T11:26:46.1231374Z ...........................................................................i........................ 7100/9896
---
2020-04-15T11:28:27.7251165Z .................................................................................................... 7800/9896
2020-04-15T11:28:32.1678328Z .................................................................................................... 7900/9896
2020-04-15T11:28:39.1166900Z .................................................................................................... 8000/9896
2020-04-15T11:28:45.5967954Z ..........................................i......................................................... 8100/9896
2020-04-15T11:28:56.0885219Z .........................................................................................iiiiii.iiii 8200/9896
2020-04-15T11:29:02.9164849Z i.i................................................................................................. 8300/9896
2020-04-15T11:29:16.7594144Z .................................................................................................... 8500/9896
2020-04-15T11:29:27.3371329Z .................................................................................................... 8600/9896
2020-04-15T11:29:41.5896952Z .................................................................................................... 8700/9896
2020-04-15T11:29:48.3962593Z .................................................................................................... 8800/9896
---
2020-04-15T11:31:43.7473522Z 
2020-04-15T11:31:43.7474584Z ---- [ui] ui/lint/issue-69485-var-size-diffs-too-large.rs stdout ----
2020-04-15T11:31:43.7474916Z diff of stderr:
2020-04-15T11:31:43.7475049Z 
2020-04-15T11:31:43.7475326Z 1 error: the type `[u8; 18446744073709551615]` is too big for the current architecture
2020-04-15T11:31:43.7476512Z +   --> $DIR/issue-69485-var-size-diffs-too-large.rs:5:12
2020-04-15T11:31:43.7476765Z 3    |
2020-04-15T11:31:43.7476765Z 3    |
2020-04-15T11:31:43.7476939Z 4 LL |     Bug::V([0; !0]);
2020-04-15T11:31:43.7477624Z +    |            ^^^^^^^
2020-04-15T11:31:43.7478056Z 6 
2020-04-15T11:31:43.7478241Z 7 error: aborting due to previous error
2020-04-15T11:31:43.7478531Z 8 
2020-04-15T11:31:43.7478531Z 8 
2020-04-15T11:31:43.7478641Z 
2020-04-15T11:31:43.7478731Z 
2020-04-15T11:31:43.7478918Z The actual stderr differed from the expected stderr.
2020-04-15T11:31:43.7479692Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lint/issue-69485-var-size-diffs-too-large/issue-69485-var-size-diffs-too-large.stderr
2020-04-15T11:31:43.7480328Z To update references, rerun the tests and pass the `--bless` flag
2020-04-15T11:31:43.7480927Z To only update this specific test, also pass `--test-args lint/issue-69485-var-size-diffs-too-large.rs`
2020-04-15T11:31:43.7481367Z error: 1 errors occurred comparing output.
2020-04-15T11:31:43.7481581Z status: exit code: 1
2020-04-15T11:31:43.7481581Z status: exit code: 1
2020-04-15T11:31:43.7483504Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/lint/issue-69485-var-size-diffs-too-large.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lint/issue-69485-var-size-diffs-too-large" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lint/issue-69485-var-size-diffs-too-large/auxiliary"
2020-04-15T11:31:43.7485063Z ------------------------------------------
2020-04-15T11:31:43.7485227Z 
2020-04-15T11:31:43.7485561Z ------------------------------------------
2020-04-15T11:31:43.7485765Z stderr:
2020-04-15T11:31:43.7485765Z stderr:
2020-04-15T11:31:43.7486111Z ------------------------------------------
2020-04-15T11:31:43.7486414Z error: the type `[u8; 18446744073709551615]` is too big for the current architecture
2020-04-15T11:31:43.7487261Z    |
2020-04-15T11:31:43.7487261Z    |
2020-04-15T11:31:43.7487479Z LL |     Bug::V([0; !0]); //~ ERROR is too big for the current
2020-04-15T11:31:43.7487861Z 
2020-04-15T11:31:43.7488028Z error: aborting due to previous error
2020-04-15T11:31:43.7488177Z 
2020-04-15T11:31:43.7488265Z 
---
2020-04-15T11:31:43.7513286Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:348:22
2020-04-15T11:31:43.7514302Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2020-04-15T11:31:43.7528743Z 
2020-04-15T11:31:43.7528927Z 
2020-04-15T11:31:43.7533340Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-7/bin/FileCheck" "--nodejs" "/usr/bin/node" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "7.0.0" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2020-04-15T11:31:43.7536115Z 
2020-04-15T11:31:43.7536222Z 
2020-04-15T11:31:43.7541319Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --exclude src/tools/tidy
2020-04-15T11:31:43.7541977Z Build completed unsuccessfully in 1:08:00
2020-04-15T11:31:43.7541977Z Build completed unsuccessfully in 1:08:00
2020-04-15T11:31:43.7591131Z == clock drift check ==
2020-04-15T11:31:43.7607398Z   local time: Wed Apr 15 11:31:43 UTC 2020
2020-04-15T11:31:43.8831411Z   network time: Wed, 15 Apr 2020 11:31:43 GMT
2020-04-15T11:31:44.3037601Z 
2020-04-15T11:31:44.3037601Z 
2020-04-15T11:31:44.3130244Z ##[error]Bash exited with code '1'.
2020-04-15T11:31:44.3146994Z ##[section]Finishing: Run build
2020-04-15T11:31:44.3197713Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71003/merge to s
2020-04-15T11:31:44.3203262Z Task         : Get sources
2020-04-15T11:31:44.3203622Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-15T11:31:44.3203954Z Version      : 1.0.0
2020-04-15T11:31:44.3204205Z Author       : Microsoft
2020-04-15T11:31:44.3204205Z Author       : Microsoft
2020-04-15T11:31:44.3204590Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-04-15T11:31:44.3205015Z ==============================================================================
2020-04-15T11:31:44.7042364Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-04-15T11:31:44.7093618Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/71003/merge to s
2020-04-15T11:31:44.7196422Z Cleaning up task key
2020-04-15T11:31:44.7197842Z Start cleaning up orphan processes.
2020-04-15T11:31:44.7415933Z Terminate orphan process: pid (3917) (python)
2020-04-15T11:31:44.7664034Z ##[section]Finishing: Finalize Job

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 Apr 15, 2020

☀️ Try build successful - checks-azure
Build commit: d601b3227e7cb970a7dbdb29498252d6c133701a (d601b3227e7cb970a7dbdb29498252d6c133701a)

@rust-timer
Copy link
Collaborator

Queued d601b3227e7cb970a7dbdb29498252d6c133701a with parent 351eefe, future comparison URL.

@jonas-schievink
Copy link
Contributor Author

tuple-stress sees the biggest regression, since:

  • It is 65535 lines for filling a static array with tuples
  • It generates a function containing 131070 MIR locals
  • It ends up only being a single MIR block
  • ...containing 458745 statements

So, yeah, quite a lot of stress indeed. It is basically the worst-case scenario for this pass, at least how I've written it. For every candidate assignment, the pass will walk the containing basic block forwards and backwards to find conflicting uses of the involved locals. Looking at the MIR it seems that there's one candidate assignment for every tuple constructed, so 65535 in total. For each of these, it'll iterate over all 458745 statements.

My plans for speeding up this pass involve caching CFG walks, which does not matter at all in this case since the CFG is just one block in size. Not very encouraging.

I suppose the most promising way to do this would be to go with the original approach of calculating a conflict matrix between relevant locals. For now, I'll close this PR though. I've learned a lot while implementing this.

Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Apr 23, 2020
…n, r=oli-obk

Reading from the return place is fine

Const eval thinks that reading from local `_0` is UB, but it isn't. `_0` is just a normal local like any other, and codegen handles it that way too. The only special thing is that the `Return` terminator will read from it.

I've hit these errors while working on an NRVO pass that can merge other locals with `_0` in rust-lang#71003.

r? @oli-obk
@jonas-schievink jonas-schievink mentioned this pull request May 14, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Sep 20, 2020
Implement a generic Destination Propagation optimization on MIR

This takes the work that was originally started by @eddyb in rust-lang#47954, and then explored by me in rust-lang#71003, and implements it in a general (ie. not limited to acyclic CFGs) and dataflow-driven way (so that no additional infrastructure in rustc is needed).

The pass is configured to run at `mir-opt-level=2` and higher only. To enable it by default, some followup work on it is still needed:
* Performance needs to be evaluated. I did some light optimization work and tested against `tuple-stress`, which caused trouble in my last attempt, but didn't go much in depth here.
  * We can also enable the pass only at `opt-level=2` and higher, if it is too slow to run in debug mode, but fine when optimizations run anyways.
* Debuginfo needs to be fixed after locals are merged. I did not look into what is required for this.
* Live ranges of locals (aka `StorageLive` and `StorageDead`) are currently deleted. We either need to decide that this is fine, or if not, merge the variable's live ranges (or remove these statements entirely – rust-lang#68622).

Some benchmarks of the pass were done in rust-lang#72635.
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 20, 2020
Implement a generic Destination Propagation optimization on MIR

This takes the work that was originally started by `@eddyb` in rust-lang#47954, and then explored by me in rust-lang#71003, and implements it in a general (ie. not limited to acyclic CFGs) and dataflow-driven way (so that no additional infrastructure in rustc is needed).

The pass is configured to run at `mir-opt-level=2` and higher only. To enable it by default, some followup work on it is still needed:
* Performance needs to be evaluated. I did some light optimization work and tested against `tuple-stress`, which caused trouble in my last attempt, but didn't go much in depth here.
  * We can also enable the pass only at `opt-level=2` and higher, if it is too slow to run in debug mode, but fine when optimizations run anyways.
* Debuginfo needs to be fixed after locals are merged. I did not look into what is required for this.
* Live ranges of locals (aka `StorageLive` and `StorageDead`) are currently deleted. We either need to decide that this is fine, or if not, merge the variable's live ranges (or remove these statements entirely – rust-lang#68622).

Some benchmarks of the pass were done in rust-lang#72635.
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