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

check missing docs for reexported macros as well #56407

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
6 participants
@GuillaumeGomez
Member

GuillaumeGomez commented Dec 1, 2018

Fixes #56334.

@rust-highfive

This comment has been minimized.

Collaborator

rust-highfive commented Dec 1, 2018

r? @zackmdavis

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

#[macro_export]
macro_rules! foo {
() => {}
}

This comment has been minimized.

@Centril

Centril Dec 1, 2018

Contributor

You'll get a tidy error?

@rust-highfive

This comment has been minimized.

Collaborator

rust-highfive commented Dec 1, 2018

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:00edc0af:start=1543672112896871148,finish=1543672167103420392,duration=54206549244
$ 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:03:21] travis_fold:start:tidy
travis_time:start:tidy
tidy check
[00:03:21] tidy error: /checkout/src/test/rustdoc-ui/deny-missing-docs.rs: missing trailing newline
[00:03:23] some tidy checks failed
[00:03:23] 
[00:03:23] 
[00:03:23] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "--no-vendor" "--quiet"
[00:03:23] 
[00:03:23] 
[00:03:23] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
[00:03:23] Build completed unsuccessfully in 0:00:58
[00:03:23] Build completed unsuccessfully in 0:00:58
[00:03:23] Makefile:79: recipe for target 'tidy' failed
[00:03:23] make: *** [tidy] Error 1
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:0f9955c2
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Sat Dec  1 13:52:59 UTC 2018
---
travis_time:end:00dc66b0:start=1543672380101389693,finish=1543672380106342969,duration=4953276
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0c31bb66
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:056af4a7
travis_time:start:056af4a7
$ 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:146a3088
$ 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)

@GuillaumeGomez GuillaumeGomez force-pushed the GuillaumeGomez:missing-docs-reexported-macros branch from bec43d8 to 4c0981b Dec 1, 2018

@rust-highfive

This comment has been minimized.

Collaborator

rust-highfive commented Dec 1, 2018

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:12ecb749:start=1543686700744267133,finish=1543686764772715628,duration=64028448495
$ 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:47:27] ....................iiiii........................................................................... 1000/5107
[00:47:29] .................................................................................................... 1100/5107
[00:47:31] .................................................................................................... 1200/5107
[00:47:34] .................................................................................................... 1300/5107
[00:47:36] ........................................................F........................................... 1400/5107
[00:47:41] .......................i....................................................................i....... 1600/5107
[00:47:45] .................................................................................................... 1700/5107
[00:47:48] .................................................................................................... 1800/5107
[00:47:51] .................................................................................................... 1900/5107
---
[00:49:19] .................................................................................................... 4500/5107
[00:49:22] .................................................................................................... 4600/5107
[00:49:26] ......................................................................i............................. 4700/5107
[00:49:29] .................................................................................................... 4800/5107
|                          ^^^^^\n\n"}
[00:49:38] {"message":"unknown lint: `x5300`","code":{"code":"unknown_lints","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":5858,"byte_end":5863,"line_start":140,"line_end":140,"column_start":13,"column_end":18,"is_primary":true,"text":[{"text":"    #[allow(x5300)] fn f() { }","highlight_start":13,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unknown lint: `x5300`\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:140:13\n   |\nLL |     #[allow(x5300)] fn f() { }\n   |             ^^^^^\n\n"}
[00:49:38] {"message":"unknown lint: `x5300`","code":{"code":"unknown_lints","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":5926,"byte_end":5931,"line_start":143,"line_end":143,"column_start":13,"column_end":18,"is_primary":true,"text":[{"text":"    #[allow(x5300)] struct S;","highlight_start":13,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unknown lint: `x5300`\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:143:13\n   |\nLL |     #[allow(x5300)] struct S;\n   |             ^^^^^\n\n"}
[00:49:38] {"message":"unknown lint: `x5300`","code":{"code":"unknown_lints","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":5993,"byte_end":5998,"line_start":146,"line_end":146,"column_start":13,"column_end":18,"is_primary":true,"text":[{"text":"    #[allow(x5300)] type T = S;","highlight_start":13,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unknown lint: `x5300`\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:146:13\n   |\nLL |     #[allow(x5300)] type T = S;\n   |             ^^^^^\n\n"}
[00:49:38] {"message":"unknown lint: `x5300`","code":{"code":"unknown_lints","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":6062,"byte_end":6067,"line_start":149,"line_end":149,"column_start":13,"column_end":18,"is_primary":true,"text":[{"text":"    #[allow(x5300)] impl S { }","highlight_start":13,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unknown lint: `x5300`\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:149:13\n   |\nLL |     #[allow(x5300)] impl S { }\n   |             ^^^^^\n\n"}
[00:49:38] {"message":"unknown lint: `x5200`","code":{"code":"unknown_lints","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":6129,"byte_end":6134,"line_start":153,"line_end":153,"column_start":10,"column_end":15,"is_primary":trueren":[],"rendered":"warning: unknown lint: `x5200`\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:159:14\n   |\nLL |     #[forbid(x5200)] fn f() { }\n   |              ^^^^^\n\n"}
[00:49:38] {"message":"unknown lint: `x5200`","code":{"code":"unknown_lints","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":6337,"byte_end":6342,"line_start":162,"line_end":162,"column_start":14,"column_end":19,"is_primary":true,"text":[{"text":"    #[forbid(x5200)] struct S;","highlight_start":14,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unknown lint: `x5200`\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:162:14\n   |\nLL |     #[forbid(x5200)] struct S;\n   |              ^^^^^\n\n"}
[00:49:38] {"message":"unknown lint: `x5200`","code":{"code":"unknown_lints","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":6405,"byte_end":6410,"line_start":165,"line_end":165,"column_start":14,"column_end":19,"is_primary":true,"text":[{"text":"    #[forbid(x5200)] type T = S;","highlight_start":14,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unknown lint: `x5200`\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:165:14\n   |\nLL |     #[forbid(x5200)] type T =test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:503:17\n   |\nLL |     mod inner { #![macro_escape] }\n   |                 ^^^^^^^^^^^^^^^^\n   |\n   = help: consider an outer attribute, #[macro_use] mod ...\n\n"}
[00:49:38] {"message":"`repr` attribute isn't configurable with a literal","code":{"code":"bad_repr","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":9556,"byte_end":9571,"line_start":317,"line_end":317,"column_start":17,"column_end":32,"is_primary":true,"text":[{"text":"    mod inner { #![repr=\"3900\"] }","highlight_start":17,"highlight_end":32}],"label":"needs a hint","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"#[warn(bad_repr)] on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: `repr` attribute isn't configurable with a literal\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:317:17\n   |\nLL |     mod inner { #![repr=\"3900\"] }\n   |                 ^^^^^^^^^^^^^^^ needs a hint\n   |\n   = note: #[warn(bad_repr)] on by default\n   = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`\n   = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>\n\n"}
[00:49:38] {"message":"`repr` attribute isn't configurable with a literal","code":{"code":"bad_repr","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":9675,"byte_end":9691,"line_start":321,"line_end":321,"column_start":5,"column_end":21,"is_primary":true,"text":[{"text":"    #[repr = \"3900\"] fn f() { }","highlight_start":5,"highlight_end":21}],"label":"needs a hint","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: `repr` attribute isn't configurable with a literal\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:321:5\n   |\nLL |     #[repr = \"3900\"] fn f() { }\n   |     ^^^^^^^^^^^^^^^^ needs a hint\n   |\n   = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`\n   = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>\n\n"}
[00:49:38] {"message":"`repr` attribute isn't configurable with a literal","code":{"code":"bad_repr","explanation":null},"level":"warning","spans":[{"file_name":"/checkvel":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":7178,"byte_end":7190,"line_start":204,"line_end":204,"column_start":5,"column_end":17,"is_primary":true,"text":[{"text":"    #[macro_use] impl S { }","highlight_start":5,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:204:5\n   |\nLL |     #[macro_use] impl S { }\n   |     ^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":7601,"byte_end":7625,"line_start":223,"line_end":223,"column_start":5,"column_end":29,"is_primary":true,"text":[{"text":"    #[macro_export = \"4800\"] impl S { }","highlight_start":5,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:223:5\n   |\nLL |     #[macro_export = \"4800\"] impl S { }\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":7766,"byte_end":7793,"line_start":230,"line_end":230,"column_start":17,"column_end":44,"is_primary":true,"text":[{"text":"    mod inner { #![plugin_registrar=\"4700\"] }","highlight_start":17,"highlight_end":44}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:230:17\n   |\nLL |     mod inner { #![plugin_registrar=\"4700\"] }\n   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":7889,"byte_end":7917,"line_start":235,"line_end":235,"column_start":5,"column_end":33,"is_primary":true,"text":[{"text":"    #[plugin_registrar = \"4700\"] struct S;","highlight_start":5,"highlight_end":33}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:235:5\n   |\nLL |     #[plugin_registrar = \"4700\"] struct S;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":7964,"byte_end":7992,"line_start":238,"line_end":238,"column_start":5,"column_end":33,"is_primary":true,"text":[{"text":"    #[plugin_registrar = \"repr=\"3900\"] }\n   |                 ^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":9675,"byte_end":9691,"line_start":321,"line_end":321,"column_start":5,"column_end":21,"is_primary":true,"text":[{"text":"    #[repr = \"3900\"] fn f() { }","highlight_start":5,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:321:5\n   |\nLL |     #[repr = \"3900\"] fn f() { }\n   |     ^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":9819,"byte_end":9835,"line_start":327,"line_end":327,"column_start":5,"column_end":21,"is_primary":true,"text":[{"text":"    #[repr = \"3900\"] type T = S;","highlight_start":5,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:327:5\n   |\nLL |     #[repr = \"3900\"] type T = S;\n   |     ^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans"0\"] }\n   |                 ^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":10520,"byte_end":10535,"line_start":359,"line_end":359,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"    #[abi = \"3700\"] fn f() { }","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:359:5\n   |\nLL |     #[abi = \"3700\"] fn f() { }\n   |     ^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":10583,"byte_end":10598,"line_start":362,"line_end":362,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"    #[abi = \"3700\"] struct S;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:362:5\n   |\nLL |     #[abi = \"3700\"] struct S;\n   |     ^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":10645,"byte_end":10660,"line_start":365,"line_end":365,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"    #[abi = \"3700\"] type T = S;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:365:5\n   |\nLL |     #[abi = \"3700\"] type T = S;\n   |     ^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":10709,"byte_end":10724,"line_start":368,"line_end":368,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"    #[abi = \"3700\"] impl S { }","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:368:5\n   |\nLL |     #[abi = \"3700\"] impl S { }\n   |     ^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":10398,"byte_end":10413,"line_start":353,"line_end":353,"column_start":1,"column_end":16,"is_primaring-of-builtin-attrs.rs","byte_start":11834,"byte_end":11853,"line_start":419,"line_end":419,"column_start":5,"column_end":24,"is_primary":true,"text":[{"text":"    #[no_link = \"3400\"] impl S { }","highlight_start":5,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:419:5\n   |\nLL |     #[no_link = \"3400\"] impl S { }\n   |     ^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":11500,"byte_end":11519,"line_start":404,"line_end":404,"column_start":1,"column_end":20,"is_primary":true,"text":[{"text":"#[no_link = \"3400\"]","highlight_start":1,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:404:1\n   |\nLL | #[no_link = \"3400\"]\n   | ^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":11986,"byte_end":12009,"line_start":426,"line_end":426,"column_start":17,"column_end":40,"is_primary":true,"text":[{"text":"    mod inner { #![should_panic=\"3200\"] }","highlight_start":17,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:426:17\n   |\nLL |     mod inner { #![should_panic=\"3200\"] }\n   |                 ^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":12048,"byte_end":12072,"line_start":429,"line_end":429,"column_start":5,"column_end":29,"is_primary":true,"text":[{"text":"    #[should_panic = \"3200\"] fn f() { }","highlight_start":5,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:429:5\n   |\nLL |     #[should_panic = \"3200\"] fn f() { }\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":12120,"byte_end":12144,"line_start":432,"line_end":432,"column_start":5,"column_end":29,"is_primary":true,"text":[{"text":"    #[should_panic = \"3200\"] struct S;","highlight_start":5,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability"ature-gate/issue-43106-gating-of-builtin-attrs.rs:473:5\n   |\nLL |     #[no_implicit_prelude = \"3000\"] type T = S;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":13134,"byte_end":13165,"line_start":476,"line_end":476,"column_start":5,"column_end":36,"is_primary":true,"text":[{"text":"    #[no_implicit_prelude = \"3000\"] impl S { }","highlight_start":5,"highlight_end":36}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:476:5\n   |\nLL |     #[no_implicit_prelude = \"3000\"] impl S { }\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":12727,"byte_end":12758,"line_start":461,"line_end":461,"column_start":1,"column_end":32,"is_primary":true,"text":[{"text":"#[no_implicit_prelude = \"3000\"]","highlight_start":1,"highlight_end":32}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:461:1\n   |\nLL | #[no_implicit_prelude = \"3000\"]\n  :[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":14016,"byte_end":14031,"line_start":506,"line_end":506,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"    #[macro_escape] fn f() { }","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:506:5\n   |\nLL |     #[macro_escape] fn f() { }\n   |     ^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":14079,"byte_end":14094,"line_start":509,"line_end":509,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"    #[macro_escape] struct S;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:509:5\n   |\nLL |     #[macro_escape] struct S;\n   |     ^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":14141,"byte_end":14156,"line_start":512,"line_end":512,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"    #[macro_escape] type T = S;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:512:5\n   |\nLL |     #[macro_escape] type T = S;\n   |     ^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":14205,"byte_end":14220,"line_start":515,"line_end":515,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"    #[macro_escape] impl S { }","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:515:5\n   |\nLL |     #[macro_escape] impl S { }\n   |     ^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":14402,"byte_end":14419,"line_start":523,"line_end":523,"column_start":17,"column_end":34,"is_primary":true,"text":[{"text":"    mod inner { #![no_std=\"2600\"] }","highlight_start":17,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expans[00:49:38] {"message":"crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":14266,"byte_end":14284,"line_start":519,"line_end":519,"column_start":1,"column_end":19,"is_primary":true,"text":[{"text":"#[no_std = \"2600\"]","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:519:1\n   |\nLL | #[no_std = \"2600\"]\n   | ^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":17848,"byte_end":17869,"line_start":678,"line_end":678,"column_start":17,"column_end":38,"is_primary":true,"text":[{"text":"    mod inner { #![crate_name=\"0900\"] }","highlight_start":17,"highlight_end":38}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:678:17\n   |\nLL |     mod inner { #![crate_name=\"0900\"] }\n   |                 ^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"crate-level attribute should be in the root module","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":17848,"byte_end":17869,"line_start":678,"line_end":678,"column_start":17,"column_end":38,"is_primary":true,"text":[{"text":"    mod inner { #![crate_name=\"0900\"] }","highlight_start":17,"highlight_end":38}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: crate-level attribute should be in the root module\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:678:17\n   |\nLL |     mod inner { #![crate_name=\"0900\"] }\n   |                 ^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":17973,"byte_end":17995,"line_start":682,"line_end":682,"column_start":5,"column_end":27,"is_primary":true,"text":[{"text":"    #[crate_name = \"0900\"] fn f() { }","highlight_start":5,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:682:5\n   |\nLL |     #[crate_name = \"0900\"] fn f() { }\n   |     ^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:503:l},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":18915,"byte_end":18937,"line_start":711,"line_end":711,"column_start":5,"column_end":27,"is_primary":true,"text":[{"text":"    #[crate_type = \"0800\"] struct S;","highlight_start":5,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:711:5\n   |\nLL |     #[crate_type = \"0800\"] struct S;\n   |     ^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":19049,"byte_end":19071,"line_start":715,"line_end":715,"column_start":5,"column_end":27,"is_primary":true,"text":[{"text":"    #[crate_type = \"0800\"] type T = S;","highlight_start":5,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:715:5\n   |\nLL |     #[crate_type = \"0800\"] type T = S;\n   |     ^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":19049,"byte_end":19071,"line_start":715,"line_end":715,"column_start":5,"column_end":27,"is_primary":true,"text":[{"text":"    #[crate_type = \"0800\"] type T = S;","highlight_start":5,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:715:5\n   |\nLL |     #[crate_type = \"0800\"] type T = S;\n   |     ^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":19185,"byte_end":19207,"line_start":719,"line_end":719,"column_start":5,"column_end":27,"is_primary":true,"text":[{"text":"    #[crate_type = \"0800\"] impl S { }","highlight_start":5,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:719:5\n   |\nLL |     #[crate_type = \"0800\"] impl S { }\n   |     ^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]","code":{"code":"unused_attributes","explanation":null},"level":"warn= S;","highlight_start":5,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:740:5\n   |\nLL |     #[feature(x0600)] type T = S;\n   |     ^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":19966,"byte_end":19983,"line_start":744,"line_end":744,"column_start":5,"column_end":22,"is_primary":true,"text":[{"text":"    #[feature(x0600)] impl S { }","highlight_start":5,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:744:5\n   |\nLL |     #[feature(x0600)] impl S { }\n   |     ^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":19966,"byte_end":19983,"line_start":744,"line_end":744,"column_start":5,"column_end":22,"is_primary":true,"text":[{"text":"    #[feature(x0600)] impl S { }","highlight_start":5,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:744:5\n   |\nLL |     #[feature(x0600)] impl S { }\n   |     ^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":19318,"byte_end":19335,"line_start":724,"line_end":724,"column_start":1,"column_end":18,"is_primary":true,"text":[{"text":"#[feature(x0600)]","highlight_start":1,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:724:1\n   |\nLL | #[feature(x0600)]\n   | ^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":19318,"byte_end":19335,"line_start":724,"line_end":724,"column_start":1,"column_end":18,"is_primary":true,"text":[{"text":"#[feature(x0600)]","highlight_start":1,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"c"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":21281,"byte_end":21307,"line_start":792,"line_end":792,"column_start":17,"column_end":43,"is_primary":true,"text":[{"text":"    mod inner { #![recursion_limit=\"0200\"] }","highlight_start":17,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:792:17\n   |\nLL |     mod inner { #![recursion_limit=\"0200\"] }\n   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"crate-level attribute should be in the root module","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":21281,"byte_end":21307,"line_start":792,"line_end":792,"column_start":17,"column_end":43,"is_primary":true,"text":[{"text":"    mod inner { #![recursion_limit=\"0200\"] }","highlight_start":17,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: crate-level attribute should be in the root module\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:792:17\n   |\nLL |     mod inner { #![recursion_limit=\"0200\"] }\n   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":21129,"byte_end":21154,"line_start":788,"line_end":788,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"#[recursion_limit=\"0200\"]","highlight_start":1,"highlight_end":26}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:788:1\n   |\nLL | #[recursion_limit=\"0200\"]\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":21129,"byte_end":21154,"line_start":788,"line_end":788,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"#[recursion_limit=\"0200\"]","highlight_start":1,"highlight_end":26}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:788:1\n   |\nLL | #[recursion_limit=\"0200\"]\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":22117,"byte_end":22145,"line_start":817,"line_end":817,"column_start":17,"column_end":45,"is_primary":true,"text":[{"text":"    mod inner { #![type_length_limit=\"0100\"] }","highlight_start":17,"highlight_end":45}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:817:17\n   |\nLL |     mod inner { #![type_length_limit=\"0100\"] }\n   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"crate-level attribute should be in the root module","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":22117,"byte_end":22145,"line_start":817,"line_end":817,"column_start":17,"column_end":45,"is_primary":true,"text":[{"text":"    mod inner { #![type_length_limit=\"0100\"] }","highlight_start":17,"highlight_end":45}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: crate-level attribute should be in the root module\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:817:17\n   |\nLL |     mod inner { #![type_length_limit=\"0100\"] }\n   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":2392,"byte_end":2431,"line_start":55,"line_end":55,"column_start":1,"column_end":40,"is_primary":true,"text":[{"text":"#![macro_export               = \"4800\"] //~ WARN unused attribute","highlight_start":1,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:55:1\n   |\nLL | #![macro_export               = \"4800\"] //~ WARN unused attribute\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":2458,"byte_end":2497,"line_start":56,"line_end":56,"column_start":1,"column_end":40,"is_primary":true,"text":[{"text":"#![plugin_registrar           = \"4700\"] //~ WARN unused attribute","highlight_start":1,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:56:1\n   |\nLL | #![plugin_registrar           = \"4700\"] //~ WARN unused attribute\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":2583,"byte_end":2622,"line_start":59,"line_end":59,"column_start":1,"column_end":40,"is_primary":true,"text":[{"text":"#![main                      = \"x4400\"] //~ WARN unused attribute","highlight_start":1,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:59:1\n   |\nLL | #![main                      = \"x4400\"] //~ WARN unused attribute\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unused attribute","code":{"code":"unused_attributes","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs","byte_start":2649,"byte_end":2688,"line_start":60,"line_end":60,"column_start":1,"column_end":40,"is_primary":true,"text":[{"text":"#![start                     = \"x4300\"] //~ WARN unused attribute","highlight_start":1,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: unused attribute\n  --> /checkout/src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs:60:1\n   |\nLL | #![start                     = \"x4300\"] //~ WARN unused attribute\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[00:49:38] {"message":"unu4139376 .
2404404 ./obj/build
1758016 ./obj/build/x86_64-unknown-linux-gnu
1165792 ./src
568456 ./.git
---
150332 ./obj/build/bootstrap/debug/incremental
142568 ./obj/build/x86_64-unknown-linux-gnu/test
142564 ./obj/build/x86_64-unknown-linux-gnu/test/ui
134740 ./obj/build/bootstrap/debug/incremental/bootstrap-1plb86h2refwc
134736 ./obj/build/bootstrap/debug/incremental/bootstrap-1plb86h2refwc/s-f76vyoxbwj-empmoj-1dfdut19kaclo
134604 ./.git/modules/src
130796 ./obj/build/x86_64-unknown-linux-gnu/stage1-rustc
130772 ./obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu
130768 ./obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release
130768 ./obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release
125008 ./obj/build/x86_64-unknown-linux-gnu/stage1-rutravis_time:end:027e3860:start=1543689753200751771,finish=1543689753209163579,duration=8411808
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:05935629
$ 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:01389c20
$ 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)

@GuillaumeGomez

This comment has been minimized.

Member

GuillaumeGomez commented Dec 1, 2018

I don't understand how the failure can be linked to this PR...

@ollie27

This comment has been minimized.

Contributor

ollie27 commented Dec 2, 2018

The failure is because it's now checking for the #[macro_export] attribute on items that aren't macros so the unused_attribute lint thinks the attribute is used.

However as can be seen from the added ui test this hasn't actually worked. It's only giving a error: missing documentation for crate but it should be giving an error about the macro.

@GuillaumeGomez

This comment has been minimized.

Member

GuillaumeGomez commented Dec 2, 2018

Thanks for the explanation @ollie27! I'll fix this in the next days.

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