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

extend NLL checker to understand 'empty combined with universes #70950

Merged
merged 5 commits into from
Apr 30, 2020

Conversation

nikomatsakis
Copy link
Contributor

This PR extends the NLL region checker to understand 'empty combined with universes. In particular, it means that the NLL region checker no longer considers exists<R2> { forall<R1> { R1: R2 } } to be provable. This is work towards #59490, but we're not all the way there. One thing in particular it does not address is error messages.

The modifications to the NLL region inference code turned out to be simpler than expected. The main change is to require that if R1: R2 then universe(R1) <= universe(R2).

This constraint follows from the region lattice (shown below), because we assume then that R2 is "at least" empty(Universe(R2)), and hence if R1: R2 (i.e., R1 >= R2 on the lattice) then R1 must be in some universe that can name 'empty(Universe(R2)), which requires that Universe(R1) <= Universe(R2).

static ----------+-----...------+       (greatest)
|                |              |
early-bound and  |              |
free regions     |              |
|                |              |
scope regions    |              |
|                |              |
empty(root)   placeholder(U1)   |
|            /                  |
|           /         placeholder(Un)
empty(U1) --         /
|                   /
...                /
|                 /
empty(Un) --------                      (smallest)

I also made what turned out to be a somewhat unrelated change to add a special region to represent 'empty(U0), which we use (somewhat hackily) to indicate well-formedness checks in some parts of the compiler. This fixes #68550.

I did some investigation into fixing the error message situation. That's a bit trickier: the existing "nice region error" code around placeholders relies on having better error tracing than NLL currently provides, so that it knows (e.g.) that the constraint arose from applying a trait impl and things like that. I feel like I was hoping not to do such fine-grained tracing in NLL, and it seems like we...largely...got away with that. I'm not sure yet if we'll have to add more tracing information or if there is some sort of alternative.

It's worth pointing out though that I've not kind of shifted my opinion on whose job it should be to enforce lifetimes: I tend to think we ought to be moving back towards something like the leak-check (just not the one we had). If we took that approach, it would actually resolve this aspect of the error message problem, because we would be resolving 'higher-ranked errors' in the trait solver itself, and hence we wouldn't have to thread as much causal information back to the region checker. I think it would also help us with removing the leak check while not breaking some of the existing crates out there.

Regardless, I think it's worth landing this change, because it was relatively simple and it aligns the set of programs that NLL accepts with those that are accepted by the main region checker, and hence should at least help us in migration (though I guess we still also have to resolve the existing crates that rely on leak check for coherence).

r? @matthewjasper

@rust-highfive

This comment has been minimized.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 9, 2020
// type checking prevents it (and stops compilation) for now.
f == g; // OK
f == g;
//~^ ERROR higher-ranked subtype error
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, I guess the code here isn't doing what I thought it was

let ty_left = left.ty(*body, tcx);
if let ty::RawPtr(_) | ty::FnPtr(_) = ty_left.kind {
let ty_right = right.ty(*body, tcx);
let common_ty = self.infcx.next_ty_var(TypeVariableOrigin {
kind: TypeVariableOriginKind::MiscVariable,
span: body.source_info(location).span,
});
self.sub_types(
common_ty,
ty_left,
location.to_locations(),
ConstraintCategory::Boring,
)
.unwrap_or_else(|err| {
bug!("Could not equate type variable with {:?}: {:?}", ty_left, err)
});
if let Err(terr) = self.sub_types(
common_ty,
ty_right,
location.to_locations(),
ConstraintCategory::Boring,
) {
span_mirbug!(
self,
rvalue,
"unexpected comparison types {:?} and {:?} yields {:?}",
ty_left,
ty_right,
terr
)
}
}

I think I was expecting this to implicitly do self.infcx.resolve_vars_if_possible(common_ty) in the second sub_types call.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think that would have any effect. What happens in the first call is that we instantiate common_ty to a version of ty_left, but with distinct region variables (which are related to the regions in ty_left). It sounds like you were expecting common_ty and ty_left to get unified?

Copy link
Contributor

Choose a reason for hiding this comment

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

No, I was expecting common_ty to be a generalized version of ty_left. I was then expecting the next call to relate the same generalized type to ty_right, but it is instead equating common_ty to a generalized version of ty_right.

In this specific case I was expecting common_ty to be instantiated as fn(&'? i32) and then be constrained to be a supertype of fn(&'a i32) and fn(&i32). Instead it's instantiated as both fn(&'? i32) and fn(&i32), which is an error.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can't tell if you're suggesting a change here or not =)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That said, I think I was expecting the same as you. Also, re-reading the code, I'm a bit.. surprised by it. It seems like there's a baked-in assumption about the sort of types that we'll apply the comparison operator to that probably ought to be checked (i.e., it seems like we're assuming that in all other cases, the values are trivially of the same type, I guess?).

Still, I'm not entirely sure how you are deriving your conclusions. I think I expected:

  • common_ty gets instantiated to fn(&'? i32) (where 'a: '?, unless I got something backward)
  • we then require that fn(&'? i32) <: fn(&i32), which yields a requirement that for<'b> { 'b: '? }, which we cannot satisfy (though, prior to this PR, we could)
  • hence we get a higher-ranked error

In particular I don't really know what this means:

Instead it's instantiated as both fn(&'? i32) and fn(&i32), which is an error.

How can a single variable be instantiated as two types? Maybe we mean something different by 'instantiated'.

Copy link
Contributor

Choose a reason for hiding this comment

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

Looking at the code again, I was wrong what the problem was. The types are being related the opposite way to they actually should be.

common_ty is the type that the comparison is being done at, so each of the operand should be a subtype of common_ty, that is common_ty should be a common super-type.

It seems like there's a baked-in assumption about the sort of types that we'll apply the comparison operator to that probably ought to be checked (i.e., it seems like we're assuming that in all other cases, the values are trivially of the same type, I guess?).

Yes, this should probably be changed to match the remaining types where BinOp::Eq is allowed (ints, bool, char) and assert equality I guess this can be done separately.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@matthewjasper good point, I suppose we do want a common super-type, not a common sub-type! I'll push a commit making this change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Update: it wasn't easy to change the order. This is because, I think, the relate_tys code still has some hard-coded assumptions that assume that the super-type is not an uninstantiated variable, or something like that. This may have been what led to the code being written this way in the first place.

@bors
Copy link
Contributor

bors commented Apr 12, 2020

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

@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-14T10:07:03.6174753Z ========================== Starting Command Output ===========================
2020-04-14T10:07:03.6178827Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/d1cd4dfd-5e67-46cd-a033-077ce9a8b5c7.sh
2020-04-14T10:07:03.6179246Z 
2020-04-14T10:07:03.6183883Z ##[section]Finishing: Disable git automatic line ending conversion
2020-04-14T10:07:03.6209790Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/70950/merge to s
2020-04-14T10:07:03.6212834Z Task         : Get sources
2020-04-14T10:07:03.6213122Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-14T10:07:03.6213385Z Version      : 1.0.0
2020-04-14T10:07:03.6213566Z Author       : Microsoft
---
2020-04-14T10:07:04.6120984Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-04-14T10:07:04.6126627Z ##[command]git config gc.auto 0
2020-04-14T10:07:04.6130288Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-04-14T10:07:04.6133463Z ##[command]git config --get-all http.proxy
2020-04-14T10:07:04.6139660Z ##[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/70950/merge:refs/remotes/pull/70950/merge
---
2020-04-14T10:10:30.9004758Z  ---> f58a2bb1e753
2020-04-14T10:10:30.9009548Z 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-14T10:10:30.9013170Z  ---> Using cache
2020-04-14T10:10:30.9016281Z  ---> d079cc6b6db8
2020-04-14T10:10:30.9021054Z 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-14T10:10:30.9028054Z  ---> 4183ca46ee56
2020-04-14T10:10:30.9031316Z Step 7/8 : ENV NO_DEBUG_ASSERTIONS=1
2020-04-14T10:10:30.9034371Z  ---> Using cache
2020-04-14T10:10:30.9037175Z  ---> 69e7f8a2a2fb
---
2020-04-14T10:10:30.9410783Z Looks like docker image is the same as before, not uploading
2020-04-14T10:10:38.2002176Z [CI_JOB_NAME=x86_64-gnu-llvm-7]
2020-04-14T10:10:38.2327099Z [CI_JOB_NAME=x86_64-gnu-llvm-7]
2020-04-14T10:10:38.2353284Z == clock drift check ==
2020-04-14T10:10:38.2366486Z   local time: Tue Apr 14 10:10:38 UTC 2020
2020-04-14T10:10:38.5464562Z   network time: Tue, 14 Apr 2020 10:10:38 GMT
2020-04-14T10:10:38.5485880Z Starting sccache server...
2020-04-14T10:10:38.6383978Z configure: processing command line
2020-04-14T10:10:38.6384807Z configure: 
2020-04-14T10:10:38.6385849Z configure: rust.dist-src        := False
---
2020-04-14T10:16:18.3394962Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-14T10:16:19.9751035Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-14T10:16:21.6860672Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-14T10:16:23.5459822Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-14T10:16:33.0540565Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-14T10:16:36.1055759Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-14T10:16:41.0805630Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-14T10:16:45.7195022Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-14T10:16:55.6807022Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-14T10:41:49.9040587Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-14T10:41:51.8849472Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-14T10:41:53.9792907Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-14T10:41:57.1268556Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-14T10:42:07.7423095Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-14T10:42:12.5561895Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-14T10:42:18.2932654Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-14T10:42:24.2947829Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-14T10:42:35.1983327Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-14T11:10:29.4925148Z .................................................................................................... 1700/9896
2020-04-14T11:10:34.1837330Z .................................................................................................... 1800/9896
2020-04-14T11:10:43.0511423Z .................................................................................................... 1900/9896
2020-04-14T11:10:51.5151404Z .....i.............................................................................................. 2000/9896
2020-04-14T11:10:58.2228009Z ...............................................................................................iiiii 2100/9896
2020-04-14T11:11:20.7549622Z .................................................................................................... 2300/9896
2020-04-14T11:11:23.0815586Z .................................................................................................... 2400/9896
2020-04-14T11:11:25.4277796Z .................................................................................................... 2500/9896
2020-04-14T11:11:31.2742460Z .................................................................................................... 2600/9896
---
2020-04-14T11:14:40.2214686Z .................................................................................................... 5100/9896
2020-04-14T11:14:48.5010474Z .................................................................................................... 5200/9896
2020-04-14T11:14:53.3385126Z ................i................................................................................... 5300/9896
2020-04-14T11:15:04.1709315Z ......i............................................................................................. 5400/9896
2020-04-14T11:15:09.6907315Z ......ii.ii........i...i............................................................................ 5500/9896
2020-04-14T11:15:17.7033990Z ....................................................i............................................... 5700/9896
2020-04-14T11:15:28.3667672Z ........................................................................ii.......................... 5800/9896
2020-04-14T11:15:35.0096785Z ...........i........................................................................................ 5900/9896
2020-04-14T11:15:40.6747238Z .................................................................................................... 6000/9896
2020-04-14T11:15:40.6747238Z .................................................................................................... 6000/9896
2020-04-14T11:15:51.4042474Z .................................................................................................... 6100/9896
2020-04-14T11:16:02.8710707Z .....ii...i..ii...........i......................................................................... 6200/9896
2020-04-14T11:16:18.7318089Z .................................................................................................... 6400/9896
2020-04-14T11:16:25.4403132Z .................................................................................................... 6500/9896
2020-04-14T11:16:25.4403132Z .................................................................................................... 6500/9896
2020-04-14T11:16:48.1374925Z .....................................i..ii.......................................................... 6600/9896
2020-04-14T11:17:10.2543689Z .................................................................................................... 6800/9896
2020-04-14T11:17:12.3837541Z .....................................i.............................................................. 6900/9896
2020-04-14T11:17:14.5424331Z .................................................................................................... 7000/9896
2020-04-14T11:17:16.6806616Z ............................................................................i....................... 7100/9896
---
2020-04-14T11:19:00.8765967Z .................................................................................................... 7800/9896
2020-04-14T11:19:05.2255650Z .................................................................................................... 7900/9896
2020-04-14T11:19:11.9637565Z .................................................................................................... 8000/9896
2020-04-14T11:19:18.5124340Z ..........................................i......................................................... 8100/9896
2020-04-14T11:19:28.7731059Z ..........................................................................................iiiiii.iii 8200/9896
2020-04-14T11:19:35.3896544Z ii.i................................................................................................ 8300/9896
2020-04-14T11:19:48.9676915Z .................................................................................................... 8500/9896
2020-04-14T11:19:59.1484541Z .................................................................................................... 8600/9896
2020-04-14T11:20:13.1977613Z .................................................................................................... 8700/9896
2020-04-14T11:20:20.2751413Z .................................................................................................... 8800/9896
---
2020-04-14T11:22:48.1830535Z Suite("src/test/codegen") not skipped for "bootstrap::test::Codegen" -- not in ["src/tools/tidy"]
2020-04-14T11:22:48.2004731Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-14T11:22:48.4192094Z 
2020-04-14T11:22:48.4192425Z running 185 tests
2020-04-14T11:22:51.2467470Z iiii......i............ii.i..iiii....i....i...........i............i..i..................i....i..... 100/185
2020-04-14T11:22:54.0295161Z .......i.i.i...iii..iiiiiiiiiiiiiiii.......................iii...............ii......
2020-04-14T11:22:54.0297743Z 
2020-04-14T11:22:54.0304634Z  finished in 5.830
2020-04-14T11:22:54.0309728Z Suite("src/test/codegen-units") not skipped for "bootstrap::test::CodegenUnits" -- not in ["src/tools/tidy"]
2020-04-14T11:22:54.0516583Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-14T11:22:56.1654182Z Suite("src/test/assembly") not skipped for "bootstrap::test::Assembly" -- not in ["src/tools/tidy"]
2020-04-14T11:22:56.1838606Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-14T11:22:56.3404050Z 
2020-04-14T11:22:56.3405538Z running 9 tests
2020-04-14T11:22:56.3406551Z iiiiiiiii
2020-04-14T11:22:56.3407469Z 
2020-04-14T11:22:56.3407610Z  finished in 0.156
2020-04-14T11:22:56.3414429Z Suite("src/test/incremental") not skipped for "bootstrap::test::Incremental" -- not in ["src/tools/tidy"]
2020-04-14T11:22:56.3605183Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-14T11:23:17.7194997Z Suite("src/test/debuginfo") not skipped for "bootstrap::test::Debuginfo" -- not in ["src/tools/tidy"]
2020-04-14T11:23:17.7419063Z Check compiletest suite=debuginfo mode=debuginfo (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-14T11:23:17.9387942Z 
2020-04-14T11:23:17.9388284Z running 115 tests
2020-04-14T11:23:32.1955089Z iiiii..i.....i..i...i..i.i.i..i..i..ii....i.i....ii..........iiii.........i.....i..i.......ii.i.ii.. 100/115
2020-04-14T11:23:34.1288054Z ...iiii.....ii.
2020-04-14T11:23:34.1291225Z 
2020-04-14T11:23:34.1344033Z Suite("src/test/ui-fulldeps") not skipped for "bootstrap::test::UiFullDeps" -- not in ["src/tools/tidy"]
2020-04-14T11:23:34.1344834Z  finished in 16.388
2020-04-14T11:23:34.1345823Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-14T11:37:16.7627650Z 
2020-04-14T11:37:16.7632061Z    Doc-tests core
2020-04-14T11:37:21.8614161Z 
2020-04-14T11:37:21.8615240Z running 2494 tests
2020-04-14T11:37:31.4834399Z ......iiiii......................................................................................... 100/2494
2020-04-14T11:37:40.8688630Z .....................................................................................ii............. 200/2494
2020-04-14T11:38:02.5258828Z ....................i............................................................................... 400/2494
2020-04-14T11:38:02.5258828Z ....................i............................................................................... 400/2494
2020-04-14T11:38:12.8480937Z ..........................................................................i..i..................iiii 500/2494
2020-04-14T11:38:30.3591397Z .................................................................................................... 700/2494
2020-04-14T11:38:39.7177767Z .................................................................................................... 800/2494
2020-04-14T11:38:48.7808423Z .................................................................................................... 900/2494
2020-04-14T11:38:57.8260544Z .................................................................................................... 1000/2494
---
2020-04-14T11:42:33.0070760Z .................................................thread '<unnamed>' panicked at 'explicit panic', src/libstd/io/stdio.rs:888:13
2020-04-14T11:42:33.0076365Z . 300/764
2020-04-14T11:42:33.1102941Z .................................................................................................... 400/764
2020-04-14T11:42:35.2023022Z .................................................................................................... 500/764
2020-04-14T11:42:35.2534623Z ......................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2741:22
2020-04-14T11:42:35.2554656Z ....thread '<unnamed>' panicked at 'thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libstd/sync/mpsc/mod.rs:2766:17
2020-04-14T11:42:35.2567898Z .called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2778:.21.
2020-04-14T11:42:35.2583302Z ....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2645:13
2020-04-14T11:42:35.5326066Z ..........................................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:1997:22
2020-04-14T11:42:35.5364618Z .....thread '.<unnamed>' panicked at '.called `Result::unwrap()` on an `Err` value: RecvError.', src/libstd/sync/mpsc/mod.rs:.2034:21.
2020-04-14T11:42:35.5373229Z .thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:1916:13
2020-04-14T11:42:37.5794701Z .........................thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/mutex.rs:633:13
2020-04-14T11:42:37.5795653Z thread '<unnamed>' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:587:13
2020-04-14T11:42:37.5796503Z ....thread '<unnamed>' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:563:13
2020-04-14T11:42:37.5825327Z ...........thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/mutex.rs:694:13
---
2020-04-14T11:42:46.6888077Z 
2020-04-14T11:42:46.6888415Z running 1020 tests
2020-04-14T11:43:05.0234755Z i................................................................................................... 100/1020
2020-04-14T11:43:16.0630139Z .................................................................................................... 200/1020
2020-04-14T11:43:24.0530272Z ...................iii......i......i...i......i..................................................... 300/1020
2020-04-14T11:43:29.1090571Z .................................................................................................... 400/1020
2020-04-14T11:43:36.1308152Z ....................................................i....i......................................ii.. 500/1020
2020-04-14T11:43:49.4146719Z .................................................................................................... 700/1020
2020-04-14T11:43:49.4146719Z .................................................................................................... 700/1020
2020-04-14T11:43:56.8858763Z ..............................................iiii.................................................. 800/1020
2020-04-14T11:44:11.2557577Z .................................................................................................... 900/1020
2020-04-14T11:44:17.5902816Z ....................................................................iiii............................ 1000/1020
2020-04-14T11:44:18.9601110Z test result: ok. 1000 passed; 0 failed; 20 ignored; 0 measured; 0 filtered out
2020-04-14T11:44:18.9601492Z 
2020-04-14T11:44:18.9710920Z  finished in 175.253
2020-04-14T11:44:18.9720776Z Set({"src/libterm"}) not skipped for "bootstrap::test::Crate" -- not in ["src/tools/tidy"]
---
2020-04-14T11:47:45.7299824Z 
2020-04-14T11:47:45.7300087Z test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
2020-04-14T11:47:45.7300329Z 
2020-04-14T11:47:45.7373631Z  finished in 1.021
2020-04-14T11:47:45.7430743Z Set({"/checkout/src/librustc_query_system"}) not skipped for "bootstrap::test::CrateLibrustc" -- not in ["src/tools/tidy"]
2020-04-14T11:47:45.7431999Z Testing rustc_query_system stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-14T11:47:45.9499291Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-14T11:47:47.0241280Z      Running build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/rustc_query_system-efd115a6855c8648
2020-04-14T11:47:47.0271592Z 
2020-04-14T11:47:47.0271825Z running 0 tests
2020-04-14T11:47:47.0271972Z 
---
2020-04-14T12:03:29.1056917Z Set({"/checkout/src/librustc_parse"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-14T12:03:29.1057623Z Set({"/checkout/src/librustc_passes"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-14T12:03:29.1058748Z Set({"/checkout/src/librustc_plugin_impl"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-14T12:03:29.1059479Z Set({"/checkout/src/librustc_privacy"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-14T12:03:29.1060196Z Set({"/checkout/src/librustc_query_system"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-14T12:03:29.1061664Z Set({"/checkout/src/librustc_save_analysis"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-14T12:03:29.1062597Z Set({"/checkout/src/librustc_session"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-14T12:03:29.1063316Z Set({"/checkout/src/librustc_span"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-14T12:03:29.1064050Z Set({"/checkout/src/librustc_symbol_mangling"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
---
2020-04-14T12:04:34.7584225Z Suite("src/test/run-make-fulldeps") not skipped for "bootstrap::test::RunMakeFullDeps" -- not in ["src/tools/tidy"]
2020-04-14T12:04:34.7991169Z Check compiletest suite=run-make-fulldeps mode=run-make (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-14T12:04:35.0646696Z 
2020-04-14T12:04:35.0648034Z running 211 tests
2020-04-14T12:05:08.1102437Z ......................i...ii.......................................................................i 100/211
2020-04-14T12:05:48.6446971Z ........................................iiiiii......i..............iii.............................. 200/211
2020-04-14T12:05:53.1320174Z .......ii..
2020-04-14T12:05:53.1324226Z 
2020-04-14T12:05:53.1324516Z  finished in 78.333
2020-04-14T12:05:53.1348363Z Set({"src/doc/rustdoc"}) not skipped for "bootstrap::test::RustdocBook" -- not in ["src/tools/tidy"]
2020-04-14T12:05:53.1350426Z doc tests for: /checkout/src/doc/rustdoc/src/advanced-features.md
---
2020-04-14T12:07:29.0403115Z Suite("src/test/run-make") not skipped for "bootstrap::test::RunMake" -- not in ["src/tools/tidy"]
2020-04-14T12:07:29.0616834Z Check compiletest suite=run-make mode=run-make (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-14T12:07:29.2520183Z 
2020-04-14T12:07:29.2524123Z running 13 tests
2020-04-14T12:07:29.7298660Z .iiiiiii.iii.
2020-04-14T12:07:29.7302699Z 
2020-04-14T12:07:29.7303876Z  finished in 0.669
2020-04-14T12:07:29.7367004Z Build completed successfully in 1:55:10
2020-04-14T12:07:29.7367004Z Build completed successfully in 1:55:10
2020-04-14T12:07:29.7377203Z + python2.7 ../x.py test src/test/mir-opt --pass=build --target=armv5te-unknown-linux-gnueabi
2020-04-14T12:07:31.9447193Z Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-14T12:07:32.5892527Z     Finished release [optimized] target(s) in 0.63s
2020-04-14T12:07:32.5992743Z Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
2020-04-14T12:07:32.6127978Z Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-14T12:09:03.3330081Z failures:
2020-04-14T12:09:03.3330202Z 
2020-04-14T12:09:03.3331002Z ---- [mir-opt] mir-opt/nll/region-subtyping-basic.rs stdout ----
2020-04-14T12:09:03.3331268Z 7 | Inferred Region Values
2020-04-14T12:09:03.3332072Z 8 | '_#0r | U0 | {bb0[0..=8], bb1[0], bb2[0..=8], bb3[0], bb4[0..=1], bb5[0..=3], bb6[0..=3], bb7[0..=2], bb8[0..=5], '_#0r, '_#1r}
2020-04-14T12:09:03.3332819Z 9 | '_#1r | U0 | {bb0[0..=8], bb1[0], bb2[0..=8], bb3[0], bb4[0..=1], bb5[0..=3], bb6[0..=3], bb7[0..=2], bb8[0..=5], '_#1r}
2020-04-14T12:09:03.3333381Z - | '_#2r | U0 | {bb2[0..=8], bb3[0], bb5[0..=2]}
2020-04-14T12:09:03.3333812Z - | '_#3r | U0 | {bb2[1..=8], bb3[0], bb5[0..=2]}
2020-04-14T12:09:03.3334235Z - | '_#4r | U0 | {bb2[4..=8], bb3[0], bb5[0..=2]}
2020-04-14T12:09:03.3334613Z + | '_#2r | U0 | {}
2020-04-14T12:09:03.3334993Z + | '_#3r | U0 | {bb2[0..=8], bb3[0], bb5[0..=2]}
2020-04-14T12:09:03.3335415Z + | '_#4r | U0 | {bb2[1..=8], bb3[0], bb5[0..=2]}
2020-04-14T12:09:03.3335852Z + | '_#5r | U0 | {bb2[4..=8], bb3[0], bb5[0..=2]}
2020-04-14T12:09:03.3336196Z 14 | Inference Constraints
2020-04-14T12:09:03.3336196Z 14 | Inference Constraints
2020-04-14T12:09:03.3336775Z 15 | '_#0r live at {bb0[0..=8], bb1[0], bb2[0..=8], bb3[0], bb4[0..=1], bb5[0..=3], bb6[0..=3], bb7[0..=2], bb8[0..=5]}
2020-04-14T12:09:03.3337050Z 
2020-04-14T12:09:03.3337574Z 16 | '_#1r live at {bb0[0..=8], bb1[0], bb2[0..=8], bb3[0], bb4[0..=1], bb5[0..=3], bb6[0..=3], bb7[0..=2], bb8[0..=5]}
2020-04-14T12:09:03.3338056Z - | '_#2r live at {bb2[0]}
2020-04-14T12:09:03.3338404Z - | '_#3r live at {bb2[1..=3]}
2020-04-14T12:09:03.3338802Z - | '_#4r live at {bb2[4..=8], bb3[0], bb5[0..=2]}
2020-04-14T12:09:03.3339249Z - | '_#2r: '_#3r due to Assignment at Single(bb2[0])
2020-04-14T12:09:03.3339689Z - | '_#3r: '_#4r due to Assignment at Single(bb2[3])
2020-04-14T12:09:03.3340060Z + | '_#3r live at {bb2[0]}
2020-04-14T12:09:03.3340405Z + | '_#4r live at {bb2[1..=3]}
2020-04-14T12:09:03.3340822Z + | '_#5r live at {bb2[4..=8], bb3[0], bb5[0..=2]}
2020-04-14T12:09:03.3341253Z + | '_#3r: '_#4r due to Assignment at Single(bb2[0])
2020-04-14T12:09:03.3341814Z + | '_#4r: '_#5r due to Assignment at Single(bb2[3])
2020-04-14T12:09:03.3342466Z 23 fn main() -> () {
2020-04-14T12:09:03.3343046Z -     let mut _0: ();                      // return place in scope 0 at $DIR/region-subtyping-basic.rs:14:11: 14:11
2020-04-14T12:09:03.3343046Z -     let mut _0: ();                      // return place in scope 0 at $DIR/region-subtyping-basic.rs:14:11: 14:11
2020-04-14T12:09:03.3343880Z -     let mut _1: [usize; Const { ty: usize, val: Value(Scalar(0x00000003)) }]; // in scope 0 at $DIR/region-subtyping-basic.rs:15:9: 15:14
2020-04-14T12:09:03.3344754Z -     let _3: usize;                       // in scope 0 at $DIR/region-subtyping-basic.rs:16:16: 16:17
2020-04-14T12:09:03.3345443Z -     let mut _4: usize;                   // in scope 0 at $DIR/region-subtyping-basic.rs:16:14: 16:18
2020-04-14T12:09:03.3346109Z -     let mut _5: bool;                    // in scope 0 at $DIR/region-subtyping-basic.rs:16:14: 16:18
2020-04-14T12:09:03.3346766Z -     let mut _7: bool;                    // in scope 0 at $DIR/region-subtyping-basic.rs:18:8: 18:12
2020-04-14T12:09:03.3347446Z -     let _8: bool;                        // in scope 0 at $DIR/region-subtyping-basic.rs:19:9: 19:18
2020-04-14T12:09:03.3348121Z -     let mut _9: usize;                   // in scope 0 at $DIR/region-subtyping-basic.rs:19:15: 19:17
2020-04-14T12:09:03.3349454Z -     let _10: bool;                       // in scope 0 at $DIR/region-subtyping-basic.rs:21:9: 21:18
2020-04-14T12:09:03.3350217Z +     let mut _0: ();                      // return place in scope 0 at $DIR/region-subtyping-basic.rs:16:11: 16:11
2020-04-14T12:09:03.3351044Z +     let mut _1: [usize; Const { ty: usize, val: Value(Scalar(0x00000003)) }]; // in scope 0 at $DIR/region-subtyping-basic.rs:17:9: 17:14
2020-04-14T12:09:03.3351799Z +     let _3: usize;                       // in scope 0 at $DIR/region-subtyping-basic.rs:18:16: 18:17
2020-04-14T12:09:03.3352587Z +     let mut _4: usize;                   // in scope 0 at $DIR/region-subtyping-basic.rs:18:14: 18:18
2020-04-14T12:09:03.3353366Z +     let mut _5: bool;                    // in scope 0 at $DIR/region-subtyping-basic.rs:18:14: 18:18
2020-04-14T12:09:03.3354082Z +     let mut _7: bool;                    // in scope 0 at $DIR/region-subtyping-basic.rs:20:8: 20:12
2020-04-14T12:09:03.3354749Z +     let _8: bool;                        // in scope 0 at $DIR/region-subtyping-basic.rs:21:9: 21:18
2020-04-14T12:09:03.3355405Z +     let mut _9: usize;                   // in scope 0 at $DIR/region-subtyping-basic.rs:21:15: 21:17
2020-04-14T12:09:03.3356083Z +     let _10: bool;                       // in scope 0 at $DIR/region-subtyping-basic.rs:23:9: 23:18
2020-04-14T12:09:03.3357016Z -         debug v => _1;                   // in scope 1 at $DIR/region-subtyping-basic.rs:15:9: 15:14
2020-04-14T12:09:03.3357016Z -         debug v => _1;                   // in scope 1 at $DIR/region-subtyping-basic.rs:15:9: 15:14
2020-04-14T12:09:03.3357707Z -         let _2: &'_#3r usize;            // in scope 1 at $DIR/region-subtyping-basic.rs:16:9: 16:10
2020-04-14T12:09:03.3358391Z +         debug v => _1;                   // in scope 1 at $DIR/region-subtyping-basic.rs:17:9: 17:14
2020-04-14T12:09:03.3359074Z +         let _2: &'_#4r usize;            // in scope 1 at $DIR/region-subtyping-basic.rs:18:9: 18:10
2020-04-14T12:09:03.3359951Z -             debug p => _2;               // in scope 2 at $DIR/region-subtyping-basic.rs:16:9: 16:10
2020-04-14T12:09:03.3359951Z -             debug p => _2;               // in scope 2 at $DIR/region-subtyping-basic.rs:16:9: 16:10
2020-04-14T12:09:03.3360621Z -             let _6: &'_#4r usize;        // in scope 2 at $DIR/region-subtyping-basic.rs:17:9: 17:10
2020-04-14T12:09:03.3361310Z +             debug p => _2;               // in scope 2 at $DIR/region-subtyping-basic.rs:18:9: 18:10
2020-04-14T12:09:03.3361985Z +             let _6: &'_#5r usize;        // in scope 2 at $DIR/region-subtyping-basic.rs:19:9: 19:10
2020-04-14T12:09:03.3362329Z 39             scope 3 {
2020-04-14T12:09:03.3362869Z -                 debug q => _6;           // in scope 3 at $DIR/region-subtyping-basic.rs:17:9: 17:10
2020-04-14T12:09:03.3363553Z +                 debug q => _6;           // in scope 3 at $DIR/region-subtyping-basic.rs:19:9: 19:10
2020-04-14T12:09:03.3364032Z 42         }
2020-04-14T12:09:03.3364262Z 43     }
2020-04-14T12:09:03.3364365Z 
2020-04-14T12:09:03.3364490Z 44 
2020-04-14T12:09:03.3364490Z 44 
2020-04-14T12:09:03.3364627Z 45     bb0: {
2020-04-14T12:09:03.3365252Z -         StorageLive(_1);                 // bb0[0]: scope 0 at $DIR/region-subtyping-basic.rs:15:9: 15:14
2020-04-14T12:09:03.3366423Z -         _1 = [const Const(Value(Scalar(0x00000001)): usize), const Const(Value(Scalar(0x00000002)): usize), const Const(Value(Scalar(0x00000003)): usize)]; // bb0[1]: scope 0 at $DIR/region-subtyping-basic.rs:15:17: 15:26
2020-04-14T12:09:03.3367465Z +         StorageLive(_1);                 // bb0[0]: scope 0 at $DIR/region-subtyping-basic.rs:17:9: 17:14
2020-04-14T12:09:03.3368639Z +         _1 = [const Const(Value(Scalar(0x00000001)): usize), const Const(Value(Scalar(0x00000002)): usize), const Const(Value(Scalar(0x00000003)): usize)]; // bb0[1]: scope 0 at $DIR/region-subtyping-basic.rs:17:17: 17:26
2020-04-14T12:09:03.3369330Z 48                                          // ty::Const
2020-04-14T12:09:03.3369638Z 49                                          // + ty: usize
2020-04-14T12:09:03.3371161Z 50                                          // + val: Value(Scalar(0x00000001))
2020-04-14T12:09:03.3371640Z 51                                          // mir::Constant
2020-04-14T12:09:03.3371640Z 51                                          // mir::Constant
2020-04-14T12:09:03.3372431Z -                                          // + span: $DIR/region-subtyping-basic.rs:15:18: 15:19
2020-04-14T12:09:03.3374978Z +                                          // + span: $DIR/region-subtyping-basic.rs:17:18: 17:19
2020-04-14T12:09:03.3375552Z 53                                          // + literal: Const { ty: usize, val: Value(Scalar(0x00000001)) }
2020-04-14T12:09:03.3376005Z 54                                          // ty::Const
2020-04-14T12:09:03.3376286Z 55                                          // + ty: usize
2020-04-14T12:09:03.3376473Z 
2020-04-14T12:09:03.3376862Z 56                                          // + val: Value(Scalar(0x00000002))
2020-04-14T12:09:03.3377226Z 57                                          // mir::Constant
2020-04-14T12:09:03.3377997Z -                                          // + span: $DIR/region-subtyping-basic.rs:15:21: 15:22
2020-04-14T12:09:03.3378751Z +                                          // + span: $DIR/region-subtyping-basic.rs:17:21: 17:22
2020-04-14T12:09:03.3379287Z 59                                          // + literal: Const { ty: usize, val: Value(Scalar(0x00000002)) }
2020-04-14T12:09:03.3379716Z 60                                          // ty::Const
2020-04-14T12:09:03.3380025Z 61                                          // + ty: usize
2020-04-14T12:09:03.3380209Z 
2020-04-14T12:09:03.3380450Z 62                                          // + val: Value(Scalar(0x00000003))
2020-04-14T12:09:03.3380814Z 63                                          // mir::Constant
2020-04-14T12:09:03.3381446Z -                                          // + span: $DIR/region-subtyping-basic.rs:15:24: 15:25
2020-04-14T12:09:03.3382177Z +                                          // + span: $DIR/region-subtyping-basic.rs:17:24: 17:25
2020-04-14T12:09:03.3382735Z 65                                          // + literal: Const { ty: usize, val: Value(Scalar(0x00000003)) }
2020-04-14T12:09:03.3383522Z -         FakeRead(ForLet, _1);            // bb0[2]: scope 0 at $DIR/region-subtyping-basic.rs:15:9: 15:14
2020-04-14T12:09:03.3384300Z -         StorageLive(_2);                 // bb0[3]: scope 1 at $DIR/region-subtyping-basic.rs:16:9: 16:10
2020-04-14T12:09:03.3385106Z -         StorageLive(_3);                 // bb0[4]: scope 1 at $DIR/region-subtyping-basic.rs:16:16: 16:17
2020-04-14T12:09:03.3385977Z -         _3 = const Const(Value(Scalar(0x00000000)): usize); // bb0[5]: scope 1 at $DIR/region-subtyping-basic.rs:16:16: 16:17
2020-04-14T12:09:03.3386840Z +         FakeRead(ForLet, _1);            // bb0[2]: scope 0 at $DIR/region-subtyping-basic.rs:17:9: 17:14
2020-04-14T12:09:03.3387628Z +         StorageLive(_2);                 // bb0[3]: scope 1 at $DIR/region-subtyping-basic.rs:18:9: 18:10
2020-04-14T12:09:03.3388741Z +         StorageLive(_3);                 // bb0[4]: scope 1 at $DIR/region-subtyping-basic.rs:18:16: 18:17
2020-04-14T12:09:03.3389689Z +         _3 = const Const(Value(Scalar(0x00000000)): usize); // bb0[5]: scope 1 at $DIR/region-subtyping-basic.rs:18:16: 18:17
2020-04-14T12:09:03.3390182Z 70                                          // ty::Const
2020-04-14T12:09:03.3390471Z 71                                          // + ty: usize
2020-04-14T12:09:03.3390827Z 72                                          // + val: Value(Scalar(0x00000000))
2020-04-14T12:09:03.3391273Z 73                                          // mir::Constant
2020-04-14T12:09:03.3391273Z 73                                          // mir::Constant
2020-04-14T12:09:03.3391927Z -                                          // + span: $DIR/region-subtyping-basic.rs:16:16: 16:17
2020-04-14T12:09:03.3392663Z +                                          // + span: $DIR/region-subtyping-basic.rs:18:16: 18:17
2020-04-14T12:09:03.3393197Z 75                                          // + literal: Const { ty: usize, val: Value(Scalar(0x00000000)) }
2020-04-14T12:09:03.3394054Z -         _4 = Len(_1);                    // bb0[6]: scope 1 at $DIR/region-subtyping-basic.rs:16:14: 16:18
2020-04-14T12:09:03.3394860Z -         _5 = Lt(_3, _4);                 // bb0[7]: scope 1 at $DIR/region-subtyping-basic.rs:16:14: 16:18
2020-04-14T12:09:03.3396912Z -         assert(move _5, "index out of bounds: the len is {} but the index is {}", move _4, _3) -> [success: bb2, unwind: bb1]; // bb0[8]: scope 1 at $DIR/region-subtyping-basic.rs:16:14: 16:18
2020-04-14T12:09:03.3397953Z +         _4 = Len(_1);                    // bb0[6]: scope 1 at $DIR/region-subtyping-basic.rs:18:14: 18:18
2020-04-14T12:09:03.3399659Z +         _5 = Lt(_3, _4);                 // bb0[7]: scope 1 at $DIR/region-subtyping-basic.rs:18:14: 18:18
2020-04-14T12:09:03.3400896Z +         assert(move _5, "index out of bounds: the len is {} but the index is {}", move _4, _3) -> [success: bb2, unwind: bb1]; // bb0[8]: scope 1 at $DIR/region-subtyping-basic.rs:18:14: 18:18
2020-04-14T12:09:03.3401581Z 80 
2020-04-14T12:09:03.3401581Z 80 
2020-04-14T12:09:03.3401759Z 81     bb1 (cleanup): {
2020-04-14T12:09:03.3401900Z 
2020-04-14T12:09:03.3402498Z -         resume;                          // bb1[0]: scope 0 at $DIR/region-subtyping-basic.rs:14:1: 23:2
2020-04-14T12:09:03.3403294Z +         resume;                          // bb1[0]: scope 0 at $DIR/region-subtyping-basic.rs:16:1: 25:2
2020-04-14T12:09:03.3403756Z 84 
2020-04-14T12:09:03.3403897Z 85     bb2: {
2020-04-14T12:09:03.3404031Z 
2020-04-14T12:09:03.3404031Z 
2020-04-14T12:09:03.3404599Z -         _2 = &'_#2r _1[_3];              // bb2[0]: scope 1 at $DIR/region-subtyping-basic.rs:16:13: 16:18
2020-04-14T12:09:03.3405389Z -         FakeRead(ForLet, _2);            // bb2[1]: scope 1 at $DIR/region-subtyping-basic.rs:16:9: 16:10
2020-04-14T12:09:03.3406179Z -         StorageLive(_6);                 // bb2[2]: scope 2 at $DIR/region-subtyping-basic.rs:17:9: 17:10
2020-04-14T12:09:03.3407679Z -         _6 = _2;                         // bb2[3]: scope 2 at $DIR/region-subtyping-basic.rs:17:13: 17:14
2020-04-14T12:09:03.3408561Z -         FakeRead(ForLet, _6);            // bb2[4]: scope 2 at $DIR/region-subtyping-basic.rs:17:9: 17:10
2020-04-14T12:09:03.3409381Z -         StorageLive(_7);                 // bb2[5]: scope 3 at $DIR/region-subtyping-basic.rs:18:8: 18:12
2020-04-14T12:09:03.3410221Z -         _7 = const Const(Value(Scalar(0x01)): bool); // bb2[6]: scope 3 at $DIR/region-subtyping-basic.rs:18:8: 18:12
2020-04-14T12:09:03.3411069Z +         _2 = &'_#3r _1[_3];              // bb2[0]: scope 1 at $DIR/region-subtyping-basic.rs:18:13: 18:18
2020-04-14T12:09:03.3411856Z +         FakeRead(ForLet, _2);            // bb2[1]: scope 1 at $DIR/region-subtyping-basic.rs:18:9: 18:10
2020-04-14T12:09:03.3412650Z +         StorageLive(_6);                 // bb2[2]: scope 2 at $DIR/region-subtyping-basic.rs:19:9: 19:10
2020-04-14T12:09:03.3413620Z +         _6 = _2;                         // bb2[3]: scope 2 at $DIR/region-subtyping-basic.rs:19:13: 19:14
2020-04-14T12:09:03.3414503Z +         FakeRead(ForLet, _6);            // bb2[4]: scope 2 at $DIR/region-subtyping-basic.rs:19:9: 19:10
2020-04-14T12:09:03.3415258Z +         StorageLive(_7);                 // bb2[5]: scope 3 at $DIR/region-subtyping-basic.rs:20:8: 20:12
2020-04-14T12:09:03.3416084Z +         _7 = const Const(Value(Scalar(0x01)): bool); // bb2[6]: scope 3 at $DIR/region-subtyping-basic.rs:20:8: 20:12
2020-04-14T12:09:03.3416543Z 93                                          // ty::Const
2020-04-14T12:09:03.3416948Z 94                                          // + ty: bool
2020-04-14T12:09:03.3417294Z 95                                          // + val: Value(Scalar(0x01))
2020-04-14T12:09:03.3417730Z 96                                          // mir::Constant
2020-04-14T12:09:03.3417730Z 96                                          // mir::Constant
2020-04-14T12:09:03.3418373Z -                                          // + span: $DIR/region-subtyping-basic.rs:18:8: 18:12
2020-04-14T12:09:03.3419095Z +                                          // + span: $DIR/region-subtyping-basic.rs:20:8: 20:12
2020-04-14T12:09:03.3419611Z 98                                          // + literal: Const { ty: bool, val: Value(Scalar(0x01)) }
2020-04-14T12:09:03.3420400Z -         FakeRead(ForMatchedPlace, _7);   // bb2[7]: scope 3 at $DIR/region-subtyping-basic.rs:18:8: 18:12
2020-04-14T12:09:03.3421336Z -         switchInt(_7) -> [Const(Value(Scalar(0x00)): bool): bb4, otherwise: bb3]; // bb2[8]: scope 3 at $DIR/region-subtyping-basic.rs:18:5: 22:6
2020-04-14T12:09:03.3422241Z +         FakeRead(ForMatchedPlace, _7);   // bb2[7]: scope 3 at $DIR/region-subtyping-basic.rs:20:8: 20:12
2020-04-14T12:09:03.3423239Z +         switchInt(_7) -> [Const(Value(Scalar(0x00)): bool): bb4, otherwise: bb3]; // bb2[8]: scope 3 at $DIR/region-subtyping-basic.rs:20:5: 24:6
2020-04-14T12:09:03.3423838Z 102 
2020-04-14T12:09:03.3423988Z 103     bb3: {
2020-04-14T12:09:03.3424109Z 
2020-04-14T12:09:03.3424109Z 
2020-04-14T12:09:03.3424747Z -         falseEdges -> [real: bb5, imaginary: bb4]; // bb3[0]: scope 3 at $DIR/region-subtyping-basic.rs:18:5: 22:6
2020-04-14T12:09:03.3425639Z +         falseEdges -> [real: bb5, imaginary: bb4]; // bb3[0]: scope 3 at $DIR/region-subtyping-basic.rs:20:5: 24:6
2020-04-14T12:09:03.3426158Z 106 
2020-04-14T12:09:03.3426317Z 107     bb4: {
2020-04-14T12:09:03.3426437Z 
2020-04-14T12:09:03.3426437Z 
2020-04-14T12:09:03.3427000Z -         StorageLive(_10);                // bb4[0]: scope 3 at $DIR/region-subtyping-basic.rs:21:9: 21:18
2020-04-14T12:09:03.3428255Z -         _10 = const Const(Value(Scalar(<ZST>)): fn(usize) -> bool {use_x})(const Const(Value(Scalar(0x00000016)): usize)) -> [return: bb7, unwind: bb1]; // bb4[1]: scope 3 at $DIR/region-subtyping-basic.rs:21:9: 21:18
2020-04-14T12:09:03.3429753Z +         StorageLive(_10);                // bb4[0]: scope 3 at $DIR/region-subtyping-basic.rs:23:9: 23:18
2020-04-14T12:09:03.3430945Z +         _10 = const Const(Value(Scalar(<ZST>)): fn(usize) -> bool {use_x})(const Const(Value(Scalar(0x00000016)): usize)) -> [return: bb7, unwind: bb1]; // bb4[1]: scope 3 at $DIR/region-subtyping-basic.rs:23:9: 23:18
2020-04-14T12:09:03.3431631Z 110                                          // ty::Const
2020-04-14T12:09:03.3432175Z 111                                          // + ty: fn(usize) -> bool {use_x}
2020-04-14T12:09:03.3432578Z 112                                          // + val: Value(Scalar(<ZST>))
2020-04-14T12:09:03.3433016Z 113                                          // mir::Constant
2020-04-14T12:09:03.3433016Z 113                                          // mir::Constant
2020-04-14T12:09:03.3433717Z -                                          // + span: $DIR/region-subtyping-basic.rs:21:9: 21:14
2020-04-14T12:09:03.3434445Z +                                          // + span: $DIR/region-subtyping-basic.rs:23:9: 23:14
2020-04-14T12:09:03.3435266Z 115                                          // + literal: Const { ty: fn(usize) -> bool {use_x}, val: Value(Scalar(<ZST>)) }
2020-04-14T12:09:03.3435887Z 116                                          // ty::Const
2020-04-14T12:09:03.3436185Z 117                                          // + ty: usize
2020-04-14T12:09:03.3436371Z 
2020-04-14T12:09:03.3436637Z 118                                          // + val: Value(Scalar(0x00000016))
2020-04-14T12:09:03.3436996Z 119                                          // mir::Constant
2020-04-14T12:09:03.3437657Z -                                          // + span: $DIR/region-subtyping-basic.rs:21:15: 21:17
2020-04-14T12:09:03.3438404Z +                                          // + span: $DIR/region-subtyping-basic.rs:23:15: 23:17
2020-04-14T12:09:03.3438949Z 121                                          // + literal: Const { ty: usize, val: Value(Scalar(0x00000016)) }
2020-04-14T12:09:03.3439449Z 123 
2020-04-14T12:09:03.3439547Z 
2020-04-14T12:09:03.3439684Z 124     bb5: {
2020-04-14T12:09:03.3439684Z 124     bb5: {
2020-04-14T12:09:03.3440293Z -         StorageLive(_8);                 // bb5[0]: scope 3 at $DIR/region-subtyping-basic.rs:19:9: 19:18
2020-04-14T12:09:03.3441103Z -         StorageLive(_9);                 // bb5[1]: scope 3 at $DIR/region-subtyping-basic.rs:19:15: 19:17
2020-04-14T12:09:03.3441897Z -         _9 = (*_6);                      // bb5[2]: scope 3 at $DIR/region-subtyping-basic.rs:19:15: 19:17
2020-04-14T12:09:03.3442942Z -         _8 = const Const(Value(Scalar(<ZST>)): fn(usize) -> bool {use_x})(move _9) -> [return: bb6, unwind: bb1]; // bb5[3]: scope 3 at $DIR/region-subtyping-basic.rs:19:9: 19:18
2020-04-14T12:09:03.3443902Z +         StorageLive(_8);                 // bb5[0]: scope 3 at $DIR/region-subtyping-basic.rs:21:9: 21:18
2020-04-14T12:09:03.3444692Z +         StorageLive(_9);                 // bb5[1]: scope 3 at $DIR/region-subtyping-basic.rs:21:15: 21:17
2020-04-14T12:09:03.3445576Z +         _9 = (*_6);                      // bb5[2]: scope 3 at $DIR/region-subtyping-basic.rs:21:15: 21:17
2020-04-14T12:09:03.3446645Z +         _8 = const Const(Value(Scalar(<ZST>)): fn(usize) -> bool {use_x})(move _9) -> [return: bb6, unwind: bb1]; // bb5[3]: scope 3 at $DIR/region-subtyping-basic.rs:21:9: 21:18
2020-04-14T12:09:03.3447251Z 129                                          // ty::Const
2020-04-14T12:09:03.3447809Z 130                                          // + ty: fn(usize) -> bool {use_x}
2020-04-14T12:09:03.3448195Z 131                                          // + val: Value(Scalar(<ZST>))
2020-04-14T12:09:03.3448648Z 132                                          // mir::Constant
2020-04-14T12:09:03.3448648Z 132                                          // mir::Constant
2020-04-14T12:09:03.3449272Z -                                          // + span: $DIR/region-subtyping-basic.rs:19:9: 19:14
2020-04-14T12:09:03.3450007Z +                                          // + span: $DIR/region-subtyping-basic.rs:21:9: 21:14
2020-04-14T12:09:03.3450838Z 134                                          // + literal: Const { ty: fn(usize) -> bool {use_x}, val: Value(Scalar(<ZST>)) }
2020-04-14T12:09:03.3451366Z 136 
2020-04-14T12:09:03.3451481Z 
2020-04-14T12:09:03.3451618Z 137     bb6: {
2020-04-14T12:09:03.3451618Z 137     bb6: {
2020-04-14T12:09:03.3452215Z -         StorageDead(_9);                 // bb6[0]: scope 3 at $DIR/region-subtyping-basic.rs:19:17: 19:18
2020-04-14T12:09:03.3453023Z -         StorageDead(_8);                 // bb6[1]: scope 3 at $DIR/region-subtyping-basic.rs:19:18: 19:19
2020-04-14T12:09:03.3453811Z -         _0 = ();                         // bb6[2]: scope 3 at $DIR/region-subtyping-basic.rs:18:13: 20:6
2020-04-14T12:09:03.3454592Z -         goto -> bb8;                     // bb6[3]: scope 3 at $DIR/region-subtyping-basic.rs:18:5: 22:6
2020-04-14T12:09:03.3455398Z +         StorageDead(_9);                 // bb6[0]: scope 3 at $DIR/region-subtyping-basic.rs:21:17: 21:18
2020-04-14T12:09:03.3456205Z +         StorageDead(_8);                 // bb6[1]: scope 3 at $DIR/region-subtyping-basic.rs:21:18: 21:19
2020-04-14T12:09:03.3456995Z +         _0 = ();                         // bb6[2]: scope 3 at $DIR/region-subtyping-basic.rs:20:13: 22:6
2020-04-14T12:09:03.3457899Z +         goto -> bb8;                     // bb6[3]: scope 3 at $DIR/region-subtyping-basic.rs:20:5: 24:6
2020-04-14T12:09:03.3458379Z 143 
2020-04-14T12:09:03.3458537Z 144     bb7: {
2020-04-14T12:09:03.3458658Z 
2020-04-14T12:09:03.3458658Z 
2020-04-14T12:09:03.3459226Z -         StorageDead(_10);                // bb7[0]: scope 3 at $DIR/region-subtyping-basic.rs:21:18: 21:19
2020-04-14T12:09:03.3460028Z -         _0 = ();                         // bb7[1]: scope 3 at $DIR/region-subtyping-basic.rs:20:12: 22:6
2020-04-14T12:09:03.3460799Z -         goto -> bb8;                     // bb7[2]: scope 3 at $DIR/region-subtyping-basic.rs:18:5: 22:6
2020-04-14T12:09:03.3461597Z +         StorageDead(_10);                // bb7[0]: scope 3 at $DIR/region-subtyping-basic.rs:23:18: 23:19
2020-04-14T12:09:03.3462408Z +         _0 = ();                         // bb7[1]: scope 3 at $DIR/region-subtyping-basic.rs:22:12: 24:6
2020-04-14T12:09:03.3463193Z +         goto -> bb8;                     // bb7[2]: scope 3 at $DIR/region-subtyping-basic.rs:20:5: 24:6
2020-04-14T12:09:03.3463679Z 149 
2020-04-14T12:09:03.3463823Z 150     bb8: {
2020-04-14T12:09:03.3463942Z 
2020-04-14T12:09:03.3463942Z 
2020-04-14T12:09:03.3464512Z -         StorageDead(_6);                 // bb8[0]: scope 2 at $DIR/region-subtyping-basic.rs:23:1: 23:2
2020-04-14T12:09:03.3465292Z -         StorageDead(_3);                 // bb8[1]: scope 1 at $DIR/region-subtyping-basic.rs:23:1: 23:2
2020-04-14T12:09:03.3466076Z -         StorageDead(_2);                 // bb8[2]: scope 1 at $DIR/region-subtyping-basic.rs:23:1: 23:2
2020-04-14T12:09:03.3466866Z -         StorageDead(_1);                 // bb8[3]: scope 0 at $DIR/region-subtyping-basic.rs:23:1: 23:2
2020-04-14T12:09:03.3467707Z -         StorageDead(_7);                 // bb8[4]: scope 0 at $DIR/region-subtyping-basic.rs:23:1: 23:2
2020-04-14T12:09:03.3468754Z -         return;                          // bb8[5]: scope 0 at $DIR/region-subtyping-basic.rs:23:2: 23:2
2020-04-14T12:09:03.3469621Z +         StorageDead(_6);                 // bb8[0]: scope 2 at $DIR/region-subtyping-basic.rs:25:1: 25:2
2020-04-14T12:09:03.3470404Z +         StorageDead(_3);                 // bb8[1]: scope 1 at $DIR/region-subtyping-basic.rs:25:1: 25:2
2020-04-14T12:09:03.3471181Z +         StorageDead(_2);                 // bb8[2]: scope 1 at $DIR/region-subtyping-basic.rs:25:1: 25:2
2020-04-14T12:09:03.3471975Z +         StorageDead(_1);                 // bb8[3]: scope 0 at $DIR/region-subtyping-basic.rs:25:1: 25:2
2020-04-14T12:09:03.3472744Z +         StorageDead(_7);                 // bb8[4]: scope 0 at $DIR/region-subtyping-basic.rs:25:1: 25:2
2020-04-14T12:09:03.3473530Z +         return;                          // bb8[5]: scope 0 at $DIR/region-subtyping-basic.rs:25:2: 25:2
2020-04-14T12:09:03.3474004Z 158 }
2020-04-14T12:09:03.3474143Z 159 
2020-04-14T12:09:03.3474245Z 
2020-04-14T12:09:03.3474245Z 
2020-04-14T12:09:03.3475100Z thread '[mir-opt] mir-opt/nll/region-subtyping-basic.rs' panicked at 'Actual MIR output differs from expected MIR output /checkout/src/test/mir-opt/nll/region-subtyping-basic/32bit/rustc.main.nll.0.mir', src/tools/compiletest/src/runtest.rs:3159:25
2020-04-14T12:09:03.3475969Z 
2020-04-14T12:09:03.3476065Z 
2020-04-14T12:09:03.3476191Z failures:
2020-04-14T12:09:03.3476597Z     [mir-opt] mir-opt/nll/region-subtyping-basic.rs
2020-04-14T12:09:03.3476597Z     [mir-opt] mir-opt/nll/region-subtyping-basic.rs
2020-04-14T12:09:03.3476768Z 
2020-04-14T12:09:03.3477227Z test result: FAILED. 88 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
2020-04-14T12:09:03.3477458Z 
2020-04-14T12:09:03.3477565Z 
2020-04-14T12:09:03.3477653Z 
2020-04-14T12:09:03.3481699Z 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/armv5te-unknown-linux-gnueabi/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-armv5te-unknown-linux-gnueabi" "--mode" "mir-opt" "--target" "armv5te-unknown-linux-gnueabi" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-7/bin/FileCheck" "--pass" "build" "--nodejs" "/usr/bin/node" "--linker" "arm-linux-gnueabi-gcc" "--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/armv5te-unknown-linux-gnueabi/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" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2020-04-14T12:09:03.3484283Z 
2020-04-14T12:09:03.3484375Z 
2020-04-14T12:09:03.3484883Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:348:22
2020-04-14T12:09:03.3484883Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:348:22
2020-04-14T12:09:03.3485635Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/test/mir-opt --pass=build --target=armv5te-unknown-linux-gnueabi
2020-04-14T12:09:03.3486299Z == clock drift check ==
2020-04-14T12:09:03.3486299Z == clock drift check ==
2020-04-14T12:09:03.3486528Z   local time: Tue Apr 14 12:09:03 UTC 2020
2020-04-14T12:09:03.4349221Z   network time: Tue, 14 Apr 2020 12:09:03 GMT
2020-04-14T12:09:06.0265216Z 
2020-04-14T12:09:06.0265216Z 
2020-04-14T12:09:06.0368526Z ##[error]Bash exited with code '1'.
2020-04-14T12:09:06.0482384Z ##[section]Finishing: Run build
2020-04-14T12:09:06.0552098Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/70950/merge to s
2020-04-14T12:09:06.0557804Z Task         : Get sources
2020-04-14T12:09:06.0558167Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-14T12:09:06.0558515Z Version      : 1.0.0
2020-04-14T12:09:06.0558752Z Author       : Microsoft
2020-04-14T12:09:06.0558752Z Author       : Microsoft
2020-04-14T12:09:06.0559123Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-04-14T12:09:06.0559563Z ==============================================================================
2020-04-14T12:09:06.4421115Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-04-14T12:09:06.4482333Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/70950/merge to s
2020-04-14T12:09:06.4590263Z Cleaning up task key
2020-04-14T12:09:06.4591538Z Start cleaning up orphan processes.
2020-04-14T12:09:06.4807324Z Terminate orphan process: pid (3509) (python)
2020-04-14T12:09:06.5380575Z ##[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

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

@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-16T11:04:59.5094139Z ========================== Starting Command Output ===========================
2020-04-16T11:04:59.5099613Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/13cfddc9-63fa-46f0-965a-1cc93ec58b00.sh
2020-04-16T11:04:59.5100085Z 
2020-04-16T11:04:59.5105202Z ##[section]Finishing: Disable git automatic line ending conversion
2020-04-16T11:04:59.5141094Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/70950/merge to s
2020-04-16T11:04:59.5144327Z Task         : Get sources
2020-04-16T11:04:59.5144593Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-16T11:04:59.5144848Z Version      : 1.0.0
2020-04-16T11:04:59.5145041Z Author       : Microsoft
---
2020-04-16T11:05:01.1647371Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-04-16T11:05:01.2174095Z ##[command]git config gc.auto 0
2020-04-16T11:05:01.2214273Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-04-16T11:05:01.2220201Z ##[command]git config --get-all http.proxy
2020-04-16T11:05:01.2228431Z ##[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/70950/merge:refs/remotes/pull/70950/merge
---
2020-04-16T11:07:07.0432207Z  ---> f58a2bb1e753
2020-04-16T11:07:07.0433272Z 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-16T11:07:07.0436677Z  ---> Using cache
2020-04-16T11:07:07.0437099Z  ---> d079cc6b6db8
2020-04-16T11:07:07.0438128Z 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-16T11:07:07.0444004Z  ---> 4183ca46ee56
2020-04-16T11:07:07.0444234Z Step 7/8 : ENV NO_DEBUG_ASSERTIONS=1
2020-04-16T11:07:07.0447718Z  ---> Using cache
2020-04-16T11:07:07.0448152Z  ---> 69e7f8a2a2fb
---
2020-04-16T11:07:07.0977816Z Looks like docker image is the same as before, not uploading
2020-04-16T11:07:15.1835588Z [CI_JOB_NAME=x86_64-gnu-llvm-7]
2020-04-16T11:07:15.2139882Z [CI_JOB_NAME=x86_64-gnu-llvm-7]
2020-04-16T11:07:15.2176408Z == clock drift check ==
2020-04-16T11:07:15.2187644Z   local time: Thu Apr 16 11:07:15 UTC 2020
2020-04-16T11:07:15.5160874Z   network time: Thu, 16 Apr 2020 11:07:15 GMT
2020-04-16T11:07:15.5188878Z Starting sccache server...
2020-04-16T11:07:15.6130829Z configure: processing command line
2020-04-16T11:07:15.6131074Z configure: 
2020-04-16T11:07:15.6132206Z configure: rust.dist-src        := False
---
2020-04-16T11:12:44.9024422Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-16T11:12:46.8208547Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-16T11:12:48.1632003Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-16T11:12:50.1981973Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-16T11:12:58.8325451Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-16T11:13:02.5406944Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-16T11:13:07.3449910Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-16T11:13:11.8672412Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-16T11:13:21.5737732Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-16T11:36:58.8764786Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-16T11:37:00.7168139Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-16T11:37:02.7774865Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-16T11:37:05.8352160Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-16T11:37:15.4381774Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-16T11:37:20.9829644Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-16T11:37:26.4093758Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-16T11:37:32.0780812Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-16T11:37:41.6719610Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-16T12:04:40.3499216Z .................................................................................................... 1700/9899
2020-04-16T12:04:45.0642426Z .................................................................................................... 1800/9899
2020-04-16T12:04:54.2491076Z .................................................................................................... 1900/9899
2020-04-16T12:05:03.0699904Z ......i............................................................................................. 2000/9899
2020-04-16T12:05:09.9136289Z ................................................................................................iiii 2100/9899
2020-04-16T12:05:25.5810836Z i................................................................................................... 2200/9899
2020-04-16T12:05:34.3000300Z .................................................................................................... 2400/9899
2020-04-16T12:05:36.7161521Z .................................................................................................... 2500/9899
2020-04-16T12:05:42.7067685Z .................................................................................................... 2600/9899
2020-04-16T12:06:02.7274867Z .................................................................................................... 2700/9899
---
2020-04-16T12:08:47.2350717Z .................................................................................................... 5100/9899
2020-04-16T12:08:55.4260289Z .................................................................................................... 5200/9899
2020-04-16T12:09:00.1636811Z .................i.................................................................................. 5300/9899
2020-04-16T12:09:11.2696497Z .......i............................................................................................ 5400/9899
2020-04-16T12:09:16.8125643Z .......ii.ii........i...i........................................................................... 5500/9899
2020-04-16T12:09:24.5192615Z .....................................................i.............................................. 5700/9899
2020-04-16T12:09:34.4819356Z .........................................................................ii......................... 5800/9899
2020-04-16T12:09:41.3011578Z ............i....................................................................................... 5900/9899
2020-04-16T12:09:46.7573447Z .................................................................................................... 6000/9899
2020-04-16T12:09:46.7573447Z .................................................................................................... 6000/9899
2020-04-16T12:09:57.6453459Z .................................................................................................... 6100/9899
2020-04-16T12:10:08.9821203Z ......ii...i..ii...........i........................................................................ 6200/9899
2020-04-16T12:10:24.5585852Z .................................................................................................... 6400/9899
2020-04-16T12:10:31.1761459Z .................................................................................................... 6500/9899
2020-04-16T12:10:31.1761459Z .................................................................................................... 6500/9899
2020-04-16T12:10:47.0082716Z ......................................i..ii......................................................... 6600/9899
2020-04-16T12:11:09.3074395Z .................................................................................................... 6800/9899
2020-04-16T12:11:11.3705417Z ......................................i............................................................. 6900/9899
2020-04-16T12:11:13.4670505Z .................................................................................................... 7000/9899
2020-04-16T12:11:15.6197334Z ..............................................................................i..................... 7100/9899
---
2020-04-16T12:12:57.8755942Z .................................................................................................... 7800/9899
2020-04-16T12:13:02.3074341Z .................................................................................................... 7900/9899
2020-04-16T12:13:09.1423702Z .................................................................................................... 8000/9899
2020-04-16T12:13:15.4795720Z ............................................i....................................................... 8100/9899
2020-04-16T12:13:25.6923120Z ............................................................................................iiiiii.i 8200/9899
2020-04-16T12:13:31.7722477Z iiii.i.............................................................................................. 8300/9899
2020-04-16T12:13:45.1554748Z .................................................................................................... 8500/9899
2020-04-16T12:13:54.5567974Z .................................................................................................... 8600/9899
2020-04-16T12:14:08.3662503Z .................................................................................................... 8700/9899
2020-04-16T12:14:15.3391454Z .................................................................................................... 8800/9899
---
2020-04-16T12:16:41.3003039Z st/codegen") not skipped for "bootstrap::test::Codegen" -- not in ["src/tools/tidy"]
2020-04-16T12:16:41.3184644Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-16T12:16:41.5156511Z 
2020-04-16T12:16:41.5156763Z running 185 tests
2020-04-16T12:16:44.3097509Z iiii......i............ii.i..iiii....i....i...........i............i..i..................i....i..... 100/185
2020-04-16T12:16:47.0066786Z .......i.i.i...iii..iiiiiiiiiiiiiiii.......................iii...............ii......
2020-04-16T12:16:47.0070385Z 
2020-04-16T12:16:47.0075925Z  finished in 5.689
2020-04-16T12:16:47.0082065Z Suite("src/test/codegen-units") not skipped for "bootstrap::test::CodegenUnits" -- not in ["src/tools/tidy"]
2020-04-16T12:16:47.0246753Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-16T12:16:49.1946779Z Suite("src/test/assembly") not skipped for "bootstrap::test::Assembly" -- not in ["src/tools/tidy"]
2020-04-16T12:16:49.2116841Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-16T12:16:49.3637663Z 
2020-04-16T12:16:49.3638106Z running 9 tests
2020-04-16T12:16:49.3639469Z iiiiiiiii
2020-04-16T12:16:49.3640481Z 
2020-04-16T12:16:49.3644835Z  finished in 0.152
2020-04-16T12:16:49.3645637Z Suite("src/test/incremental") not skipped for "bootstrap::test::Incremental" -- not in ["src/tools/tidy"]
2020-04-16T12:16:49.3805131Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-16T12:17:10.5770093Z Suite("src/test/debuginfo") not skipped for "bootstrap::test::Debuginfo" -- not in ["src/tools/tidy"]
2020-04-16T12:17:10.5967745Z Check compiletest suite=debuginfo mode=debuginfo (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-16T12:17:10.7729817Z 
2020-04-16T12:17:10.7730041Z running 115 tests
2020-04-16T12:17:24.9049969Z iiiii..i.....i..i...i..i.i.i..i..i..ii....i.i....ii..........iiii.........i.....i..i.......ii.i.ii.. 100/115
2020-04-16T12:17:26.6975339Z ...iiii.....ii.
2020-04-16T12:17:26.6976709Z 
2020-04-16T12:17:26.6981368Z  finished in 16.101
2020-04-16T12:17:26.6994116Z Suite("src/test/ui-fulldeps") not skipped for "bootstrap::test::UiFullDeps" -- not in ["src/tools/tidy"]
2020-04-16T12:17:26.6995199Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-16T12:31:05.6911306Z 
2020-04-16T12:31:05.6912782Z    Doc-tests core
2020-04-16T12:31:10.8554832Z 
2020-04-16T12:31:10.8555967Z running 2496 tests
2020-04-16T12:31:20.4942302Z ......iiiii......................................................................................... 100/2496
2020-04-16T12:31:29.7412447Z .....................................................................................ii............. 200/2496
2020-04-16T12:31:52.3934074Z ....................i............................................................................... 400/2496
2020-04-16T12:31:52.3934074Z ....................i............................................................................... 400/2496
2020-04-16T12:32:03.0135657Z ..........................................................................i..i..................iiii 500/2496
2020-04-16T12:32:20.3373922Z .................................................................................................... 700/2496
2020-04-16T12:32:29.2034900Z .................................................................................................... 800/2496
2020-04-16T12:32:37.9735645Z .................................................................................................... 900/2496
2020-04-16T12:32:46.6729868Z .................................................................................................... 1000/2496
---
2020-04-16T12:36:19.8005399Z .................................................................................................... 500/764
2020-04-16T12:36:19.8493349Z ......................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2741:22
2020-04-16T12:36:19.8517045Z ....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2778:21
2020-04-16T12:36:19.8522725Z thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libstd/sync/mpsc/mod.rs:2766:17
2020-04-16T12:36:19.8541158Z .......thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2645:13
2020-04-16T12:36:20.1018297Z ..........................................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:1997:22
2020-04-16T12:36:20.1070404Z ....thread '<unnamed>' panicked at '.called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2034:..21....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:1916:13
2020-04-16T12:36:20.1311243Z ............ 600/764
2020-04-16T12:36:22.1724020Z ............................thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/mutex.rs:633:13
2020-04-16T12:36:22.1724857Z thread '<unnamed>' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:587:13
2020-04-16T12:36:22.1735783Z thread '<unnamed>' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:563:13
---
2020-04-16T12:36:31.2716896Z 
2020-04-16T12:36:31.2717936Z running 1020 tests
2020-04-16T12:36:49.4142593Z i................................................................................................... 100/1020
2020-04-16T12:36:59.9223226Z .................................................................................................... 200/1020
2020-04-16T12:37:07.7294625Z ...................iii......i......i...i......i..................................................... 300/1020
2020-04-16T12:37:12.7697498Z .................................................................................................... 400/1020
2020-04-16T12:37:19.5305974Z ....................................................i....i......................................ii.. 500/1020
2020-04-16T12:37:32.6486899Z .................................................................................................... 700/1020
2020-04-16T12:37:32.6486899Z .................................................................................................... 700/1020
2020-04-16T12:37:39.8782082Z ..............................................iiii.................................................. 800/1020
2020-04-16T12:37:54.2428188Z .................................................................................................... 900/1020
2020-04-16T12:38:00.4778453Z ....................................................................iiii............................ 1000/1020
2020-04-16T12:38:01.8782719Z test result: ok. 1000 passed; 0 failed; 20 ignored; 0 measured; 0 filtered out
2020-04-16T12:38:01.8783173Z 
2020-04-16T12:38:01.8910115Z  finished in 172.924
2020-04-16T12:38:01.8913418Z Set({"src/libterm"}) not skipped for "bootstrap::test::Crate" -- not in ["src/tools/tidy"]
---
2020-04-16T12:41:31.8966465Z 
2020-04-16T12:41:31.8966798Z test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
2020-04-16T12:41:31.8967155Z 
2020-04-16T12:41:31.9021232Z  finished in 1.053
2020-04-16T12:41:31.9022419Z Set({"/checkout/src/librustc_query_system"}) not skipped for "bootstrap::test::CrateLibrustc" -- not in ["src/tools/tidy"]
2020-04-16T12:41:31.9034160Z Testing rustc_query_system stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-16T12:41:32.0940277Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-16T12:41:33.2427401Z      Running build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/rustc_query_system-f7467bb7b4d568b0
2020-04-16T12:41:33.2456276Z 
2020-04-16T12:41:33.2456722Z running 0 tests
2020-04-16T12:41:33.2457028Z 
---
2020-04-16T12:57:13.6711898Z Set({"/checkout/src/librustc_parse"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-16T12:57:13.6712754Z Set({"/checkout/src/librustc_passes"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-16T12:57:13.6713597Z Set({"/checkout/src/librustc_plugin_impl"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-16T12:57:13.6714419Z Set({"/checkout/src/librustc_privacy"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-16T12:57:13.6715260Z Set({"/checkout/src/librustc_query_system"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-16T12:57:13.6716908Z Set({"/checkout/src/librustc_save_analysis"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-16T12:57:13.6717754Z Set({"/checkout/src/librustc_session"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-16T12:57:13.6718566Z Set({"/checkout/src/librustc_span"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-16T12:57:13.6719394Z Set({"/checkout/src/librustc_symbol_mangling"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
---
2020-04-16T12:58:19.3585396Z Suite("src/test/run-make-fulldeps") not skipped for "bootstrap::test::RunMakeFullDeps" -- not in ["src/tools/tidy"]
2020-04-16T12:58:19.3977121Z Check compiletest suite=run-make-fulldeps mode=run-make (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-16T12:58:19.6126188Z 
2020-04-16T12:58:19.6127432Z running 211 tests
2020-04-16T12:58:53.3676176Z ......................i...ii.......................................................................i 100/211
2020-04-16T12:59:34.9936313Z ........................................iiiiii......i..............iii.............................. 200/211
2020-04-16T12:59:39.6728690Z .......ii..
2020-04-16T12:59:39.6730867Z 
2020-04-16T12:59:39.6734555Z  finished in 80.276
2020-04-16T12:59:39.6739660Z Set({"src/doc/rustdoc"}) not skipped for "bootstrap::test::RustdocBook" -- not in ["src/tools/tidy"]
2020-04-16T12:59:39.6744253Z doc tests for: /checkout/src/doc/rustdoc/src/advanced-features.md
---
2020-04-16T12:59:54.5646659Z doc tests for: /checkout/src/doc/rustc/src/targets/index.md
2020-04-16T12:59:54.5826902Z doc tests for: /checkout/src/doc/rustc/src/what-is-rustc.md
2020-04-16T12:59:54.7516513Z  finished in 4.650
2020-04-16T12:59:54.7525643Z Set({"src/test/rustdoc-js-std"}) not skipped for "bootstrap::test::RustdocJSStd" -- not in ["src/tools/tidy"]
2020-04-16T12:59:55.7211183Z Checking "alias-1" ... OK
2020-04-16T12:59:55.7898746Z Checking "alias-2" ... OK
2020-04-16T12:59:55.8516621Z Checking "alias-3" ... OK
2020-04-16T12:59:55.9200085Z Checking "alias" ... OK
2020-04-16T12:59:55.9980258Z Checking "basic" ... OK
2020-04-16T12:59:56.0753891Z Checking "deduplication" ... OK
2020-04-16T12:59:56.1280575Z Checking "enum-option" ... OK
2020-04-16T12:59:56.1984149Z Checking "filter-crate" ... OK
2020-04-16T12:59:56.2618397Z Checking "fn-forget" ... OK
2020-04-16T12:59:56.3673564Z Checking "from_u" ... OK
2020-04-16T12:59:56.4602450Z Checking "keyword" ... OK
2020-04-16T12:59:56.5145229Z Checking "macro-check" ... OK
2020-04-16T12:59:56.5506504Z Checking "macro-print" ... OK
2020-04-16T12:59:56.6303424Z Checking "multi-query" ... OK
2020-04-16T12:59:56.6588110Z Checking "never" ... OK
2020-04-16T12:59:56.6792585Z Checking "quoted" ... OK
2020-04-16T12:59:56.7055985Z Checking "return-specific-literal" ... OK
2020-04-16T12:59:56.7779295Z Checking "return-specific" ... OK
2020-04-16T12:59:56.8143574Z Checking "should-fail" ... OK
2020-04-16T12:59:56.8875639Z Checking "string-from_ut" ... OK
2020-04-16T12:59:56.9401340Z Checking "struct-vec" ... OK
2020-04-16T12:59:57.0612780Z Checking "vec-new" ... OK
2020-04-16T12:59:57.0856404Z Check compiletest suite=rustdoc-js mode=js-doc-test (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-16T12:59:57.2537366Z 
2020-04-16T12:59:57.2537879Z running 6 tests
2020-04-16T13:00:03.1927450Z ......
---
2020-04-16T13:01:15.6294396Z Suite("src/test/run-make") not skipped for "bootstrap::test::RunMake" -- not in ["src/tools/tidy"]
2020-04-16T13:01:15.6502316Z Check compiletest suite=run-make mode=run-make (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-16T13:01:15.8294965Z 
2020-04-16T13:01:15.8295217Z running 13 tests
2020-04-16T13:01:16.6367004Z .iiiiiii.iii.
2020-04-16T13:01:16.6368703Z 
2020-04-16T13:01:16.6372011Z  finished in 0.987
2020-04-16T13:01:16.6439263Z Build completed successfully in 1:52:20
2020-04-16T13:01:16.6439263Z Build completed successfully in 1:52:20
2020-04-16T13:01:16.6449458Z + python2.7 ../x.py test src/test/mir-opt --pass=build --target=armv5te-unknown-linux-gnueabi
2020-04-16T13:01:18.2699546Z Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-16T13:01:18.5076065Z     Finished release [optimized] target(s) in 0.23s
2020-04-16T13:01:18.5164228Z Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
2020-04-16T13:01:18.5271383Z Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-16T13:02:50.0544101Z failures:
2020-04-16T13:02:50.0552599Z 
2020-04-16T13:02:50.0554294Z ---- [mir-opt] mir-opt/nll/region-subtyping-basic.rs stdout ----
2020-04-16T13:02:50.0554625Z 7 | Inferred Region Values
2020-04-16T13:02:50.0555364Z 8 | '_#0r | U0 | {bb0[0..=8], bb1[0], bb2[0..=8], bb3[0], bb4[0..=1], bb5[0..=3], bb6[0..=3], bb7[0..=2], bb8[0..=5], '_#0r, '_#1r}
2020-04-16T13:02:50.0556461Z 9 | '_#1r | U0 | {bb0[0..=8], bb1[0], bb2[0..=8], bb3[0], bb4[0..=1], bb5[0..=3], bb6[0..=3], bb7[0..=2], bb8[0..=5], '_#1r}
2020-04-16T13:02:50.0560060Z - | '_#2r | U0 | {bb2[0..=8], bb3[0], bb5[0..=2]}
2020-04-16T13:02:50.0560675Z - | '_#3r | U0 | {bb2[1..=8], bb3[0], bb5[0..=2]}
2020-04-16T13:02:50.0561334Z - | '_#4r | U0 | {bb2[4..=8], bb3[0], bb5[0..=2]}
2020-04-16T13:02:50.0561816Z + | '_#2r | U0 | {}
2020-04-16T13:02:50.0562260Z + | '_#3r | U0 | {bb2[0..=8], bb3[0], bb5[0..=2]}
2020-04-16T13:02:50.0562748Z + | '_#4r | U0 | {bb2[1..=8], bb3[0], bb5[0..=2]}
2020-04-16T13:02:50.0563259Z + | '_#5r | U0 | {bb2[4..=8], bb3[0], bb5[0..=2]}
2020-04-16T13:02:50.0563635Z 14 | Inference Constraints
2020-04-16T13:02:50.0563635Z 14 | Inference Constraints
2020-04-16T13:02:50.0564306Z 15 | '_#0r live at {bb0[0..=8], bb1[0], bb2[0..=8], bb3[0], bb4[0..=1], bb5[0..=3], bb6[0..=3], bb7[0..=2], bb8[0..=5]}
2020-04-16T13:02:50.0564613Z 
2020-04-16T13:02:50.0565408Z 16 | '_#1r live at {bb0[0..=8], bb1[0], bb2[0..=8], bb3[0], bb4[0..=1], bb5[0..=3], bb6[0..=3], bb7[0..=2], bb8[0..=5]}
2020-04-16T13:02:50.0566037Z - | '_#2r live at {bb2[0]}
2020-04-16T13:02:50.0566440Z - | '_#3r live at {bb2[1..=3]}
2020-04-16T13:02:50.0566900Z - | '_#4r live at {bb2[4..=8], bb3[0], bb5[0..=2]}
2020-04-16T13:02:50.0567416Z - | '_#2r: '_#3r due to Assignment at Single(bb2[0])
2020-04-16T13:02:50.0567919Z - | '_#3r: '_#4r due to Assignment at Single(bb2[3])
2020-04-16T13:02:50.0568346Z + | '_#3r live at {bb2[0]}
2020-04-16T13:02:50.0568760Z + | '_#4r live at {bb2[1..=3]}
2020-04-16T13:02:50.0569220Z + | '_#5r live at {bb2[4..=8], bb3[0], bb5[0..=2]}
2020-04-16T13:02:50.0569714Z + | '_#3r: '_#4r due to Assignment at Single(bb2[0])
2020-04-16T13:02:50.0570230Z + | '_#4r: '_#5r due to Assignment at Single(bb2[3])
2020-04-16T13:02:50.0570784Z 23 fn main() -> () {
2020-04-16T13:02:50.0571457Z -     let mut _0: ();                      // return place in scope 0 at $DIR/region-subtyping-basic.rs:14:11: 14:11
2020-04-16T13:02:50.0571457Z -     let mut _0: ();                      // return place in scope 0 at $DIR/region-subtyping-basic.rs:14:11: 14:11
2020-04-16T13:02:50.0572424Z -     let mut _1: [usize; Const { ty: usize, val: Value(Scalar(0x00000003)) }]; // in scope 0 at $DIR/region-subtyping-basic.rs:15:9: 15:14
2020-04-16T13:02:50.0573298Z -     let _3: usize;                       // in scope 0 at $DIR/region-subtyping-basic.rs:16:16: 16:17
2020-04-16T13:02:50.0574108Z -     let mut _4: usize;                   // in scope 0 at $DIR/region-subtyping-basic.rs:16:14: 16:18
2020-04-16T13:02:50.0574902Z -     let mut _5: bool;                    // in scope 0 at $DIR/region-subtyping-basic.rs:16:14: 16:18
2020-04-16T13:02:50.0575691Z -     let mut _7: bool;                    // in scope 0 at $DIR/region-subtyping-basic.rs:18:8: 18:12
2020-04-16T13:02:50.0576491Z -     let _8: bool;                        // in scope 0 at $DIR/region-subtyping-basic.rs:19:9: 19:18
2020-04-16T13:02:50.0577277Z -     let mut _9: usize;                   // in scope 0 at $DIR/region-subtyping-basic.rs:19:15: 19:17
2020-04-16T13:02:50.0578068Z -     let _10: bool;                       // in scope 0 at $DIR/region-subtyping-basic.rs:21:9: 21:18
2020-04-16T13:02:50.0578918Z +     let mut _0: ();                      // return place in scope 0 at $DIR/region-subtyping-basic.rs:16:11: 16:11
2020-04-16T13:02:50.0579851Z +     let mut _1: [usize; Const { ty: usize, val: Value(Scalar(0x00000003)) }]; // in scope 0 at $DIR/region-subtyping-basic.rs:17:9: 17:14
2020-04-16T13:02:50.0580736Z +     let _3: usize;                       // in scope 0 at $DIR/region-subtyping-basic.rs:18:16: 18:17
2020-04-16T13:02:50.0581525Z +     let mut _4: usize;                   // in scope 0 at $DIR/region-subtyping-basic.rs:18:14: 18:18
2020-04-16T13:02:50.0582317Z +     let mut _5: bool;                    // in scope 0 at $DIR/region-subtyping-basic.rs:18:14: 18:18
2020-04-16T13:02:50.0583122Z +     let mut _7: bool;                    // in scope 0 at $DIR/region-subtyping-basic.rs:20:8: 20:12
2020-04-16T13:02:50.0583911Z +     let _8: bool;                        // in scope 0 at $DIR/region-subtyping-basic.rs:21:9: 21:18
2020-04-16T13:02:50.0584849Z +     let mut _9: usize;                   // in scope 0 at $DIR/region-subtyping-basic.rs:21:15: 21:17
2020-04-16T13:02:50.0585716Z +     let _10: bool;                       // in scope 0 at $DIR/region-subtyping-basic.rs:23:9: 23:18
2020-04-16T13:02:50.0586674Z -         debug v => _1;                   // in scope 1 at $DIR/region-subtyping-basic.rs:15:9: 15:14
2020-04-16T13:02:50.0586674Z -         debug v => _1;                   // in scope 1 at $DIR/region-subtyping-basic.rs:15:9: 15:14
2020-04-16T13:02:50.0587458Z -         let _2: &'_#3r usize;            // in scope 1 at $DIR/region-subtyping-basic.rs:16:9: 16:10
2020-04-16T13:02:50.0588235Z +         debug v => _1;                   // in scope 1 at $DIR/region-subtyping-basic.rs:17:9: 17:14
2020-04-16T13:02:50.0589018Z +         let _2: &'_#4r usize;            // in scope 1 at $DIR/region-subtyping-basic.rs:18:9: 18:10
2020-04-16T13:02:50.0590050Z -             debug p => _2;               // in scope 2 at $DIR/region-subtyping-basic.rs:16:9: 16:10
2020-04-16T13:02:50.0590050Z -             debug p => _2;               // in scope 2 at $DIR/region-subtyping-basic.rs:16:9: 16:10
2020-04-16T13:02:50.0590877Z -             let _6: &'_#4r usize;        // in scope 2 at $DIR/region-subtyping-basic.rs:17:9: 17:10
2020-04-16T13:02:50.0591647Z +             debug p => _2;               // in scope 2 at $DIR/region-subtyping-basic.rs:18:9: 18:10
2020-04-16T13:02:50.0592415Z +             let _6: &'_#5r usize;        // in scope 2 at $DIR/region-subtyping-basic.rs:19:9: 19:10
2020-04-16T13:02:50.0592786Z 39             scope 3 {
2020-04-16T13:02:50.0593392Z -                 debug q => _6;           // in scope 3 at $DIR/region-subtyping-basic.rs:17:9: 17:10
2020-04-16T13:02:50.0594142Z +                 debug q => _6;           // in scope 3 at $DIR/region-subtyping-basic.rs:19:9: 19:10
2020-04-16T13:02:50.0594670Z 42         }
2020-04-16T13:02:50.0594827Z 43     }
2020-04-16T13:02:50.0594945Z 
2020-04-16T13:02:50.0595088Z 44 
2020-04-16T13:02:50.0595088Z 44 
2020-04-16T13:02:50.0595246Z 45     bb0: {
2020-04-16T13:02:50.0595941Z -         StorageLive(_1);                 // bb0[0]: scope 0 at $DIR/region-subtyping-basic.rs:15:9: 15:14
2020-04-16T13:02:50.0599998Z -         _1 = [const Const(Value(Scalar(0x00000001)): usize), const Const(Value(Scalar(0x00000002)): usize), const Const(Value(Scalar(0x00000003)): usize)]; // bb0[1]: scope 0 at $DIR/region-subtyping-basic.rs:15:17: 15:26
2020-04-16T13:02:50.0601816Z +         StorageLive(_1);                 // bb0[0]: scope 0 at $DIR/region-subtyping-basic.rs:17:9: 17:14
2020-04-16T13:02:50.0603262Z +         _1 = [const Const(Value(Scalar(0x00000001)): usize), const Const(Value(Scalar(0x00000002)): usize), const Const(Value(Scalar(0x00000003)): usize)]; // bb0[1]: scope 0 at $DIR/region-subtyping-basic.rs:17:17: 17:26
2020-04-16T13:02:50.0604565Z 48                                          // ty::Const
2020-04-16T13:02:50.0604965Z 49                                          // + ty: usize
2020-04-16T13:02:50.0605357Z 50                                          // + val: Value(Scalar(0x00000001))
2020-04-16T13:02:50.0605844Z 51                                          // mir::Constant
2020-04-16T13:02:50.0605844Z 51                                          // mir::Constant
2020-04-16T13:02:50.0606638Z -                                          // + span: $DIR/region-subtyping-basic.rs:15:18: 15:19
2020-04-16T13:02:50.0607723Z +                                          // + span: $DIR/region-subtyping-basic.rs:17:18: 17:19
2020-04-16T13:02:50.0608341Z 53                                          // + literal: Const { ty: usize, val: Value(Scalar(0x00000001)) }
2020-04-16T13:02:50.0608813Z 54                                          // ty::Const
2020-04-16T13:02:50.0609132Z 55                                          // + ty: usize
2020-04-16T13:02:50.0609339Z 
2020-04-16T13:02:50.0609627Z 56                                          // + val: Value(Scalar(0x00000002))
2020-04-16T13:02:50.0610016Z 57                                          // mir::Constant
2020-04-16T13:02:50.0610963Z -                                          // + span: $DIR/region-subtyping-basic.rs:15:21: 15:22
2020-04-16T13:02:50.0619362Z +                                          // + span: $DIR/region-subtyping-basic.rs:17:21: 17:22
2020-04-16T13:02:50.0619989Z 59                                          // + literal: Const { ty: usize, val: Value(Scalar(0x00000002)) }
2020-04-16T13:02:50.0620450Z 60                                          // ty::Const
2020-04-16T13:02:50.0620804Z 61                                          // + ty: usize
2020-04-16T13:02:50.0621012Z 
2020-04-16T13:02:50.0621289Z 62                                          // + val: Value(Scalar(0x00000003))
2020-04-16T13:02:50.0621703Z 63                                          // mir::Constant
2020-04-16T13:02:50.0622449Z -                                          // + span: $DIR/region-subtyping-basic.rs:15:24: 15:25
2020-04-16T13:02:50.0623335Z +                                          // + span: $DIR/region-subtyping-basic.rs:17:24: 17:25
2020-04-16T13:02:50.0624101Z 65                                          // + literal: Const { ty: usize, val: Value(Scalar(0x00000003)) }
2020-04-16T13:02:50.0625352Z -         FakeRead(ForLet, _1);            // bb0[2]: scope 0 at $DIR/region-subtyping-basic.rs:15:9: 15:14
2020-04-16T13:02:50.0626273Z -         StorageLive(_2);                 // bb0[3]: scope 1 at $DIR/region-subtyping-basic.rs:16:9: 16:10
2020-04-16T13:02:50.0627188Z -         StorageLive(_3);                 // bb0[4]: scope 1 at $DIR/region-subtyping-basic.rs:16:16: 16:17
2020-04-16T13:02:50.0628158Z -         _3 = const Const(Value(Scalar(0x00000000)): usize); // bb0[5]: scope 1 at $DIR/region-subtyping-basic.rs:16:16: 16:17
2020-04-16T13:02:50.0629112Z +         FakeRead(ForLet, _1);            // bb0[2]: scope 0 at $DIR/region-subtyping-basic.rs:17:9: 17:14
2020-04-16T13:02:50.0629994Z +         StorageLive(_2);                 // bb0[3]: scope 1 at $DIR/region-subtyping-basic.rs:18:9: 18:10
2020-04-16T13:02:50.0630879Z +         StorageLive(_3);                 // bb0[4]: scope 1 at $DIR/region-subtyping-basic.rs:18:16: 18:17
2020-04-16T13:02:50.0631878Z +         _3 = const Const(Value(Scalar(0x00000000)): usize); // bb0[5]: scope 1 at $DIR/region-subtyping-basic.rs:18:16: 18:17
2020-04-16T13:02:50.0632390Z 70                                          // ty::Const
2020-04-16T13:02:50.0632715Z 71                                          // + ty: usize
2020-04-16T13:02:50.0633095Z 72                                          // + val: Value(Scalar(0x00000000))
2020-04-16T13:02:50.0633591Z 73                                          // mir::Constant
2020-04-16T13:02:50.0633591Z 73                                          // mir::Constant
2020-04-16T13:02:50.0634303Z -                                          // + span: $DIR/region-subtyping-basic.rs:16:16: 16:17
2020-04-16T13:02:50.0635113Z +                                          // + span: $DIR/region-subtyping-basic.rs:18:16: 18:17
2020-04-16T13:02:50.0635697Z 75                                          // + literal: Const { ty: usize, val: Value(Scalar(0x00000000)) }
2020-04-16T13:02:50.0636608Z -         _4 = Len(_1);                    // bb0[6]: scope 1 at $DIR/region-subtyping-basic.rs:16:14: 16:18
2020-04-16T13:02:50.0637492Z -         _5 = Lt(_3, _4);                 // bb0[7]: scope 1 at $DIR/region-subtyping-basic.rs:16:14: 16:18
2020-04-16T13:02:50.0638683Z -         assert(move _5, "index out of bounds: the len is {} but the index is {}", move _4, _3) -> [success: bb2, unwind: bb1]; // bb0[8]: scope 1 at $DIR/region-subtyping-basic.rs:16:14: 16:18
2020-04-16T13:02:50.0639818Z +         _4 = Len(_1);                    // bb0[6]: scope 1 at $DIR/region-subtyping-basic.rs:18:14: 18:18
2020-04-16T13:02:50.0640708Z +         _5 = Lt(_3, _4);                 // bb0[7]: scope 1 at $DIR/region-subtyping-basic.rs:18:14: 18:18
2020-04-16T13:02:50.0649478Z +         assert(move _5, "index out of bounds: the len is {} but the index is {}", move _4, _3) -> [success: bb2, unwind: bb1]; // bb0[8]: scope 1 at $DIR/region-subtyping-basic.rs:18:14: 18:18
2020-04-16T13:02:50.0650269Z 80 
2020-04-16T13:02:50.0650269Z 80 
2020-04-16T13:02:50.0650852Z 81     bb1 (cleanup): {
2020-04-16T13:02:50.0651010Z 
2020-04-16T13:02:50.0651764Z -         resume;                          // bb1[0]: scope 0 at $DIR/region-subtyping-basic.rs:14:1: 23:2
2020-04-16T13:02:50.0652658Z +         resume;                          // bb1[0]: scope 0 at $DIR/region-subtyping-basic.rs:16:1: 25:2
2020-04-16T13:02:50.0653189Z 84 
2020-04-16T13:02:50.0653346Z 85     bb2: {
2020-04-16T13:02:50.0653613Z 
2020-04-16T13:02:50.0653613Z 
2020-04-16T13:02:50.0655076Z -         _2 = &'_#2r _1[_3];              // bb2[0]: scope 1 at $DIR/region-subtyping-basic.rs:16:13: 16:18
2020-04-16T13:02:50.0656702Z -         FakeRead(ForLet, _2);            // bb2[1]: scope 1 at $DIR/region-subtyping-basic.rs:16:9: 16:10
2020-04-16T13:02:50.0657613Z -         StorageLive(_6);                 // bb2[2]: scope 2 at $DIR/region-subtyping-basic.rs:17:9: 17:10
2020-04-16T13:02:50.0658944Z -         _6 = _2;                         // bb2[3]: scope 2 at $DIR/region-subtyping-basic.rs:17:13: 17:14
2020-04-16T13:02:50.0659961Z -         FakeRead(ForLet, _6);            // bb2[4]: scope 2 at $DIR/region-subtyping-basic.rs:17:9: 17:10
2020-04-16T13:02:50.0660837Z -         StorageLive(_7);                 // bb2[5]: scope 3 at $DIR/region-subtyping-basic.rs:18:8: 18:12
2020-04-16T13:02:50.0661944Z -         _7 = const Const(Value(Scalar(0x01)): bool); // bb2[6]: scope 3 at $DIR/region-subtyping-basic.rs:18:8: 18:12
2020-04-16T13:02:50.0662917Z +         _2 = &'_#3r _1[_3];              // bb2[0]: scope 1 at $DIR/region-subtyping-basic.rs:18:13: 18:18
2020-04-16T13:02:50.0663790Z +         FakeRead(ForLet, _2);            // bb2[1]: scope 1 at $DIR/region-subtyping-basic.rs:18:9: 18:10
2020-04-16T13:02:50.0664694Z +         StorageLive(_6);                 // bb2[2]: scope 2 at $DIR/region-subtyping-basic.rs:19:9: 19:10
2020-04-16T13:02:50.0665576Z +         _6 = _2;                         // bb2[3]: scope 2 at $DIR/region-subtyping-basic.rs:19:13: 19:14
2020-04-16T13:02:50.0666497Z +         FakeRead(ForLet, _6);            // bb2[4]: scope 2 at $DIR/region-subtyping-basic.rs:19:9: 19:10
2020-04-16T13:02:50.0667395Z +         StorageLive(_7);                 // bb2[5]: scope 3 at $DIR/region-subtyping-basic.rs:20:8: 20:12
2020-04-16T13:02:50.0668348Z +         _7 = const Const(Value(Scalar(0x01)): bool); // bb2[6]: scope 3 at $DIR/region-subtyping-basic.rs:20:8: 20:12
2020-04-16T13:02:50.0668888Z 93                                          // ty::Const
2020-04-16T13:02:50.0669216Z 94                                          // + ty: bool
2020-04-16T13:02:50.0669570Z 95                                          // + val: Value(Scalar(0x01))
2020-04-16T13:02:50.0670066Z 96                                          // mir::Constant
2020-04-16T13:02:50.0670066Z 96                                          // mir::Constant
2020-04-16T13:02:50.0670778Z -                                          // + span: $DIR/region-subtyping-basic.rs:18:8: 18:12
2020-04-16T13:02:50.0671605Z +                                          // + span: $DIR/region-subtyping-basic.rs:20:8: 20:12
2020-04-16T13:02:50.0672178Z 98                                          // + literal: Const { ty: bool, val: Value(Scalar(0x01)) }
2020-04-16T13:02:50.0673236Z -         FakeRead(ForMatchedPlace, _7);   // bb2[7]: scope 3 at $DIR/region-subtyping-basic.rs:18:8: 18:12
2020-04-16T13:02:50.0674338Z -         switchInt(_7) -> [Const(Value(Scalar(0x00)): bool): bb4, otherwise: bb3]; // bb2[8]: scope 3 at $DIR/region-subtyping-basic.rs:18:5: 22:6
2020-04-16T13:02:50.0675344Z +         FakeRead(ForMatchedPlace, _7);   // bb2[7]: scope 3 at $DIR/region-subtyping-basic.rs:20:8: 20:12
2020-04-16T13:02:50.0676385Z +         switchInt(_7) -> [Const(Value(Scalar(0x00)): bool): bb4, otherwise: bb3]; // bb2[8]: scope 3 at $DIR/region-subtyping-basic.rs:20:5: 24:6
2020-04-16T13:02:50.0677047Z 102 
2020-04-16T13:02:50.0677210Z 103     bb3: {
2020-04-16T13:02:50.0677521Z 
2020-04-16T13:02:50.0677521Z 
2020-04-16T13:02:50.0678264Z -         falseEdges -> [real: bb5, imaginary: bb4]; // bb3[0]: scope 3 at $DIR/region-subtyping-basic.rs:18:5: 22:6
2020-04-16T13:02:50.0679444Z +         falseEdges -> [real: bb5, imaginary: bb4]; // bb3[0]: scope 3 at $DIR/region-subtyping-basic.rs:20:5: 24:6
2020-04-16T13:02:50.0680040Z 106 
2020-04-16T13:02:50.0680199Z 107     bb4: {
2020-04-16T13:02:50.0680332Z 
2020-04-16T13:02:50.0680332Z 
2020-04-16T13:02:50.0680999Z -         StorageLive(_10);                // bb4[0]: scope 3 at $DIR/region-subtyping-basic.rs:21:9: 21:18
2020-04-16T13:02:50.0682931Z -         _10 = const Const(Value(Scalar(<ZST>)): fn(usize) -> bool {use_x})(const Const(Value(Scalar(0x00000016)): usize)) -> [return: bb7, unwind: bb1]; // bb4[1]: scope 3 at $DIR/region-subtyping-basic.rs:21:9: 21:18
2020-04-16T13:02:50.0684135Z +         StorageLive(_10);                // bb4[0]: scope 3 at $DIR/region-subtyping-basic.rs:23:9: 23:18
2020-04-16T13:02:50.0685723Z +         _10 = const Const(Value(Scalar(<ZST>)): fn(usize) -> bool {use_x})(const Const(Value(Scalar(0x00000016)): usize)) -> [return: bb7, unwind: bb1]; // bb4[1]: scope 3 at $DIR/region-subtyping-basic.rs:23:9: 23:18
2020-04-16T13:02:50.0686492Z 110                                          // ty::Const
2020-04-16T13:02:50.0687199Z 111                                          // + ty: fn(usize) -> bool {use_x}
2020-04-16T13:02:50.0687609Z 112                                          // + val: Value(Scalar(<ZST>))
2020-04-16T13:02:50.0688109Z 113                                          // mir::Constant
2020-04-16T13:02:50.0688109Z 113                                          // mir::Constant
2020-04-16T13:02:50.0688825Z -                                          // + span: $DIR/region-subtyping-basic.rs:21:9: 21:14
2020-04-16T13:02:50.0689815Z +                                          // + span: $DIR/region-subtyping-basic.rs:23:9: 23:14
2020-04-16T13:02:50.0690810Z 115                                          // + literal: Const { ty: fn(usize) -> bool {use_x}, val: Value(Scalar(<ZST>)) }
2020-04-16T13:02:50.0691340Z 116                                          // ty::Const
2020-04-16T13:02:50.0691671Z 117                                          // + ty: usize
2020-04-16T13:02:50.0691900Z 
2020-04-16T13:02:50.0692168Z 118                                          // + val: Value(Scalar(0x00000016))
2020-04-16T13:02:50.0692553Z 119                                          // mir::Constant
2020-04-16T13:02:50.0693430Z -                                          // + span: $DIR/region-subtyping-basic.rs:21:15: 21:17
2020-04-16T13:02:50.0694284Z +                                          // + span: $DIR/region-subtyping-basic.rs:23:15: 23:17
2020-04-16T13:02:50.0694875Z 121                                          // + literal: Const { ty: usize, val: Value(Scalar(0x00000016)) }
2020-04-16T13:02:50.0695419Z 123 
2020-04-16T13:02:50.0695528Z 
2020-04-16T13:02:50.0695681Z 124     bb5: {
2020-04-16T13:02:50.0695681Z 124     bb5: {
2020-04-16T13:02:50.0696380Z -         StorageLive(_8);                 // bb5[0]: scope 3 at $DIR/region-subtyping-basic.rs:19:9: 19:18
2020-04-16T13:02:50.0697283Z -         StorageLive(_9);                 // bb5[1]: scope 3 at $DIR/region-subtyping-basic.rs:19:15: 19:17
2020-04-16T13:02:50.0698346Z -         _9 = (*_6);                      // bb5[2]: scope 3 at $DIR/region-subtyping-basic.rs:19:15: 19:17
2020-04-16T13:02:50.0699553Z -         _8 = const Const(Value(Scalar(<ZST>)): fn(usize) -> bool {use_x})(move _9) -> [return: bb6, unwind: bb1]; // bb5[3]: scope 3 at $DIR/region-subtyping-basic.rs:19:9: 19:18
2020-04-16T13:02:50.0700616Z +         StorageLive(_8);                 // bb5[0]: scope 3 at $DIR/region-subtyping-basic.rs:21:9: 21:18
2020-04-16T13:02:50.0701664Z +         StorageLive(_9);                 // bb5[1]: scope 3 at $DIR/region-subtyping-basic.rs:21:15: 21:17
2020-04-16T13:02:50.0702591Z +         _9 = (*_6);                      // bb5[2]: scope 3 at $DIR/region-subtyping-basic.rs:21:15: 21:17
2020-04-16T13:02:50.0703738Z +         _8 = const Const(Value(Scalar(<ZST>)): fn(usize) -> bool {use_x})(move _9) -> [return: bb6, unwind: bb1]; // bb5[3]: scope 3 at $DIR/region-subtyping-basic.rs:21:9: 21:18
2020-04-16T13:02:50.0704714Z 129                                          // ty::Const
2020-04-16T13:02:50.0705385Z 130                                          // + ty: fn(usize) -> bool {use_x}
2020-04-16T13:02:50.0705817Z 131                                          // + val: Value(Scalar(<ZST>))
2020-04-16T13:02:50.0706319Z 132                                          // mir::Constant
2020-04-16T13:02:50.0706319Z 132                                          // mir::Constant
2020-04-16T13:02:50.0707012Z -                                          // + span: $DIR/region-subtyping-basic.rs:19:9: 19:14
2020-04-16T13:02:50.0707841Z +                                          // + span: $DIR/region-subtyping-basic.rs:21:9: 21:14
2020-04-16T13:02:50.0708740Z 134                                          // + literal: Const { ty: fn(usize) -> bool {use_x}, val: Value(Scalar(<ZST>)) }
2020-04-16T13:02:50.0709322Z 136 
2020-04-16T13:02:50.0709431Z 
2020-04-16T13:02:50.0709682Z 137     bb6: {
2020-04-16T13:02:50.0709682Z 137     bb6: {
2020-04-16T13:02:50.0710411Z -         StorageDead(_9);                 // bb6[0]: scope 3 at $DIR/region-subtyping-basic.rs:19:17: 19:18
2020-04-16T13:02:50.0711341Z -         StorageDead(_8);                 // bb6[1]: scope 3 at $DIR/region-subtyping-basic.rs:19:18: 19:19
2020-04-16T13:02:50.0712277Z -         _0 = const Const(Value(Scalar(<ZST>)): ()); // bb6[2]: scope 3 at $DIR/region-subtyping-basic.rs:18:13: 20:6
2020-04-16T13:02:50.0713238Z +         StorageDead(_9);                 // bb6[0]: scope 3 at $DIR/region-subtyping-basic.rs:21:17: 21:18
2020-04-16T13:02:50.0714142Z +         StorageDead(_8);                 // bb6[1]: scope 3 at $DIR/region-subtyping-basic.rs:21:18: 21:19
2020-04-16T13:02:50.0715131Z +         _0 = const Const(Value(Scalar(<ZST>)): ()); // bb6[2]: scope 3 at $DIR/region-subtyping-basic.rs:20:13: 22:6
2020-04-16T13:02:50.0715672Z 141                                          // ty::Const
2020-04-16T13:02:50.0715990Z 142                                          // + ty: ()
2020-04-16T13:02:50.0716349Z 143                                          // + val: Value(Scalar(<ZST>))
2020-04-16T13:02:50.0716845Z 144                                          // mir::Constant
2020-04-16T13:02:50.0716845Z 144                                          // mir::Constant
2020-04-16T13:02:50.0717553Z -                                          // + span: $DIR/region-subtyping-basic.rs:18:13: 20:6
2020-04-16T13:02:50.0718395Z +                                          // + span: $DIR/region-subtyping-basic.rs:20:13: 22:6
2020-04-16T13:02:50.0718972Z 146                                          // + literal: Const { ty: (), val: Value(Scalar(<ZST>)) }
2020-04-16T13:02:50.0719835Z -         goto -> bb8;                     // bb6[3]: scope 3 at $DIR/region-subtyping-basic.rs:18:5: 22:6
2020-04-16T13:02:50.0720721Z +         goto -> bb8;                     // bb6[3]: scope 3 at $DIR/region-subtyping-basic.rs:20:5: 24:6
2020-04-16T13:02:50.0722321Z 149 
2020-04-16T13:02:50.0722510Z 150     bb7: {
2020-04-16T13:02:50.0722654Z 
2020-04-16T13:02:50.0722654Z 
2020-04-16T13:02:50.0723394Z -         StorageDead(_10);                // bb7[0]: scope 3 at $DIR/region-subtyping-basic.rs:21:18: 21:19
2020-04-16T13:02:50.0724351Z -         _0 = const Const(Value(Scalar(<ZST>)): ()); // bb7[1]: scope 3 at $DIR/region-subtyping-basic.rs:20:12: 22:6
2020-04-16T13:02:50.0725314Z +         StorageDead(_10);                // bb7[0]: scope 3 at $DIR/region-subtyping-basic.rs:23:18: 23:19
2020-04-16T13:02:50.0726250Z +         _0 = const Const(Value(Scalar(<ZST>)): ()); // bb7[1]: scope 3 at $DIR/region-subtyping-basic.rs:22:12: 24:6
2020-04-16T13:02:50.0726782Z 153                                          // ty::Const
2020-04-16T13:02:50.0727092Z 154                                          // + ty: ()
2020-04-16T13:02:50.0727460Z 155                                          // + val: Value(Scalar(<ZST>))
2020-04-16T13:02:50.0727946Z 156                                          // mir::Constant
2020-04-16T13:02:50.0727946Z 156                                          // mir::Constant
2020-04-16T13:02:50.0728648Z -                                          // + span: $DIR/region-subtyping-basic.rs:20:12: 22:6
2020-04-16T13:02:50.0729649Z +                                          // + span: $DIR/region-subtyping-basic.rs:22:12: 24:6
2020-04-16T13:02:50.0730230Z 158                                          // + literal: Const { ty: (), val: Value(Scalar(<ZST>)) }
2020-04-16T13:02:50.0731340Z -         goto -> bb8;                     // bb7[2]: scope 3 at $DIR/region-subtyping-basic.rs:18:5: 22:6
2020-04-16T13:02:50.0732249Z +         goto -> bb8;                     // bb7[2]: scope 3 at $DIR/region-subtyping-basic.rs:20:5: 24:6
2020-04-16T13:02:50.0732783Z 161 
2020-04-16T13:02:50.0732962Z 162     bb8: {
2020-04-16T13:02:50.0733096Z 
2020-04-16T13:02:50.0733096Z 
2020-04-16T13:02:50.0733732Z -         StorageDead(_6);                 // bb8[0]: scope 2 at $DIR/region-subtyping-basic.rs:23:1: 23:2
2020-04-16T13:02:50.0734730Z -         StorageDead(_3);                 // bb8[1]: scope 1 at $DIR/region-subtyping-basic.rs:23:1: 23:2
2020-04-16T13:02:50.0735680Z -         StorageDead(_2);                 // bb8[2]: scope 1 at $DIR/region-subtyping-basic.rs:23:1: 23:2
2020-04-16T13:02:50.0736562Z -         StorageDead(_1);                 // bb8[3]: scope 0 at $DIR/region-subtyping-basic.rs:23:1: 23:2
2020-04-16T13:02:50.0737446Z -         StorageDead(_7);                 // bb8[4]: scope 0 at $DIR/region-subtyping-basic.rs:23:1: 23:2
2020-04-16T13:02:50.0738318Z -         return;                          // bb8[5]: scope 0 at $DIR/region-subtyping-basic.rs:23:2: 23:2
2020-04-16T13:02:50.0739204Z +         StorageDead(_6);                 // bb8[0]: scope 2 at $DIR/region-subtyping-basic.rs:25:1: 25:2
2020-04-16T13:02:50.0740080Z +         StorageDead(_3);                 // bb8[1]: scope 1 at $DIR/region-subtyping-basic.rs:25:1: 25:2
2020-04-16T13:02:50.0740952Z +         StorageDead(_2);                 // bb8[2]: scope 1 at $DIR/region-subtyping-basic.rs:25:1: 25:2
2020-04-16T13:02:50.0741819Z +         StorageDead(_1);                 // bb8[3]: scope 0 at $DIR/region-subtyping-basic.rs:25:1: 25:2
2020-04-16T13:02:50.0742714Z +         StorageDead(_7);                 // bb8[4]: scope 0 at $DIR/region-subtyping-basic.rs:25:1: 25:2
2020-04-16T13:02:50.0743904Z +         return;                          // bb8[5]: scope 0 at $DIR/region-subtyping-basic.rs:25:2: 25:2
2020-04-16T13:02:50.0744449Z 170 }
2020-04-16T13:02:50.0744585Z 171 
2020-04-16T13:02:50.0744694Z 
2020-04-16T13:02:50.0744694Z 
2020-04-16T13:02:50.0745774Z thread '[mir-opt] mir-opt/nll/region-subtyping-basic.rs' panicked at 'Actual MIR output differs from expected MIR output /checkout/src/test/mir-opt/nll/region-subtyping-basic/32bit/rustc.main.nll.0.mir', src/tools/compiletest/src/runtest.rs:3165:25
2020-04-16T13:02:50.0746709Z 
2020-04-16T13:02:50.0746833Z 
2020-04-16T13:02:50.0746973Z failures:
2020-04-16T13:02:50.0747429Z     [mir-opt] mir-opt/nll/region-subtyping-basic.rs
2020-04-16T13:02:50.0747429Z     [mir-opt] mir-opt/nll/region-subtyping-basic.rs
2020-04-16T13:02:50.0747629Z 
2020-04-16T13:02:50.0748265Z test result: FAILEDthread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:348:22
2020-04-16T13:02:50.0748708Z . 88 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
2020-04-16T13:02:50.0748915Z 
2020-04-16T13:02:50.0749032Z 
2020-04-16T13:02:50.0749133Z 
2020-04-16T13:02:50.0762134Z 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/armv5te-unknown-linux-gnueabi/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-armv5te-unknown-linux-gnueabi" "--mode" "mir-opt" "--target" "armv5te-unknown-linux-gnueabi" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-7/bin/FileCheck" "--pass" "build" "--nodejs" "/usr/bin/node" "--linker" "arm-linux-gnueabi-gcc" "--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/armv5te-unknown-linux-gnueabi/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" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2020-04-16T13:02:50.0765145Z 
2020-04-16T13:02:50.0765251Z 
2020-04-16T13:02:50.0765251Z 
2020-04-16T13:02:50.0766169Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/test/mir-opt --pass=build --target=armv5te-unknown-linux-gnueabi
2020-04-16T13:02:50.0766916Z == clock drift check ==
2020-04-16T13:02:50.0766916Z == clock drift check ==
2020-04-16T13:02:50.0767169Z   local time: Thu Apr 16 13:02:50 UTC 2020
2020-04-16T13:02:50.4149934Z   network time: Thu, 16 Apr 2020 13:02:50 GMT
2020-04-16T13:02:52.7565849Z 
2020-04-16T13:02:52.7565849Z 
2020-04-16T13:02:52.7642912Z ##[error]Bash exited with code '1'.
2020-04-16T13:02:52.7662034Z ##[section]Finishing: Run build
2020-04-16T13:02:52.7706874Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/70950/merge to s
2020-04-16T13:02:52.7712707Z Task         : Get sources
2020-04-16T13:02:52.7713008Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-16T13:02:52.7713302Z Version      : 1.0.0
2020-04-16T13:02:52.7713501Z Author       : Microsoft
2020-04-16T13:02:52.7713501Z Author       : Microsoft
2020-04-16T13:02:52.7713814Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-04-16T13:02:52.7714196Z ==============================================================================
2020-04-16T13:02:53.1404991Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-04-16T13:02:53.1445257Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/70950/merge to s
2020-04-16T13:02:53.1531566Z Cleaning up task key
2020-04-16T13:02:53.1532691Z Start cleaning up orphan processes.
2020-04-16T13:02:53.1716953Z Terminate orphan process: pid (3462) (python)
2020-04-16T13:02:53.1978855Z ##[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)

@nikomatsakis
Copy link
Contributor Author

I don't understand these mir-opt failures though -- I have run ./x.py test --bless, and things pass locally, I guess maybe the output is inconsistent between platforms? cc @oli-obk, are there any known gotchas with the mir-opt tests here?

@oli-obk
Copy link
Contributor

oli-obk commented Apr 16, 2020

Since the CI failure is on 64 bit and I'm assuming you're on 64 bit, too, platform differences can't be the cause of it I think. We have a flag (https://github.com/rust-lang/rust/tree/master/src/test/mir-opt#--blessable-test-format) to emit one file per bit size, but you need to run with --target=i686-unknown-linux-gnu to generate the 32 bit variant in that case.

I can't tell with the inference variables, but the rest of the failures look like you added two lines at the top of the file and didn't rerun --bless.

@nikomatsakis
Copy link
Contributor Author

@oli-obk huh. But I did re-run bless.. ok, I'll investigate, thanks!

@nikomatsakis
Copy link
Contributor Author

I wonder if it's just outdated stamp files...

@oli-obk
Copy link
Contributor

oli-obk commented Apr 17, 2020

Sorry, I hid the comment. You need to run once with --target=i686-unknown-linux-gnu and once without to get 32bit and 64bit mir dumps updated

@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-17T22:11:28.5884568Z ========================== Starting Command Output ===========================
2020-04-17T22:11:28.5887387Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/770d3d2c-799b-4c7e-b135-911d4d87c0cf.sh
2020-04-17T22:11:28.5887682Z 
2020-04-17T22:11:28.5892003Z ##[section]Finishing: Disable git automatic line ending conversion
2020-04-17T22:11:28.5912334Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/70950/merge to s
2020-04-17T22:11:28.5915896Z Task         : Get sources
2020-04-17T22:11:28.5916246Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-17T22:11:28.5916584Z Version      : 1.0.0
2020-04-17T22:11:28.5916804Z Author       : Microsoft
---
2020-04-17T22:11:29.5993870Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-04-17T22:11:29.5998080Z ##[command]git config gc.auto 0
2020-04-17T22:11:29.6000650Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-04-17T22:11:29.6002842Z ##[command]git config --get-all http.proxy
2020-04-17T22:11:29.6007015Z ##[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/70950/merge:refs/remotes/pull/70950/merge
---
2020-04-17T22:13:27.3100028Z  ---> f58a2bb1e753
2020-04-17T22:13:27.3100701Z 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-17T22:13:27.3101252Z  ---> Using cache
2020-04-17T22:13:27.3101642Z  ---> d079cc6b6db8
2020-04-17T22:13:27.3102361Z 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-17T22:13:27.3103160Z  ---> 4183ca46ee56
2020-04-17T22:13:27.3103321Z Step 7/8 : ENV NO_DEBUG_ASSERTIONS=1
2020-04-17T22:13:27.3103591Z  ---> Using cache
2020-04-17T22:13:27.3103852Z  ---> 69e7f8a2a2fb
---
2020-04-17T22:13:27.3366953Z Looks like docker image is the same as before, not uploading
2020-04-17T22:13:34.9089930Z [CI_JOB_NAME=x86_64-gnu-llvm-7]
2020-04-17T22:13:34.9295167Z [CI_JOB_NAME=x86_64-gnu-llvm-7]
2020-04-17T22:13:34.9319268Z == clock drift check ==
2020-04-17T22:13:34.9330992Z   local time: Fri Apr 17 22:13:34 UTC 2020
2020-04-17T22:13:35.1188854Z   network time: Fri, 17 Apr 2020 22:13:35 GMT
2020-04-17T22:13:35.1214980Z Starting sccache server...
2020-04-17T22:13:35.1912153Z configure: processing command line
2020-04-17T22:13:35.1912388Z configure: 
2020-04-17T22:13:35.1913214Z configure: rust.dist-src        := False
---
2020-04-17T22:17:34.1056419Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-17T22:17:35.1269891Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-17T22:17:36.2511822Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-17T22:17:36.5783288Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-17T22:17:43.3132850Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-17T22:17:44.5141630Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-17T22:17:47.6776096Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-17T22:17:50.6812908Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-17T22:17:57.9341653Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-17T22:34:15.7566228Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-17T22:34:17.0764829Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-17T22:34:18.5529474Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-17T22:34:19.6175430Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-17T22:34:27.5487805Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-17T22:34:29.4466083Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-17T22:34:33.3006893Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-17T22:34:37.2852193Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-17T22:34:45.6955584Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-17T22:53:37.3592232Z .................................................................................................... 1700/9906
2020-04-17T22:53:40.3986659Z .................................................................................................... 1800/9906
2020-04-17T22:53:47.0333965Z .................................................................................................i.. 1900/9906
2020-04-17T22:53:52.9546089Z .................................................................................................... 2000/9906
2020-04-17T22:53:57.7532425Z .......................................................................................iiiii........ 2100/9906
2020-04-17T22:54:13.6694538Z .................................................................................................... 2300/9906
2020-04-17T22:54:15.2522536Z .................................................................................................... 2400/9906
2020-04-17T22:54:16.9420372Z .................................................................................................... 2500/9906
2020-04-17T22:54:21.4721685Z .................................................................................................... 2600/9906
---
2020-04-17T22:56:27.4359131Z .................................................................................................... 4900/9906
2020-04-17T22:56:31.1057156Z ...............................................................i...............i.................... 5000/9906
2020-04-17T22:56:36.6057964Z .................................................................................................... 5100/9906
2020-04-17T22:56:42.2819916Z .................................................................................................... 5200/9906
2020-04-17T22:56:46.7898215Z .........i.........................................................................................i 5300/9906
2020-04-17T22:56:53.6155696Z ...................................................................................................i 5400/9906
2020-04-17T22:56:57.2316385Z i.ii........i...i................................................................................... 5500/9906
2020-04-17T22:57:03.1468347Z .............................................i...................................................... 5700/9906
2020-04-17T22:57:10.1220313Z .............................................................................ii..................... 5800/9906
2020-04-17T22:57:15.3039158Z ................i................................................................................... 5900/9906
2020-04-17T22:57:19.4378223Z .................................................................................................... 6000/9906
2020-04-17T22:57:19.4378223Z .................................................................................................... 6000/9906
2020-04-17T22:57:27.5019986Z .................................................................................................... 6100/9906
2020-04-17T22:57:35.5332898Z ..........ii...i..ii...........i.................................................................... 6200/9906
2020-04-17T22:57:46.9801761Z .................................................................................................... 6400/9906
2020-04-17T22:57:49.6177817Z .................................................................................................... 6500/9906
2020-04-17T22:57:49.6177817Z .................................................................................................... 6500/9906
2020-04-17T22:57:58.2363532Z ..........................................i..ii..................................................... 6600/9906
2020-04-17T22:58:14.5750075Z .................................................................................................... 6800/9906
2020-04-17T22:58:16.1728330Z ...........................................i........................................................ 6900/9906
2020-04-17T22:58:17.7182133Z .................................................................................................... 7000/9906
2020-04-17T22:58:19.2442056Z ...................................................................................i................ 7100/9906
---
2020-04-17T22:59:31.1325897Z .................................................................................................... 7800/9906
2020-04-17T22:59:34.5641158Z .................................................................................................... 7900/9906
2020-04-17T22:59:39.4336425Z .................................................................................................... 8000/9906
2020-04-17T22:59:43.7441935Z .................................................i.................................................. 8100/9906
2020-04-17T22:59:51.5596432Z ..................................................................................................ii 8200/9906
2020-04-17T22:59:55.6147948Z iiii.iiiii.i........................................................................................ 8300/9906
2020-04-17T23:00:05.6165361Z .................................................................................................... 8500/9906
2020-04-17T23:00:11.7893583Z .................................................................................................... 8600/9906
2020-04-17T23:00:22.3321515Z .................................................................................................... 8700/9906
2020-04-17T23:00:27.2714350Z .................................................................................................... 8800/9906
---
2020-04-17T23:02:10.4506333Z Suite("src/test/codegen") not skipped for "bootstrap::test::Codegen" -- not in ["src/tools/tidy"]
2020-04-17T23:02:10.4657211Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-17T23:02:10.6230770Z 
2020-04-17T23:02:10.6231130Z running 185 tests
2020-04-17T23:02:12.6304807Z iiii......i............ii.i..iiii....i....i...........i............i..i..................i....i..... 100/185
2020-04-17T23:02:14.5470466Z .......i.i.i...iii..iiiiiiiiiiiiiiii.......................iii...............ii......
2020-04-17T23:02:14.5474536Z 
2020-04-17T23:02:14.5474950Z  finished in 4.081
2020-04-17T23:02:14.5480520Z Suite("src/test/codegen-units") not skipped for "bootstrap::test::CodegenUnits" -- not in ["src/tools/tidy"]
2020-04-17T23:02:14.5627118Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-17T23:02:16.1222698Z test/assembly") not skipped for "bootstrap::test::Assembly" -- not in ["src/tools/tidy"]
2020-04-17T23:02:16.1362168Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-17T23:02:16.2495064Z 
2020-04-17T23:02:16.2496432Z running 9 tests
2020-04-17T23:02:16.2497242Z iiiiiiiii
2020-04-17T23:02:16.2498424Z 
2020-04-17T23:02:16.2498567Z  finished in 0.112
2020-04-17T23:02:16.2499227Z Suite("src/test/incremental") not skipped for "bootstrap::test::Incremental" -- not in ["src/tools/tidy"]
2020-04-17T23:02:16.2651136Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-17T23:02:31.5138029Z Suite("src/test/debuginfo") not skipped for "bootstrap::test::Debuginfo" -- not in ["src/tools/tidy"]
2020-04-17T23:02:31.5338972Z Check compiletest suite=debuginfo mode=debuginfo (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-17T23:02:31.6836519Z 
2020-04-17T23:02:31.6836848Z running 115 tests
2020-04-17T23:02:41.6160255Z iiiii..i.....i..i...i..i.i.i..i..i..ii....i.i....ii..........iiii.........i.....i..i.......ii.i.ii.. 100/115
2020-04-17T23:02:42.8843348Z ...iiii.....ii.
2020-04-17T23:02:42.8844526Z 
2020-04-17T23:02:42.8850372Z  finished in 11.351
2020-04-17T23:02:42.8864877Z Suite("src/test/ui-fulldeps") not skipped for "bootstrap::test::UiFullDeps" -- not in ["src/tools/tidy"]
2020-04-17T23:02:42.8868201Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-17T23:11:43.6226395Z 
2020-04-17T23:11:43.6227585Z    Doc-tests core
2020-04-17T23:11:47.0463628Z 
2020-04-17T23:11:47.0464023Z running 2496 tests
2020-04-17T23:11:53.8504758Z ......iiiii......................................................................................... 100/2496
2020-04-17T23:12:00.3512415Z .....................................................................................ii............. 200/2496
2020-04-17T23:12:15.3801512Z ....................i............................................................................... 400/2496
2020-04-17T23:12:15.3801512Z ....................i............................................................................... 400/2496
2020-04-17T23:12:22.7993605Z ..........................................................................i..i..................iiii 500/2496
2020-04-17T23:12:34.6407031Z .................................................................................................... 700/2496
2020-04-17T23:12:40.8190260Z .................................................................................................... 800/2496
2020-04-17T23:12:46.9868791Z .................................................................................................... 900/2496
2020-04-17T23:12:53.1753377Z .................................................................................................... 1000/2496
---
2020-04-17T23:15:32.1294530Z 
2020-04-17T23:15:32.1294825Z running 1020 tests
2020-04-17T23:15:44.9549069Z i................................................................................................... 100/1020
2020-04-17T23:15:52.4329976Z .................................................................................................... 200/1020
2020-04-17T23:15:58.0226860Z ...................iii......i......i...i......i..................................................... 300/1020
2020-04-17T23:16:01.5178740Z .................................................................................................... 400/1020
2020-04-17T23:16:06.4071257Z ....................................................i....i......................................ii.. 500/1020
2020-04-17T23:16:15.6248919Z .................................................................................................... 700/1020
2020-04-17T23:16:15.6248919Z .................................................................................................... 700/1020
2020-04-17T23:16:20.7822638Z ..............................................iiii.................................................. 800/1020
2020-04-17T23:16:31.2143597Z .................................................................................................... 900/1020
2020-04-17T23:16:35.6543834Z ....................................................................iiii............................ 1000/1020
2020-04-17T23:16:36.6639417Z test result: ok. 1000 passed; 0 failed; 20 ignored; 0 measured; 0 filtered out
2020-04-17T23:16:36.6639614Z 
2020-04-17T23:16:36.6741021Z  finished in 123.212
2020-04-17T23:16:36.6745413Z Set({"src/libterm"}) not skipped for "bootstrap::test::Crate" -- not in ["src/tools/tidy"]
---
2020-04-17T23:18:53.0726812Z 
2020-04-17T23:18:53.0726996Z test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
2020-04-17T23:18:53.0727186Z 
2020-04-17T23:18:53.0786901Z  finished in 0.718
2020-04-17T23:18:53.0792208Z Set({"/checkout/src/librustc_query_system"}) not skipped for "bootstrap::test::CrateLibrustc" -- not in ["src/tools/tidy"]
2020-04-17T23:18:53.0806163Z Testing rustc_query_system stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-17T23:18:53.2223934Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-17T23:18:53.9825190Z      Running build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/rustc_query_system-734b126b44c5c47c
2020-04-17T23:18:53.9855041Z 
2020-04-17T23:18:53.9855261Z running 0 tests
2020-04-17T23:18:53.9855371Z 
---
2020-04-17T23:29:18.5636452Z Set({"/checkout/src/librustc_parse"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-17T23:29:18.5637456Z Set({"/checkout/src/librustc_passes"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-17T23:29:18.5638496Z Set({"/checkout/src/librustc_plugin_impl"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-17T23:29:18.5639516Z Set({"/checkout/src/librustc_privacy"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-17T23:29:18.5640641Z Set({"/checkout/src/librustc_query_system"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-17T23:29:18.5642746Z Set({"/checkout/src/librustc_save_analysis"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-17T23:29:18.5643793Z Set({"/checkout/src/librustc_session"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-17T23:29:18.5644793Z Set({"/checkout/src/librustc_span"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-17T23:29:18.5645824Z Set({"/checkout/src/librustc_symbol_mangling"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
---
2020-04-17T23:30:05.0902623Z Suite("src/test/run-make-fulldeps") not skipped for "bootstrap::test::RunMakeFullDeps" -- not in ["src/tools/tidy"]
2020-04-17T23:30:05.1191101Z Check compiletest suite=run-make-fulldeps mode=run-make (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-17T23:30:05.2940523Z 
2020-04-17T23:30:05.2940921Z running 211 tests
2020-04-17T23:30:29.3119328Z ......................i...ii.......................................................................i 100/211
2020-04-17T23:30:55.7123462Z ........................................iiiiii......i..............iii.............................. 200/211
2020-04-17T23:31:02.6482762Z .......ii..
2020-04-17T23:31:02.6483605Z 
2020-04-17T23:31:02.6490419Z  finished in 57.530
2020-04-17T23:31:02.6495663Z Set({"src/doc/rustdoc"}) not skipped for "bootstrap::test::RustdocBook" -- not in ["src/tools/tidy"]
2020-04-17T23:31:02.6499716Z doc tests for: /checkout/src/doc/rustdoc/src/advanced-features.md
---
2020-04-17T23:31:13.2830835Z doc tests for: /checkout/src/doc/rustc/src/targets/index.md
2020-04-17T23:31:13.2964895Z doc tests for: /checkout/src/doc/rustc/src/what-is-rustc.md
2020-04-17T23:31:13.4114448Z  finished in 3.221
2020-04-17T23:31:13.4123066Z Set({"src/test/rustdoc-js-std"}) not skipped for "bootstrap::test::RustdocJSStd" -- not in ["src/tools/tidy"]
2020-04-17T23:31:14.1520263Z Checking "alias-1" ... OK
2020-04-17T23:31:14.2024027Z Checking "alias-2" ... OK
2020-04-17T23:31:14.2460269Z Checking "alias-3" ... OK
2020-04-17T23:31:14.2977051Z Checking "alias" ... OK
2020-04-17T23:31:14.3542835Z Checking "basic" ... OK
2020-04-17T23:31:14.4071389Z Checking "deduplication" ... OK
2020-04-17T23:31:14.4423108Z Checking "enum-option" ... OK
2020-04-17T23:31:14.4962943Z Checking "filter-crate" ... OK
2020-04-17T23:31:14.5428379Z Checking "fn-forget" ... OK
2020-04-17T23:31:14.6117098Z Checking "from_u" ... OK
2020-04-17T23:31:14.6832288Z Checking "keyword" ... OK
2020-04-17T23:31:14.7167726Z Checking "macro-check" ... OK
2020-04-17T23:31:14.7405935Z Checking "macro-print" ... OK
2020-04-17T23:31:14.7937465Z Checking "multi-query" ... OK
2020-04-17T23:31:14.8156985Z Checking "never" ... OK
2020-04-17T23:31:14.8272466Z Checking "quoted" ... OK
2020-04-17T23:31:14.8440390Z Checking "return-specific-literal" ... OK
2020-04-17T23:31:14.8944308Z Checking "return-specific" ... OK
2020-04-17T23:31:14.9199879Z Checking "should-fail" ... OK
2020-04-17T23:31:14.9682371Z Checking "string-from_ut" ... OK
2020-04-17T23:31:15.0120254Z Checking "struct-vec" ... OK
2020-04-17T23:31:15.0986025Z Checking "vec-new" ... OK
2020-04-17T23:31:15.1202266Z Check compiletest suite=rustdoc-js mode=js-doc-test (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-17T23:31:15.2480946Z 
2020-04-17T23:31:15.2481337Z running 6 tests
2020-04-17T23:31:18.9135520Z ......
---
2020-04-17T23:32:06.6593535Z Suite("src/test/run-make") not skipped for "bootstrap::test::RunMake" -- not in ["src/tools/tidy"]
2020-04-17T23:32:06.6755636Z Check compiletest suite=run-make mode=run-make (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-17T23:32:06.8010229Z 
2020-04-17T23:32:06.8010569Z running 13 tests
2020-04-17T23:32:07.1152862Z .iiiiiii.iii.
2020-04-17T23:32:07.1153724Z 
2020-04-17T23:32:07.1158940Z  finished in 0.440
2020-04-17T23:32:07.1207562Z Build completed successfully in 1:17:12
2020-04-17T23:32:07.1207562Z Build completed successfully in 1:17:12
2020-04-17T23:32:07.1220845Z + python2.7 ../x.py test src/test/mir-opt --pass=build --target=armv5te-unknown-linux-gnueabi
2020-04-17T23:32:08.1005355Z Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-17T23:32:08.2715703Z     Finished release [optimized] target(s) in 0.16s
2020-04-17T23:32:08.2776307Z Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
2020-04-17T23:32:08.2865643Z Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-17T23:33:09.1295981Z 
2020-04-17T23:33:09.1296745Z ---- [mir-opt] mir-opt/nll/region-subtyping-basic.rs stdout ----
2020-04-17T23:33:09.1297118Z 23 |
2020-04-17T23:33:09.1297549Z 24 fn main() -> () {
2020-04-17T23:33:09.1298220Z 25     let mut _0: ();                      // return place in scope 0 at $DIR/region-subtyping-basic.rs:15:11: 15:11
2020-04-17T23:33:09.1299117Z -     let mut _1: [usize; Const { ty: usize, val: Value(Scalar(0x0000000000000003)) }]; // in scope 0 at $DIR/region-subtyping-basic.rs:16:9: 16:14
2020-04-17T23:33:09.1300018Z +     let mut _1: [usize; Const { ty: usize, val: Value(Scalar(0x00000003)) }]; // in scope 0 at $DIR/region-subtyping-basic.rs:16:9: 16:14
2020-04-17T23:33:09.1300838Z 27     let _3: usize;                       // in scope 0 at $DIR/region-subtyping-basic.rs:17:16: 17:17
2020-04-17T23:33:09.1301847Z 28     let mut _4: usize;                   // in scope 0 at $DIR/region-subtyping-basic.rs:17:14: 17:18
2020-04-17T23:33:09.1302661Z 29     let mut _5: bool;                    // in scope 0 at $DIR/region-subtyping-basic.rs:17:14: 17:18
2020-04-17T23:33:09.1303284Z 45 
2020-04-17T23:33:09.1303554Z 46     bb0: {
2020-04-17T23:33:09.1303554Z 46     bb0: {
2020-04-17T23:33:09.1304199Z 47         StorageLive(_1);                 // bb0[0]: scope 0 at $DIR/region-subtyping-basic.rs:16:9: 16:14
2020-04-17T23:33:09.1305687Z -         _1 = [const Const(Value(Scalar(0x0000000000000001)): usize), const Const(Value(Scalar(0x0000000000000002)): usize), const Const(Value(Scalar(0x0000000000000003)): usize)]; // bb0[1]: scope 0 at $DIR/region-subtyping-basic.rs:16:17: 16:26
2020-04-17T23:33:09.1307855Z +         _1 = [const Const(Value(Scalar(0x00000001)): usize), const Const(Value(Scalar(0x00000002)): usize), const Const(Value(Scalar(0x00000003)): usize)]; // bb0[1]: scope 0 at $DIR/region-subtyping-basic.rs:16:17: 16:26
2020-04-17T23:33:09.1309714Z 49                                          // ty::Const
2020-04-17T23:33:09.1310912Z 50                                          // + ty: usize
2020-04-17T23:33:09.1311671Z -                                          // + val: Value(Scalar(0x0000000000000001))
2020-04-17T23:33:09.1312191Z +                                          // + val: Value(Scalar(0x00000001))
2020-04-17T23:33:09.1312612Z 52                                          // mir::Constant
2020-04-17T23:33:09.1313344Z 53                                          // + span: $DIR/region-subtyping-basic.rs:16:18: 16:19
2020-04-17T23:33:09.1314202Z -                                          // + literal: Const { ty: usize, val: Value(Scalar(0x0000000000000001)) }
2020-04-17T23:33:09.1314834Z +                                          // + literal: Const { ty: usize, val: Value(Scalar(0x00000001)) }
2020-04-17T23:33:09.1315338Z 55                                          // ty::Const
2020-04-17T23:33:09.1315716Z 56                                          // + ty: usize
2020-04-17T23:33:09.1316373Z -                                          // + val: Value(Scalar(0x0000000000000002))
2020-04-17T23:33:09.1316863Z +                                          // + val: Value(Scalar(0x00000002))
2020-04-17T23:33:09.1317285Z 58                                          // mir::Constant
2020-04-17T23:33:09.1318108Z 59                                          // + span: $DIR/region-subtyping-basic.rs:16:21: 16:22
2020-04-17T23:33:09.1318846Z -                                          // + literal: Const { ty: usize, val: Value(Scalar(0x0000000000000002)) }
2020-04-17T23:33:09.1319412Z +                                          // + literal: Const { ty: usize, val: Value(Scalar(0x00000002)) }
2020-04-17T23:33:09.1319842Z 61                                          // ty::Const
2020-04-17T23:33:09.1320254Z 62                                          // + ty: usize
2020-04-17T23:33:09.1320743Z -                                          // + val: Value(Scalar(0x0000000000000003))
2020-04-17T23:33:09.1321116Z +                                          // + val: Value(Scalar(0x00000003))
2020-04-17T23:33:09.1321451Z 64                                          // mir::Constant
2020-04-17T23:33:09.1321992Z 65                                          // + span: $DIR/region-subtyping-basic.rs:16:24: 16:25
2020-04-17T23:33:09.1322622Z -                                          // + literal: Const { ty: usize, val: Value(Scalar(0x0000000000000003)) }
2020-04-17T23:33:09.1323108Z +                                          // + literal: Const { ty: usize, val: Value(Scalar(0x00000003)) }
2020-04-17T23:33:09.1323736Z 67         FakeRead(ForLet, _1);            // bb0[2]: scope 0 at $DIR/region-subtyping-basic.rs:16:9: 16:14
2020-04-17T23:33:09.1324390Z 68         StorageLive(_2);                 // bb0[3]: scope 1 at $DIR/region-subtyping-basic.rs:17:9: 17:10
2020-04-17T23:33:09.1325020Z 69         StorageLive(_3);                 // bb0[4]: scope 1 at $DIR/region-subtyping-basic.rs:17:16: 17:17
2020-04-17T23:33:09.1325438Z 
2020-04-17T23:33:09.1326075Z -         _3 = const Const(Value(Scalar(0x0000000000000000)): usize); // bb0[5]: scope 1 at $DIR/region-subtyping-basic.rs:17:16: 17:17
2020-04-17T23:33:09.1326834Z +         _3 = const Const(Value(Scalar(0x00000000)): usize); // bb0[5]: scope 1 at $DIR/region-subtyping-basic.rs:17:16: 17:17
2020-04-17T23:33:09.1327258Z 71                                          // ty::Const
2020-04-17T23:33:09.1327581Z 72                                          // + ty: usize
2020-04-17T23:33:09.1328061Z -                                          // + val: Value(Scalar(0x0000000000000000))
2020-04-17T23:33:09.1328438Z +                                          // + val: Value(Scalar(0x00000000))
2020-04-17T23:33:09.1328754Z 74                                          // mir::Constant
2020-04-17T23:33:09.1329423Z 75                                          // + span: $DIR/region-subtyping-basic.rs:17:16: 17:17
2020-04-17T23:33:09.1330194Z -                                          // + literal: Const { ty: usize, val: Value(Scalar(0x0000000000000000)) }
2020-04-17T23:33:09.1330663Z +                                          // + literal: Const { ty: usize, val: Value(Scalar(0x00000000)) }
2020-04-17T23:33:09.1331310Z 77         _4 = Len(_1);                    // bb0[6]: scope 1 at $DIR/region-subtyping-basic.rs:17:14: 17:18
2020-04-17T23:33:09.1331952Z 78         _5 = Lt(_3, _4);                 // bb0[7]: scope 1 at $DIR/region-subtyping-basic.rs:17:14: 17:18
2020-04-17T23:33:09.1332968Z 79         assert(move _5, "index out of bounds: the len is {} but the index is {}", move _4, _3) -> [success: bb2, unwind: bb1]; // bb0[8]: scope 1 at $DIR/region-subtyping-basic.rs:17:14: 17:18
2020-04-17T23:33:09.1333593Z 107 
2020-04-17T23:33:09.1333778Z 108     bb4: {
2020-04-17T23:33:09.1333778Z 108     bb4: {
2020-04-17T23:33:09.1334305Z 109         StorageLive(_10);                // bb4[0]: scope 3 at $DIR/region-subtyping-basic.rs:22:9: 22:18
2020-04-17T23:33:09.1335232Z -         _10 = const Const(Value(Scalar(<ZST>)): fn(usize) -> bool {use_x})(const Const(Value(Scalar(0x0000000000000016)): usize)) -> [return: bb7, unwind: bb1]; // bb4[1]: scope 3 at $DIR/region-subtyping-basic.rs:22:9: 22:18
2020-04-17T23:33:09.1336279Z +         _10 = const Const(Value(Scalar(<ZST>)): fn(usize) -> bool {use_x})(const Const(Value(Scalar(0x00000016)): usize)) -> [return: bb7, unwind: bb1]; // bb4[1]: scope 3 at $DIR/region-subtyping-basic.rs:22:9: 22:18
2020-04-17T23:33:09.1336822Z 111                                          // ty::Const
2020-04-17T23:33:09.1337320Z 112                                          // + ty: fn(usize) -> bool {use_x}
2020-04-17T23:33:09.1337675Z 113                                          // + val: Value(Scalar(<ZST>))
2020-04-17T23:33:09.1337919Z 
2020-04-17T23:33:09.1338457Z 116                                          // + literal: Const { ty: fn(usize) -> bool {use_x}, val: Value(Scalar(<ZST>)) }
2020-04-17T23:33:09.1338864Z 117                                          // ty::Const
2020-04-17T23:33:09.1339145Z 118                                          // + ty: usize
2020-04-17T23:33:09.1339643Z -                                          // + val: Value(Scalar(0x0000000000000016))
2020-04-17T23:33:09.1340013Z +                                          // + val: Value(Scalar(0x00000016))
2020-04-17T23:33:09.1340611Z 120                                          // mir::Constant
2020-04-17T23:33:09.1341175Z 121                                          // + span: $DIR/region-subtyping-basic.rs:22:15: 22:17
2020-04-17T23:33:09.1342187Z -                                          // + literal: Const { ty: usize, val: Value(Scalar(0x0000000000000016)) }
2020-04-17T23:33:09.1342583Z +                                          // + literal: Const { ty: usize, val: Value(Scalar(0x00000016)) }
2020-04-17T23:33:09.1342894Z 124 
2020-04-17T23:33:09.1342990Z 125     bb5: {
2020-04-17T23:33:09.1343168Z 
2020-04-17T23:33:09.1343168Z 
2020-04-17T23:33:09.1343800Z thread '[mir-opt] mir-opt/nll/region-subtyping-basic.rs' panicked at 'Actual MIR output differs from expected MIR output /checkout/src/test/mir-opt/nll/region-subtyping-basic/rustc.main.nll.0.mir', src/tools/compiletest/src/runtest.rs:3165:25
2020-04-17T23:33:09.1344382Z 
2020-04-17T23:33:09.1344447Z 
2020-04-17T23:33:09.1344536Z failures:
2020-04-17T23:33:09.1344828Z     [mir-opt] mir-opt/nll/region-subtyping-basic.rs
2020-04-17T23:33:09.1344828Z     [mir-opt] mir-opt/nll/region-subtyping-basic.rs
2020-04-17T23:33:09.1344945Z 
2020-04-17T23:33:09.1345269Z test result: FAILED. 89 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
2020-04-17T23:33:09.1345431Z 
2020-04-17T23:33:09.1345509Z 
2020-04-17T23:33:09.1345571Z 
2020-04-17T23:33:09.1348028Z 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/armv5te-unknown-linux-gnueabi/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-armv5te-unknown-linux-gnueabi" "--mode" "mir-opt" "--target" "armv5te-unknown-linux-gnueabi" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-7/bin/FileCheck" "--pass" "build" "--nodejs" "/usr/bin/node" "--linker" "arm-linux-gnueabi-gcc" "--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/armv5te-unknown-linux-gnueabi/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" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2020-04-17T23:33:09.1350059Z 
2020-04-17T23:33:09.1350133Z 
2020-04-17T23:33:09.1350133Z 
2020-04-17T23:33:09.1350603Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/test/mir-opt --pass=build --target=armv5te-unknown-linux-gnueabi
2020-04-17T23:33:09.1420651Z == clock drift check ==
2020-04-17T23:33:09.1420651Z == clock drift check ==
2020-04-17T23:33:09.8350715Z   local time: Fri Apr 17 23:33:09 UTC 2020
2020-04-17T23:33:09.8353304Z   network time: Fri, 17 Apr 2020 23:33:09 GMT
2020-04-17T23:33:11.7859304Z 
2020-04-17T23:33:11.7859304Z 
2020-04-17T23:33:11.7929500Z ##[error]Bash exited with code '1'.
2020-04-17T23:33:11.7939781Z ##[section]Finishing: Run build
2020-04-17T23:33:11.7998373Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/70950/merge to s
2020-04-17T23:33:11.8002589Z Task         : Get sources
2020-04-17T23:33:11.8002839Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-17T23:33:11.8003068Z Version      : 1.0.0
2020-04-17T23:33:11.8003244Z Author       : Microsoft
2020-04-17T23:33:11.8003244Z Author       : Microsoft
2020-04-17T23:33:11.8003501Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-04-17T23:33:11.8003791Z ==============================================================================
2020-04-17T23:33:12.0669611Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-04-17T23:33:12.0713345Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/70950/merge to s
2020-04-17T23:33:12.0776582Z Cleaning up task key
2020-04-17T23:33:12.0777468Z Start cleaning up orphan processes.
2020-04-17T23:33:12.0916688Z Terminate orphan process: pid (4096) (python)
2020-04-17T23:33:12.1163194Z ##[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)

@nikomatsakis
Copy link
Contributor Author

So, I re-read our algorithm for SCCs, and I think @lqd is right that the all_sccs list is already in dependency order. I haven't thought much about it yet but it seems "probably true". So I might simplify that commit.

In terms of the reference files, I can't run the 32-bit tests locally yet, I get some weird errors, I am probably missing packages on my machine.

We don't need the `scc_dependency_order` vector, `all_sccs` is already
in dependency order.
@nikomatsakis
Copy link
Contributor Author

OK, I think I fixed the mir-opt test, and we now document (and take advantage) of the fact that all_sccs is already in dependency order (thanks @lqd).

@nikomatsakis
Copy link
Contributor Author

@matthewjasper do you consider this a blocker? It seems kind of orthogonal from this PR to me.

@matthewjasper
Copy link
Contributor

No, I'll try to fix it once this is merged.

@bors r+

@bors
Copy link
Contributor

bors commented Apr 29, 2020

📌 Commit cb9458d has been approved by matthewjasper

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 29, 2020
RalfJung added a commit to RalfJung/rust that referenced this pull request Apr 30, 2020
…tthewjasper

extend NLL checker to understand `'empty` combined with universes

This PR extends the NLL region checker to understand `'empty` combined with universes. In particular, it means that the NLL region checker no longer considers `exists<R2> { forall<R1> { R1: R2 } }` to be provable. This is work towards rust-lang#59490, but we're not all the way there. One thing in particular it does not address is error messages.

The modifications to the NLL region inference code turned out to be simpler than expected. The main change is to require that if `R1: R2` then `universe(R1) <= universe(R2)`.

This constraint follows from the region lattice (shown below), because we assume then that `R2` is "at least" `empty(Universe(R2))`, and hence if `R1: R2` (i.e., `R1 >= R2` on the lattice) then `R1` must be in some universe that can name `'empty(Universe(R2))`, which requires that `Universe(R1) <= Universe(R2)`.

```
static ----------+-----...------+       (greatest)
|                |              |
early-bound and  |              |
free regions     |              |
|                |              |
scope regions    |              |
|                |              |
empty(root)   placeholder(U1)   |
|            /                  |
|           /         placeholder(Un)
empty(U1) --         /
|                   /
...                /
|                 /
empty(Un) --------                      (smallest)
```

I also made what turned out to be a somewhat unrelated change to add a special region to represent `'empty(U0)`, which we use (somewhat hackily) to indicate well-formedness checks in some parts of the compiler. This fixes rust-lang#68550.

I did some investigation into fixing the error message situation. That's a bit trickier: the existing "nice region error" code around placeholders relies on having better error tracing than NLL currently provides, so that it knows (e.g.) that the constraint arose from applying a trait impl and things like that. I feel like I was hoping *not* to do such fine-grained tracing in NLL, and it seems like we...largely...got away with that. I'm not sure yet if we'll have to add more tracing information or if there is some sort of alternative.

It's worth pointing out though that I've not kind of shifted my opinion on whose job it should be to enforce lifetimes: I tend to think we ought to be moving back towards *something like* the leak-check (just not the one we *had*). If we took that approach, it would actually resolve this aspect of the error message problem, because we would be resolving 'higher-ranked errors' in the trait solver itself, and hence we wouldn't have to thread as much causal information back to the region checker. I think it would also help us with removing the leak check while not breaking some of the existing crates out there.

Regardless, I think it's worth landing this change, because it was relatively simple and it aligns the set of programs that NLL accepts with those that are accepted by the main region checker, and hence should at least *help* us in migration (though I guess we still also have to resolve the existing crates that rely on leak check for coherence).

r? @matthewjasper
@bors
Copy link
Contributor

bors commented Apr 30, 2020

⌛ Testing commit cb9458d with merge 27e245b59b1b76b9c0bf041819a192d4a46e2192...

@Dylan-DPC-zz
Copy link

@bors retry (Yield)

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 30, 2020
Rollup of 5 pull requests

Successful merges:

 - rust-lang#70950 (extend NLL checker to understand `'empty` combined with universes)
 - rust-lang#71433 (Add help message for missing right operand in condition)
 - rust-lang#71449 (Move `{Free,}RegionRelations` and `FreeRegionMap` to `rustc_infer`)
 - rust-lang#71559 (Detect git version before attempting to use --progress)
 - rust-lang#71597 (Rename Unique::empty() -> Unique::dangling())

Failed merges:

r? @ghost
@bors bors merged commit 09f3c90 into rust-lang:master Apr 30, 2020
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.

Rustc bug:cannot convert ReEmpty to a region vid
7 participants