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

Only insert nodes which changes lint levels in the LintLevelMap #58176

Merged
merged 2 commits into from
Mar 14, 2019

Conversation

Zoxc
Copy link
Contributor

@Zoxc Zoxc commented Feb 5, 2019

r? @eddyb

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 5, 2019
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-6.0 of your PR failed on Travis (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.
travis_time:end:0aaf9568:start=1549340804475426161,finish=1549340877801897200,duration=73326471039
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-6.0
---
[01:12:40] ERROR 2019-02-05T05:40:47Z: compiletest::runtest: None
[01:12:41] ERROR 2019-02-05T05:40:47Z: compiletest::runtest: None
[01:12:45] ERROR 2019-02-05T05:40:52Z: compiletest::runtest: None
[01:12:54] thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:502:22
[01:12:54] ...F.............F..F....FF...........
[01:12:54] 
[01:12:54] ---- [mir-opt] mir-opt/box_expr.rs stdout ----
[01:12:54] ---- [mir-opt] mir-opt/box_expr.rs stdout ----
[01:12:54] thread '[mir-opt] mir-opt/box_expr.rs' panicked at 'Did not find expected line, error: Mismatch in lines
[01:12:54] Current block: None
[01:12:54] Actual Line: "    let _1: std::boxed::Box<S>;"
[01:12:54] Expected Line: "    scope 1 {"
[01:12:54] Test Name: rustc.main.ElaborateDrops.before.mir
[01:12:54] ... (elided)
[01:12:54] ... (elided)
[01:12:54]     let mut _0: ();
[01:12:54]     scope 1 {
[01:12:54]     scope 2 {
[01:12:54]     scope 2 {
[01:12:54]         let _1: std::boxed::Box<S>;
[01:12:54]     }
[01:12:54]     let mut _2: std::boxed::Box<S>;
[01:12:54]     let mut _3: ();
[01:12:54]     let mut _4: std::boxed::Box<S>;
[01:12:54]     bb0: {
[01:12:54]         StorageLive(_1);
[01:12:54]         StorageLive(_2);
[01:12:54]         _2 = Box(S);
[01:12:54]         (*_2) = const S::new() -> [return: bb2, unwind: bb3];
[01:12:54]     bb1: {
[01:12:54]         resume;
[01:12:54]     }
[01:12:54]     bb2: {
[01:12:54]     bb2: {
[01:12:54]         _1 = move _2;
[01:12:54]         drop(_2) -> bb4;
[01:12:54]     }
[01:12:54]     bb3: {
[01:12:54]         drop(_2) -> bb1;
[01:12:54]     }
[01:12:54]     bb4: {
[01:12:54]         StorageDead(_2);
[01:12:54]         StorageLive(_4);
[01:12:54]         _4 = move _1;
[01:12:54]         _3 = const std::mem::drop(move _4) -> [return: bb5, unwind: bb7];
[01:12:54]     bb5: {
[01:12:54]     bb5: {
[01:12:54]         drop(_4) -> [return: bb8, unwind: bb6];
[01:12:54]     bb6: {
[01:12:54]         drop(_1) -> bb1;
[01:12:54]     }
[01:12:54]     bb7: {
[01:12:54]     bb7: {
[01:12:54]         drop(_4) -> bb6;
[01:12:54]     }
[01:12:54]     bb8: {
[01:12:54]         StorageDead(_4);
[01:12:54]         _0 = ();
[01:12:54]         drop(_1) -> bb9;
[01:12:54]     bb9: {
[01:12:54]     bb9: {
[01:12:54]         StorageDead(_1);
[01:12:54]         return;
[01:12:54] }
[01:12:54] Actual:
[01:12:54] fn main() -> (){
[01:12:54] fn main() -> (){
[01:12:54]     let mut _0: ();
[01:12:54]     let _1: std::boxed::Box<S>;
[01:12:54]     scope 1 {
[01:12:54]     }
[01:12:54]     let mut _2: std::boxed::Box<S>;
[01:12:54]     let mut _3: ();
[01:12:54]     let mut _4: std::boxed::Box<S>;
[01:12:54]     bb0: {                              
[01:12:54]         StorageLive(_1);
[01:12:54]         StorageLive(_2);
[01:12:54]         _2 = Box(S);
[01:12:54]         (*_2) = const S::new() -> [return: bb2, unwind: bb3];
[01:12:54]     bb1: {
[01:12:54]         resume;
[01:12:54]     }
[01:12:54]     }
[01:12:54]     bb2: {                              
[01:12:54]         _1 = move _2;
[01:12:54]         drop(_2) -> bb4;
[01:12:54]     bb3: {
[01:12:54]         drop(_2) -> bb1;
[01:12:54]     }
[01:12:54]     }
[01:12:54]     bb4: {                              
[01:12:54]         StorageDead(_2);
[01:12:54]         StorageLive(_4);
[01:12:54]         _4 = move _1;
[01:12:54]         _3 = const std::mem::drop(move _4) -> [return: bb5, unwind: bb7];
[01:12:54]     }
[01:12:54]     bb5: {                              
[01:12:54]         drop(_4) -> [return: bb8, unwind: bb6];
[01:12:54]     bb6: {
[01:12:54]         drop(_1) -> bb1;
[01:12:54]     }
[01:12:54]     bb7: {
[01:12:54]     bb7: {
[01:12:54]         drop(_4) -> bb6;
[01:12:54]     }
[01:12:54]     bb8: {                              
[01:12:54]         StorageDead(_4);
[01:12:54]         _0 = ();
[01:12:54]         drop(_1) -> bb9;
[01:12:54]     }
[01:12:54]     bb9: {                              
[01:12:54]         StorageDead(_1);
[01:12:54]         return;
[01:12:54] }', src/tools/compiletest/src/runtest.rs:2960:13
[01:12:54] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:12:54] 
[01:12:54] ---- [mir-opt] mir-opt/issue-41110.rs stdout ----
[01:12:54] ---- [mir-opt] mir-opt/issue-41110.rs stdout ----
[01:12:54] thread '[mir-opt] mir-opt/issue-41110.rs' panicked at 'Did not find expected line, error: Mismatch in lines
[01:12:54] Current block: None
[01:12:54] Actual Line: "    let _1: ();"
[01:12:54] Expected Line: "   scope 1 {"
[01:12:54] Test Name: rustc.main.ElaborateDrops.after.mir
[01:12:54] ... (elided)
[01:12:54] ... (elided)
[01:12:54]    let mut _0: ();
[01:12:54]    scope 1 {
[01:12:54]    scope 2 {
[01:12:54]    scope 2 {
[01:12:54]        let _1: ();
[01:12:54]    let mut _2: S;
[01:12:54]    let mut _3: S;
[01:12:54]    let mut _4: S;
[01:12:54]    let mut _4: S;
[01:12:54]    let mut _5: bool;
[01:12:54]    bb0: {
[01:12:54] Actual:
[01:12:54] fn main() -> (){
[01:12:54]     let mut _0: ();
[01:12:54]     let _1: ();
[01:12:54]     scope 1 {
[01:12:54]     let mut _2: S;
[01:12:54]     let mut _3: S;
[01:12:54]     let mut _4: S;
[01:12:54]     let mut _4: S;
[01:12:54]     let mut _5: bool;
[01:12:54]     bb0: {                              
[01:12:54]         _5 = const false;
[01:12:54]         StorageLive(_1);
[01:12:54]         StorageLive(_2);
[01:12:54]         _2 = S;
[01:12:54]         _2 = S;
[01:12:54]         StorageLive(_3);
[01:12:54]         StorageLive(_4);
[01:12:54]         _4 = S;
[01:12:54]         _3 = const S::id(move _4) -> [return: bb2, unwind: bb4];
[01:12:54]     bb1: {
[01:12:54]         resume;
[01:12:54]     }
[01:12:54]     }
[01:12:54]     bb2: {                              
[01:12:54]         goto -> bb6;
[01:12:54]     bb3: {
[01:12:54]         goto -> bb12;
[01:12:54]     }
[01:12:54]     bb4: {
[01:12:54]     bb4: {
[01:12:54]         goto -> bb3;
[01:12:54]     }
[01:12:54]     bb5: {
[01:12:54]         goto -> bb3;
[01:12:54]     }
[01:12:54]     bb6: {                              
[01:12:54]         StorageDead(_4);
[01:12:54]         _5 = const false;
[01:12:54]         _1 = const S::other(move _2, move _3) -> [return: bb7, unwind: bb5];
[01:12:54]     }
[01:12:54]     bb7: {                              
[01:12:54]         goto -> bb8;
[01:12:54]     }
[01:12:54]     bb8: {                              
[01:12:54]         StorageDead(_3);
[01:12:54]         goto -> bb9;
[01:12:54]     }
[01:12:54]     bb9: {                              
[01:12:54]         _5 = const false;
[01:12:54]         StorageDead(_2);
[01:12:54]         _0 = ();
[01:12:54]         StorageDead(_1);
[01:12:54]         return;
[01:12:54]     bb10: {
[01:12:54]         drop(_2) -> bb1;
[01:12:54]     }
[01:12:54]     bb11: {
[01:12:54]     bb11: {
[01:12:54]         _5 = const false;
[01:12:54]         goto -> bb10;
[01:12:54]     }
[01:12:54]     bb12: {
[01:12:54]         switchInt(_5) -> [false: bb1, otherwise: bb11];
[01:12:54] }', src/tools/compiletest/src/runtest.rs:2960:13
[01:12:54] 
[01:12:54] ---- [mir-opt] mir-opt/issue-49232.rs stdout ----
[01:12:54] ---- [mir-opt] mir-opt/issue-49232.rs stdout ----
[01:12:54] thread '[mir-opt] mir-opt/issue-49232.rs' panicked at 'Did not find expected line, error: Mismatch in lines
[01:12:54] Current block: None
[01:12:54] Actual Line: "    let _2: i32;"
[01:12:54] Expected Line: "    scope 1 {"
[01:12:54] Test Name: rustc.main.mir_map.0.mir
[01:12:54] ... (elided)
[01:12:54] fn main() -> (){
[01:12:54] fn main() -> (){
[01:12:54]     let mut _0: ();
[01:12:54]     scope 1 {
[01:12:54]     scope 2 {
[01:12:54]         let _2: i32;
[01:12:54]     }
[01:12:54]     }
[01:12:54]     let mut _1: ();
[01:12:54]     let mut _3: bool;
[01:12:54]     let mut _4: !;
[01:12:54]     let mut _5: ();
[01:12:54]     let mut _6: &i32;
[01:12:54]     bb0: {
[01:12:54]         goto -> bb1;
[01:12:54]     bb1: {
[01:12:54]     bb1: {
[01:12:54]         falseUnwind -> [real: bb3, cleanup: bb4];
[01:12:54]     bb2: {
[01:12:54]         goto -> bb20;
[01:12:54]     }
[01:12:54]     bb3: {
[01:12:54]     bb3: {
[01:12:54]         StorageLive(_2);
[01:12:54]         StorageLive(_3);
[01:12:54]         _3 = const true;
[01:12:54]         FakeRead(ForMatchedPlace, _3);
[01:12:54]         switchInt(_3) -> [false: bb11, otherwise: bb10];
[01:12:54]     bb4: {
[01:12:54]         resume;
[01:12:54]     }
[01:12:54]     bb5: {
[01:12:54]     bb5: {
[01:12:54]         _2 = const 4i32;
[01:12:54]         goto -> bb14;
[01:12:54]     }
[01:12:54]     bb6: {
[01:12:54]         _0 = ();
[01:12:54]         goto -> bb15;
[01:12:54]     }
[01:12:54]     bb7: {
[01:12:54]         falseEdges -> [real: bb12, imaginary: bb8];
[01:12:54]     bb8: {
[01:12:54]     bb8: {
[01:12:54]         falseEdges -> [real: bb13, imaginary: bb9];
[01:12:54]     bb9: {
[01:12:54]         unreachable;
[01:12:54]     }
[01:12:54]     bb10: {
---
[01:12:54]     }
[01:12:54]     bb13: {
[01:12:54]         goto -> bb6;
[01:12:54]     }
[01:12:54]     bb14: {
[01:12:54]         FakeRead(ForLet, _2);
[01:12:54]         StorageDead(_3);
[01:12:54]         StorageLive(_6);
[01:12:54]         _6 = &_2;
[01:12:54]         _5 = const std::mem::drop(move _6) -> [return: bb19, unwind: bb4];
[01:12:54]     bb15: {
[01:12:54]     bb15: {
[01:12:54]         StorageDead(_3);
[01:12:54]         goto -> bb16;
[01:12:54]     bb16: {
[01:12:54]     bb16: {
[01:12:54]         StorageDead(_2);
[01:12:54]         goto -> bb2;
[01:12:54]     bb17: {
[01:12:54]         _4 = ();
[01:12:54]         unreachable;
[01:12:54]     }
[01:12:54]     }
[01:12:54]     bb18: {
[01:12:54]         StorageDead(_4);
[01:12:54]         goto -> bb14;
[01:12:54]     bb19: {
[01:12:54]     bb19: {
[01:12:54]         StorageDead(_6);
[01:12:54]         _1 = ();
[01:12:54]         StorageDead(_2);
[01:12:54]         goto -> bb1;
[01:12:54]     bb20: {
[01:12:54]         return;
[01:12:54]     }
[01:12:54] }
[01:12:54] }
[01:12:54] Actual:
[01:12:54] fn main() -> (){
[01:12:54]     let mut _0: ();
[01:12:54]     let _2: i32;
[01:12:54]     scope 1 {
[01:12:54]     }
[01:12:54]     let mut _1: ();
[01:12:54]     let mut _3: bool;
[01:12:54]     let mut _4: !;
[01:12:54]     let mut _5: ();
[01:12:54]     let mut _6: &i32;
[01:12:54]     bb0: {                              
[01:12:54]         goto -> bb1;
[01:12:54]     }
[01:12:54]     bb1: {                              
[01:12:54]         falseUnwind -> [real: bb3, cleanup: bb4];
[01:12:54]     }
[01:12:54]     bb2: {                              
[01:12:54]         goto -> bb20;
[01:12:54]     }
[01:12:54]     bb3: {                              
[01:12:54]         StorageLive(_2);
[01:12:54]         StorageLive(_3);
[01:12:54]         _3 = const true;
[01:12:54]         FakeRead(ForMatchedPlace, _3);
[01:12:54]         switchInt(_3) -> [false: bb11, otherwise: bb10];
[01:12:54]     bb4: {
[01:12:54]         resume;
[01:12:54]     }
[01:12:54]     }
[01:12:54]     bb5: {                              
[01:12:54]         _2 = const 4i32;
[01:12:54]         goto -> bb14;
[01:12:54]     }
[01:12:54]     bb6: {                              
[01:12:54]         _0 = ();
[01:12:54]         goto -> bb15;
[01:12:54]     }
[01:12:54]     bb7: {                              
[01:12:54]         falseEdges -> [real: bb12, imaginary: bb8];
[01:12:54]     }
[01:12:54]     bb8: {                              
[01:12:54]         falseEdges -> [real: bb13, imaginary: bb9];
[01:12:54]     }
[01:12:54]     bb9: {                              
[01:12:54]     }
[01:12:54]     }
[01:12:54]     bb10: {                             
[01:12:54]         goto -> bb8;
[01:12:54]     }
[01:12:54]     bb11: {                             
[01:12:54]         goto -> bb7;
[01:12:54]     }
[01:12:54]     bb12: {                             
[01:12:54]         goto -> bb5;
[01:12:54]     }
[01:12:54]     bb13: {                             
[01:12:54]         goto -> bb6;
[01:12:54]     }
[01:12:54]     bb14: {                             
[01:12:54]         FakeRead(ForLet, _2);
[01:12:54]         StorageDead(_3);
[01:12:54]         StorageLive(_6);
[01:12:54]         _6 = &_2;
[01:12:54]         _5 = const std::mem::drop(move _6) -> [return: bb19, unwind: bb4];
[01:12:54]     }
[01:12:54]     bb15: {                             
[01:12:54]         StorageDead(_3);
[01:12:54]         goto -> bb16;
[01:12:54]     }
[01:12:54]     bb16: {                             
[01:12:54]         StorageDead(_2);
[01:12:54]         goto -> bb2;
[01:12:54]     }
[01:12:54]     bb17: {                             
[01:12:54]         _4 = ();
[01:12:54]     }
[01:12:54]     }
[01:12:54]     bb18: {                             
[01:12:54]         StorageDead(_4);
[01:12:54]         goto -> bb14;
[01:12:54]     }
[01:12:54]     bb19: {                             
[01:12:54]         StorageDead(_6);
[01:12:54]         _1 = ();
[01:12:54]         StorageDead(_2);
[01:12:54]         goto -> bb1;
[01:12:54]     }
[01:12:54]     bb20: {                             
[01:12:54]         return;
[01:12:54] }', src/tools/compiletest/src/runtest.rs:2960:13
[01:12:54] 
[01:12:54] ---- [mir-opt] mir-opt/packed-struct-drop-aligned.rs stdout ----
[01:12:54] ---- [mir-opt] mir-opt/packed-struct-drop-aligned.rs stdout ----
[01:12:54] thread '[mir-opt] mir-opt/packed-struct-drop-aligned.rs' panicked at 'Did not find expected line, error: Mismatch in lines
[01:12:54] Current block: None
[01:12:54] Actual Line: "    let mut _1: Packed;"
[01:12:54] Expected Line: "    scope 1 {"
[01:12:54] Test Name: rustc.main.EraseRegions.before.mir
[01:12:54] ... (elided)
[01:12:54] fn main() -> () {
[01:12:54] fn main() -> () {
[01:12:54]     let mut _0: ();
[01:12:54]     scope 1 {
[01:12:54]     scope 2 {
[01:12:54]     scope 2 {
[01:12:54]         let mut _1: Packed;
[01:12:54]     let mut _2: Aligned;
[01:12:54]     let mut _2: Aligned;
[01:12:54]     let mut _3: Droppy;
[01:12:54]     let mut _4: Aligned;
[01:12:54]     let mut _5: Droppy;
[01:12:54]     let mut _6: Aligned;
[01:12:54]     bb0: {
[01:12:54]         StorageLive(_1);
[01:12:54] ... (elided)
[01:12:54]         _1 = Packed(move _2,);
[01:12:54] ... (elided)
[01:12:54]         StorageLive(_6);
[01:12:54]         _6 = move (_1.0: Aligned);
[01:12:54]         drop(_6) -> [return: bb4, unwind: bb3];
[01:12:54]     bb1: {
[01:12:54]         resume;
[01:12:54]     }
[01:12:54]     bb2: {
[01:12:54]     bb2: {
[01:12:54]         StorageDead(_1);
[01:12:54]         return;
[01:12:54]     bb3: {
[01:12:54]     bb3: {
[01:12:54]         (_1.0: Aligned) = move _4;
[01:12:54]         drop(_1) -> bb1;
[01:12:54]     bb4: {
[01:12:54]     bb4: {
[01:12:54]         StorageDead(_6);
[01:12:54]         (_1.0: Aligned) = move _4;
[01:12:54]         StorageDead(_4);
[01:12:54]         _0 = ();
[01:12:54]         drop(_1) -> [return: bb2, unwind: bb1];
[01:12:54] }
[01:12:54] Actual:
[01:12:54] fn main() -> (){
[01:12:54] fn main() -> (){
[01:12:54]     let mut _0: ();
[01:12:54]     let mut _1: Packed;
[01:12:54]     scope 1 {
[01:12:54]     let mut _2: Aligned;
[01:12:54]     let mut _2: Aligned;
[01:12:54]     let mut _3: Droppy;
[01:12:54]     let mut _4: Aligned;
[01:12:54]     let mut _5: Droppy;
[01:12:54]     let mut _6: Aligned;
[01:12:54]     bb0: {                              
[01:12:54]         StorageLive(_1);
[01:12:54]         StorageLive(_2);
[01:12:54]         StorageLive(_3);
[01:12:54]         _3 = Droppy(const 0usize,);
[01:12:54]         _2 = Aligned(move _3,);
[01:12:54]         StorageDead(_3);
[01:12:54]         _1 = Packed(move _2,);
[01:12:54]         StorageDead(_2);
[01:12:54]         StorageLive(_4);
[01:12:54]         StorageLive(_5);
[01:12:54]         _5 = Droppy(const 0usize,);
[01:12:54]         _4 = Aligned(move _5,);
[01:12:54]         StorageDead(_5);
[01:12:54]         StorageLive(_6);
[01:12:54]         _6 = move (_1.0: Aligned);
[01:12:54]         drop(_6) -> [return: bb4, unwind: bb3];
[01:12:54]     bb1: {
[01:12:54]         resume;
[01:12:54]     }
[01:12:54]     }
[01:12:54]     bb2: {                              
[01:12:54]         StorageDead(_1);
[01:12:54]         return;
[01:12:54]     bb3: {
[01:12:54]     bb3: {
[01:12:54]         (_1.0: Aligned) = move _4;
[01:12:54]         drop(_1) -> bb1;
[01:12:54]     }
[01:12:54]     bb4: {                              
[01:12:54]         StorageDead(_6);
[01:12:54]         (_1.0: Aligned) = move _4;
[01:12:54]         StorageDead(_4);
[01:12:54]         _0 = ();
[01:12:54]         drop(_1) -> [return: bb2, unwind: bb1];
[01:12:54] }', src/tools/compiletest/src/runtest.rs:2960:13
[01:12:54] 
[01:12:54] ---- [mir-opt] mir-opt/nll/region-subtyping-basic.rs stdout ----
[01:12:54] ---- [mir-opt] mir-opt/nll/region-subtyping-basic.rs stdout ----
[01:12:54] thread '[mir-opt] mir-opt/nll/region-subtyping-basic.rs' panicked at 'Did not find expected line, error: ran out of mir dump to match against
[01:12:54] Expected Line: "let _2: &\'_#3r usize;"
[01:12:54] Test Name: rustc.main.nll.0.mir
[01:12:54] ... (elided)
[01:12:54] ... (elided)
[01:12:54] let _6: &'_#4r usize;
[01:12:54] ... (elided)
[01:12:54] let _2: &'_#3r usize;
[01:12:54] ... (elided)
[01:12:54] _2 = &'_#2r _1[_3];
[01:12:54] ... (elided)
[01:12:54] _6 = _2;
[01:12:54] Actual:
[01:12:54] | Free Region Mapping
[01:12:54] | '_#0r | Global | ['_#0r, '_#1r]
[01:12:54] | '_#1r | Local | ['_#1r]
[01:12:54] | Inferred Region Values
[01:12:54] | Inferred Region Values
[01:12:54] | '_#0r | U0 | {bb0[0..=8], bb1[0], bb2[0..=5], bb3[0..=2], bb4[0], bb5[0..=2], bb6[0..=1], bb7[0..=3], '_#0r, '_#1r}
[01:12:54] | '_#1r | U0 | {bb0[0..=8], bb1[0], bb2[0..=5], bb3[0..=2], bb4[0], bb5[0..=2], bb6[0..=1], bb7[0..=3], '_#1r}
[01:12:54] | '_#2r | U0 | {bb2[0..=5], bb3[0..=1]}
[01:12:54] | '_#3r | U0 | {bb2[1..=5], bb3[0..=1]}
[01:12:54] | '_#4r | U0 | {bb2[4..=5], bb3[0..=1]}
[01:12:54] | Inference Constraints
[01:12:54] | Inference Constraints
[01:12:54] | '_#0r live at {bb0[0..=8], bb1[0], bb2[0..=5], bb3[0..=2], bb4[0], bb5[0..=2], bb6[0..=1], bb7[0..=3]}
[01:12:54] | '_#1r live at {bb0[0..=8], bb1[0], bb2[0..=5], bb3[0..=2], bb4[0], bb5[0..=2], bb6[0..=1], bb7[0..=3]}
[01:12:54] | '_#2r live at {bb2[0]}
[01:12:54] | '_#3r live at {bb2[1..=3]}
[01:12:54] | '_#4r live at {bb2[4..=5], bb3[0..=1]}
[01:12:54] | '_#2r: '_#3r due to Assignment at Single(bb2[0])
[01:12:54] | '_#3r: '_#4r due to Assignment at Single(bb2[3])
[01:12:54] fn main() -> (){
[01:12:54] fn main() -> (){
[01:12:54]     let mut _0: ();
[01:12:54]     span: /checkout/src/test/mir-opt/nll/region-subtyping-basic.rs:12:1: 21:2
[01:12:54]     lint_root: NodeId(0)
[01:12:54]     safety: Safe
[01:12:54]     let mut _1: [usize; 3];
[01:12:54]     scope 1 {
[01:12:54]         span: /checkout/src/test/mir-opt/nll/region-subtyping-basic.rs:13:5: 21:2
[01:12:54]         lint_root: NodeId(0)
[01:12:54]         safety: Safe
[01:12:54]         let _2: &'_#3r usize;
[01:12:54]         scope 2 {
[01:12:54]             span: /checkout/src/test/mir-opt/nll/region-subtyping-basic.rs:14:5: 21:2
[01:12:54]             lint_root: NodeId(0)
[01:12:54]             safety: Safe
[01:12:54]             let _6: &'_#4r usize;
[01:12:54]             scope 3 {
[01:12:54]                 span: /checkout/src/test/mir-opt/nll/region-subtyping-basic.rs:15:5: 21:2
[01:12:54]                 lint_root: NodeId(0)
[01:12:54]                 safety: Safe
[01:12:54]         }
[01:12:54]     }
[01:12:54]     let mut _3: usize;
[01:12:54]     let mut _4: usize;
[01:12:54]     let mut _4: usize;
[01:12:54]     let mut _5: bool;
[01:12:54]     let mut _7: bool;
[01:12:54]     let mut _8: usize;
[01:12:54]     let mut _9: bool;
[01:12:54]     bb0: {                              
[01:12:54]         StorageLive(_1);
[01:12:54]         _1 = [const 1usize, const 2usize, const 3usize];
[01:12:54]         FakeRead(ForLet, _1);
[01:12:54]         StorageLive(_2);
[01:12:54]         StorageLive(_3);
[01:12:54]         _3 = const 0usize;
[01:12:54]         _4 = Len(_1);
[01:12:54]         _5 = Lt(_3, _4);
[01:12:54]         assert(move _5, "index out of bounds: the len is move _4 but the index is _3") -> [success: bb2, unwind: bb1];
[01:12:54]     bb1: {
[01:12:54]         resume;
[01:12:54]     }
[01:12:54]     }
[01:12:54]     bb2: {                              
[01:12:54]         _2 = &'_#2r _1[_3];
[01:12:54]         FakeRead(ForLet, _2);
[01:12:54]         StorageLive(_6);
[01:12:54]         _6 = _2;
[01:12:54]         FakeRead(ForLet, _6);
[01:12:54]         switchInt(const true) -> [false: bb4, otherwise: bb3];
[01:12:54]     }
[01:12:54]     bb3: {                              
[01:12:54]         StorageLive(_8);
[01:12:54]         _8 = (*_6);
[01:12:54]         _7 = const use_x(move _8) -> [return: bb5, unwind: bb1];
[01:12:54]     }
[01:12:54]     bb4: {                              
[01:12:54]         _9 = const use_x(const 22usize) -> [return: bb6, unwind: bb1];
[01:12:54]     }
[01:12:54]     bb5: {                              
[01:12:54]         StorageDead(_8);
[01:12:54]         _0 = ();
[01:12:54]         goto -> bb7;
[01:12:54]     }
[01:12:54]     bb6: {                              
[01:12:54]         _0 = ();
[01:12:54]         goto -> bb7;
[01:12:54]     }
[01:12:54]     bb7: {                              
[01:12:54]         StorageDead(_6);
[01:12:54]         StorageDead(_2);
[01:12:54]         StorageDead(_1);
[01:12:54]         return;
[01:12:54] }', src/tools/compiletest/src/runtest.rs:2960:13
[01:12:54] 
[01:12:54] 
[01:12:54] failures:
---
[01:12:54] test result: FAILED. 33 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out
[01:12:54] 
[01:12:54] 
[01:12:54] 
[01:12:54] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/mir-opt" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/mir-opt" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "mir-opt" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:12:54] 
[01:12:54] 
[01:12:54] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[01:12:54] Build completed unsuccessfully in 0:11:40
[01:12:54] Build completed unsuccessfully in 0:11:40
[01:12:54] make: *** [check] Error 1
[01:12:54] Makefile:48: recipe for target 'check' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:2d0d0c52
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Tue Feb  5 05:41:01 UTC 2019
---
travis_time:end:054621c0:start=1549345263008631251,finish=1549345263013930324,duration=5299073
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:2425af10
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:1fffd79c
travis_time:start:1fffd79c
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:0422e756
$ dmesg | grep -i kill

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

@Zoxc
Copy link
Contributor Author

Zoxc commented Feb 5, 2019

@bors try

@bors
Copy link
Contributor

bors commented Feb 5, 2019

⌛ Trying commit 76b688633cd55ff5ee282a70fc1790d229f539b1 with merge 0677dc2b768296023b6cb338d6afbdc5ab0be878...

@bors
Copy link
Contributor

bors commented Feb 5, 2019

☀️ Test successful - checks-travis
State: approved= try=True

@Zoxc
Copy link
Contributor Author

Zoxc commented Feb 5, 2019

@rust-timer build 0677dc2b768296023b6cb338d6afbdc5ab0be878

@rust-timer
Copy link
Collaborator

Success: Queued 0677dc2b768296023b6cb338d6afbdc5ab0be878 with parent b2c6b8c, comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit 0677dc2b768296023b6cb338d6afbdc5ab0be878

@Zoxc Zoxc force-pushed the lint-levels branch 2 times, most recently from 1d97ce4 to 59c6c5a Compare February 6, 2019 02:01
@Zoxc
Copy link
Contributor Author

Zoxc commented Feb 6, 2019

@bors try

@bors
Copy link
Contributor

bors commented Feb 6, 2019

⌛ Trying commit 59c6c5a with merge e043917...

bors added a commit that referenced this pull request Feb 6, 2019
[WIP] Only insert nodes which changes lint levels in the LintLevelMap

r? @eddyb
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-6.0 of your PR failed on Travis (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.
travis_time:end:22c8aaec:start=1549418573547250706,finish=1549418584643162092,duration=11095911386
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-6.0
---
travis_time:start:test_incremental
Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:16:02] 
[01:16:02] running 96 tests
[01:16:15] ..F..FF.......F.F...FFFFFFFFFFFFFFFFFFFFFFFFF.F..F.F.F....F....FF.FF..........F............FFFF.
[01:16:15] 
[01:16:15] ---- [incremental] incremental/add_private_fn_at_krate_root_cc/struct_point.rs stdout ----
[01:16:15] thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:502:22
[01:16:15] 
[01:16:15] 
[01:16:15] error in revision `cfail2`: auxiliary build of "/checkout/src/test/incremental/add_private_fn_at_krate_root_cc/auxiliary/point.rs" failed to compile: 
[01:16:15] status: exit code: 101
[01:16:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/add_private_fn_at_krate_root_cc/auxiliary/point.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/add_private_fn_at_krate_root_cc/struct_point/struct_point.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/add_private_fn_at_krate_root_cc/struct_point/auxiliary" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/add_private_fn_at_krate_root_cc/struct_point/auxiliary"
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] stderr:
[01:16:15] stderr:
[01:16:15] ------------------------------------------
[01:16:15] thread 'rustc' panicked at 'Forcing query with already existing DepNode.
[01:16:15] - query-key: crate0
[01:16:15] - dep-node: GetLangItems', src/librustc/ty/query/plumbing.rs:537:9
[01:16:15] 
[01:16:15] error: internal compiler error: unexpected panic
[01:16:15] 
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] 
[01:16:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:16:15] 
[01:16:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:16:15] 
[01:16:15] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -C incremental -C prefer-dynamic -C rpath --crate-type dylib
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] thread '[incremental] incremental/add_private_fn_at_krate_root_cc/struct_point.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] thread '[incremental] incremental/add_private_fn_at_krate_root_cc/struct_point.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:16:15] 
[01:16:15] ---- [incremental] incremental/change_name_of_static_in_fn.rs stdout ----
[01:16:15] 
[01:16:15] error in revision `rpass3`: compilation failed!
[01:16:15] status: exit code: 101
[01:16:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/change_name_of_static_in_fn.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rpass3" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_name_of_static_in_fn/change_name_of_static_in_fn.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_name_of_static_in_fn/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_name_of_static_in_fn/auxiliary"
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] stderr:
[01:16:15] stderr:
[01:16:15] ------------------------------------------
[01:16:15] thread 'rustc' panicked at 'Forcing query with already existing DepNode.
[01:16:15] - query-key: crate0
[01:16:15] - dep-node: GetLangItems', src/librustc/ty/query/plumbing.rs:537:9
[01:16:15] 
[01:16:15] error: internal compiler error: unexpected panic
[01:16:15] 
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] 
[01:16:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:16:15] 
[01:16:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:16:15] 
[01:16:15] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -C incremental -C prefer-dynamic -C rpath
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] thread '[incremental] incremental/change_name_of_static_in_fn.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] thread '[incremental] incremental/change_name_of_static_in_fn.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] 
[01:16:15] ---- [incremental] incremental/change_crate_order/main.rs stdout ----
[01:16:15] 
[01:16:15] error in revision `rpass2`: auxiliary build of "/checkout/src/test/incremental/change_crate_order/auxiliary/a.rs" failed to compile: 
[01:16:15] status: exit code: 101
[01:16:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/change_crate_order/auxiliary/a.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rpass2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_crate_order/main/main.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_crate_order/main/auxiliary" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_crate_order/main/auxiliary"
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] stderr:
[01:16:15] stderr:
[01:16:15] ------------------------------------------
[01:16:15] thread 'rustc' panicked at 'Forcing query with already existing DepNode.
[01:16:15] - query-key: crate0
[01:16:15] - dep-node: LintLevels', src/librustc/ty/query/plumbing.rs:537:9
[01:16:15] 
[01:16:15] error: internal compiler error: unexpected panic
[01:16:15] 
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] 
[01:16:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:16:15] 
[01:16:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:16:15] 
[01:16:15] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -C incremental -C prefer-dynamic -C rpath --crate-type dylib
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] thread '[incremental] incremental/change_crate_order/main.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] thread '[incremental] incremental/change_crate_order/main.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] 
[01:16:15] ---- [incremental] incremental/commandline-args.rs stdout ----
[01:16:15] 
[01:16:15] error in revision `rpass3`: compilation failed!
[01:16:15] status: exit code: 101
[01:16:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/commandline-args.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rpass3" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/commandline-args/commandline-args.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/commandline-args/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-C" "debuginfo=2" "--verbose" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/commandline-args/auxiliary"
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] stderr:
[01:16:15] stderr:
[01:16:15] ------------------------------------------
[01:16:15] thread 'rustc' panicked at 'Forcing query with already existing DepNode.
[01:16:15] - query-key: crate0
[01:16:15] - dep-node: GetLangItems', src/librustc/ty/query/plumbing.rs:537:9
[01:16:15] 
[01:16:15] error: internal compiler error: unexpected panic
[01:16:15] 
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] 
[01:16:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:16:15] 
[01:16:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:16:15] 
[01:16:15] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -C incremental -C prefer-dynamic -C rpath -C debuginfo=2
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] thread '[incremental] incremental/commandline-args.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] thread '[incremental] incremental/commandline-args.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] 
[01:16:15] ---- [incremental] incremental/extern_static/issue-49153.rs stdout ----
[01:16:15] 
[01:16:15] error in revision `rpass2`: compilation failed!
[01:16:15] status: exit code: 101
[01:16:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/extern_static/issue-49153.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rpass2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/extern_static/issue-49153/issue-49153.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/extern_static/issue-49153/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/extern_static/issue-49153/auxiliary"
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] stderr:
[01:16:15] stderr:
[01:16:15] ------------------------------------------
[01:16:15] thread 'rustc' panicked at 'Forcing query with already existing DepNode.
[01:16:15] - query-key: crate0
[01:16:15] - dep-node: GetLangItems', src/librustc/ty/query/plumbing.rs:537:9
[01:16:15] 
[01:16:15] error: internal compiler error: unexpected panic
[01:16:15] 
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] 
[01:16:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:16:15] 
[01:16:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:16:15] 
[01:16:15] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -C incremental -C prefer-dynamic -C rpath
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] thread '[incremental] incremental/extern_static/issue-49153.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] thread '[incremental] incremental/extern_static/issue-49153.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] 
[01:16:15] ---- [incremental] incremental/hashes/call_expressions.rs stdout ----
[01:16:15] 
[01:16:15] error in revision `cfail3`: test compilation failed although it shouldn't!
[01:16:15] status: exit code: 101
[01:16:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/call_expressions.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail3" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/call_expressions/call_expressions.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/call_expressions/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/call_expressions/auxiliary"
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] stderr:
[01:16:15] stderr:
[01:16:15] ------------------------------------------
[01:16:15] thread 'rustc' panicked at 'Forcing query with already existing DepNode.
[01:16:15] - query-key: crate0
[01:16:15] - dep-node: GetLangItems', src/librustc/ty/query/plumbing.rs:537:9
[01:16:15] 
[01:16:15] error: internal compiler error: unexpected panic
[01:16:15] 
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] 
[01:16:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:16:15] 
[01:16:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:16:15] 
[01:16:15] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] thread '[incremental] incremental/hashes/call_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] thread '[incremental] incremental/hashes/call_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] 
[01:16:15] ---- [incremental] incremental/hashes/closure_expressions.rs stdout ----
[01:16:15] 
[01:16:15] error in revision `cfail3`: test compilation failed although it shouldn't!
[01:16:15] status: exit code: 101
[01:16:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/closure_expressions.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail3" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/closure_expressions/closure_expressions.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/closure_expressions/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/closure_expressions/auxiliary"
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] stderr:
[01:16:15] stderr:
[01:16:15] ------------------------------------------
[01:16:15] thread 'rustc' panicked at 'Forcing query with already existing DepNode.
[01:16:15] - query-key: crate0
[01:16:15] - dep-node: LintLevels', src/librustc/ty/query/plumbing.rs:537:9
[01:16:15] 
[01:16:15] error: internal compiler error: unexpected panic
[01:16:15] 
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] 
[01:16:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:16:15] 
[01:16:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:16:15] 
[01:16:15] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] thread '[incremental] incremental/hashes/closure_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] thread '[incremental] incremental/hashes/closure_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] 
[01:16:15] ---- [incremental] incremental/hashes/consts.rs stdout ----
[01:16:15] 
[01:16:15] error in revision `cfail3`: test compilation failed although it shouldn't!
[01:16:15] status: exit code: 101
[01:16:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/consts.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail3" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/consts/consts.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/consts/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/consts/auxiliary"
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] stderr:
[01:16:15] stderr:
[01:16:15] ------------------------------------------
[01:16:15] thread 'rustc' panicked at 'Forcing query with already existing DepNode.
[01:16:15] - query-key: crate0
[01:16:15] - dep-node: GetLangItems', src/librustc/ty/query/plumbing.rs:537:9
[01:16:15] 
[01:16:15] error: internal compiler error: unexpected panic
[01:16:15] 
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] 
[01:16:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:16:15] 
[01:16:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:16:15] 
[01:16:15] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] thread '[incremental] incremental/hashes/consts.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] thread '[incremental] incremental/hashes/consts.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] 
[01:16:15] ---- [incremental] incremental/hashes/enum_defs.rs stdout ----
[01:16:15] 
[01:16:15] error in revision `cfail3`: test compilation failed although it shouldn't!
[01:16:15] status: exit code: 101
[01:16:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/enum_defs.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail3" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/enum_defs/enum_defs.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/enum_defs/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/enum_defs/auxiliary"
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] stderr:
[01:16:15] stderr:
[01:16:15] ------------------------------------------
[01:16:15] thread 'rustc' panicked at 'Forcing query with already existing DepNode.
[01:16:15] - query-key: crate0
[01:16:15] - dep-node: GetLangItems', src/librustc/ty/query/plumbing.rs:537:9
[01:16:15] 
[01:16:15] error: internal compiler error: unexpected panic
[01:16:15] 
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] 
[01:16:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:16:15] 
[01:16:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:16:15] 
[01:16:15] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] thread '[incremental] incremental/hashes/enum_defs.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] thread '[incremental] incremental/hashes/enum_defs.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] 
[01:16:15] ---- [incremental] incremental/hashes/enum_constructors.rs stdout ----
[01:16:15] 
[01:16:15] error in revision `cfail3`: test compilation failed although it shouldn't!
[01:16:15] status: exit code: 101
[01:16:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/enum_constructors.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail3" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/enum_constructors/enum_constructors.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/enum_constructors/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/enum_constructors/auxiliary"
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] stderr:
[01:16:15] stderr:
[01:16:15] ------------------------------------------
[01:16:15] thread 'rustc' panicked at 'Forcing query with already existing DepNode.
[01:16:15] - query-key: crate0
[01:16:15] - dep-node: GetLangItems', src/librustc/ty/query/plumbing.rs:537:9
[01:16:15] 
[01:16:15] error: internal compiler error: unexpected panic
[01:16:15] 
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] 
[01:16:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:16:15] 
[01:16:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:16:15] 
[01:16:15] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] thread '[incremental] incremental/hashes/enum_constructors.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] thread '[incremental] incremental/hashes/enum_constructors.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] 
[01:16:15] ---- [incremental] incremental/hashes/exported_vs_not.rs stdout ----
[01:16:15] 
[01:16:15] error in revision `cfail3`: test compilation failed although it shouldn't!
[01:16:15] status: exit code: 101
[01:16:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/exported_vs_not.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail3" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/exported_vs_not/exported_vs_not.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/exported_vs_not/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/exported_vs_not/auxiliary"
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] stderr:
[01:16:15] stderr:
[01:16:15] ------------------------------------------
[01:16:15] thread 'rustc' panicked at 'Forcing query with already existing DepNode.
[01:16:15] - query-key: crate0
[01:16:15] - dep-node: LintLevels', src/librustc/ty/query/plumbing.rs:537:9
[01:16:15] 
[01:16:15] error: internal compiler error: unexpected panic
[01:16:15] 
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] 
[01:16:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:16:15] 
[01:16:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:16:15] 
[01:16:15] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] thread '[incremental] incremental/hashes/exported_vs_not.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] thread '[incremental] incremental/hashes/exported_vs_not.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] 
[01:16:15] ---- [incremental] incremental/hashes/extern_mods.rs stdout ----
[01:16:15] 
[01:16:15] error in revision `cfail3`: test compilation failed although it shouldn't!
[01:16:15] status: exit code: 101
[01:16:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/extern_mods.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail3" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/extern_mods/extern_mods.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/extern_mods/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/extern_mods/auxiliary"
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] stderr:
[01:16:15] stderr:
[01:16:15] ------------------------------------------
[01:16:15] thread 'rustc' panicked at 'Forcing query with already existing DepNode.
[01:16:15] - query-key: crate0
[01:16:15] - dep-node: Coherence', src/librustc/ty/query/plumbing.rs:537:9
[01:16:15] 
[01:16:15] error: internal compiler error: unexpected panic
[01:16:15] 
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] 
[01:16:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:16:15] 
[01:16:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:16:15] 
[01:16:15] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] thread '[incremental] incremental/hashes/extern_mods.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] thread '[incremental] incremental/hashes/extern_mods.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] 
[01:16:15] ---- [incremental] incremental/hashes/function_interfaces.rs stdout ----
[01:16:15] 
[01:16:15] error in revision `cfail3`: test compilation failed although it shouldn't!
[01:16:15] status: exit code: 101
[01:16:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/function_interfaces.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail3" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/function_interfaces/function_interfaces.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/function_interfaces/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/function_interfaces/auxiliary"
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] stderr:
[01:16:15] stderr:
[01:16:15] ------------------------------------------
[01:16:15] thread 'rustc' panicked at 'Forcing query with already existing DepNode.
[01:16:15] - query-key: crate0
[01:16:15] - dep-node: LintLevels', src/librustc/ty/query/plumbing.rs:537:9
[01:16:15] 
[01:16:15] error: internal compiler error: unexpected panic
[01:16:15] 
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] 
[01:16:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:16:15] 
[01:16:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:16:15] 
[01:16:15] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] thread '[incremental] incremental/hashes/function_interfaces.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] thread '[incremental] incremental/hashes/function_interfaces.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] 
[01:16:15] ---- [incremental] incremental/hashes/if_expressions.rs stdout ----
[01:16:15] 
[01:16:15] error in revision `cfail3`: test compilation failed although it shouldn't!
[01:16:15] status: exit code: 101
[01:16:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/if_expressions.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail3" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/if_expressions/if_expressions.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/if_expressions/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/if_expressions/auxiliary"
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] stderr:
[01:16:15] stderr:
[01:16:15] ------------------------------------------
[01:16:15] thread 'rustc' panicked at 'Forcing query with already existing DepNode.
[01:16:15] - query-key: crate0
[01:16:15] - dep-node: GetLangItems', src/librustc/ty/query/plumbing.rs:537:9
[01:16:15] 
[01:16:15] error: internal compiler error: unexpected panic
[01:16:15] 
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] 
[01:16:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:16:15] 
[01:16:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:16:15] 
[01:16:15] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] thread '[incremental] incremental/hashes/if_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] thread '[incremental] incremental/hashes/if_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] 
[01:16:15] ---- [incremental] incremental/hashes/indexing_expressions.rs stdout ----
[01:16:15] 
[01:16:15] error in revision `cfail3`: test compilation failed although it shouldn't!
[01:16:15] status: exit code: 101
[01:16:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/indexing_expressions.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail3" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/indexing_expressions/indexing_expressions.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/indexing_expressions/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/indexing_expressions/auxiliary"
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] stderr:
[01:16:15] stderr:
[01:16:15] ------------------------------------------
[01:16:15] thread 'rustc' panicked at 'Forcing query with already existing DepNode.
[01:16:15] - query-key: crate0
[01:16:15] - dep-node: LintLevels', src/librustc/ty/query/plumbing.rs:537:9
[01:16:15] 
[01:16:15] error: internal compiler error: unexpected panic
[01:16:15] 
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] 
[01:16:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:16:15] 
[01:16:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:16:15] 
[01:16:15] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] thread '[incremental] incremental/hashes/indexing_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] thread '[incremental] incremental/hashes/indexing_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:16:15] 
[01:16:15] ---- [incremental] incremental/hashes/for_loops.rs stdout ----
[01:16:15] 
[01:16:15] error in revision `cfail3`: test compilation failed although it shouldn't!
[01:16:15] status: exit code: 101
[01:16:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/for_loops.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail3" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/for_loops/for_loops.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/for_loops/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/for_loops/auxiliary"
[01:16:15] ------------------------------------------
[01:16:15] 
[01:16:15] ------------------------------------------
[01:16:15] stderr:
[01:16:15] stderr:
[01:16:15] ------------------------------------------
[01:16:15] thread 'rustc' panicked at 'Forcing query with already existing DepNode.
[01:16:15] - query-key: crate0
[01:16:15] - dep-node: LintLevels', src/librustc/ty/query/plumbing.rs:537:9
[01:16:15] 
[01:16:15] error: internal compiler error: unexpected panic
[01:16:15] 
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] note: the compiler unexpectedly panicked. this is a bug.
[01:16:15] 
[01:16:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:16:15] 
[01:16:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:16:15] 
[01:16:15] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -Z incremental-ignore-spans -C incremental -C prefer-dynamic -C rpath
[01:16:15] 
---
[01:16:15] test result: FAILED. 52 passed; 44 failed; 0 ignored; 0 measured; 0 filtered out
[01:16:15] 
[01:16:15] 
[01:16:15] 
[01:16:15] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/incremental" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "incremental" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:16:15] 
[01:16:15] 
[01:16:15] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[01:16:15] Build completed unsuccessfully in 0:12:19
[01:16:15] Build completed unsuccessfully in 0:12:19
[01:16:15] make: *** [check] Error 1
[01:16:15] Makefile:48: recipe for target 'check' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:108c4460
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Wed Feb  6 03:19:31 UTC 2019

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

@Zoxc Zoxc changed the title [WIP] Only insert nodes which changes lint levels in the LintLevelMap Only insert nodes which changes lint levels in the LintLevelMap Feb 6, 2019
@Zoxc
Copy link
Contributor Author

Zoxc commented Feb 6, 2019

@bors try

@bors
Copy link
Contributor

bors commented Feb 6, 2019

⌛ Trying commit 0426faa with merge f94acd0...

bors added a commit that referenced this pull request Feb 6, 2019
Only insert nodes which changes lint levels in the LintLevelMap

r? @eddyb
@bors
Copy link
Contributor

bors commented Feb 6, 2019

☀️ Test successful - checks-travis
State: approved= try=True

@Zoxc
Copy link
Contributor Author

Zoxc commented Feb 6, 2019

@rust-timer build f94acd0

@rust-timer
Copy link
Collaborator

Success: Queued f94acd0 with parent 65e647c, comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit f94acd0

@Zoxc Zoxc changed the title Only insert nodes which changes lint levels in the LintLevelMap [WIP] Only insert nodes which changes lint levels in the LintLevelMap Feb 6, 2019
@Zoxc
Copy link
Contributor Author

Zoxc commented Feb 6, 2019

@bors try

@bors
Copy link
Contributor

bors commented Feb 6, 2019

⌛ Trying commit 776e2eacdd50eae29db3d72949bada4ea43659fe with merge 74c0b1340d42de21d4d37f561338cbab04a9e6e2...

@Zoxc
Copy link
Contributor Author

Zoxc commented Mar 5, 2019

@oli-obk I don't know how to run clippy locally. I just get found staticlib std instead of rlib or dylib failures on all the tests.

@Zoxc
Copy link
Contributor Author

Zoxc commented Mar 5, 2019

@bors try

@bors
Copy link
Contributor

bors commented Mar 5, 2019

⌛ Trying commit f07ce55 with merge f2f65c8...

bors added a commit that referenced this pull request Mar 5, 2019
Only insert nodes which changes lint levels in the LintLevelMap

r? @eddyb
@oli-obk
Copy link
Contributor

oli-obk commented Mar 5, 2019

How did you run it? ./x.py test src/tools/clippy?

@Zoxc
Copy link
Contributor Author

Zoxc commented Mar 5, 2019

I set the RUSTC environment variable and used the repo, but x.py test src/tools/clippy passes.

@bors
Copy link
Contributor

bors commented Mar 5, 2019

☀️ Try build successful - checks-travis
Build commit: f2f65c8

@Zoxc
Copy link
Contributor Author

Zoxc commented Mar 5, 2019

@rust-timer build f2f65c8

@rust-timer
Copy link
Collaborator

Success: Queued f2f65c8 with parent f22dca0, comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit f2f65c8

@oli-obk
Copy link
Contributor

oli-obk commented Mar 7, 2019

perf is mixed, but max-rss seems mostly positive

@Manishearth
Copy link
Member

Btw, one change I'd like to eventually make is to allow lints to declare that they're pure, i.e. they don't cache any state between check_foo calls. This has a couple benefits:

  • It's possible to incrementally apply these lints if we wish
  • Rustc can avoid processing allow-by-default lints until they're turned ou

@Manishearth
Copy link
Member

filed #59024

@Zoxc
Copy link
Contributor Author

Zoxc commented Mar 9, 2019

cc @estebank in case you know stuff about lints

@Zoxc
Copy link
Contributor Author

Zoxc commented Mar 14, 2019

@oli-obk Are you comfortable approving this?

@oli-obk
Copy link
Contributor

oli-obk commented Mar 14, 2019

Implementation wise yes, but I'm not happy with the perf regressions.

Since this enables actually making lints incremental, which again will be a perf bonus outstripping most of the regressions, I'm going to r+

@bors r+

@bors
Copy link
Contributor

bors commented Mar 14, 2019

📌 Commit f07ce55 has been approved by oli-obk

@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 Mar 14, 2019
@Zoxc
Copy link
Contributor Author

Zoxc commented Mar 14, 2019

@oli-obk We might be able to get rid of the regressions by storing HirId in serialized error messages instead of spans.

@oli-obk
Copy link
Contributor

oli-obk commented Mar 14, 2019

In order to do that properly we'd need to have different diagnostic systems for early lint passes and late lint passes (as early lint passes don't have HirIds to work with). Seems like something that is beneficial in the long term, but hard to do right now.

@Zoxc
Copy link
Contributor Author

Zoxc commented Mar 14, 2019

I meant to say storing the HIR lint location in the serialized lints, so emitting a lint won't depend on the lint level map.

bors added a commit that referenced this pull request Mar 14, 2019
Only insert nodes which changes lint levels in the LintLevelMap

r? @eddyb
@bors
Copy link
Contributor

bors commented Mar 14, 2019

⌛ Testing commit f07ce55 with merge 3163c58...

@bors
Copy link
Contributor

bors commented Mar 14, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: oli-obk
Pushing 3163c58 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Mar 14, 2019
@bors bors merged commit f07ce55 into rust-lang:master Mar 14, 2019
@Zoxc Zoxc deleted the lint-levels branch March 14, 2019 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants