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

bootstrap: fix edition #56600

Merged
merged 1 commit into from
Dec 16, 2018
Merged

bootstrap: fix edition #56600

merged 1 commit into from
Dec 16, 2018

Conversation

ljedrz
Copy link
Contributor

@ljedrz ljedrz commented Dec 7, 2018

A byproduct of work on #56595; done with cargo fix --edition.

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 7, 2018
@rust-highfive

This comment has been minimized.

@ljedrz
Copy link
Contributor Author

ljedrz commented Dec 7, 2018

Heh, seems like cargo fix is not target_os-agnostic ^^.

@rust-highfive

This comment has been minimized.

@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.
travis_time:end:1cd2f577:start=1544199735170496213,finish=1544199736516462626,duration=1345966413
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#Pull-Requests-and-Security-Restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-5.0
---
[00:52:51] .................................................................................i.................. 1400/2926
[00:53:03] .................................................................................................... 1500/2926
[00:53:14] ..................................................i................................................. 1600/2926
[00:53:27] .................................................................................................... 1700/2926
[00:53:38] ...........................FF....................................................................... 1800/2926
[00:54:06] ..................................................i................................................. 2000/2926
[00:54:06] ..................................................i................................................. 2000/2926
[00:54:30] ............................................................................................F....... 2100/2926
[00:54:45] ...F............F................................................................................... 2200/2926
[00:55:15] ...................i....i......................................i.................................... 2400/2926
[00:55:26] .................................................................................................... 2500/2926
[00:55:58] .................................................................................................... 2600/2926
[00:56:07] .................................................................................................... 2700/2926
[00:56:07] .................................................................................................... 2700/2926
[00:56:17] .................................................................................................... 2800/2926
[00:56:29] .................................................................................................... 2900/2926
[00:56:32] ..........................
[00:56:32] failures:
[00:56:32] 
[00:56:32] ---- [run-pass] run-pass/macro-quote-cond.rs stdout ----
[00:56:32] 
[00:56:32] error: auxiliary build of "/checkout/src/test/run-pass/auxiliary/cond_plugin.rs" failed to compile: 
[00:56:32] status: exit code: 1
[00:56:32] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass/auxiliary/cond_plugin.rs" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/macro-quote-cond/auxiliary" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/macro-quote-cond/auxiliary"
[00:56:32] ------------------------------------------
[00:56:32] 
[00:56:32] ------------------------------------------
[00:56:32] stderr:
[00:56:32] stderr:
[00:56:32] ------------------------------------------
[00:56:32] {"message":"failed to resolve: could not find `TokenStream` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/cond_plugin.rs","byte_start":1440,"byte_end":1456,"line_start":41,"line_end":41,"column_start":13,"column_end":29,"is_primary":true,"text":[{"text":"            quote!({ $rhs })","highlight_start":13,"highlight_end":29}],"label":"could not find `TokenStream` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/cond_plugin.rs","byte_start":1440,"byte_end":1456,"line_start":41,"line_end":41,"column_start":13,"column_end":29,"is_primary":false,"text":[{"text":"            quote!({ $rhs })","highlight_start":13,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `TokenStream` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/cond_plugin.rs:41:13\n   |\nLL |             quote!({ $rhs })\n   |             ^^^^^^^^^^^^^^^^ could not find `TokenStream` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `TokenTree` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/cond_plugin.rs","byte_start":1440,"byte_end":1456,"line_start":41,"line_end":41,"column_start":13,"column_end":29,"is_primary":true,"text":[{"text":"            quote!({ $rhs })","highlight_start":13,"highlight_end":29}],"label":"could not find `TokenTree` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/cond_plugin.rs","byte_start":1440,"byte_end":1456,"line_start":41,"line_end":41,"column_start":13,"column_end":29,"is_primary":false,"text":[{"text":"            quote!({ $rhs })","highlight_start":13,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `TokenTree` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/cond_plugin.rs:41:13\n   |\nLL |             quote!({ $rhs })\n   |             ^^^^^^^^^^^^^^^^ could not find `TokenTree` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Group` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/cond_plugin.rs","byte_start":1440,"byte_end":1456,"line_start":41,"line_end":41,"column_start":13,"column_end":29,"is_primary":true,"text":[{"text":"            quote!({ $rhs })","highlight_start":13,"highlight_end":29}],"label":"could not find `Group` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/cond_plugin.rs","byte_start":1440,"byte_end":1456,"line_start":41,"line_end":41,"column_start":13,"column_end":29,"is_primary":false,"text":[{"text":"            quote!({ $rhs })","highlight_start":13,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Group` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/cond_plugin.rs:41:13\n   |\nLL |             quote!({ $rhs })\n   |             ^^^^^^^^^^^^^^^^ could not find `Group` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Delimiter` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErronhs } else)\n   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `TokenTree` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Ident` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/cond_plugin.rs","byte_start":1486,"byte_end":1516,"line_start":43,"line_end":43,"column_start":13,"column_end":43,"is_primary":true,"text":[{"text":"            quote!(if $test { $rhs } else)","highlight_start":13,"highlight_end":43}],"label":"could not find `Ident` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/cond_plugin.rs","byte_start":1486,"byte_end":1516,"line_start":43,"line_end":43,"column_start":13,"column_end":43,"is_primary":false,"text":[{"text":"            quote!(if $test { $rhs } else)","highlight_start":13,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Ident` in `{{root}}`\n  --> /checkdered":"error[E0433]: failed to resolve: could not find `Span` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/cond_plugin.rs:43:13\n   |\nLL |             quote!(if $test { $rhs } else)\n   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Span` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Group` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/cond_plugin.rs","byte_start":1486,"byte_end":1516,"line_start":43,"line_end":43,"column_start":13,"column_end":43,"is_primary":true,"text":[{"text":"            quote!(if $test { $rhs } else)","highlight_start":13,"highlight_end":43}],"label":"could not find `Group` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/cond_plugin.rs","byte_start":1486,"byte_end":1516,"line_start":43,"line_end":43,"column_start":13,"column_end":43,"is_primary":false,"text":[{"text":"            quote!(if $test { $rhs } else)","highlight_start":13,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":n--------------
[00:56:32] thread '[run-pass] run-pass/macro-quote-cond.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3284:9
[00:56:32] note: Run with `RUST_BACKTRACE=1` for a backtrace.
[00:56:32] 
[00:56:32] ---- [run-pass] run-pass/macro-quote-test.rs stdout ----
[00:56:32] ---- [run-pass] run-pass/macro-quote-test.rs stdout ----
[00:56:32] 
[00:56:32] error: auxiliary build of "/checkout/src/test/run-pass/auxiliary/hello_macro.rs" failed to compile: 
[00:56:32] status: exit code: 1
[00:56:32] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass/auxiliary/hello_macro.rs" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/macro-quote-test/auxiliary" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/macro-quote-test/auxiliary"
[00:56:32] ------------------------------------------
[00:56:32] 
[00:56:32] ------------------------------------------
[00:56:32] stderr:
[00:56:32] stderr:
[00:56:32] ------------------------------------------
[00:56:32] {"message":"failed to resolve: could not find `TokenStream` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/hello_macro.rs","byte_start":916,"byte_end":1031,"line_start":26,"line_end":30,"column_start":5,"column_end":7,"is_primary":true,"text":[{"text":"    quote!({","highlight_start":5,"highlight_end":13},{"text":"        fn hello() {}","highlight_start":1,"highlight_end":22},{"text":"        macro_rules! m { ($$($$t:tt)*) => { $$($$t)* } }","highlight_start":1,"highlight_end":57},{"text":"        m!(hello());","highlight_start":1,"highlight_end":21},{"text":"    })","highlight_start":1,"highlight_end":7}],"label":"could not find `TokenStream` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/hello_macro.rs","byte_start":916,"byte_end":1031,"line_start":26,"line_end":30,"column_start":5,"column_end":7,"is_primary":false,"text":[{"text":"    quote!({","highlight_start":5,"highlight_end":13},{"text":"        fn hello() {}","highlight_start":1,"highlight_end":22},{"text":"        macro_rules! m { ($$($$t:tt)*) => { $$($$t)* } }","highlight_start":1,"highlight_end":57},{"text":"        m!(hello());","highlight_start":1,"highlight_end":21},{"text":"    })","highlight_start":1,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `TokenStream` in `{{root}}`\n_start":916,"byte_end":1031,"line_start":26,"line_end":30,"column_start":5,"column_end":7,"is_primary":false,"text":[{"text":"    quote!({","highlight_start":5,"highlight_end":13},{"text":"        fn hello() {}","highlight_start":1,"highlight_end":22},{"text":"        macro_rules! m { ($$($$t:tt)*) => { $$($$t)* } }","highlight_start":1,"highlight_end":57},{"text":"        m!(hello());","highlight_start":1,"highlight_end":21},{"text":"    })","highlight_start":1,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `TokenTree` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/hello_macro.rs:26:5\n   |\nLL | /     quote!({\nLL | |         fn hello() {}\nLL | |         macro_rules! m { ($$($$t:tt)*) => { $$($$t)* } }\nLL | |         m!(hello());\nLL | |     })\n   | |______^ could not find `TokenTree` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Group` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/hello_macro.rs","byte_start":916,"byte_end":1031,"line_start":26,"line_end":30,"column_start":5,"column_end":7,"is_primary":true,"text":[{"text":"    quote!({","highlight_start":5,"highlight_end":13},{"text":"        fn hello() {}","highlight_start":1,"highlight_end":22},{"text":"        macro_rules! m { ($$($$t:tt)*) => { $$($$t)* } }","highlight_start":1,"highlight_end":57},{"text":"        m!(hello());","highlight_start":1,"highlight_end":21},{"text":"    })","highlight_start":1,"highlight_end":7}],"label":"could not find `Group` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/hello_macro.rs","byte_start":916,"byte_end":1031,"line_start":26,"line_end":30,"column_start":5,"column_end":7,"is_primary":false,"text":[{"text":"    quote!({","highlight_start":5,"highlight_end":13},{"text":"        fn hello() {}","highlight_start":1,"highlight_end":22},{"text":"        macro_rules! m { ($$($$t:tt)*) => { $$($$t)* } }","highlight_start":1,"highlight_end":57},{"text":"        m!(hello());","highlight_start":1,"highlight_end":21},{"text":"    })","highlight_start":1,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Group` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/hello_macro.rs:26:5\n   |\nLL | /     quote!({\nLL | |         fn hello() {}\nLL | |         macro_rules! m { ($$($$t:tt)*) => { $$($$t)* } }\nLL | |         m!(,"highlight_start":1,"highlight_end":22},{"text":"        macro_rules! m { ($$($$t:tt)*) => { $$($$t)* } }","highlight_start":1,"highlight_end":57},{"text":"        m!(hello());","highlight_start":1,"highlight_end":21},{"text":"    })","highlight_start":1,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Delimiter` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/hello_macro.rs:26:5\n   |\nLL | /     quote!({\nLL | |         fn hello() {}\nLL | |         macro_rules! m { ($$($$t:tt)*) => { $$($$t)* } }\nLL | |         m!(hello());\nLL | |     })\n   | |______^ could not find `Delimiter` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Ident` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/hello_macro.rs","byte_start":916,"byte_end":1031,"line_start":26,"line_end":30,"column_start":5,"column_end":7,"is_primary":true,"text":[{"text":"    quote!({","highlight_start":5,"highlight_end":13lared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/hello_macro.rs","byte_start":916,"byte_end":1031,"line_start":26,"line_end":30,"column_start":5,"column_end":7,"is_primary":true,"text":[{"text":"    quote!({","highlight_start":5,"highlight_end":13},{"text":"        fn hello() {}","highlight_start":1,"highlight_end":22},{"text":"        macro_rules! m { ($$($$t:tt)*) => { $$($$t)* } }","highlight_start":1,"highlight_end":57},{"text":"        m!(hello());","highlight_start":1,"highlight_end":21},{"text":"    })","highlight_start":1,"highlight_end":7}],"label":"could not find `Span` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/hello_macro.rs","byte_start":916,"byte_end":1031,"line_start":26,"line_end":30,"column_start":5,"column_end":7,"is_primary":false,"text":[{"text":"    quote!({","highlight_start":5,"highlight_end":13},{"text":"        fn hello() {}","highlight_start":1,"highlight_end":22},{"text":"        macro_rules! m { ($$($$t:tt)*) => { $$($$t)* } }","highlight_start":1,"highlight_end":57},{"text":"        m!(hello());","highlight_start":1,"highlight_end":21},{"text":"    })","highlight_start":1,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Span` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/hello_macro.rs:26:5\n   |\nLL | /     quote!({\nLL | |         fn hello() {}\nLL | |         macro_rules! m { ($$($$t:tt)*) => { $$($$t)* } }\nLL | |         m!(hello());\nLL | |     })\n   | |______^ could not find `Span` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Punct` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/hello_macro.rs","byte_start":916,"byte_end":1031,"line_start":26,"line_end":30,"column_start":5,"column_end":7,"is_primary":true,"text":[{"text":"    quote!({","highlight_start":5,"highlight_end":13},{"text":"        fn hello() {}","highlight_start":1,"highlight_end":22},{"text":"        macro_rules! m { ($$($$t:tt)*) => { $$($$t)* } }","highlight_start":1,"highlight_end":57},{"text":"        m!(hello());","highlight_start":1le was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs","byte_start":796,"byte_end":815,"line_start":23,"line_end":23,"column_start":42,"column_end":61,"is_primary":true,"text":[{"text":"    assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);","highlight_start":42,"highlight_end":61}],"label":"could not find `TokenStream` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs","byte_start":796,"byte_end":815,"line_start":23,"line_end":23,"column_start":42,"column_end":61,"is_primary":false,"text":[{"text":"    assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);","highlight_start":42,"highlight_end":61}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `TokenStream` in `{{root}}`\n  --> /checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs:23:42\n   |\nLL |     assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);\n   |                                          ^^^^^^^^^^^^^^^^^^^ could not find `TokenStream` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `TokenTree` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs","byte_start":796,"byte_end":815,"line_start":23,"line_end":23,"column_start":42,"column_end":61,"is_primary":true,"text":[{"text":"    assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);","highlight_start":42,"highlight_end":61}],"label":"could not find `TokenTree` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs","byte_start":796,"byte_end":815,"line_start":23,"line_end":23,"column_start":42,"column_end":61,"is_primary":false,"text":[{"text":"    assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);","highlight_start":42,"highlight_end":61}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered"lper(quote!(++ (&&) 4@a)), 3);","highlight_start":42,"highlight_end":61}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Punct` in `{{root}}`\n  --> /checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs:23:42\n   |\nLL |     assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);\n   |                                          ^^^^^^^^^^^^^^^^^^^ could not find `Punct` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Spacing` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs","byte_start":796,"byte_end":815,"line_start":23,"line_end":23,"column_start":42,"column_end":61,"is_primary":true,"text":[{"text":"    assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);","highlight_start":42,"highlight_end":61}],"label":"could not find `Spacing` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs","byte_start":796,"byte_end":815,"line_start":23,"line_end":23,"column_start":42,"column_end":61,"is_primary":false,"text":[{"text":"    assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);","highlight_start":42,"highlight_end":61}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Spacing` in `{{root}}`\n  --> /checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs:23:42\n   |\nLL |     assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);\n   |                                          ^^^^^^^^^^^^^^^^^^^ could not find `Spacing` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Group` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs","byte_start":796,"byte_end":815,"line_start":23,"line_end":23,"column_start":42,"column_end":61,"is_primary":true,"text":[{"text":"    assert_eq!(cou:[{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs","byte_start":796,"byte_end":815,"line_start":23,"line_end":23,"column_start":42,"column_end":61,"is_primary":true,"text":[{"text":"    assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);","highlight_start":42,"highlight_end":61}],"label":"could not find `Delimiter` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs","byte_start":796,"byte_end":815,"line_start":23,"line_end":23,"column_start":42,"column_end":61,"is_primary":false,"text":[{"text":"    assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);","highlight_start":42,"highlight_end":61}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Delimiter` in `{{root}}`\n  --> /checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs:23:42\n   |\nLL |     assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);\n   |                                          ^^^^^^^^^^^^^^^^^^^ could not find `Delimiter` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Span` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't n":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs","byte_start":796,"byte_end":815,"line_start":23,"line_end":23,"column_start":42,"column_end":61,"is_primary":true,"text":[{"text":"    assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);","highlight_start":42,"highlight_end":61}],"label":"could not find `Ident` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs","byte_start":796,"byte_end":815,"line_start":23,"line_end":23,"column_start":42,"column_end":61,"is_primary":false,"text":[{"text":"    assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);","highlight_start":42,"highlight_end":61}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Ident` in `{{root}}`\n  --> /checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs:23:42\n   |\nLL |     assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);\n   |                                          ^^^^^^^^^^^^^^^^^^^ could not find `Ident` in `{{root}}`\n\n"}
[00:56:32] {"message":"cannot find type `TokenStream` in the crate root","code":{"code":"E0412","explanation":"\nThe type name used is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n    fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n    type N;\n\n    fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n    fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n    // either\n    use super::File;\n    // or\n    // use std::fs::File;\n    fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs","byte_start":796,"byte_end":815,"line_start":23,"line_end":23,"column_start":42,"column_end":61,"is_primary":true,"text":[{"text":"    assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);","highlight_start":42,"highlight_end":61}],"label":"not found in the crate root","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs","byte_start":796,"byte_end":815,"line_start":23,"line_end":23,"column_start":42,"column_end":61,"is_primary":false,"text":[{"text":"    assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);","highlight_start":42,"highlight_end":61}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[{"message":"possible candidates are found in other modules, you can import them into scope","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs","byte_start":610,"byte_end":610,"line_start":19,"line_end":19,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use proc_macro::{TokenStream, TokenTree, Spacing, Literal, quote};","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use proc_macro::TokenStream;\n","suggestion_applicability":"Unspecified","expansion":null},{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs","byte_start":610,"byte_end":610,"line_start":19,"line_end":19,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use proc_macro::{TokenStream, TokenTree, Spacing, Literal, quote};","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use proc_macro::bridge::server::TokenStream;\n","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `TokenStream` in the crate root\n  --> /checkout/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs:23:42\n   |\nLL |     assert_eq!(count_compound_ops_helper(quote!(++ (&&) 4@a)), 3);\n   |                                          ^^^^^^^^^^^^^^^^^^^ not found in the crate root\nhelp: possible candidates are found in other modules, you can import them into scope\n   |\nLL | use proc_macro::TokenStream;\n   |\nLL | use proc_macro::bridge::server::TokenStream;\n   |\n\n"}
[00:56:32] {"message":"aborting due to 9 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 9 previous errors\n\n"}
[00:56:32] {"message":"Some errors occurred: E0412, E0433.","code":null,"level":"","spans":[],"children":[],"rendered":"Some errors occurred: E0412, E0433.\n"}
[00:56:32] {"message":"For more information about an error, try `rustc --explain E0412`.","code":null,"level":"","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0412`.\n"}
[00:56:32] ------------------------------------------
[00:56:32] 
[00:56:32] thread '[run-pass] run-pass/proc-macro/count_compound_ops.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3284:9
[00:56:32] 
[00:56:32] 
[00:56:32] ---- [run-pass] run-pass/proc-macro/hygiene_example.rs stdout ----
[00:56:32] 
[00:56:32] error: auxiliary build of "/checkout/src/test/run-pass/proc that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs","byte_start":779,"byte_end":808,"line_start":23,"line_end":23,"column_start":5,"column_end":34,"is_primary":true,"text":[{"text":"    quote!(hello_helper!($input))","highlight_start":5,"highlight_end":34}],"label":"could not find `Span` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs","byte_start":779,"byte_end":808,"line_start":23,"line_end":23,"column_start":5,"column_end":34,"is_primary":false,"text":[{"text":"    quote!(hello_helper!($input))","highlight_start":5,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Span` in `{{root}}`\n  --> /checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs:23:5\n   |\nLL |     quote!(hello_helper!($input))\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Span` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Punct` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolule was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs","byte_start":779,"byte_end":808,"line_start":23,"line_end":23,"column_start":5,"column_end":34,"is_primary":true,"text":[{"text":"    quote!(hello_helper!($input))","highlight_start":5,"highlight_end":34}],"label":"could not find `Spacing` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs","byte_start":779,"byte_end":808,"line_start":23,"line_end":23,"column_start":5,"column_end":34,"is_primary":false,"text":[{"text":"    quote!(hello_helper!($input))","highlight_start":5,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Spacing` in `{{root}}`\n  --> /checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs:23:5\n   |\nLL |     quote!(hello_helper!($input))\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Spacing` in `{{root}}`\n\n"}
[00:56:32] {"message":` is in scope where `hello!` is used.\nLL | |         hygiene_example::print(&string)\nLL | |     }\n   | |_____^ could not find `TokenTree` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Ident` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs","byte_start":998,"byte_end":1312,"line_start":30,"line_end":36,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"    quote! {","highlight_start":5,"highlight_end":13},{"text":"        extern crate hygiene_example; // This is never a conflict error","highlight_start":1,"highlight_end":72},{"text":"        let string = format!(\"hello {}\", $input);","highlight_start":1,"highlight_end":50},{"text":"        //^ `format!` always resolves to the prelude macro,","highlight_start":1,"highlight_end":60},{"text":"        //| even if a different `format!` is in scope where `hello!` is used.","highlight_start":1,"highlight_end":78},{"text":"        hygiene_example::print(&string)","highlight_start":1,"highlight_end":40},{"text":"    }","highlight_start":1,"highlight_end":6}],"label":"could not find `Ident` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs","byte_start":998,"byte_end":1312,"line_start":30,"line_end":36,"column_start":5,"column_end":6,"is_primary":false,"text":[{"text":"    quote! {","highlight_start":5,"highlight_end":13},{"text":"        extern crate hygiene_example; // This is never a conflict error","highlight_start":1,"highlight_end":72},{"text":"        let string = format!(\"hello {}\", $input);","highlight_start":1,"highlight_end":50},{"text":"        //^ `format!` always resolves to the prelude macro,","highlight_start":1,"highlight_end":60},{"text":"        //| even if a different `format!` is in scope where `hello!` is used.","highlight_start":1,"highlight_end":78},{"text":"        hygiene_example::print(&string)","highlight_start":1,"highlight_end":40},{"text":"    }","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Ident` in `{{root}}`\n  --> /checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs:30:5\n   |\nLL | /     quote! {\nLL | |         extern crate hygiene_example; // This is never a conflict error\nLL | |         let string = format!(\"hello {}\", $input);\nLL | |         //^ `format!` always resolves to the prelude macro,\nLL | |         //| even if a different `format!` is in scope where `hello!` is used.\nLL | |    ll,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs","byte_start":998,"byte_end":1312,"line_start":30,"line_end":36,"column_start":5,"column_end":6,"is_primary":false,"text":[{"text":"    quote! {","highlight_start":5,"highlight_end":13},{"text":"        extern crate hygiene_example; // This is never a conflict error","highlight_start":1,"highlight_end":72},{"text":"        let string = format!(\"hello {}\", $input);","highlight_start":1,"highlight_end":50},{"text":"        //^ `format!` always resolves to the prelude macro,","highlight_start":1,"highlight_end":60},{"text":"        //| even if a different `format!` is in scope where `hello!` is used.","highlight_start":1,"highlight_end":78},{"text":"        hygiene_example::print(&string)","highlight_start":1,"highlight_end":40},{"text":"    }","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Span` in `{{root}}`\n  --> /checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs:30:5\n   |\nLL | /     quote! {\nLL | |         extern crate hygiene_example; // This is never a conflict error\nLL | |         let string = format!(\"hello {}\", $input);\nLL | |         //^ `format!` always resolves to the prelude macro,\nLL | |         //| even if a different `format!` is in scope where `hello!` is used.\nLL | |         hygiene_example::print(&string)\nLL | |     }\n   | |_____^ could not find `Span` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Punct` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs","byte_start":998,"byte_end":1312,"line_start":30,"line_end":36,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"    quote! {","highlight_start":5,"highlight_end":13},{"text":"        extern crate hygiene_example; // This is never a conflict error","highlight_start":1,"highlight_end":72},{"text":"        let string = format!(\"hello {}\", $input);","highlight_start":1,"highlight_end":50},{"text":"        //^ `format!` always resolves to the prelude macro,","highlight_start":1,"highlight_end":60},{"text":"        //| even if a different `format!` is in scope where `hello!` is used.","highlight_start":1,"highlight_end":78},{"text":"        hygiene_example::print(&string)","highlight_start":1,"highlight_end":40},{"text":"    }","highlight_start":1,"highlight_end":6}],"label":"could not find `Punct` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":00:56:32] {"message":"failed to resolve: could not find `Spacing` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs","byte_start":998,"byte_end":1312,"line_start":30,"line_end":36,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"    quote! {","highlight_start":5,"highlight_end":13},{"text":"        extern crate hygiene_example; // This is never a conflict error","highlight_start":1,"highlight_end":72},{"text":"        let string = format!(\"hello {}\", $input);","highlight_start":1,"highlight_end":50},{"text":"        //^ `format!` always resolves to the prelude macro,","highlight_start":1,"highlight_end":60},{"text":"        //| even if a different `format!` is in scope where `hello!` is used.","highlight_start":1,"highlight_end":78},{"text":"        hygiene_example::print(&string)","highlight_start":1,"highlight_end":40},{"text":"    }","highlight_start":1,"highlight_end":6}],"label":"could not find `Spacing` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/proc-mad not find `Group` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs","byte_start":998,"byte_end":1312,"line_start":30,"line_end":36,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"    quote! {","highlight_start":5,"highlight_end":13},{"text":"        extern crate hygiene_example; // This is never a conflict error","highlight_start":1,"highlight_end":72},{"text":"        let string = format!(\"hello {}\", $input);","highlight_start":1,"highlight_end":50},{"text":"        //^ `format!` always resolves to the prelude macro,","highlight_start":1,"highlight_end":60},{"text":"        //| even if a different `format!` is in scope where `hello!` is used.","highlight_start":1,"highlight_end":78},{"text":"        hygiene_example::print(&string)","highlight_start":1,"highlight_end":40},{"text":"    }","highlight_start":1,"highlight_end":6}],"label":"could not find `Group` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs","byte_start":998,"byte_end":1312,"line_start":30,"line_end":36,"column_start":5,"column_end":6,"is_primary":false,"text":[{"text":"    quote! {","highlight_start":5,"highlight_end":13},{"text":"        extern crate hygiene_example; // This is never a conflict error","highlight_start":1,"highlight_end":72},{"text":"        let string = format!(\"hello {}\", $input);","highlight_start":1,"highlight_end":50},{"text":"        //^ `format!` always resolves to the prelude macro,","highlight_start":1,"highlight_end":60},{"text":"        //| even if a different `format!` is in scope where `hello!` is used.","highlight_start":1,"highlight_end":78},{"text":"        hygiene_example::print(&string)","highlight_start":1,"highlight_end":40},{"text":"    }","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Group` in `{{root}}`\n  --> /checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs:30:5\n   |\nLL | /     quote! {\nLL | |         extern crate hygiene_example; // This is never a conflict error\nLL | |         let string = format!(\"hello {}\", $input);\nLL | |         //^ `format!` always resolves to the prelude macro,\nLL | |         //| even if a different `format!` is in scope where `hello!` is used.\nLL | |         hygiene_example::print(&string)\nLL | |     }\n   | |_____^ could not find `Group` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Delimiter` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs","byte_start":998,"byte_end":1312,"line_start":30,"line_end":36,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"    quote! {","highlight_start":5,"highlight_end":13},{"text":"        extern crate hygiene_example; // This is never a conflict error","highlight_start":1,"highlight_end":72},{"text":"        let string = format!(\"hello {}\", $input);","highlight_start":1,"highlight_end":50},{"text":"        //^ `format!` always resolves to the prelude macro,","highlight_start":1,"highlight_end":60},{"text":"        //| even if a different `format!` is in scope where `hello!` is used.","highlight_start":1,"highlight_end":78},{"text":"        hygiene_example::print(&string)","highlight_start":1,"highlight_end":40},{"text":"    }","highlight_start":1,"highlight_end":6}],"label":"could not find `Delimiter` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs","byte_start":998,"byte_end":1312,"line_start":30,"liree` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":761,"byte_end":796,"line_start":24,"line_end":24,"column_start":5,"column_end":40,"is_primary":true,"text":[{"text":"    quote!(fn $name() -> bool { true })","highlight_start":5,"highlight_end":40}],"label":"could not find `TokenTree` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":761,"byte_end":796,"line_start":24,"line_end":24,"column_start":5,"column_end":40,"is_primary":false,"text":[{"text":"    quote!(fn $name() -> bool { true })","highlight_start":5,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `TokenTree` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/proc_macro_def.rs:24:5\n   |\nLL |     quote!(fn $name() -> bool { true })\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find ame() -> bool { true })\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Ident` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Span` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":761,"byte_end":796,"line_start":24,"line_end":24,"column_start":5,"column_end":40,"is_primary":true,"text":[{"text":"    quote!(fn $name() -> bool { true })","highlight_start":5,"highlight_end":40}],"label":"could not find `Span` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":761,"byte_end":796,"line_start":24,"line_end":24,"column_start":5,"column_end":40,"is_primary":false,"text":[{"text":"    quote!(fn $name() -> bool { true })","highlight_start":5,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Span` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/proc_macro_def.rs:24:5\n   |\nLL |     quote!(fn $name() -> bool { true })\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Span` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Group` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":761,"byte_end":796,"line_start":24,"line_end":24,"column_start":5,"column_end":40,"is_primary":true,"text":[{"text":"    quote!(fn $name() -> bool { true })","highlight_start":5,"highlight_end":40}],"label":"could not find `Group` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":761,"byte_end":796,"line_start":24,"line_end":24,"column_start":5,"column_end":40,"is_primary":false,"text":[{"text":"    quote!(fn $name() -> bool { true })","highlight_start":5,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0ll},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Delimiter` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/proc_macro_def.rs:24:5\n   |\nLL |     quote!(fn $name() -> bool { true })\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Delimiter` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Punct` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":761,"byte_end":796,"line_start":24,"line_end":24,"column_start":5,"column_end":40,"is_primary":true,"text":[{"text":"    quote!(fn $name() -> bool { true })","highlight_start":5,"highlight_end":40}],"label":"could not find `Punct` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":761,"byte_end":796,"line_start":24,"line_end":24,"column_start":5,"column_end":40,"is_primary":false,"text":[{"text":"    quote!(fn $name() -> bool { true })","highlight_start":5,"highlight_end":40}]t":"    quote!(fn $name() -> bool { true })","highlight_start":5,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Spacing` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/proc_macro_def.rs:24:5\n   |\nLL |     quote!(fn $name() -> bool { true })\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Spacing` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `TokenStream` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":986,"byte_end":998,"line_start":34,"line_end":34,"column_start":5,"column_end":17,"is_primary":true,"text":[{"text":"    quote!(true)","highlight_start":5,"highlight_end":17}],"label":"could not find `TokenStream` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":986,"byte_end":998,"line_start":34,"line_end":34,"column_start":5,"column_end":17,"is_primary":false,"text":[{"text":"    quote!(true)","highlight_start":5,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `TokenStream` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/proc_macro_def.rs:34:5\n   |\nLL |     quote!(true)\n   |     ^^^^^^^^^^^^ could not find `TokenStream` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `TokenTree` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":986,"byte_end":998,"line_start":34,"line_end":34,"column_start":5,"column_end":17,"is_primary":true,"text":[{"text":"    quote!(true)","highlight_start":5,"highlight_end":17}],"label":"could not find `TokenTree` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":986,"byte_end":998,"line_start":34,"line_end":34,"column_start":5,"column_end":17,"is_primary":false,"text":[{"text":"    quote!(true)","highlight_start":5,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `TokenTree` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/proc_macro_def.rs:34:5\n   |\nLL |     quote!(true)\n   |     ^^^^^^^^^^^^ could not find `TokenTree` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Ident` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":986,"byte_end":998,"line_start":34,"line_end":34,"column_start":5,"column_end":17,"is_primary":true,"text":[{"text":"    quote!(true)","highlight_start":5,"highlight_end":17}],"label":"could not find `Ident` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":986,"byte_end":998,"line_start":34,"line_end":34,"column_start":5,"column_end":17,"is_primary":false,"text":[{"text":"    quote!(true)","highlight_start":5,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Ident` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/proc_macro_def.rs:34:5\n   |\nLL |     quote!(true)\n   |     ^^^^^^^^^^^^ could not find `Ident` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Span` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":986,"byte_end":998,"line_start":34,"line_end":34,"column_start":5,"column_end":17,"is_primary":true,"text":[{"text":"    quote!(true)","highlight_start":5,"highlight_end":17}],"label":"could not find `Span` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":986,"byte_end":998,"line_start":34,"line_end":3ut/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":1070,"byte_end":1090,"line_start":39,"line_end":39,"column_start":5,"column_end":25,"is_primary":false,"text":[{"text":"    quote!(return true;)","highlight_start":5,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Span` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/proc_macro_def.rs:39:5\n   |\nLL |     quote!(return true;)\n   |     ^^^^^^^^^^^^^^^^^^^^ could not find `Span` in `{{root}}`\n\n"}
[00:56:32] {"message":"failed to resolve: could not find `Punct` in `{{root}}`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":1070,"byte_end":1090,"line_start":39,"line_end":39,"column_start":5,"column_end":25,"is_primary":true,"text":[{"text":"    quote!(return true;)","highlight_start":5,"highlight_end":25}],"label":"could not find `Punct` in `{{root}}`","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"spanlity":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":1070,"byte_end":1090,"line_start":39,"line_end":39,"column_start":5,"column_end":25,"is_primary":false,"text":[{"text":"    quote!(return true;)","highlight_start":5,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[],"rendered":"error[E0433]: failed to resolve: could not find `Spacing` in `{{root}}`\n  --> /checkout/src/test/run-pass/auxiliary/proc_macro_def.rs:39:5\n   |\nLL |     quote!(return true;)\n   |     ^^^^^^^^^^^^^^^^^^^^ could not find `Spacing` in `{{root}}`\n\n"}
[00:56:32] {"message":"cannot find type `TokenStream` in the crate root","code":{"code":"E0412","explanation":"\nThe type name used is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n    fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n    type N;\n\n    fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the type39,"column_start":5,"column_end":25,"is_primary":false,"text":[{"text":"    quote!(return true;)","highlight_start":5,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[{"message":"possible candidates are found in other modules, you can import them into scope","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":592,"byte_end":592,"line_start":19,"line_end":19,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use proc_macro::*;","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use proc_macro::TokenStream;\n","suggestion_applicability":"Unspecified","expansion":null},{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":592,"byte_end":592,"line_start":19,"line_end":19,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use proc_macro::*;","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use proc_macro::bridge::server::TokenStream;\n","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `TokenStream` in the crate root\n  --> /checkout/src/test/run-pass/auxiliary/proc_macro_def.rs:39:5\n   |\nLL |     quote!(return true;)\n   |     ^^^^^^^^^^^^^^^^^^^^ not found in the crate root\nhelp: possible candidates are found in other modules, you can import them into scope\n   |\nLL | use proc_macro::TokenStream;\n   |\nLL | use proc_macro::bridge::sed in the crate root","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":1162,"byte_end":1173,"line_start":44,"line_end":44,"column_start":5,"column_end":16,"is_primary":false,"text":[{"text":"    quote!($ts)","highlight_start":5,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"quote!","def_site_span":null}}],"children":[{"message":"possible candidates are found in other modules, you can import them into scope","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":592,"byte_end":592,"line_start":19,"line_end":19,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use proc_macro::*;","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use proc_macro::TokenStream;\n","suggestion_applicability":"Unspecified","expansion":null},{"file_name":"/checkout/src/test/run-pass/auxiliary/proc_macro_def.rs","byte_start":592,"byte_end":592,"line_start":19,"line_end":19,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use proc_macro::*;","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use proc_macro::bridge::server::TokenStream;\n","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `TokenStream` in the crate root\n  --> /checkout/src/test/run-pass/auxiliary/proc_macro_def.rs:44:5\n   |\nLL |     quote!($ts)\n   |     ^^^^^^^^^^^ not found in the crate root\nhelp: possible candidates are found in other modules, you can import them into scope\n   |\nLL | use proc_macro::TokenStream;\n   |\nLL | use proc_macro::bridge::server::TokenStream;\n   |\n\n"}
[00:56:32] {"message":"aborting due to 23 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 23 previous errors\n\n"}
[00:56:32] {"message":"Some errors occurred: E0412, E0433.","code":null,"level":"","spans":[],"children":[],"rendered":"Some errors occurred: E0412, E0433.\n"}
[00:56:32] {"message":"For more information about an error, try `rustc --explain E0412`.","code":null,"level":"","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0412`.\n"}
[00:56:32] ------------------------------------------
[00:56:32] 
[00:56:32] thread '[run-pass] run-pass/proc_macro.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3284:9
[00:56:32] 

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)

@ljedrz
Copy link
Contributor Author

ljedrz commented Dec 7, 2018

failed to resolve: could not find `TokenStream(/TokenTree...)` in `{{root}}`

That's weird; these are in the crate root 🤔...

@ljedrz ljedrz changed the title bootstrap, proc_macro: fix edition bootstrap: fix edition Dec 10, 2018
@ljedrz
Copy link
Contributor Author

ljedrz commented Dec 10, 2018

I give up with proc_macro for now; it's either a bug or some intricate test-related stuff.

@ljedrz
Copy link
Contributor Author

ljedrz commented Dec 11, 2018

r? @Mark-Simulacrum

@Mark-Simulacrum
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Dec 11, 2018

📌 Commit a5a3da5 has been approved by Mark-Simulacrum

@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 Dec 11, 2018
@bors
Copy link
Contributor

bors commented Dec 11, 2018

⌛ Testing commit a5a3da5 with merge dfc4093eb0886e8b6403c445c920f67c70078e86...

@bors
Copy link
Contributor

bors commented Dec 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 Dec 11, 2018
@rust-highfive
Copy link
Collaborator

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.
Checking out files: 100% (17616/17616), done.
travis_time:end:02acc84c:start=1544571867004545000,finish=1544571876616469000,duration=9611924000
$ cd rust-lang/rust
$ git checkout -qf dfc4093eb0886e8b6403c445c920f67c70078e86
fatal: reference is not a tree: dfc4093eb0886e8b6403c445c920f67c70078e86
The command "git checkout -qf dfc4093eb0886e8b6403c445c920f67c70078e86" failed and exited with 128 during .
Your build has been stopped.

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)

@alexcrichton
Copy link
Member

@bors: retry

  • CI automation hiccup

@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 Dec 11, 2018
kennytm added a commit to kennytm/rust that referenced this pull request Dec 12, 2018
bootstrap: fix edition

A byproduct of work on rust-lang#56595; done with `cargo fix --edition`.
kennytm added a commit to kennytm/rust that referenced this pull request Dec 13, 2018
bootstrap: fix edition

A byproduct of work on rust-lang#56595; done with `cargo fix --edition`.
kennytm added a commit to kennytm/rust that referenced this pull request Dec 14, 2018
bootstrap: fix edition

A byproduct of work on rust-lang#56595; done with `cargo fix --edition`.
kennytm added a commit to kennytm/rust that referenced this pull request Dec 14, 2018
bootstrap: fix edition

A byproduct of work on rust-lang#56595; done with `cargo fix --edition`.
@bors
Copy link
Contributor

bors commented Dec 15, 2018

⌛ Testing commit a5a3da5 with merge 547cd21eccc1ad3530d8d2ed9925f4ebe97bb075...

@pietroalbini
Copy link
Member

@bors retry

Yielding priority.

bors added a commit that referenced this pull request Dec 15, 2018
bootstrap: fix edition

A byproduct of work on #56595; done with `cargo fix --edition`.
@bors
Copy link
Contributor

bors commented Dec 15, 2018

⌛ Testing commit a5a3da5 with merge 748d354...

@bors
Copy link
Contributor

bors commented Dec 16, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: Mark-Simulacrum
Pushing 748d354 to master...

@bors bors merged commit a5a3da5 into rust-lang:master Dec 16, 2018
@ljedrz ljedrz deleted the fix_edition branch December 16, 2018 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants