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

warn about keywords in macro invocations #54111

Merged
merged 4 commits into from
Sep 11, 2018

Conversation

nikomatsakis
Copy link
Contributor

@nikomatsakis
Copy link
Contributor Author

@bors p=1 -- Edition RC blocker

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 10, 2018
@@ -90,7 +90,7 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) {
macro_rules! add_pre_expansion_builtin {
($sess:ident, $($name:ident),*,) => (
{$(
store.register_early_pass($sess, false, box $name);
store.register_pre_expansion_pass($sess, box $name);
Copy link
Member

Choose a reason for hiding this comment

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

Heh, I had all of this PR awhile back except this line, I'm glad you knew this existed!

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Sep 10, 2018

📌 Commit 5adbdf8 has been approved by alexcrichton

@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 Sep 10, 2018
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-5.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.
[00:53:04] ...............i....i...............................................................................
[00:53:17] ....................................................................................................
[00:53:41] ....................................................................................................
[00:53:49] ....................................................................................................
[00:53:59] ..........................................................................F.........................
[00:54:05] ....................................................................................................
[00:54:09] ........................................................i...........................................
[00:54:12] ....................................................................................................
[00:54:15] ....................................................................................................
---
[00:54:20] diff of stderr:
[00:54:20] 
[00:54:20] 31    = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
[00:54:20] 32 
[00:54:20] 33 error: `async` is a keyword in the 2018 edition
[00:54:20] +   --> $DIR/async-ident.rs:29:6
[00:54:20] +    |
[00:54:20] + LL | foo!(async);
[00:54:20] +    |      ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
[00:54:20] +    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[00:54:20] +    = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
[00:54:20] + 
[00:54:20] + 
[00:54:20] + error: `async` is a keyword in the 2018 edition
[00:54:20] 34   --> $DIR/async-ident.rs:36:11
[00:54:20] 35    |
[00:54:20] 36 LL |     trait async {}
[00:54:20] 129    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[00:54:20] 130    = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
[00:54:20] 131 
[00:54:20] - error: aborting due to 14 previous errors
---
[00:54:20] The actual stderr differed from the expected stderr.
[00:54:20] Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/rust-2018/async-ident/async-ident.stderr
[00:54:20] diff of fixed:
[00:54:20] 
[00:54:20] 26     //~| WARN hard error in the 2018 edition
[00:54:20] 28 
[00:54:20] 28 
[00:54:20] - foo!(async);
[00:54:20] + foo!(r#async);
[00:54:20] 30 
[00:54:20] 31 mod dont_lint_raw {
[00:54:20] 32     fn r#async() {}
[00:54:20] 
[00:54:20] The actual fixed differed from the expected fixed.
[00:54:20] The actual fixed differed from the expected fixed.
[00:54:20] Actual fixed saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/rust-2018/async-ident/async-ident.fixed
[00:54:20] To update references, rerun the tests and pass the `--bless` flag
[00:54:20] To only update this specific test, also pass `--test-args rust-2018/async-ident.rs`
[00:54:20] error: 2 errors occurred comparing output.
[00:54:20] status: exit code: 1
[00:54:20] status: exit code: 1
[00:54:20] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/rust-2018/async-ident.rs" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/rust-2018/async-ident/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--edition=2015" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/rust-2018/async-ident/auxiliary" "-A" "unused"
[00:54:20] ------------------------------------------
[00:54:20] 
[00:54:20] ------------------------------------------
[00:54:20] stderr:
[00:54:20] stderr:
[00:54:20] ------------------------------------------
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":613,"byte_end":618,"line_start":17,"line_end":17,"column_start":4,"column_end":9,"is_primary":true,"text":[{"text":"fn async() {} //~ ERROR async","highlight_start":4,"highlight_end":9}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"lint level defined here","code":null,"level":"note","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":560,"byte_end":574,"line_start":12,"line_end":12,"column_start":9,"column_end":23,"is_primary":true,"text":[{"text":"#![deny(keyword_idents)]","highlight_start":9,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":613,"byte_end":618,"line_start":17,"line_end":17,"column_start":4,"column_end":9,"is_primary":true,"text":[{"text":"fn async() {} //~ ERROR async","highlight_start":4,"highlight_end":9}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:17:4\n   |\nLL | fn async() {} //~ ERROR async\n   |    ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\nnote: lint level defined here\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:12:9\n   |\nLL | #![deny(keyword_idents)]\n   |         ^^^^^^^^^^^^^^\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":731,"byte_end":736,"line_start":22,"line_end":22,"column_start":7,"column_end":12,"is_primary":true,"text":[{"text":"    ($async:expr, async) => {};","highlight_start":7,"highlight_end":12}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":731,"byte_end":736,"line_start":22,"line_end":22,"column_start":7,"column_end":12,"is_primary":true,"text":[{"text":"    ($async:expr, async) => {};","highlight_start":7,"highlight_end":12}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:22:7\n   |\nLL |     ($async:expr, async) => {};\n   |       ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":743,"byte_end":748,"line_start":22,"line_end":22,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    ($async:expr, async) => {};","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":743,"byte_end":748,"line_start":22,"line_end":22,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    ($async:expr, async) => {};","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:22:19\n   |\nLL |     ($async:expr, async) => {};\n   |                   ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":897,"byte_end":902,"line_start":29,"line_end":29,"column_start":6,"column_end":11,"is_primary":true,"text":[{"text":"foo!(async);","highlight_start":6,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":897,"byte_end":902,"line_start":29,"line_end":29,"column_start":6,"column_end":11,"is_primary":true,"text":[{"text":"foo!(async);","highlight_start":6,"highlight_end":11}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:29:6\n   |\nLL | foo!(async);\n   |      ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":977,"byte_end":982,"line_start":36,"line_end":36,"column_start":11,"column_end":16,"is_primary":true,"text":[{"text":"    trait async {}","highlight_start":11,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":977,"byte_end":982,"line_start":36,"line_end":36,"column_start":11,"column_end":16,"is_primary":true,"text":[{"text":"    trait async {}","highlight_start":11,"highlight_end":16}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:36:11\n   |\nLL |     trait async {}\n   |           ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1082,"byte_end":1087,"line_start":40,"line_end":40,"column_start":10,"column_end":15,"is_primary":true,"text":[{"text":"    impl async for MyStruct {}","highlight_start":10,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1082,"byte_end":1087,"line_start":40,"line_end":40,"column_start":10,"column_end":15,"is_primary":true,"text":[{"text":"    impl async for MyStruct {}","highlight_start":10,"highlight_end":15}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:40:10\n   |\nLL |     impl async for MyStruct {}\n   |          ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1203,"byte_end":1208,"line_start":46,"line_end":46,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    static async: u32 = 0;","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1203,"byte_end":1208,"line_start":46,"line_end":46,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    static async: u32 = 0;","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:46:12\n   |\nLL |     static async: u32 = 0;\n   |            ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1316,"byte_end":1321,"line_start":52,"line_end":52,"column_start":11,"column_end":16,"is_primary":true,"text":[{"text":"    const async: u32 = 0;","highlight_start":11,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1316,"byte_end":1321,"line_start":52,"line_end":52,"column_start":11,"column_end":16,"is_primary":true,"text":[{"text":"    const async: u32 = 0;","highlight_start":11,"highlight_end":16}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:52:11\n   |\nLL |     const async: u32 = 0;\n   |           ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1427,"byte_end":1432,"line_start":58,"line_end":58,"column_start":15,"column_end":20,"is_primary":true,"text":[{"text":"impl Foo { fn async() {} }","highlight_start":15,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1427,"byte_end":1432,"line_start":58,"line_end":58,"column_start":15,"column_end":20,"is_primary":true,"text":[{"text":"impl Foo { fn async() {} }","highlight_start":15,"highlight_end":20}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:58:15\n   |\nLL | impl Foo { fn async() {} }\n   |               ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1530,"byte_end":1535,"line_start":63,"line_end":63,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    struct async {}","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1530,"byte_end":1535,"line_start":63,"line_end":63,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    struct async {}","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:63:12\n   |\nLL |     struct async {}\n   |            ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1613,"byte_end":1618,"line_start":66,"line_end":66,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1613,"byte_end":1618,"line_start":66,"line_end":66,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:66:9\n   |\nLL |     let async: async = async {};\n   |         ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1620,"byte_end":1625,"line_start":66,"line_end":66,"column_start":16,"column_end":21,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":16,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1620,"byte_end":1625,"line_start":66,"line_end":66,"column_start":16,"column_end":21,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":16,"highlight_end":21}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:66:16\n   |\nLL |     let async: async = async {};\n   |                ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1628,"byte_end":1633,"line_start":66,"line_end":66,"column_start":24,"column_end":29,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":24,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1628,"byte_end":1633,"line_start":66,"line_end":66,"column_start":24,"column_end":29,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":24,"highlight_end":29}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:66:24\n   |\nLL |     let async: async = async {};\n   |                        ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] thread 'main' panicked at 'Some tests failed', tools/compiletest/src/main.rs:497:22
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1903,"byte_end":1908,"line_start":77,"line_end":77,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    () => (pub fn async() {})","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1903,"byte_end":1908,"line_start":77,"line_end":77,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    () => (pub fn async() {})","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:77:19\n   |\nLL |     () => (pub fn async() {})\n   |                   ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":2035,"byte_end":2040,"line_start":84,"line_end":84,"column_start":6,"column_end":11,"is_primary":true,"text":[{"text":"    (async) => (1)","highlight_start":6,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":2035,"byte_end":2040,"line_start":84,"line_end":84,"column_start":6,"column_end":11,"is_primary":true,"text":[{"text":"    (async) => (1)","highlight_start":6,"highlight_end":11}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:84:6\n   |\nLL |     (async) => (1)\n   |      ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"aborting due to 15 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 15 previous errors\n\n"}
[00:54:20] ------------------------------------------
[00:54:20] 
[00:54:20] thread '[ui] ui/rust-2018/async-ident.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:3196:9
[00:54:20] note: Run with `RUST_BACKTRACE=1` for a backtrace.
---
[00:54:20] test result: FAILED. 6742 passed; 1 failed; 28 ignored; 0 measured; 0 filtered out
[00:54:20] 
[00:54:20] 
[00:54:20] 
[00:54:20] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-5.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--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" "5.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"
[00:54:20] 
[00:54:20] 
[00:54:20] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[00:54:20] Build completed unsuccessfully in 0:07:50
[00:54:20] Build completed unsuccessfully in 0:07:50
[00:54:20] make: *** [check] Error 1
[00:54:20] Makefile:58: recipe for target 'check' failed

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:1861cb18
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
---
travis_time:end:25bd0d82:start=1536617866742184472,finish=1536617866751438438,duration=9253966
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0c368bce
$ 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 -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:09d5ee49
travis_time:start:09d5ee49
$ 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:2bd959dd
$ 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)

3 similar comments
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-5.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.
[00:53:04] ...............i....i...............................................................................
[00:53:17] ....................................................................................................
[00:53:41] ....................................................................................................
[00:53:49] ....................................................................................................
[00:53:59] ..........................................................................F.........................
[00:54:05] ....................................................................................................
[00:54:09] ........................................................i...........................................
[00:54:12] ....................................................................................................
[00:54:15] ....................................................................................................
---
[00:54:20] diff of stderr:
[00:54:20] 
[00:54:20] 31    = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
[00:54:20] 32 
[00:54:20] 33 error: `async` is a keyword in the 2018 edition
[00:54:20] +   --> $DIR/async-ident.rs:29:6
[00:54:20] +    |
[00:54:20] + LL | foo!(async);
[00:54:20] +    |      ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
[00:54:20] +    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[00:54:20] +    = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
[00:54:20] + 
[00:54:20] + 
[00:54:20] + error: `async` is a keyword in the 2018 edition
[00:54:20] 34   --> $DIR/async-ident.rs:36:11
[00:54:20] 35    |
[00:54:20] 36 LL |     trait async {}
[00:54:20] 129    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[00:54:20] 130    = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
[00:54:20] 131 
[00:54:20] - error: aborting due to 14 previous errors
---
[00:54:20] The actual stderr differed from the expected stderr.
[00:54:20] Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/rust-2018/async-ident/async-ident.stderr
[00:54:20] diff of fixed:
[00:54:20] 
[00:54:20] 26     //~| WARN hard error in the 2018 edition
[00:54:20] 28 
[00:54:20] 28 
[00:54:20] - foo!(async);
[00:54:20] + foo!(r#async);
[00:54:20] 30 
[00:54:20] 31 mod dont_lint_raw {
[00:54:20] 32     fn r#async() {}
[00:54:20] 
[00:54:20] The actual fixed differed from the expected fixed.
[00:54:20] The actual fixed differed from the expected fixed.
[00:54:20] Actual fixed saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/rust-2018/async-ident/async-ident.fixed
[00:54:20] To update references, rerun the tests and pass the `--bless` flag
[00:54:20] To only update this specific test, also pass `--test-args rust-2018/async-ident.rs`
[00:54:20] error: 2 errors occurred comparing output.
[00:54:20] status: exit code: 1
[00:54:20] status: exit code: 1
[00:54:20] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/rust-2018/async-ident.rs" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/rust-2018/async-ident/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--edition=2015" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/rust-2018/async-ident/auxiliary" "-A" "unused"
[00:54:20] ------------------------------------------
[00:54:20] 
[00:54:20] ------------------------------------------
[00:54:20] stderr:
[00:54:20] stderr:
[00:54:20] ------------------------------------------
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":613,"byte_end":618,"line_start":17,"line_end":17,"column_start":4,"column_end":9,"is_primary":true,"text":[{"text":"fn async() {} //~ ERROR async","highlight_start":4,"highlight_end":9}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"lint level defined here","code":null,"level":"note","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":560,"byte_end":574,"line_start":12,"line_end":12,"column_start":9,"column_end":23,"is_primary":true,"text":[{"text":"#![deny(keyword_idents)]","highlight_start":9,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":613,"byte_end":618,"line_start":17,"line_end":17,"column_start":4,"column_end":9,"is_primary":true,"text":[{"text":"fn async() {} //~ ERROR async","highlight_start":4,"highlight_end":9}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:17:4\n   |\nLL | fn async() {} //~ ERROR async\n   |    ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\nnote: lint level defined here\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:12:9\n   |\nLL | #![deny(keyword_idents)]\n   |         ^^^^^^^^^^^^^^\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":731,"byte_end":736,"line_start":22,"line_end":22,"column_start":7,"column_end":12,"is_primary":true,"text":[{"text":"    ($async:expr, async) => {};","highlight_start":7,"highlight_end":12}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":731,"byte_end":736,"line_start":22,"line_end":22,"column_start":7,"column_end":12,"is_primary":true,"text":[{"text":"    ($async:expr, async) => {};","highlight_start":7,"highlight_end":12}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:22:7\n   |\nLL |     ($async:expr, async) => {};\n   |       ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":743,"byte_end":748,"line_start":22,"line_end":22,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    ($async:expr, async) => {};","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":743,"byte_end":748,"line_start":22,"line_end":22,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    ($async:expr, async) => {};","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:22:19\n   |\nLL |     ($async:expr, async) => {};\n   |                   ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":897,"byte_end":902,"line_start":29,"line_end":29,"column_start":6,"column_end":11,"is_primary":true,"text":[{"text":"foo!(async);","highlight_start":6,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":897,"byte_end":902,"line_start":29,"line_end":29,"column_start":6,"column_end":11,"is_primary":true,"text":[{"text":"foo!(async);","highlight_start":6,"highlight_end":11}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:29:6\n   |\nLL | foo!(async);\n   |      ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":977,"byte_end":982,"line_start":36,"line_end":36,"column_start":11,"column_end":16,"is_primary":true,"text":[{"text":"    trait async {}","highlight_start":11,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":977,"byte_end":982,"line_start":36,"line_end":36,"column_start":11,"column_end":16,"is_primary":true,"text":[{"text":"    trait async {}","highlight_start":11,"highlight_end":16}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:36:11\n   |\nLL |     trait async {}\n   |           ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1082,"byte_end":1087,"line_start":40,"line_end":40,"column_start":10,"column_end":15,"is_primary":true,"text":[{"text":"    impl async for MyStruct {}","highlight_start":10,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1082,"byte_end":1087,"line_start":40,"line_end":40,"column_start":10,"column_end":15,"is_primary":true,"text":[{"text":"    impl async for MyStruct {}","highlight_start":10,"highlight_end":15}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:40:10\n   |\nLL |     impl async for MyStruct {}\n   |          ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1203,"byte_end":1208,"line_start":46,"line_end":46,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    static async: u32 = 0;","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1203,"byte_end":1208,"line_start":46,"line_end":46,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    static async: u32 = 0;","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:46:12\n   |\nLL |     static async: u32 = 0;\n   |            ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1316,"byte_end":1321,"line_start":52,"line_end":52,"column_start":11,"column_end":16,"is_primary":true,"text":[{"text":"    const async: u32 = 0;","highlight_start":11,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1316,"byte_end":1321,"line_start":52,"line_end":52,"column_start":11,"column_end":16,"is_primary":true,"text":[{"text":"    const async: u32 = 0;","highlight_start":11,"highlight_end":16}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:52:11\n   |\nLL |     const async: u32 = 0;\n   |           ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1427,"byte_end":1432,"line_start":58,"line_end":58,"column_start":15,"column_end":20,"is_primary":true,"text":[{"text":"impl Foo { fn async() {} }","highlight_start":15,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1427,"byte_end":1432,"line_start":58,"line_end":58,"column_start":15,"column_end":20,"is_primary":true,"text":[{"text":"impl Foo { fn async() {} }","highlight_start":15,"highlight_end":20}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:58:15\n   |\nLL | impl Foo { fn async() {} }\n   |               ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1530,"byte_end":1535,"line_start":63,"line_end":63,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    struct async {}","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1530,"byte_end":1535,"line_start":63,"line_end":63,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    struct async {}","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:63:12\n   |\nLL |     struct async {}\n   |            ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1613,"byte_end":1618,"line_start":66,"line_end":66,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1613,"byte_end":1618,"line_start":66,"line_end":66,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:66:9\n   |\nLL |     let async: async = async {};\n   |         ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1620,"byte_end":1625,"line_start":66,"line_end":66,"column_start":16,"column_end":21,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":16,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1620,"byte_end":1625,"line_start":66,"line_end":66,"column_start":16,"column_end":21,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":16,"highlight_end":21}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:66:16\n   |\nLL |     let async: async = async {};\n   |                ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1628,"byte_end":1633,"line_start":66,"line_end":66,"column_start":24,"column_end":29,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":24,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1628,"byte_end":1633,"line_start":66,"line_end":66,"column_start":24,"column_end":29,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":24,"highlight_end":29}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:66:24\n   |\nLL |     let async: async = async {};\n   |                        ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] thread 'main' panicked at 'Some tests failed', tools/compiletest/src/main.rs:497:22
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1903,"byte_end":1908,"line_start":77,"line_end":77,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    () => (pub fn async() {})","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1903,"byte_end":1908,"line_start":77,"line_end":77,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    () => (pub fn async() {})","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:77:19\n   |\nLL |     () => (pub fn async() {})\n   |                   ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":2035,"byte_end":2040,"line_start":84,"line_end":84,"column_start":6,"column_end":11,"is_primary":true,"text":[{"text":"    (async) => (1)","highlight_start":6,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":2035,"byte_end":2040,"line_start":84,"line_end":84,"column_start":6,"column_end":11,"is_primary":true,"text":[{"text":"    (async) => (1)","highlight_start":6,"highlight_end":11}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:84:6\n   |\nLL |     (async) => (1)\n   |      ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"aborting due to 15 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 15 previous errors\n\n"}
[00:54:20] ------------------------------------------
[00:54:20] 
[00:54:20] thread '[ui] ui/rust-2018/async-ident.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:3196:9
[00:54:20] note: Run with `RUST_BACKTRACE=1` for a backtrace.
---
[00:54:20] test result: FAILED. 6742 passed; 1 failed; 28 ignored; 0 measured; 0 filtered out
[00:54:20] 
[00:54:20] 
[00:54:20] 
[00:54:20] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-5.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--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" "5.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"
[00:54:20] 
[00:54:20] 
[00:54:20] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[00:54:20] Build completed unsuccessfully in 0:07:50
[00:54:20] Build completed unsuccessfully in 0:07:50
[00:54:20] make: *** [check] Error 1
[00:54:20] Makefile:58: recipe for target 'check' failed

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:1861cb18
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
---
travis_time:end:25bd0d82:start=1536617866742184472,finish=1536617866751438438,duration=9253966
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0c368bce
$ 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 -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:09d5ee49
travis_time:start:09d5ee49
$ 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:2bd959dd
$ 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)

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-5.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.
[00:53:04] ...............i....i...............................................................................
[00:53:17] ....................................................................................................
[00:53:41] ....................................................................................................
[00:53:49] ....................................................................................................
[00:53:59] ..........................................................................F.........................
[00:54:05] ....................................................................................................
[00:54:09] ........................................................i...........................................
[00:54:12] ....................................................................................................
[00:54:15] ....................................................................................................
---
[00:54:20] diff of stderr:
[00:54:20] 
[00:54:20] 31    = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
[00:54:20] 32 
[00:54:20] 33 error: `async` is a keyword in the 2018 edition
[00:54:20] +   --> $DIR/async-ident.rs:29:6
[00:54:20] +    |
[00:54:20] + LL | foo!(async);
[00:54:20] +    |      ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
[00:54:20] +    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[00:54:20] +    = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
[00:54:20] + 
[00:54:20] + 
[00:54:20] + error: `async` is a keyword in the 2018 edition
[00:54:20] 34   --> $DIR/async-ident.rs:36:11
[00:54:20] 35    |
[00:54:20] 36 LL |     trait async {}
[00:54:20] 129    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[00:54:20] 130    = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
[00:54:20] 131 
[00:54:20] - error: aborting due to 14 previous errors
---
[00:54:20] The actual stderr differed from the expected stderr.
[00:54:20] Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/rust-2018/async-ident/async-ident.stderr
[00:54:20] diff of fixed:
[00:54:20] 
[00:54:20] 26     //~| WARN hard error in the 2018 edition
[00:54:20] 28 
[00:54:20] 28 
[00:54:20] - foo!(async);
[00:54:20] + foo!(r#async);
[00:54:20] 30 
[00:54:20] 31 mod dont_lint_raw {
[00:54:20] 32     fn r#async() {}
[00:54:20] 
[00:54:20] The actual fixed differed from the expected fixed.
[00:54:20] The actual fixed differed from the expected fixed.
[00:54:20] Actual fixed saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/rust-2018/async-ident/async-ident.fixed
[00:54:20] To update references, rerun the tests and pass the `--bless` flag
[00:54:20] To only update this specific test, also pass `--test-args rust-2018/async-ident.rs`
[00:54:20] error: 2 errors occurred comparing output.
[00:54:20] status: exit code: 1
[00:54:20] status: exit code: 1
[00:54:20] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/rust-2018/async-ident.rs" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/rust-2018/async-ident/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--edition=2015" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/rust-2018/async-ident/auxiliary" "-A" "unused"
[00:54:20] ------------------------------------------
[00:54:20] 
[00:54:20] ------------------------------------------
[00:54:20] stderr:
[00:54:20] stderr:
[00:54:20] ------------------------------------------
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":613,"byte_end":618,"line_start":17,"line_end":17,"column_start":4,"column_end":9,"is_primary":true,"text":[{"text":"fn async() {} //~ ERROR async","highlight_start":4,"highlight_end":9}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"lint level defined here","code":null,"level":"note","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":560,"byte_end":574,"line_start":12,"line_end":12,"column_start":9,"column_end":23,"is_primary":true,"text":[{"text":"#![deny(keyword_idents)]","highlight_start":9,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":613,"byte_end":618,"line_start":17,"line_end":17,"column_start":4,"column_end":9,"is_primary":true,"text":[{"text":"fn async() {} //~ ERROR async","highlight_start":4,"highlight_end":9}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:17:4\n   |\nLL | fn async() {} //~ ERROR async\n   |    ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\nnote: lint level defined here\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:12:9\n   |\nLL | #![deny(keyword_idents)]\n   |         ^^^^^^^^^^^^^^\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":731,"byte_end":736,"line_start":22,"line_end":22,"column_start":7,"column_end":12,"is_primary":true,"text":[{"text":"    ($async:expr, async) => {};","highlight_start":7,"highlight_end":12}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":731,"byte_end":736,"line_start":22,"line_end":22,"column_start":7,"column_end":12,"is_primary":true,"text":[{"text":"    ($async:expr, async) => {};","highlight_start":7,"highlight_end":12}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:22:7\n   |\nLL |     ($async:expr, async) => {};\n   |       ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":743,"byte_end":748,"line_start":22,"line_end":22,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    ($async:expr, async) => {};","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":743,"byte_end":748,"line_start":22,"line_end":22,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    ($async:expr, async) => {};","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:22:19\n   |\nLL |     ($async:expr, async) => {};\n   |                   ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":897,"byte_end":902,"line_start":29,"line_end":29,"column_start":6,"column_end":11,"is_primary":true,"text":[{"text":"foo!(async);","highlight_start":6,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":897,"byte_end":902,"line_start":29,"line_end":29,"column_start":6,"column_end":11,"is_primary":true,"text":[{"text":"foo!(async);","highlight_start":6,"highlight_end":11}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:29:6\n   |\nLL | foo!(async);\n   |      ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":977,"byte_end":982,"line_start":36,"line_end":36,"column_start":11,"column_end":16,"is_primary":true,"text":[{"text":"    trait async {}","highlight_start":11,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":977,"byte_end":982,"line_start":36,"line_end":36,"column_start":11,"column_end":16,"is_primary":true,"text":[{"text":"    trait async {}","highlight_start":11,"highlight_end":16}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:36:11\n   |\nLL |     trait async {}\n   |           ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1082,"byte_end":1087,"line_start":40,"line_end":40,"column_start":10,"column_end":15,"is_primary":true,"text":[{"text":"    impl async for MyStruct {}","highlight_start":10,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1082,"byte_end":1087,"line_start":40,"line_end":40,"column_start":10,"column_end":15,"is_primary":true,"text":[{"text":"    impl async for MyStruct {}","highlight_start":10,"highlight_end":15}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:40:10\n   |\nLL |     impl async for MyStruct {}\n   |          ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1203,"byte_end":1208,"line_start":46,"line_end":46,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    static async: u32 = 0;","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1203,"byte_end":1208,"line_start":46,"line_end":46,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    static async: u32 = 0;","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:46:12\n   |\nLL |     static async: u32 = 0;\n   |            ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1316,"byte_end":1321,"line_start":52,"line_end":52,"column_start":11,"column_end":16,"is_primary":true,"text":[{"text":"    const async: u32 = 0;","highlight_start":11,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1316,"byte_end":1321,"line_start":52,"line_end":52,"column_start":11,"column_end":16,"is_primary":true,"text":[{"text":"    const async: u32 = 0;","highlight_start":11,"highlight_end":16}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:52:11\n   |\nLL |     const async: u32 = 0;\n   |           ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1427,"byte_end":1432,"line_start":58,"line_end":58,"column_start":15,"column_end":20,"is_primary":true,"text":[{"text":"impl Foo { fn async() {} }","highlight_start":15,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1427,"byte_end":1432,"line_start":58,"line_end":58,"column_start":15,"column_end":20,"is_primary":true,"text":[{"text":"impl Foo { fn async() {} }","highlight_start":15,"highlight_end":20}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:58:15\n   |\nLL | impl Foo { fn async() {} }\n   |               ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1530,"byte_end":1535,"line_start":63,"line_end":63,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    struct async {}","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1530,"byte_end":1535,"line_start":63,"line_end":63,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    struct async {}","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:63:12\n   |\nLL |     struct async {}\n   |            ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1613,"byte_end":1618,"line_start":66,"line_end":66,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1613,"byte_end":1618,"line_start":66,"line_end":66,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:66:9\n   |\nLL |     let async: async = async {};\n   |         ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1620,"byte_end":1625,"line_start":66,"line_end":66,"column_start":16,"column_end":21,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":16,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1620,"byte_end":1625,"line_start":66,"line_end":66,"column_start":16,"column_end":21,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":16,"highlight_end":21}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:66:16\n   |\nLL |     let async: async = async {};\n   |                ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1628,"byte_end":1633,"line_start":66,"line_end":66,"column_start":24,"column_end":29,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":24,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1628,"byte_end":1633,"line_start":66,"line_end":66,"column_start":24,"column_end":29,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":24,"highlight_end":29}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:66:24\n   |\nLL |     let async: async = async {};\n   |                        ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] thread 'main' panicked at 'Some tests failed', tools/compiletest/src/main.rs:497:22
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1903,"byte_end":1908,"line_start":77,"line_end":77,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    () => (pub fn async() {})","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1903,"byte_end":1908,"line_start":77,"line_end":77,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    () => (pub fn async() {})","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:77:19\n   |\nLL |     () => (pub fn async() {})\n   |                   ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":2035,"byte_end":2040,"line_start":84,"line_end":84,"column_start":6,"column_end":11,"is_primary":true,"text":[{"text":"    (async) => (1)","highlight_start":6,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":2035,"byte_end":2040,"line_start":84,"line_end":84,"column_start":6,"column_end":11,"is_primary":true,"text":[{"text":"    (async) => (1)","highlight_start":6,"highlight_end":11}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:84:6\n   |\nLL |     (async) => (1)\n   |      ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"aborting due to 15 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 15 previous errors\n\n"}
[00:54:20] ------------------------------------------
[00:54:20] 
[00:54:20] thread '[ui] ui/rust-2018/async-ident.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:3196:9
[00:54:20] note: Run with `RUST_BACKTRACE=1` for a backtrace.
---
[00:54:20] test result: FAILED. 6742 passed; 1 failed; 28 ignored; 0 measured; 0 filtered out
[00:54:20] 
[00:54:20] 
[00:54:20] 
[00:54:20] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-5.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--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" "5.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"
[00:54:20] 
[00:54:20] 
[00:54:20] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[00:54:20] Build completed unsuccessfully in 0:07:50
[00:54:20] Build completed unsuccessfully in 0:07:50
[00:54:20] make: *** [check] Error 1
[00:54:20] Makefile:58: recipe for target 'check' failed

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:1861cb18
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
---
travis_time:end:25bd0d82:start=1536617866742184472,finish=1536617866751438438,duration=9253966
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0c368bce
$ 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 -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:09d5ee49
travis_time:start:09d5ee49
$ 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:2bd959dd
$ 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)

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-5.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.
[00:53:04] ...............i....i...............................................................................
[00:53:17] ....................................................................................................
[00:53:41] ....................................................................................................
[00:53:49] ....................................................................................................
[00:53:59] ..........................................................................F.........................
[00:54:05] ....................................................................................................
[00:54:09] ........................................................i...........................................
[00:54:12] ....................................................................................................
[00:54:15] ....................................................................................................
---
[00:54:20] diff of stderr:
[00:54:20] 
[00:54:20] 31    = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
[00:54:20] 32 
[00:54:20] 33 error: `async` is a keyword in the 2018 edition
[00:54:20] +   --> $DIR/async-ident.rs:29:6
[00:54:20] +    |
[00:54:20] + LL | foo!(async);
[00:54:20] +    |      ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
[00:54:20] +    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[00:54:20] +    = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
[00:54:20] + 
[00:54:20] + 
[00:54:20] + error: `async` is a keyword in the 2018 edition
[00:54:20] 34   --> $DIR/async-ident.rs:36:11
[00:54:20] 35    |
[00:54:20] 36 LL |     trait async {}
[00:54:20] 129    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[00:54:20] 130    = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
[00:54:20] 131 
[00:54:20] - error: aborting due to 14 previous errors
---
[00:54:20] The actual stderr differed from the expected stderr.
[00:54:20] Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/rust-2018/async-ident/async-ident.stderr
[00:54:20] diff of fixed:
[00:54:20] 
[00:54:20] 26     //~| WARN hard error in the 2018 edition
[00:54:20] 28 
[00:54:20] 28 
[00:54:20] - foo!(async);
[00:54:20] + foo!(r#async);
[00:54:20] 30 
[00:54:20] 31 mod dont_lint_raw {
[00:54:20] 32     fn r#async() {}
[00:54:20] 
[00:54:20] The actual fixed differed from the expected fixed.
[00:54:20] The actual fixed differed from the expected fixed.
[00:54:20] Actual fixed saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/rust-2018/async-ident/async-ident.fixed
[00:54:20] To update references, rerun the tests and pass the `--bless` flag
[00:54:20] To only update this specific test, also pass `--test-args rust-2018/async-ident.rs`
[00:54:20] error: 2 errors occurred comparing output.
[00:54:20] status: exit code: 1
[00:54:20] status: exit code: 1
[00:54:20] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/rust-2018/async-ident.rs" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/rust-2018/async-ident/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--edition=2015" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/rust-2018/async-ident/auxiliary" "-A" "unused"
[00:54:20] ------------------------------------------
[00:54:20] 
[00:54:20] ------------------------------------------
[00:54:20] stderr:
[00:54:20] stderr:
[00:54:20] ------------------------------------------
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":613,"byte_end":618,"line_start":17,"line_end":17,"column_start":4,"column_end":9,"is_primary":true,"text":[{"text":"fn async() {} //~ ERROR async","highlight_start":4,"highlight_end":9}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"lint level defined here","code":null,"level":"note","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":560,"byte_end":574,"line_start":12,"line_end":12,"column_start":9,"column_end":23,"is_primary":true,"text":[{"text":"#![deny(keyword_idents)]","highlight_start":9,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":613,"byte_end":618,"line_start":17,"line_end":17,"column_start":4,"column_end":9,"is_primary":true,"text":[{"text":"fn async() {} //~ ERROR async","highlight_start":4,"highlight_end":9}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:17:4\n   |\nLL | fn async() {} //~ ERROR async\n   |    ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\nnote: lint level defined here\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:12:9\n   |\nLL | #![deny(keyword_idents)]\n   |         ^^^^^^^^^^^^^^\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":731,"byte_end":736,"line_start":22,"line_end":22,"column_start":7,"column_end":12,"is_primary":true,"text":[{"text":"    ($async:expr, async) => {};","highlight_start":7,"highlight_end":12}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":731,"byte_end":736,"line_start":22,"line_end":22,"column_start":7,"column_end":12,"is_primary":true,"text":[{"text":"    ($async:expr, async) => {};","highlight_start":7,"highlight_end":12}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:22:7\n   |\nLL |     ($async:expr, async) => {};\n   |       ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":743,"byte_end":748,"line_start":22,"line_end":22,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    ($async:expr, async) => {};","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":743,"byte_end":748,"line_start":22,"line_end":22,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    ($async:expr, async) => {};","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:22:19\n   |\nLL |     ($async:expr, async) => {};\n   |                   ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":897,"byte_end":902,"line_start":29,"line_end":29,"column_start":6,"column_end":11,"is_primary":true,"text":[{"text":"foo!(async);","highlight_start":6,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":897,"byte_end":902,"line_start":29,"line_end":29,"column_start":6,"column_end":11,"is_primary":true,"text":[{"text":"foo!(async);","highlight_start":6,"highlight_end":11}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:29:6\n   |\nLL | foo!(async);\n   |      ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":977,"byte_end":982,"line_start":36,"line_end":36,"column_start":11,"column_end":16,"is_primary":true,"text":[{"text":"    trait async {}","highlight_start":11,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":977,"byte_end":982,"line_start":36,"line_end":36,"column_start":11,"column_end":16,"is_primary":true,"text":[{"text":"    trait async {}","highlight_start":11,"highlight_end":16}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:36:11\n   |\nLL |     trait async {}\n   |           ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1082,"byte_end":1087,"line_start":40,"line_end":40,"column_start":10,"column_end":15,"is_primary":true,"text":[{"text":"    impl async for MyStruct {}","highlight_start":10,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1082,"byte_end":1087,"line_start":40,"line_end":40,"column_start":10,"column_end":15,"is_primary":true,"text":[{"text":"    impl async for MyStruct {}","highlight_start":10,"highlight_end":15}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:40:10\n   |\nLL |     impl async for MyStruct {}\n   |          ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1203,"byte_end":1208,"line_start":46,"line_end":46,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    static async: u32 = 0;","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1203,"byte_end":1208,"line_start":46,"line_end":46,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    static async: u32 = 0;","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:46:12\n   |\nLL |     static async: u32 = 0;\n   |            ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1316,"byte_end":1321,"line_start":52,"line_end":52,"column_start":11,"column_end":16,"is_primary":true,"text":[{"text":"    const async: u32 = 0;","highlight_start":11,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1316,"byte_end":1321,"line_start":52,"line_end":52,"column_start":11,"column_end":16,"is_primary":true,"text":[{"text":"    const async: u32 = 0;","highlight_start":11,"highlight_end":16}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:52:11\n   |\nLL |     const async: u32 = 0;\n   |           ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1427,"byte_end":1432,"line_start":58,"line_end":58,"column_start":15,"column_end":20,"is_primary":true,"text":[{"text":"impl Foo { fn async() {} }","highlight_start":15,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1427,"byte_end":1432,"line_start":58,"line_end":58,"column_start":15,"column_end":20,"is_primary":true,"text":[{"text":"impl Foo { fn async() {} }","highlight_start":15,"highlight_end":20}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:58:15\n   |\nLL | impl Foo { fn async() {} }\n   |               ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1530,"byte_end":1535,"line_start":63,"line_end":63,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    struct async {}","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1530,"byte_end":1535,"line_start":63,"line_end":63,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    struct async {}","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:63:12\n   |\nLL |     struct async {}\n   |            ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1613,"byte_end":1618,"line_start":66,"line_end":66,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1613,"byte_end":1618,"line_start":66,"line_end":66,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:66:9\n   |\nLL |     let async: async = async {};\n   |         ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1620,"byte_end":1625,"line_start":66,"line_end":66,"column_start":16,"column_end":21,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":16,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1620,"byte_end":1625,"line_start":66,"line_end":66,"column_start":16,"column_end":21,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":16,"highlight_end":21}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:66:16\n   |\nLL |     let async: async = async {};\n   |                ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1628,"byte_end":1633,"line_start":66,"line_end":66,"column_start":24,"column_end":29,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":24,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1628,"byte_end":1633,"line_start":66,"line_end":66,"column_start":24,"column_end":29,"is_primary":true,"text":[{"text":"    let async: async = async {};","highlight_start":24,"highlight_end":29}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:66:24\n   |\nLL |     let async: async = async {};\n   |                        ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] thread 'main' panicked at 'Some tests failed', tools/compiletest/src/main.rs:497:22
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1903,"byte_end":1908,"line_start":77,"line_end":77,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    () => (pub fn async() {})","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":1903,"byte_end":1908,"line_start":77,"line_end":77,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    () => (pub fn async() {})","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:77:19\n   |\nLL |     () => (pub fn async() {})\n   |                   ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"`async` is a keyword in the 2018 edition","code":{"code":"keyword_idents","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":2035,"byte_end":2040,"line_start":84,"line_end":84,"column_start":6,"column_end":11,"is_primary":true,"text":[{"text":"    (async) => (1)","highlight_start":6,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use a raw identifier to stay compatible","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/rust-2018/async-ident.rs","byte_start":2035,"byte_end":2040,"line_start":84,"line_end":84,"column_start":6,"column_end":11,"is_primary":true,"text":[{"text":"    (async) => (1)","highlight_start":6,"highlight_end":11}],"label":null,"suggested_replacement":"r#async","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `async` is a keyword in the 2018 edition\n  --> /checkout/src/test/ui/rust-2018/async-ident.rs:84:6\n   |\nLL |     (async) => (1)\n   |      ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`\n   |\n   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!\n   = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>\n\n"}
[00:54:20] {"message":"aborting due to 15 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 15 previous errors\n\n"}
[00:54:20] ------------------------------------------
[00:54:20] 
[00:54:20] thread '[ui] ui/rust-2018/async-ident.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:3196:9
[00:54:20] note: Run with `RUST_BACKTRACE=1` for a backtrace.
---
[00:54:20] test result: FAILED. 6742 passed; 1 failed; 28 ignored; 0 measured; 0 filtered out
[00:54:20] 
[00:54:20] 
[00:54:20] 
[00:54:20] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-5.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--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" "5.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"
[00:54:20] 
[00:54:20] 
[00:54:20] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[00:54:20] Build completed unsuccessfully in 0:07:50
[00:54:20] Build completed unsuccessfully in 0:07:50
[00:54:20] make: *** [check] Error 1
[00:54:20] Makefile:58: recipe for target 'check' failed

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:1861cb18
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
---
travis_time:end:25bd0d82:start=1536617866742184472,finish=1536617866751438438,duration=9253966
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0c368bce
$ 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 -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:09d5ee49
travis_time:start:09d5ee49
$ 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:2bd959dd
$ 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)

@bors
Copy link
Contributor

bors commented Sep 11, 2018

⌛ Testing commit 5adbdf8 with merge 16a8a3c03257926e6158393b539f592601539be8...

@bors
Copy link
Contributor

bors commented Sep 11, 2018

💔 Test failed - status-appveyor

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 11, 2018
@nikomatsakis
Copy link
Contributor Author

@bors r=alexcrichton

@bors
Copy link
Contributor

bors commented Sep 11, 2018

📌 Commit 0cd8e0d has been approved by alexcrichton

@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 Sep 11, 2018
@nikomatsakis
Copy link
Contributor Author

nikomatsakis commented Sep 11, 2018

@bors p=2

Edition critical

@bors
Copy link
Contributor

bors commented Sep 11, 2018

⌛ Testing commit 0cd8e0d with merge f17c230...

bors added a commit that referenced this pull request Sep 11, 2018
…r=alexcrichton

warn about keywords in macro invocations

Fixes #53686

r? @alexcrichton
@bors
Copy link
Contributor

bors commented Sep 11, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing f17c230 to master...

@bors bors merged commit 0cd8e0d into rust-lang:master Sep 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants