1 warning: unknown lint: `x5400`
2 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:50:33
4 LL | #![warn (x5400)] //~ WARN unknown lint: `x5400`
7 note: lint level defined here
8 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:44:28
10 LL | #![warn(unused_attributes, unknown_lints)]
13 warning: unknown lint: `x5300`
14 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:51:33
16 LL | #![allow (x5300)] //~ WARN unknown lint: `x5300`
19 warning: unknown lint: `x5200`
20 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:52:33
22 LL | #![forbid (x5200)] //~ WARN unknown lint: `x5200`
25 warning: unknown lint: `x5100`
26 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:53:33
28 LL | #![deny (x5100)] //~ WARN unknown lint: `x5100`
31 warning: unknown lint: `x5400`
32 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:115:8
37 warning: unknown lint: `x5400`
38 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:118:25
40 LL | mod inner { #![warn(x5400)] }
43 warning: unknown lint: `x5400`
44 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:121:12
46 LL | #[warn(x5400)] fn f() { }
49 warning: unknown lint: `x5400`
50 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:124:12
52 LL | #[warn(x5400)] struct S;
55 warning: unknown lint: `x5400`
56 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:127:12
58 LL | #[warn(x5400)] type T = S;
61 warning: unknown lint: `x5400`
62 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:130:12
64 LL | #[warn(x5400)] impl S { }
67 warning: unknown lint: `x5300`
68 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:134:9
73 warning: unknown lint: `x5300`
74 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:137:26
76 LL | mod inner { #![allow(x5300)] }
79 warning: unknown lint: `x5300`
80 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:140:13
82 LL | #[allow(x5300)] fn f() { }
85 warning: unknown lint: `x5300`
86 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:143:13
88 LL | #[allow(x5300)] struct S;
91 warning: unknown lint: `x5300`
92 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:146:13
94 LL | #[allow(x5300)] type T = S;
97 warning: unknown lint: `x5300`
98 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:149:13
100 LL | #[allow(x5300)] impl S { }
103 warning: unknown lint: `x5200`
104 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:153:10
106 LL | #[forbid(x5200)]
109 warning: unknown lint: `x5200`
110 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:156:27
112 LL | mod inner { #![forbid(x5200)] }
115 warning: unknown lint: `x5200`
116 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:159:14
118 LL | #[forbid(x5200)] fn f() { }
121 warning: unknown lint: `x5200`
122 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:162:14
124 LL | #[forbid(x5200)] struct S;
127 warning: unknown lint: `x5200`
128 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:165:14
130 LL | #[forbid(x5200)] type T = S;
133 warning: unknown lint: `x5200`
134 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:168:14
136 LL | #[forbid(x5200)] impl S { }
139 warning: unknown lint: `x5100`
140 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:172:8
145 warning: unknown lint: `x5100`
146 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:175:25
148 LL | mod inner { #![deny(x5100)] }
151 warning: unknown lint: `x5100`
152 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:178:12
154 LL | #[deny(x5100)] fn f() { }
157 warning: unknown lint: `x5100`
158 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:181:12
160 LL | #[deny(x5100)] struct S;
163 warning: unknown lint: `x5100`
164 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:184:12
166 LL | #[deny(x5100)] type T = S;
169 warning: unknown lint: `x5100`
170 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:187:12
172 LL | #[deny(x5100)] impl S { }
175 warning: macro_escape is a deprecated synonym for macro_use
176 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:501:1
181 warning: macro_escape is a deprecated synonym for macro_use
182 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:504:17
184 LL | mod inner { #![macro_escape] }
187 = help: consider an outer attribute, #[macro_use] mod ...
189 warning: `repr` attribute isn't configurable with a literal
190 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:317:17
192 LL | mod inner { #![repr="3900"] }
193 | ^^^^^^^^^^^^^^^ needs a hint
195 = note: #[warn(bad_repr)] on by default
196 = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
197 = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>
199 warning: `repr` attribute isn't configurable with a literal
200 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:321:5
202 LL | #[repr = "3900"] fn f() { }
203 | ^^^^^^^^^^^^^^^^ needs a hint
205 = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
206 = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>
208 warning: `repr` attribute isn't configurable with a literal
209 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:327:5
211 LL | #[repr = "3900"] type T = S;
212 | ^^^^^^^^^^^^^^^^ needs a hint
214 = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
215 = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>
217 warning: `repr` attribute isn't configurable with a literal
218 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:331:5
220 LL | #[repr = "3900"] impl S { }
221 | ^^^^^^^^^^^^^^^^ needs a hint
223 = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
224 = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>
226 warning: `repr` attribute isn't configurable with a literal
227 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:313:1
229 LL | #[repr = "3900"]
230 | ^^^^^^^^^^^^^^^^ needs a hint
232 = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
233 = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>
235 warning: `repr` attribute isn't configurable with a literal
236 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:63:1
238 LL | #![repr = "3900"]
239 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ needs a hint
241 = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
242 = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>
244 warning: unused attribute
245 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:195:5
247 LL | #[macro_use] fn f() { }
250 note: lint level defined here
251 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:44:9
253 LL | #![warn(unused_attributes, unknown_lints)]
256 warning: unused attribute
257 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:198:5
259 LL | #[macro_use] struct S;
262 warning: unused attribute
263 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:201:5
265 LL | #[macro_use] type T = S;
268 warning: unused attribute
269 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:204:5
271 LL | #[macro_use] impl S { }
274 warning: unused attribute
275 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:211:17
277 LL | mod inner { #![macro_export="4800"] }
278 | ^^^^^^^^^^^^^^^^^^^^^^^
280 warning: unused attribute
281 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:214:5
283 LL | #[macro_export = "4800"] fn f() { }
284 | ^^^^^^^^^^^^^^^^^^^^^^^^
286 warning: unused attribute
287 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:217:5
289 LL | #[macro_export = "4800"] struct S;
290 | ^^^^^^^^^^^^^^^^^^^^^^^^
292 warning: unused attribute
293 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:220:5
295 LL | #[macro_export = "4800"] type T = S;
296 | ^^^^^^^^^^^^^^^^^^^^^^^^
298 warning: unused attribute
299 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:223:5
301 LL | #[macro_export = "4800"] impl S { }
302 | ^^^^^^^^^^^^^^^^^^^^^^^^
304 warning: unused attribute
305 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:208:1
307 LL | #[macro_export = "4800"]
308 | ^^^^^^^^^^^^^^^^^^^^^^^^
310 warning: unused attribute
311 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:230:17
313 LL | mod inner { #![plugin_registrar="4700"] }
314 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
316 warning: unused attribute
317 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:235:5
319 LL | #[plugin_registrar = "4700"] struct S;
320 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
322 warning: unused attribute
323 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:238:5
325 LL | #[plugin_registrar = "4700"] type T = S;
326 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
328 warning: unused attribute
329 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:241:5
331 LL | #[plugin_registrar = "4700"] impl S { }
332 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
334 warning: unused attribute
335 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:227:1
337 LL | #[plugin_registrar = "4700"]
338 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
340 warning: unused attribute
341 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:248:17
343 LL | mod inner { #![main="4300"] }
346 warning: unused attribute
347 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:253:5
349 LL | #[main = "4400"] struct S;
352 warning: unused attribute
353 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:256:5
355 LL | #[main = "4400"] type T = S;
358 warning: unused attribute
359 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:259:5
361 LL | #[main = "4400"] impl S { }
364 warning: unused attribute
365 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:245:1
367 LL | #[main = "4400"]
370 warning: unused attribute
371 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:266:17
373 LL | mod inner { #![start="4300"] }
376 warning: unused attribute
377 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:271:5
379 LL | #[start = "4300"] struct S;
382 warning: unused attribute
383 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:274:5
385 LL | #[start = "4300"] type T = S;
388 warning: unused attribute
389 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:277:5
391 LL | #[start = "4300"] impl S { }
394 warning: unused attribute
395 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:263:1
397 LL | #[start = "4300"]
400 warning: unused attribute
401 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:317:17
403 LL | mod inner { #![repr="3900"] }
406 warning: unused attribute
407 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:321:5
409 LL | #[repr = "3900"] fn f() { }
412 warning: unused attribute
413 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:327:5
415 LL | #[repr = "3900"] type T = S;
418 warning: unused attribute
419 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:331:5
421 LL | #[repr = "3900"] impl S { }
424 warning: unused attribute
425 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:313:1
427 LL | #[repr = "3900"]
430 warning: unused attribute
431 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:340:5
433 LL | #[path = "3800"] fn f() { }
436 warning: unused attribute
437 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:343:5
439 LL | #[path = "3800"] struct S;
442 warning: unused attribute
443 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:346:5
445 LL | #[path = "3800"] type T = S;
448 warning: unused attribute
449 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:349:5
451 LL | #[path = "3800"] impl S { }
454 warning: unused attribute
455 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:356:17
457 LL | mod inner { #![abi="3700"] }
460 warning: unused attribute
461 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:359:5
463 LL | #[abi = "3700"] fn f() { }
466 warning: unused attribute
467 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:362:5
469 LL | #[abi = "3700"] struct S;
472 warning: unused attribute
473 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:365:5
475 LL | #[abi = "3700"] type T = S;
478 warning: unused attribute
479 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:368:5
481 LL | #[abi = "3700"] impl S { }
484 warning: unused attribute
485 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:353:1
490 warning: unused attribute
491 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:375:17
493 LL | mod inner { #![automatically_derived="3600"] }
494 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
496 warning: unused attribute
497 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:378:5
499 LL | #[automatically_derived = "3600"] fn f() { }
500 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
502 warning: unused attribute
503 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:381:5
505 LL | #[automatically_derived = "3600"] struct S;
506 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
508 warning: unused attribute
509 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:384:5
511 LL | #[automatically_derived = "3600"] type T = S;
512 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
514 warning: unused attribute
515 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:387:5
517 LL | #[automatically_derived = "3600"] impl S { }
518 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
520 warning: unused attribute
521 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:372:1
523 LL | #[automatically_derived = "3600"]
524 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
526 warning: function is marked #[no_mangle], but not exported
527 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:395:27
529 LL | #[no_mangle = "3500"] fn f() { }
532 | help: try making it public: `pub`
534 = note: #[warn(private_no_mangle_fns)] on by default
536 warning: unused attribute
537 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:408:17
539 LL | mod inner { #![no_link="3400"] }
542 warning: unused attribute
543 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:411:5
545 LL | #[no_link = "3400"] fn f() { }
546 | ^^^^^^^^^^^^^^^^^^^
548 warning: unused attribute
549 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:414:5
551 LL | #[no_link = "3400"] struct S;
552 | ^^^^^^^^^^^^^^^^^^^
554 warning: unused attribute
555 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:417:5
557 LL | #[no_link = "3400"]type T = S;
558 | ^^^^^^^^^^^^^^^^^^^
560 warning: unused attribute
561 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:420:5
563 LL | #[no_link = "3400"] impl S { }
564 | ^^^^^^^^^^^^^^^^^^^
566 warning: unused attribute
567 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:405:1
569 LL | #[no_link = "3400"]
570 | ^^^^^^^^^^^^^^^^^^^
572 warning: unused attribute
573 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:427:17
575 LL | mod inner { #![should_panic="3200"] }
576 | ^^^^^^^^^^^^^^^^^^^^^^^
578 warning: unused attribute
579 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:430:5
581 LL | #[should_panic = "3200"] fn f() { }
582 | ^^^^^^^^^^^^^^^^^^^^^^^^
584 warning: unused attribute
585 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:433:5
587 LL | #[should_panic = "3200"] struct S;
588 | ^^^^^^^^^^^^^^^^^^^^^^^^
590 warning: unused attribute
591 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:436:5
593 LL | #[should_panic = "3200"] type T = S;
594 | ^^^^^^^^^^^^^^^^^^^^^^^^
596 warning: unused attribute
597 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:439:5
599 LL | #[should_panic = "3200"] impl S { }
600 | ^^^^^^^^^^^^^^^^^^^^^^^^
602 warning: unused attribute
603 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:424:1
605 LL | #[should_panic = "3200"]
606 | ^^^^^^^^^^^^^^^^^^^^^^^^
608 warning: unused attribute
609 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:446:17
611 LL | mod inner { #![ignore="3100"] }
614 warning: unused attribute
615 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:449:5
617 LL | #[ignore = "3100"] fn f() { }
620 warning: unused attribute
621 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:452:5
623 LL | #[ignore = "3100"] struct S;
626 warning: unused attribute
627 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:455:5
629 LL | #[ignore = "3100"] type T = S;
632 warning: unused attribute
633 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:458:5
635 LL | #[ignore = "3100"] impl S { }
638 warning: unused attribute
639 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:443:1
641 LL | #[ignore = "3100"]
644 warning: unused attribute
645 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:465:17
647 LL | mod inner { #![no_implicit_prelude="3000"] }
648 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
650 warning: unused attribute
651 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:468:5
653 LL | #[no_implicit_prelude = "3000"] fn f() { }
654 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
656 warning: unused attribute
657 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:471:5
659 LL | #[no_implicit_prelude = "3000"] struct S;
660 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
662 warning: unused attribute
663 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:474:5
665 LL | #[no_implicit_prelude = "3000"] type T = S;
666 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
668 warning: unused attribute
669 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:477:5
671 LL | #[no_implicit_prelude = "3000"] impl S { }
672 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
674 warning: unused attribute
675 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:462:1
677 LL | #[no_implicit_prelude = "3000"]
678 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
680 warning: unused attribute
681 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:484:17
683 LL | mod inner { #![reexport_test_harness_main="2900"] }
684 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
686 warning: unused attribute
687 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:487:5
689 LL | #[reexport_test_harness_main = "2900"] fn f() { }
690 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
692 warning: unused attribute
693 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:490:5
695 LL | #[reexport_test_harness_main = "2900"] struct S;
696 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
698 warning: unused attribute
699 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:493:5
701 LL | #[reexport_test_harness_main = "2900"] type T = S;
702 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
704 warning: unused attribute
705 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:496:5
707 LL | #[reexport_test_harness_main = "2900"] impl S { }
708 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
710 warning: unused attribute
711 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:481:1
713 LL | #[reexport_test_harness_main = "2900"]
714 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
716 warning: unused attribute
717 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:507:5
719 LL | #[macro_escape] fn f() { }
722 warning: unused attribute
723 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:510:5
725 LL | #[macro_escape] struct S;
728 warning: unused attribute
729 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:513:5
731 LL | #[macro_escape] type T = S;
734 warning: unused attribute
735 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:516:5
737 LL | #[macro_escape] impl S { }
740 warning: unused attribute
741 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:524:17
743 LL | mod inner { #![no_std="2600"] }
746 warning: crate-level attribute should be in the root module
747 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:524:17
749 LL | mod inner { #![no_std="2600"] }
752 warning: unused attribute
753 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:528:5
755 LL | #[no_std = "2600"] fn f() { }
758 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
759 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:528:5
761 LL | #[no_std = "2600"] fn f() { }
764 warning: unused attribute
765 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:532:5
767 LL | #[no_std = "2600"] struct S;
770 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
771 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:532:5
773 LL | #[no_std = "2600"] struct S;
776 warning: unused attribute
777 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:536:5
779 LL | #[no_std = "2600"] type T = S;
782 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
783 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:536:5
785 LL | #[no_std = "2600"] type T = S;
788 warning: unused attribute
789 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:540:5
791 LL | #[no_std = "2600"] impl S { }
794 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
795 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:540:5
797 LL | #[no_std = "2600"] impl S { }
800 warning: unused attribute
801 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:520:1
803 LL | #[no_std = "2600"]
806 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
807 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:520:1
809 LL | #[no_std = "2600"]
812 warning: unused attribute
813 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:679:17
815 LL | mod inner { #![crate_name="0900"] }
816 | ^^^^^^^^^^^^^^^^^^^^^
818 warning: crate-level attribute should be in the root module
819 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:679:17
821 LL | mod inner { #![crate_name="0900"] }
822 | ^^^^^^^^^^^^^^^^^^^^^
824 warning: unused attribute
825 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:683:5
827 LL | #[crate_name = "0900"] fn f() { }
828 | ^^^^^^^^^^^^^^^^^^^^^^
830 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
831 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:683:5
833 LL | #[crate_name = "0900"] fn f() { }
834 | ^^^^^^^^^^^^^^^^^^^^^^
836 warning: unused attribute
837 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:687:5
839 LL | #[crate_name = "0900"] struct S;
840 | ^^^^^^^^^^^^^^^^^^^^^^
842 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
843 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:687:5
845 LL | #[crate_name = "0900"] struct S;
846 | ^^^^^^^^^^^^^^^^^^^^^^
848 warning: unused attribute
849 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:691:5
851 LL | #[crate_name = "0900"] type T = S;
852 | ^^^^^^^^^^^^^^^^^^^^^^
854 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
855 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:691:5
857 LL | #[crate_name = "0900"] type T = S;
858 | ^^^^^^^^^^^^^^^^^^^^^^
860 warning: unused attribute
861 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:695:5
863 LL | #[crate_name = "0900"] impl S { }
864 | ^^^^^^^^^^^^^^^^^^^^^^
866 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
867 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:695:5
869 LL | #[crate_name = "0900"] impl S { }
870 | ^^^^^^^^^^^^^^^^^^^^^^
872 warning: unused attribute
873 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:675:1
875 LL | #[crate_name = "0900"]
876 | ^^^^^^^^^^^^^^^^^^^^^^
878 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
879 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:675:1
881 LL | #[crate_name = "0900"]
882 | ^^^^^^^^^^^^^^^^^^^^^^
884 warning: unused attribute
885 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:704:17
887 LL | mod inner { #![crate_type="0800"] }
888 | ^^^^^^^^^^^^^^^^^^^^^
890 warning: crate-level attribute should be in the root module
891 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:704:17
893 LL | mod inner { #![crate_type="0800"] }
894 | ^^^^^^^^^^^^^^^^^^^^^
896 warning: unused attribute
897 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:708:5
899 LL | #[crate_type = "0800"] fn f() { }
900 | ^^^^^^^^^^^^^^^^^^^^^^
902 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
903 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:708:5
905 LL | #[crate_type = "0800"] fn f() { }
906 | ^^^^^^^^^^^^^^^^^^^^^^
908 warning: unused attribute
909 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:712:5
911 LL | #[crate_type = "0800"] struct S;
912 | ^^^^^^^^^^^^^^^^^^^^^^
914 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
915 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:712:5
917 LL | #[crate_type = "0800"] struct S;
918 | ^^^^^^^^^^^^^^^^^^^^^^
920 warning: unused attribute
921 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:716:5
923 LL | #[crate_type = "0800"] type T = S;
924 | ^^^^^^^^^^^^^^^^^^^^^^
926 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
927 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:716:5
929 LL | #[crate_type = "0800"] type T = S;
930 | ^^^^^^^^^^^^^^^^^^^^^^
932 warning: unused attribute
933 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:720:5
935 LL | #[crate_type = "0800"] impl S { }
936 | ^^^^^^^^^^^^^^^^^^^^^^
938 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
939 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:720:5
941 LL | #[crate_type = "0800"] impl S { }
942 | ^^^^^^^^^^^^^^^^^^^^^^
944 warning: unused attribute
945 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:700:1
947 LL | #[crate_type = "0800"]
948 | ^^^^^^^^^^^^^^^^^^^^^^
950 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
951 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:700:1
953 LL | #[crate_type = "0800"]
954 | ^^^^^^^^^^^^^^^^^^^^^^
956 warning: unused attribute
957 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:729:17
959 LL | mod inner { #![feature(x0600)] }
962 warning: crate-level attribute should be in the root module
963 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:729:17
965 LL | mod inner { #![feature(x0600)] }
968 warning: unused attribute
969 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:733:5
971 LL | #[feature(x0600)] fn f() { }
974 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
975 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:733:5
977 LL | #[feature(x0600)] fn f() { }
980 warning: unused attribute
981 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:737:5
983 LL | #[feature(x0600)] struct S;
986 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
987 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:737:5
989 LL | #[feature(x0600)] struct S;
992 warning: unused attribute
993 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:741:5
995 LL | #[feature(x0600)] type T = S;
998 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
999 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:741:5
1001 LL | #[feature(x0600)] type T = S;
1004 warning: unused attribute
1005 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:745:5
1007 LL | #[feature(x0600)] impl S { }
1010 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1011 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:745:5
1013 LL | #[feature(x0600)] impl S { }
1016 warning: unused attribute
1017 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:725:1
1019 LL | #[feature(x0600)]
1022 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1023 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:725:1
1025 LL | #[feature(x0600)]
1028 warning: unused attribute
1029 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:755:17
1031 LL | mod inner { #![no_main="0400"] }
1032 | ^^^^^^^^^^^^^^^^^^
1034 warning: crate-level attribute should be in the root module
1035 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:755:17
1037 LL | mod inner { #![no_main="0400"] }
1038 | ^^^^^^^^^^^^^^^^^^
1040 warning: unused attribute
1041 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:759:5
1043 LL | #[no_main = "0400"] fn f() { }
1044 | ^^^^^^^^^^^^^^^^^^^
1046 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1047 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:759:5
1049 LL | #[no_main = "0400"] fn f() { }
1050 | ^^^^^^^^^^^^^^^^^^^
1052 warning: unused attribute
1053 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:763:5
1055 LL | #[no_main = "0400"] struct S;
1056 | ^^^^^^^^^^^^^^^^^^^
1058 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1059 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:763:5
1061 LL | #[no_main = "0400"] struct S;
1062 | ^^^^^^^^^^^^^^^^^^^
1064 warning: unused attribute
1065 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:767:5
1067 LL | #[no_main = "0400"] type T = S;
1068 | ^^^^^^^^^^^^^^^^^^^
1070 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1071 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:767:5
1073 LL | #[no_main = "0400"] type T = S;
1074 | ^^^^^^^^^^^^^^^^^^^
1076 warning: unused attribute
1077 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:771:5
1079 LL | #[no_main = "0400"] impl S { }
1080 | ^^^^^^^^^^^^^^^^^^^
1082 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1083 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:771:5
1085 LL | #[no_main = "0400"] impl S { }
1086 | ^^^^^^^^^^^^^^^^^^^
1088 warning: unused attribute
1089 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:751:1
1091 LL | #[no_main = "0400"]
1092 | ^^^^^^^^^^^^^^^^^^^
1094 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1095 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:751:1
1097 LL | #[no_main = "0400"]
1098 | ^^^^^^^^^^^^^^^^^^^
1100 warning: unused attribute
1101 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:793:17
1103 LL | mod inner { #![recursion_limit="0200"] }
1104 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1106 warning: crate-level attribute should be in the root module
1107 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:793:17
1109 LL | mod inner { #![recursion_limit="0200"] }
1110 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1112 warning: unused attribute
1113 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:797:5
1115 LL | #[recursion_limit="0200"] fn f() { }
1116 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1118 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1119 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:797:5
1121 LL | #[recursion_limit="0200"] fn f() { }
1122 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1124 warning: unused attribute
1125 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:801:5
1127 LL | #[recursion_limit="0200"] struct S;
1128 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1130 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1131 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:801:5
1133 LL | #[recursion_limit="0200"] struct S;
1134 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1136 warning: unused attribute
1137 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:805:5
1139 LL | #[recursion_limit="0200"] type T = S;
1140 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1142 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1143 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:805:5
1145 LL | #[recursion_limit="0200"] type T = S;
1146 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1148 warning: unused attribute
1149 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:809:5
1151 LL | #[recursion_limit="0200"] impl S { }
1152 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1154 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1155 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:809:5
1157 LL | #[recursion_limit="0200"] impl S { }
1158 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1160 warning: unused attribute
1161 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:789:1
1163 LL | #[recursion_limit="0200"]
1164 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1166 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1167 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:789:1
1169 LL | #[recursion_limit="0200"]
1170 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1172 warning: unused attribute
1173 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:818:17
1175 LL | mod inner { #![type_length_limit="0100"] }
1176 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1178 warning: crate-level attribute should be in the root module
1179 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:818:17
1181 LL | mod inner { #![type_length_limit="0100"] }
1182 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1184 warning: unused attribute
1185 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:822:5
1187 LL | #[type_length_limit="0100"] fn f() { }
1188 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1190 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1191 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:822:5
1193 LL | #[type_length_limit="0100"] fn f() { }
1194 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1196 warning: unused attribute
1197 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:826:5
1199 LL | #[type_length_limit="0100"] struct S;
1200 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1202 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1203 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:826:5
1205 LL | #[type_length_limit="0100"] struct S;
1206 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1208 warning: unused attribute
1209 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:830:5
1211 LL | #[type_length_limit="0100"] type T = S;
1212 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1214 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1215 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:830:5
1217 LL | #[type_length_limit="0100"] type T = S;
1218 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1220 warning: unused attribute
1221 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:834:5
1223 LL | #[type_length_limit="0100"] impl S { }
1224 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1226 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1227 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:834:5
1229 LL | #[type_length_limit="0100"] impl S { }
1230 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1232 warning: unused attribute
1233 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:814:1
1235 LL | #[type_length_limit="0100"]
1236 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1238 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1239 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:814:1
1241 LL | #[type_length_limit="0100"]
1242 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1244 warning: unused attribute
1245 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:55:1
1247 LL | #![macro_export = "4800"] //~ WARN unused attribute
1248 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1250 warning: unused attribute
1251 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:56:1
1253 LL | #![plugin_registrar = "4700"] //~ WARN unused attribute
1254 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1256 warning: unused attribute
1257 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:59:1
1259 LL | #![main = "x4400"] //~ WARN unused attribute
1260 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1262 warning: unused attribute
1263 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:60:1
1265 LL | #![start = "x4300"] //~ WARN unused attribute
1266 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1268 warning: unused attribute
1269 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:63:1
1271 LL | #![repr = "3900"]
1272 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1274 warning: unused attribute
1275 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:66:1
1277 LL | #![path = "3800"] //~ WARN unused attribute
1278 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1280 warning: unused attribute
1281 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:67:1
1283 LL | #![abi = "3700"] //~ WARN unused attribute
1284 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1286 warning: unused attribute
1287 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:68:1
1289 LL | #![automatically_derived = "3600"] //~ WARN unused attribute
1290 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1292 warning: unused attribute
1293 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:70:1
1295 LL | #![no_link = "3400"] //~ WARN unused attribute
1296 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1298 warning: unused attribute
1299 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:72:1
1301 LL | #![should_panic = "3200"] //~ WARN unused attribute
1302 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1304 warning: unused attribute
1305 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:73:1
1307 LL | #![ignore = "3100"] //~ WARN unused attribute
1308 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1310 warning: unused attribute
1311 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:79:1
1313 LL | #![proc_macro_derive = "2500"] //~ WARN unused attribute
1314 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1316 error: compilation successful
1317 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:845:1
1319 LL | / fn main() { //~ ERROR compilation successful
1320 LL | | println!("Hello World");
1324 error: aborting due to previous error