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

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
6 participants
@Zoxc
Copy link
Contributor

Zoxc commented Feb 5, 2019

r? @eddyb

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 5, 2019

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

This comment has been minimized.

Copy link
Contributor Author

Zoxc commented Feb 5, 2019

@bors try

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Feb 5, 2019

⌛️ Trying commit 76b6886 with merge 0677dc2...

bors added a commit that referenced this pull request Feb 5, 2019

Auto merge of #58176 - Zoxc:lint-levels, r=<try>
[WIP] Only insert nodes which changes lint levels in the LintLevelMap

r? @eddyb
@bors

This comment has been minimized.

Copy link
Contributor

bors commented Feb 5, 2019

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

@Zoxc

This comment has been minimized.

Copy link
Contributor Author

Zoxc commented Feb 5, 2019

@rust-timer

This comment has been minimized.

Copy link

rust-timer commented Feb 5, 2019

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

@rust-timer

This comment has been minimized.

Copy link

rust-timer commented Feb 5, 2019

Finished benchmarking try commit 0677dc2

@Zoxc Zoxc force-pushed the Zoxc:lint-levels branch 2 times, most recently from 1d97ce4 to 59c6c5a Feb 6, 2019

@Zoxc

This comment has been minimized.

Copy link
Contributor Author

Zoxc commented Feb 6, 2019

@bors try

@bors

This comment has been minimized.

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

Auto merge of #58176 - Zoxc:lint-levels, r=<try>
[WIP] Only insert nodes which changes lint levels in the LintLevelMap

r? @eddyb
@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 6, 2019

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 force-pushed the Zoxc:lint-levels branch from 59c6c5a to 0426faa Feb 6, 2019

@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

This comment has been minimized.

Copy link
Contributor Author

Zoxc commented Feb 6, 2019

@bors try

@bors

This comment has been minimized.

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

Auto merge of #58176 - Zoxc:lint-levels, r=<try>
Only insert nodes which changes lint levels in the LintLevelMap

r? @eddyb
@bors

This comment has been minimized.

Copy link
Contributor

bors commented Feb 6, 2019

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

@Zoxc

This comment has been minimized.

Copy link
Contributor Author

Zoxc commented Feb 6, 2019

@rust-timer

This comment has been minimized.

Copy link

rust-timer commented Feb 6, 2019

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

@rust-timer

This comment has been minimized.

Copy link

rust-timer commented Feb 6, 2019

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

This comment has been minimized.

Copy link
Contributor Author

Zoxc commented Feb 6, 2019

@bors try

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Feb 6, 2019

⌛️ Trying commit 776e2ea with merge 74c0b13...

bors added a commit that referenced this pull request Feb 6, 2019

Auto merge of #58176 - Zoxc:lint-levels, r=<try>
[WIP] Only insert nodes which changes lint levels in the LintLevelMap

r? @eddyb
@bors

This comment has been minimized.

Copy link
Contributor

bors commented Feb 9, 2019

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

@Zoxc

This comment has been minimized.

Copy link
Contributor Author

Zoxc commented Feb 9, 2019

@rust-timer

This comment has been minimized.

Copy link

rust-timer commented Feb 9, 2019

Success: Queued 8762a64 with parent a2ec156, comparison URL.

@Zoxc Zoxc force-pushed the Zoxc:lint-levels branch from 9e0d26a to 876f1c8 Feb 9, 2019

@rust-timer

This comment has been minimized.

Copy link

rust-timer commented Feb 9, 2019

Finished benchmarking try commit 8762a64

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Feb 9, 2019

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

@Zoxc Zoxc force-pushed the Zoxc:lint-levels branch 2 times, most recently from d5e511b to d0b6aa5 Feb 9, 2019

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 10, 2019

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:221c4774:start=1549785418017256987,finish=1549785420160125651,duration=2142868664
$ 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
---

[00:04:06] travis_fold:start:tidy
travis_time:start:tidy
tidy check
[00:04:06] tidy error: /checkout/src/librustc/ty/context.rs:2863: line longer than 100 chars
[00:04:07] some tidy checks failed
[00:04:07] 
[00:04:07] 
[00:04:07] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "--no-vendor" "--quiet"
[00:04:07] 
[00:04:07] 
[00:04:07] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
[00:04:07] Build completed unsuccessfully in 0:00:47
[00:04:07] Build completed unsuccessfully in 0:00:47
[00:04:07] make: *** [tidy] Error 1
[00:04:07] Makefile:68: recipe for target 'tidy' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:05155e54
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Sun Feb 10 08:01:18 UTC 2019
---
travis_time:end:1e3c3e23:start=1549785679137191452,finish=1549785679142231753,duration=5040301
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0b3b7358
$ 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:21946f6e
travis_time:start:21946f6e
$ 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:0326b1e0
$ 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 Zoxc force-pushed the Zoxc:lint-levels branch from d0b6aa5 to 427bb89 Feb 10, 2019

@Zoxc

This comment has been minimized.

Copy link
Contributor Author

Zoxc commented Feb 10, 2019

@bors try

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Feb 10, 2019

⌛️ Trying commit 427bb89 with merge 341a256...

bors added a commit that referenced this pull request Feb 10, 2019

Auto merge of #58176 - Zoxc:lint-levels, r=<try>
[WIP] Only insert nodes which changes lint levels in the LintLevelMap

r? @eddyb
@bors

This comment has been minimized.

Copy link
Contributor

bors commented Feb 10, 2019

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

@Zoxc

This comment has been minimized.

Copy link
Contributor Author

Zoxc commented Feb 10, 2019

@rust-timer

This comment has been minimized.

Copy link

rust-timer commented Feb 10, 2019

Success: Queued 341a256 with parent 2e08bb1, comparison URL.

@rust-timer

This comment has been minimized.

Copy link

rust-timer commented Feb 10, 2019

Finished benchmarking try commit 341a256

@Zoxc Zoxc force-pushed the Zoxc:lint-levels branch from 427bb89 to de114e3 Feb 10, 2019

@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 10, 2019

Show resolved Hide resolved src/librustc_mir/util/pretty.rs Outdated
@Zoxc

This comment has been minimized.

Copy link
Contributor Author

Zoxc commented Feb 11, 2019

My guess is that the remaining regressions are more legitimate uses of the LintLevelMap.

Executed queries diff for regex-check
--- master.txt	2019-02-11 02:31:15.091536800 +0100
+++ lints.txt	2019-02-11 01:53:14.802134300 +0100
@@ -8654,6 +8653,7 @@
 [task::green] DefSpan(core[c72f]::ops[0]::arith[0]::{{impl}}[42])
 [task::green] DefSpan(core[c72f]::ops[0]::bit[0]::{{impl}}[1338])
 [task::green] DefSpan(core[c72f]::ops[0]::bit[0]::{{impl}}[1351])
+[task::green] TypeckTables(regex[f8f2]::dfa[0]::{{impl}}[5]::exec_byte[0])
 [task::green] DefSpan(core[c72f]::ops[0]::arith[0]::{{impl}}[300])
 [task::green] DefSpan(core[c72f]::ops[0]::arith[0]::{{impl}}[314])
 [task::green] DefSpan(core[c72f]::iter[0]::traits[0]::collect[0]::Extend[0])
@@ -8664,6 +8664,7 @@
 [task::green] InherentImpls(core[c72f]::fmt[0]::builders[0]::DebugMap[0])
 [task::green] DefSpan(alloc[b4a6]::string[0]::ToString[0])
 [task::green] DefSpan(core[c72f]::fmt[0]::builders[0]::DebugMap[0])
+[task::green] TypeckTables(regex[f8f2]::dfa[0]::{{impl}}[11]::fmt[0])
 [task::green] InherentImpls(core[c72f]::ascii[0]::EscapeDefault[0])
 [task::green] InherentImpls(alloc[b4a6]::borrow[0]::Cow[0])
 [task::green] DefSpan(alloc[b4a6]::borrow[0]::{{impl}}[3])
@@ -9381,6 +9382,7 @@
     |
     = note: #[warn(unused_mut)] on by default
 
+[task::green] BorrowCheck(regex[f8f2]::backtrack[0]::{{impl}}[1]::exec[0])
 [task::green] DefSpan(utf8_ranges[c3e9]::Utf8Sequence[0]::Two[0]::0[0]::{{constant}}[0])
 [task::green] ExternCrate(utf8_ranges[c3e9])
 [task::green] DefSpan(utf8_ranges[c3e9]::Utf8Sequence[0]::Three[0]::0[0]::{{constant}}[0])
@@ -9393,6 +9395,7 @@
     |             |
     |             help: remove this `mut`
 
+[task::green] BorrowCheck(regex[f8f2]::dfa[0]::{{impl}}[5]::forward[0])
 warning: variable does not need to be mutable
    --> src\dfa.rs:498:13
     |
@@ -9401,6 +9404,7 @@
     |             |
     |             help: remove this `mut`
 
+[task::green] BorrowCheck(regex[f8f2]::dfa[0]::{{impl}}[5]::reverse[0])
 warning: variable does not need to be mutable
    --> src\dfa.rs:532:13
     |
@@ -9409,6 +9413,7 @@
     |             |
     |             help: remove this `mut`
 
+[task::green] BorrowCheck(regex[f8f2]::dfa[0]::{{impl}}[5]::forward_many[0])
 [task::green] DefSpan(core[c72f]::cmp[0]::Ordering[0]::Less[0]::{{constant}}[0])
 [task::green] DefSpan(core[c72f]::cmp[0]::Ordering[0]::Equal[0]::{{constant}}[0])
 [task::green] DefSpan(core[c72f]::cmp[0]::Ordering[0]::Greater[0]::{{constant}}[0])
@@ -9420,6 +9425,7 @@
     |             |
     |             help: remove this `mut`
 
+[task::green] BorrowCheck(regex[f8f2]::pikevm[0]::{{impl}}[1]::exec[0])
 warning: variable does not need to be mutable
     --> src\re_bytes.rs:1013:9
      |
@@ -9428,6 +9434,7 @@
      |         |
      |         help: remove this `mut`
 
+[task::green] BorrowCheck(regex[f8f2]::re_bytes[0]::extend_from_slice[0])
 [task::red] MirBuilt(regex[f8f2]::re_set[0]::unicode[0]::{{impl}}[10]::clone[0])
 [task::green] IsConstFn(regex[f8f2]::re_set[0]::unicode[0]::{{impl}}[10]::clone[0])
 [task::green] UnsafetyCheckResult(regex[f8f2]::re_set[0]::unicode[0]::{{impl}}[10]::clone[0])

@eddyb eddyb added S-blocked and removed S-waiting-on-review labels Feb 14, 2019

@Zoxc Zoxc force-pushed the Zoxc:lint-levels branch from de114e3 to a29c375 Feb 15, 2019

@Zoxc Zoxc added S-waiting-on-review and removed S-blocked labels Feb 15, 2019

});

if has_lint_level {
LintLevel::Explicit(node_id)

This comment has been minimized.

@Zoxc

Zoxc Feb 15, 2019

Author Contributor

This path was always taken, so I replaced the callers of lint_level_of with LintLevel::Explicit.

@Zoxc Zoxc force-pushed the Zoxc:lint-levels branch from a29c375 to 536bad7 Feb 15, 2019

@Centril

This comment has been minimized.

Copy link
Contributor

Centril commented Feb 23, 2019

👋 from triage. Awaiting your review @eddyb :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment