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

Hide deprecation warnings inside derive expansions #58994

Merged
merged 1 commit into from
Mar 17, 2019

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Mar 7, 2019

Fixes #58822

@oli-obk oli-obk added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Mar 7, 2019
@rust-highfive
Copy link
Collaborator

r? @petrochenkov

(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 Mar 7, 2019
@petrochenkov
Copy link
Contributor

petrochenkov commented Mar 7, 2019

I'd prefer to fix this in some other way.

#[derive(Thing)] should ideally be just #[apply(Macro)] with the macro performing all the expansion logic.
In this sense the add_derived_markers bit called from the generic derive infra is a wart that should rather be refactored away than used more.

I think the usual approach "do not report warnings in macros from other crates" should work here, derive macros are always "from other crates" (there is a chance that built-in derives may need to be special-cased though).

@petrochenkov
Copy link
Contributor

Alternatively, impl Trait for Type { ... } where Type is a deprecated type from the current crate is barely a use, but rather a part of Types' definition even if it's not derived.
So, we may want to stop reporting such impls instead.

@petrochenkov petrochenkov added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 7, 2019
@Centril
Copy link
Contributor

Centril commented Mar 9, 2019

So, we may want to stop reporting such impls instead.

I don't think we should do this; deprecation may be part of an internal refactoring within a large application or crate. This happens e.g. in rustc with methods sometimes.

@oli-obk
Copy link
Contributor Author

oli-obk commented Mar 10, 2019

I don't think we should do this; deprecation may be part of an internal refactoring within a large application or crate. This happens e.g. in rustc with methods sometimes.

The method would still get linted about if used from an impl for another type. It's not a crate wide "allow", but just an allow for impls.

@Centril
Copy link
Contributor

Centril commented Mar 10, 2019

I understand that the method would still be linted, but my point was not specific to methods, it applies equally to impl blocks, e.g.

#[deprecated]
struct Foo;

impl Foo { ... } // Not necessarily in the same file or part of a large file.

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-6.0 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
travis_time:end:0278f21a:start=1552229159525061602,finish=1552229230684904246,duration=71159842644
$ 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
$ export GCP_CACHE_BUCKET=rust-lang-ci-cache
Setting environment variables from .travis.yml
---
[01:08:03] .................................................................................................... 300/5446
[01:08:06] .................................................................................................... 400/5446
[01:08:09] .................................................................................................... 500/5446
[01:08:13] ....................................i............................................................... 600/5446
[01:08:16] ...............................................................................................F.... 700/5446
[01:08:25] ............................................................................................i....... 900/5446
[01:08:25] ............................................................................................i....... 900/5446
[01:08:29] ........i....................F........F............................................................. 1000/5446
[01:08:32] .......................iiiii........................................................................ 1100/5446
[01:08:38] .................................................................................................... 1300/5446
[01:08:40] .................................................................................................... 1400/5446
[01:08:43] .................................................................................................... 1500/5446
[01:08:46] .................................................................................................... 1600/5446
---
[01:11:05] 
[01:11:05] ---- [ui] ui/conditional-compilation/cfg-attr-multi-true.rs stdout ----
[01:11:05] diff of stderr:
[01:11:05] 
[01:11:05] - warning: use of deprecated item 'MustUseDeprecated'
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL | impl MustUseDeprecated { //~ warning: use of deprecated item
[01:11:05] -    |
[01:11:05] -    = note: #[warn(deprecated)] on by default
[01:11:05] - 
[01:11:05] - 
[01:11:05] - warning: use of deprecated item 'MustUseDeprecated'
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |     MustUseDeprecated::new(); //~ warning: use of deprecated item
[01:11:05] - 
[01:11:05] - 
[01:11:05] - warning: use of deprecated item 'MustUseDeprecated'
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |     fn new() -> MustUseDeprecated { //~ warning: use of deprecated item
[01:11:05] -    |                 ^^^^^^^^^^^^^^^^^
[01:11:0Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/conditional-compilation/cfg-attr-multi-true/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/conditional-compilation/cfg-attr-multi-true/auxiliary" "-A" "unused"
[01:11:05] ------------------------------------------
[01:11:05] 
[01:11:05] ------------------------------------------
[01:11:05] stderr:
[01:11:05] stderr:
[01:11:05] ------------------------------------------
[01:11:05] {"message":"unused `MustUseDeprecated` that must be used","code":{"code":"unused_must_use","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs","byte_start":524,"byte_end":549,"line_start":19,"line_end":19,"column_start":5,"column_end":30,"is_primary":true,"text":[{"text":"    MustUseDeprecated::new(); //~ warning: use of deprecated item","highlight_start":5,"highlight_end":30}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"lint level defined here","code":null,"level":"note","spans":[{"file_name":"/checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs","byte_start":212,"byte_end":227,"line_start":7,"line_end":7,"column_start":9,"column_end":24,"is_primary":true,"text":[{"text":"#![warn(unused_must_use)]","highlight_start":9,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused `MustUseDeprecated` that must be used\n  --> /checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs:19:5\n   |\nLL |     MustUseDeprecated::new(); //~ warning: use of deprecated item\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^\n   |\nnote: lint level defined here\n  --> /checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs:7:9\n   |\nLL | #![warn(unused_must_use)]\n   |         ^^^^^^^^^^^^^^^\n\n"}
[01:11:05] {"message":"use of deprecated item 'MustUseDeprecated'","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs","byte_start":524,"byte_end":546,"line_start":19,"line_end":19,"column_start":5,"column_end":27,"is_primary":true,"text":[{"text":"    MustUseDeprecated::new(); //~ warning: use of deprecated item","highlight_start":5,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"#[warn(deprecated)] on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: use of deprecated item 'MustUseDeprecated'\n  --> /checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs:19:5\n   |\nLL |     MustUseDeprecated::new(); //~ warning: use of deprecated item\n   |     ^^^^^^^^^^^^^^^^^^^^^^\n   |\n   = note: #[warn(deprecated)] on by default\n\n"}
[01:11:05] ------------------------------------------
[01:11:05] 
[01:11:05] thread '[ui] ui/conditional-compilation/cfg-attr-multi-true.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:11:05] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:11:05] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:11:05] 
[01:11:05] ---- [ui] ui/deprecation/deprecation-lint-nested.rs stdout ----
[01:11:05] diff of stderr:
[01:11:05] 
[01:11:05] 16 LL |     impl DeprecatedTrait for Foo {} //~ ERROR use of deprecated item
[01:11:05] 18 
[01:11:05] 18 
[01:11:05] - error: use of deprecated item 'loud::DEPRECATED_STATIC'
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         DEPRECATED_STATIC + //~ ERROR use of deprecated item
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'loud::DEPRECATED_CONST'
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         DEPRECATED_CONST //~ ERROR use of deprecated item
[01:11:05] - 
[01:11:05] - 
[01:11:05] 31 error: use of deprecated item 'loud::DeprecatedTrait'
[01:11:05] 33    |
[01:11:05] 
[01:11:05] 39    |
[01:11:05] 39    |
[01:11:05] 40 LL |             deprecated_fn(); //~ ERROR use of deprecated item
[01:11:05] + 
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'loud::DEPRECATED_STATIC'
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         DEPRECATED_STATIC + //~ ERROR use of deprecated item
[01:11:05] + 
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'loud::DEPRECATED_CONST'
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         DEPRECATED_CONST //~ ERROR use of deprecated item
[01:11:05] 42 
[01:11:05] 43 error: aborting due to 6 previous errors
[01:11:05] 44 
[01:11:05] 
[01:11:05] 
[01:11:05] 
[01:11:05] The actual stderr differed from the expected stderr.
[01:11:05] Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/deprecation/deprecation-lint-nested/deprecation-lint-nested.stderr
[01:11:05] To update references, rerun the tests and pass the `--bless` flag
[01:11:05] To only update this specific test, also pass `--test-args deprecation/deprecation-lint-nested.rs`
[01:11:05] error: 1 errors occurred comparing output.
[01:11:05] status: exit code: 1
[01:11:05] status: exit code: 1
[01:11:05] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/deprecation/deprecation-lint-nested.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/deprecation/deprecation-lint-nested/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/deprecation/deprecation-lint-nested/auxiliary" "-A" "unused"
[01:11:05] ------------------------------------------
[01:11:05] 
[01:11:05] ------------------------------------------
[01:11:05] stderr:
[01:11:05] stderr:
[01:11:05] ------------------------------------------
[01:11:05] {"message":"use of deprecated item 'loud::DeprecatedType'","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/deprecation/deprecation-lint-nested.rs","byte_start":1008,"byte_end":1022,"line_start":55,"line_end":55,"column_start":16,"column_end":30,"is_primary":true,"text":[{"text":"    struct Foo(DeprecatedType); //~ ERROR use of deprecated item","highlight_start":16,"highlight_end":30}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"lint level defined here","code":null,"level":"note","spans":[{"file_name":"/checkout/src/test/ui/deprecation/deprecation-lint-nested.rs","byte_start":8,"byte_end":18,"line_start":1,"line_end":1,"column_start":9,"column_end":19,"is_primary":true,"text":[{"text":"#![deny(deprecated)]","highlight_start":9,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error: use of deprecated item 'loud::DeprecatedType'\n  --> /checkout/src/test/ui/deprecation/deprecation-lint-nested.rs:55:16\n   |\nLL |     struct Foo(DeprecatedType); //~ ERROR use of deprecated item\n   |                ^^^^^^^^^^^^^^\n   |\nnote: lint level defined here\n  --> /checkout/src/test/ui/deprecation/deprecation-lint-nested.rs:1:9\n   |\nLL | #![deny(deprecated)]\n   |         ^^^^^^^^^^\n\n"}
[01:11:05] {"message":"use of deprecated item 'loud::DeprecatedTrait'","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/deprecation/deprecation-lint-nested.rs","byte_start":1068,"byte_end":1083,"line_start":57,"line_end":57,"column_start":10,"column_end":25,"is_primary":true,"text":[{"text":"    impl DeprecatedTrait for Foo {} //~ ERROR use of deprecated item","highlight_start":10,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'loud::DeprecatedTrait'\n  --> /checkout/src/test/ui/deprecation/deprecation-lint-nested.rs:57:10\n   |\nLL |     impl DeprecatedTrait for Foo {} //~ ERROR use of deprecated item\n   |          ^^^^^^^^^^^^^^^\n\n"}
[01:11:05] {"message":"use of deprecated item 'loud::DeprecatedTrait'","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/deprecation/deprecation-lint-nested.rs","byte_start":1162,"byte_end":1177,"line_start":60,"line_end":60,"column_start":19,"column_end":34,"is_primary":true,"text":[{"text":"        fn bar<T: DeprecatedTrait>() { //~ ERROR use of deprecated item","highlight_start":19,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'loud::DeprecatedTrait'\n  --> /checkout/src/test/ui/deprecation/deprecation-lint-nested.rs:60:19\n   |\nLL |         fn bar<T: DeprecatedTrait>() { //~ ERROR use of deprecated item\n   |                   ^^^^^^^^^^^^^^^\n\n"}
[01:11:05] {"message":"use of deprecated item 'loud::deprecated_fn'","code":{"code":"deprecated","explanation":null},"lev:[{"file_name":"/checkout/src/test/ui/deprecation/deprecation-lint-nested.rs","byte_start":1385,"byte_end":1401,"line_start":67,"line_end":67,"column_start":9,"column_end":25,"is_primary":true,"text":[{"text":"        DEPRECATED_CONST //~ ERROR use of deprecated item","highlight_start":9,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'loud::DEPRECATED_CONST'\n  --> /checkout/src/test/ui/deprecation/deprecation-lint-nested.rs:67:9\n   |\nLL |         DEPRECATED_CONST //~ ERROR use of deprecated item\n   |         ^^^^^^^^^^^^^^^^\n\n"}
[01:11:05] 
[01:11:05] ------------------------------------------
[01:11:05] 
[01:11:05] thread '[ui] ui/deprecation/deprecation-lint-nested.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:11:05] thread '[ui] ui/deprecation/deprecation-lint-nested.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:11:05] 
[01:11:05] ---- [ui] ui/deprecation/deprecation-lint.rs stdout ----
[01:11:05] diff of stderr:
[01:11:05] 
[01:11:05] 10 LL | #![deny(deprecated)]
[01:11:05] 11    |         ^^^^^^^^^^
[01:11:05] 12 
[01:11:05] + error: use of deprecated item 'deprecation_lint::MethodTester::method_deprecated': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         foo.method_deprecated(); //~ ERROR use of deprecated item 'deprecation_lint::MethodTester::method_deprecated'
[01:11:05] + 
[01:11:05] + 
[01:11:05] 13 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         foo.trait_deprecated(); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated'
[01:11:05] + 
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
[01:11:05] 15    |
[01:11:05] 15    |
[01:11:05] 16 LL |         Trait::trait_deprecated(&foo); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated'
[01:11:05] 
[01:11:05] 28 LL |         deprecated_text(); //~ ERROR use of deprecated item 'deprecation_lint::deprecated_text': text
[01:11:05] 30 
[01:11:05] 30 
[01:11:05] + error: use of deprecated item 'deprecation_lint::MethodTester::method_deprecated_text': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         foo.method_deprecated_text(); //~ ERROR use of deprecated item 'deprecation_lint::MethodTester::method_deprecated_text': text
[01:11:05] + 
[01:11:05] + 
[01:11:05] 31 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         foo.trait_deprecated_text(); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] + 
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] 33    |
[01:11:05] 33    |
[01:11:05] 34 LL |         Trait::trait_deprecated_text(&foo); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] 
[01:11:05] 40 LL |         <Foo as Trait>::trait_deprecated_text(&foo); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] 42 
[01:11:05] 42 
[01:11:05] + error: use of deprecated item 'deprecation_lint::DeprecatedStruct::i': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |             i: 0 //~ ERROR use of deprecated item 'deprecation_lint::DeprecatedStruct::i': text
[01:11:05] + 
[01:11:05] + 
[01:11:05] 43 error: use of deprecated item 'deprecation_lint::DeprecatedStruct': text
[01:11:05] 45    |
[01:11:05] 
[01:11:05] 
[01:11:05] 64 LL |         let _ = DeprecatedTupleStruct (1); //~ ERROR use of deprecated item 'deprecation_lint::DeprecatedTupleStruct': text
[01:11:05] 66 
[01:11:05] 66 
[01:11:05] + error: use of deprecated item 'deprecation_lint::nested::DeprecatedStruct::i': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |             i: 0 //~ ERROR use of deprecated item 'deprecation_lint::nested::DeprecatedStruct::i': text
[01:11:05] + 
[01:11:05] + 
[01:11:05] 67 error: use of deprecated item 'deprecation_lint::nested::DeprecatedStruct': text
[01:11:05] 69    |
[01:11:05] 
[01:11:05] 101    |                                         ^^^^^^^^^^^^^^^
[01:11:05] 102 
[01:11:05] 102 
[01:11:05] 103 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         foo.trait_deprecated(); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated'
[01:11:05] + 
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
[01:11:05] 105    |
[01:11:05] 105    |
[01:11:05] 106 LL |         Trait::trait_deprecated(&foo); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated'
[01:11:05] 113    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[01:11:05] 114 
[01:11:05] 114 
[01:11:05] 115 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         foo.trait_deprecated_text(); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] + 
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] 117    |
[01:11:05] 117    |
[01:11:05] 118 LL |         Trait::trait_deprecated_text(&foo); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] 
[01:11:05] 124 LL |         <Foo as Trait>::trait_deprecated_text(&foo); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] 126 
[01:11:05] 126 
[01:11:05] + error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         foo.trait_deprecated(); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated'
[01:11:05] + 
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         foo.trait_deprecated_text(); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] + 
[01:11:05] + 
[01:11:05] 127 error: use of deprecated item 'deprecation_lint::DeprecatedTrait': text
[01:11:05] 129    |
[01:11:05] 
[01:11:05] 
[01:11:05] 136 LL |     trait LocalTrait : DeprecatedTrait { } //~ ERROR use of deprecated item 'deprecation_lint::DeprecatedTrait': text
[01:11:05] 138 
[01:11:05] 138 
[01:11:05] + error: use of deprecated item 'deprecation_lint::Stable::override2': text
[01:11:05] +    |
[01:11:05] + LL |             override2: 3,
[01:11:05] +    |             ^^^^^^^^^^^^
[01:11:05] + 
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'deprecation_lint::Stable::override2': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         let _ = x.override2;
[01:11:05] + 
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'deprecation_lint::Stable::override2': text
[01:11:05] +    |
[01:11:05] + LL |             override2: _
[01:11:05] +    |             ^^^^^^^^^^^^
[01:11:05] + 
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'deprecation_lint::Stable2::2': text
[01:11:05] +    |
[01:11:05] + LL |         let _ = x.2;
[01:11:05] +    |                   ^
[01:11:05] + 
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'deprecation_lint::Stable2::2': text
[01:11:05] +    |
[01:11:05] + LL |                    _)
[01:11:05] +    |                    ^
[01:11:05] + 
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'deprecation_lint::Deprecated::inherit': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |             inherit: 1,
[01:11:05] + 
[01:11:05] + 
[01:11:05] 139 error: use of deprecated item 'deprecation_lint::Deprecated': text
[01:11:05] 141    |
[01:11:05] 
[01:11:05] 142 LL |         let x = Deprecated {
[01:11:05] 143    |                 ^^^^^^^^^^
[01:11:05] 143    |                 ^^^^^^^^^^
[01:11:05] 144 
[01:11:05] + error: use of deprecated item int.rs:145:14
[01:11:05] +    |
[01:11:05] + LL |             (_,
[01:11:05] +    |              ^
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'deprecation_lint::Deprecated2::1': text
[01:11:05] +    |
[01:11:05] + LL |              _,
[01:11:05] +    |              ^
[01:11:05] + 
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'deprecation_lint::Deprecated2::2': text
[01:11:05] +    |
[01:11:05] + LL |              _)
[01:11:05] +    |              ^
[01:11:05] + 
[01:11:05] + 
[01:11:05] 163 error: use of deprecated item 'deprecation_lint::Deprecated2': text
[01:11:05] 165    |
[01:11:05] 
[01:11:05] 
[01:11:05] 184 LL |         deprecated(); //~ ERROR use of deprecated item 'this_crate::deprecated'
[01:11:05] 186 
[01:11:05] 186 
[01:11:05] + error: use of deprecated item 'this_crate::MethodTester::method_deprecated': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         foo.method_deprecated(); //~ ERROR use of deprecated item 'this_crate::MethodTester::method_deprecated'
[01:11:05] + 
[01:11:05] + 
[01:11:05] 187 error: use of deprecated item 'this_crate::Trait::trait_deprecated': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         foo.trait_deprecated(); //~ ERROR use of deprecated item 'this_crate::Trait::trait_deprecated'
[01:11:05] + 
[01:11:05] + 
[01:11:05] + erro error: use of deprecated item 'this_crate::Trait::trait_deprecated': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         foo.trait_deprecated(); //~ ERROR use of deprecated item 'this_crate::Trait::trait_deprecated'
[01:11:05] + 
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'this_crate::Trait::trait_deprecated': text
[01:11:05] 279    |
[01:11:05] 279    |
[01:11:05] 280 LL |         Trait::trait_deprecated(&foo); //~ ERROR use of deprecated item 'this_crate::Trait::trait_deprecated'
[01:11:05] 287    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[01:11:05] 288 
[01:11:05] 288 
[01:11:05] 289 error: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         foo.trait_deprecated_text(); //~ ERROR use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
[01:11:05] + 
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
[01:11:05] 291    |
[01:11:05] 291    |
[01:11:05] 292 LL |         Trait::trait_deprecated_text(&foo); //~ ERROR use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
[01:11:05] 
[01:11:05] 298 LL |         <Foo as Trait>::trait_deprecated_text(&foo); //~ ERROR use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
[01:11:05] 300 
[01:11:05] 300 
[01:11:05] + error: use of deprecated item 'this_crate::Trait::trait_deprecated': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         foo.trait_deprecated(); //~ ERROR use of deprecated item 'this_crate::Trait::trait_deprecated'
[01:11:05] + 
[01:11:05] + 
[01:11:05] + error: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
[01:11:05] +    |
[01:11:05] +    |
[01:11:05] + LL |         foo.trait_deprecated_text(); //~ ERROR use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
[01:11:05] + 
[01:11:05] + 
[01:11:05] 301 error: use of deprecated item 'this_crate::test_fn_closure_body::{{closure}}::bar'
[01:11:05] 303    |
[01:11:05] 
[01:11:05] 
[01:11:05] 316 LL |     trait LocalTrait : DeprecatedTrait { } //~ ERROR use of deprecated item 'this_crate::DeprecatedTrait': text
[01:11:05] 318 
[01:11:05] 318 
[01:11:05] - error: use of deprecated item 'this_crate2::Deprecated': text
[01:11:05] -    |
[01:11:05] - LL |         let x = Deprecated {
[01:11:05] -    |                 ^^^^^^^^^^
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'this_crate2::Deprecated': text
[01:11:05] -    |
[01:11:05] - LL |         let Deprecated {
[01:11:05] -    |             ^^^^^^^^^^
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecatecated'
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::MethodTester::method_deprecated': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         <Foo>::method_deprecated(&foo); //~ ERROR use of deprecated item 'deprecation_lint::MethodTester::method_deprecated'
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         foo.trait_deprecated(); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated'
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         <Foo>::trait_deprecated(&foo); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated'
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::MethodTester::method_deprecated_text': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         foo.method_deprecated_text(); //~ ERROR use of deprecated item 'deprecation_lint::MethodTester::method_deprecated_text': text
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::MethodTester::method_deprecated_text': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         Foo::method_deprecated_text(&foo); //~ ERROR use of deprecated item 'deprecation_lint::MethodTester::method_deprecated_text': text
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::MethodTester::method_deprecated_text': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         <Foo>::method_deprecated_text(&foo); //~ ERROR use of deprecated item 'deprecation_lint::MethodTester::method_deprecated_text': text
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         foo.trait_deprecated_text(); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         <Foo>::trait_deprecated_text(&foo); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::DeprecatedStruct::i': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |             i: 0 //~ ERROR use of deprecated item 'deprecation_lint::DeprecatedStruct::i': text
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::nested::DeprecatedStruct::i': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |             i: 0 //~ ERROR use of deprecated item 'deprecation_lint::nested::DeprecatedStruct::i': text
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         foo.trait_deprecated(); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated'
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         <Foo>::trait_deprecated(&foo); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated'
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         foo.trait_deprecated_text(); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         <Foo>::trait_deprecated_text(&foo); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         foo.trait_deprecated(); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated'
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         foo.trait_deprecated_text(); //~ ERROR use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Stable::override2': text
[01:11:05] -    |
[01:11:05] - LL |             override2: 3,
[01:11:05] -    |             ^^^^^^^^^^^^
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Stable::override2': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         let _ = x.override2;
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Stable::override2': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |             override2: _
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Stable2::2': text
[01:11:05] -    |
[01:11:05] - LL |         let _ = x.2;
[01:11:05] -    |                 ^^^
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Stable2::2': text
[01:11:05] -    |
[01:11:05] - LL |                    _)
[01:11:05] -    |                    ^
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Deprecated::inherit': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |             inherit: 1,
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Deprecated::inherit': text
[01:11:05] -    |
[01:11:05] -    |
[01:11:05] - LL |         let _ = x.inherit;
[01:11:05] - 
[01:11:05] - 
[01:11:05] - error: use of deprecated item 'deprecation_lint::Deprecated::inherit': text
---
[01:11:05] test result: FAILED. 5421 passed; 3 failed; 22 ignored; 0 measured; 0 filtered out
[01:11:05] 
[01:11:05] 
[01:11:05] 
[01:11:05] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:11:05] 
[01:11:05] 
[01:11:05] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[01:11:05] Build completed unsuccessfully in 0:04:07
[01:11:05] Build completed unsuccessfully in 0:04:07
[01:11:05] make: *** [check] Error 1
[01:11:05] Makefile:48: recipe for target 'check' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:04704f48
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Sun Mar 10 15:58:25 UTC 2019
---
travis_time:end:1c97825a:start=1552233506951807513,finish=1552233506958365184,duration=6557671
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:01725c2a
$ 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:1881bee8
$ 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)

@oli-obk
Copy link
Contributor Author

oli-obk commented Mar 11, 2019

@petrochenkov would you be alright with just backporting the first commit, but putting the rest into nightly?

@Centril I removed the conroversial "don't lint on impls of deprecated types" change. The only functional changes now are

  • fields of deprecated types in pattern matching don't get linted anymore
    • I believe this makes sense, since you already get a lint on mentioning the type during pattern matching
  • some things like function calls are linted twice. Once for naming the function and once for calling the function. I can probably fix this if desired.
  • macros from other crates using deprecated things aren't linted
    • macros from the same crate are linted though.

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-6.0 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
travis_time:end:27a026cc:start=1552306544071749502,finish=1552306638051261400,duration=93979511898
$ 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
$ export GCP_CACHE_BUCKET=rust-lang-ci-cache
Setting environment variables from .travis.yml
---
[01:07:38] .................................................................................................... 300/5450
[01:07:40] .................................................................................................... 400/5450
[01:07:44] .................................................................................................... 500/5450
[01:07:47] .......................................i............................................................ 600/5450
[01:07:51] .................................................................................................F.. 700/5450
[01:08:00] ................................................................................................i... 900/5450
[01:08:05] ............i....................................................................................... 1000/5450
[01:08:08] ...........................iiiii.................................................................... 1100/5450
[01:08:12] .................................................................................................... 1200/5450
---
[01:09:08] .................................................................................................... 2800/5450
[01:09:11] .................................................................................................... 2900/5450
[01:09:16] .................................................................................................... 3000/5450
[01:09:18] .................................................................................................... 3100/5450
[01:09:23] ........................................................................F..FF.F..................... 3200/5450
[01:09:30] .................................................................................................... 3400/5450
[01:09:33] ..................................................ii...i..ii........................................ 3500/5450
[01:09:37] .................................................................................................... 3600/5450
[01:09:41] .................................................................................................... 3700/5450
---
[01:10:47] diff of stderr:
[01:10:47] 
[01:10:47] 7    = note: #[warn(deprecated)] on by default
[01:10:47] 8 
[01:10:47] 9 warning: use of deprecated item 'MustUseDeprecated'
[01:10:47] -    |
[01:10:47] -    |
[01:10:47] - LL |     MustUseDeprecated::new(); //~ warning: use of deprecated item
[01:10:47] - 
[01:10:47] - 
[01:10:47] - warning: use of deprecated item 'MustUseDeprecated'
[01:10:47] 17    |
[01:10:47] 17    |
[01:10:47] 18 LL |     fn new() -> MustUseDeprecated { //~ warning: use of deprecated item
[01:10:47] 35    |
[01:10:47] 36 LL | #![warn(unused_must_use)]
[01:10:47] 37    |         ^^^^^^^^^^^^^^^
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'MustUseDeprecated'
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |     MustUseDeprecated::new(); //~ warning: use of deprecated item
[01:10:47] 38 
[01:10:47] 39 
[01:10:47] 
[01:10:47] 
[01:10:47] 
[01:10:47] The actual stderr differed from the expected stderr.
[01:10:47] Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/conditional-compilation/cfg-attr-multi-true/cfg-attr-multi-true.stderr
[01:10:47] To update references, rerun the tests and pass the `--bless` flag
[01:10:47] To only update this specific test, also pass `--test-args conditional-compilation/cfg-attr-multi-true.rs`
[01:10:47] error: 1 errors occurred comparing output.
[01:10:47] status: exit code: 0
[01:10:47] status: exit code: 0
[01:10:47] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/conditional-compilation/cfg-attr-multi-true/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/conditional-compilation/cfg-attr-multi-true/auxiliary" "-A" "unused"
[01:10:47] ------------------------------------------
[01:10:47] 
[01:10:47] ------------------------------------------
[01:10:47] stderr:
[01:10:47] stderr:
[01:10:47] ------------------------------------------
[01:10:47] {"message":"use of deprecated item 'MustUseDeprecated'","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs","byte_start":306,"byte_end":323,"line_start":12,"line_end":12,"column_start":6,"column_end":23,"is_primary":true,"text":[{"text":"impl MustUseDeprecated { //~ warning: use of deprecated item","highlight_start":6,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"#[warn(deprecated)] on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: use of deprecated item 'MustUseDeprecated'\n  --> /checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs:12:6\n   |\nLL | impl MustUseDeprecated { //~ warning: use of deprecated item\n   |      ^^^^^^^^^^^^^^^^^\n   |\n   = note: #[warn(deprecated)] on by default\n\n"}
[01:10:47] {"message":"use of deprecated item 'MustUseDeprecated'","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs","byte_start":378,"byte_end":395,"line_start":13,"line_end":13,"column_start":17,"column_end":34,"is_primary":true,"text":[{"text":"    fn new() -> MustUseDeprecated { //~ warning: use of deprecated item","highlight_start":17,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'MustUseDeprecated'\n  --> /checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs:13:17\n   |\nLL |     fn new() -> MustUseDeprecated { //~ warning: use of deprecated item\n   |                 ^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'MustUseDeprecated'","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs","byte_start":442,"byte_end":459,"line_start":14,"line_end":14,"column_start":9,"column_end":26,"is_primary":true,"text":[{"text":"        MustUseDeprecated {} //~ warning: use of deprecated item","highlight_start":9,"highlight_end":26}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'MustUseDeprecated'\n  --> /checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs:14:9\n   |\nLL |         MustUseDeprecated {} //~ warning: use of deprecated item\n   |         ^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"unused `MustUseDeprecated` that must be used","code":{"code":"unused_must_use","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs","byte_start":524,"byte_end":549,"line_start":19,"line_end":19,"column_start":5,"column_end":30,"is_primary":true,"text":[{"text":"    MustUseDeprecated::new(); //~ warning: use of deprecated item","highlight_start":5,"highlight_end":30}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"lint level defined here","code":null,"level":"note","spans":[{"file_name":"/checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs","byte_start":212,"byte_end":227,"line_start":7,"line_end":7,"column_start":9,"column_end":24,"is_primary":true,"text":[{"text":"#![warn(unused_must_use)]","highlight_start":9,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused `MustUseDeprecated` that must be used\n  --> /checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs:19:5\n   |\nLL |     MustUseDeprecated::new(); //~ warning: use of deprecated item\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^\n   |\nnote: lint level defined here\n  --> /checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs:7:9\n   |\nLL | #![warn(unused_must_use)]\n   |         ^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'MustUseDeprecated'","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs","byte_start":524,"byte_end":546,"line_start":19,"line_end":19,"column_start":5,"column_end":27,"is_primary":true,"text":[{"text":"    MustUseDeprecated::new(); //~ warning: use of deprecated item","highlight_start":5,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'MustUseDeprecated'\n  --> /checkout/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs:19:5\n   |\nLL |     MustUseDeprecated::new(); //~ warning: use of deprecated item\n   |     ^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] ------------------------------------------
[01:10:47] 
[01:10:47] thread '[ui] ui/conditional-compilation/cfg-attr-multi-true.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:10:47] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:10:47] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:10:47] 
[01:10:47] ---- [ui] ui/lint/lint-stability-fields-deprecated.rs stdout ----
[01:10:47] diff of stderr:
[01:10:47] 
[01:10:47] 94 LL |         let _ = x.inherit;
[01:10:47] 96 
[01:10:47] 96 
[01:10:47] + error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         let _ = x.inherit;
[01:10:47] + 
[01:10:47] + 
[01:10:47] 97 error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override1': text
[01:10:47] 99    |
[01:10:47] 
[01:10:47] 100 LL |         let _ = x.override1;
[01:10:47] 101    |                   ^^^^^^^^^
[01:10:47] 101    |                   ^^^^^^^^^
[01:10:47] 102 
[01:10:47] + error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         let _ = x.override1;
[01:10:47] + 
[01:10:47] + 
[01:10:47] 103 error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override2': text
[01:10:47] 105    |
[01:10:47] 
[01:10:47] 106 LL |         let _ = x.override2;
[01:10:47] 107    |                   ^^^^^^^^^
[01:10:47] 107    |                   ^^^^^^^^^
[01:10:47] 108 
[01:10:47] + error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         let _ = x.override2;
[01:10:47] + 
[01:10:47] + 
[01:10:47] 109 error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::inherit': text
[01:10:47] 111    |
[01:10:47] 
[01:10:47] 148 LL |         let _ = x.0;
[01:10:47] 149    |                   ^
[01:10:47] 149    |                   ^
[01:10:47] 150 
[01:10:47] + error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text
[01:10:47] +    |
[01:10:47] + LL |         let _ = x.0;
[01:10:47] +    |                   ^
[01:10:47] + 
[01:10:47] + 
[01:10:47] 151 error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::1': text
[01:10:47] 153    |
[01:10:47] 
[01:10:47] 154 LL |         let _ = x.1;
[01:10:47] 155    |                   ^
[01:10:47] 155    |                   ^
[01:10:47] 156 
[01:10:47] + error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text
[01:10:47] +    |
[01:10:47] + LL |         let _ = x.1;
[01:10:47] +    |                   ^
[01:10:47] + 
[01:10:47] + 
[01:10:47] 157 error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::2': text
[01:10:47] 159    |
[01:10:47] 
[01:10:47] 160 LL |         let _ = x.2;
[01:10:47] 161    |                   ^
[01:10:47] 161    |                   ^
[01:10:47] 162 
[01:10:47] + error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text
[01:10:47] +    |
[01:10:47] + LL |         let _ = x.2;
[01:10:47] +    |                   ^
[01:10:47] + 
[01:10:47] + 
[01:10:47] 163 error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::0': text
[01:10:47] 165    |
[01:10:47] 
[01:10:47] 
[01:10:47] 280 LL |         let _ = x.inherit;
[01:10:47] 282 
[01:10:47] 282 
[01:10:47] + error: use of deprecated item 'this_crate::Deprecated': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         let _ = x.inherit;
[01:10:47] + 
[01:10:47] + 
[01:10:47] 283 error: use of deprecated item 'this_crate::Deprecated::override1': text
[01:10:47] 285    |
[01:10:47] 
[01:10:47] 286 LL |         let _ = x.override1;
[01:10:47] 287    |                   ^^^^^^^^^
[01:10:47] 287    |                   ^^^^^^^^^
[01:10:47] 288 
[01:10:47] + error: use of deprecated item 'this_crate::Deprecated': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         let _ = x.override1;
[01:10:47] + 
[01:10:47] + 
[01:10:47] 289 error: use of deprecated item 'this_crate::Deprecated::override2': text
[01:10:47] 291    |
[01:10:47] 
[01:10:47] 292 LL |         let _ = x.override2;
[01:10:47] 293    |                   ^^^^^^^^^
[01:10:47] 293    |                   ^^^^^^^^^
[01:10:47] 294 
[01:10:47] + error: use of deprecated item 'this_crate::Deprecated': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         let _ = x.override2;
[01:10:47] + 
[01:10:47] + 
[01:10:47] 295 error: use of deprecated item 'this_crate::Deprecated::inherit': text
[01:10:47] 297    |
[01:10:47] 
[01:10:47] 334 LL |         let _ = x.0;
[01:10:47] 335    |                   ^
[01:10:47] 335    |                   ^
[01:10:47] 336 
[01:10:47] + error: use of deprecated item 'this_crate::Deprecated2': text
[01:10:47] +    |
[01:10:47] + LL |         let _ = x.0;
[01:10:47] +    |                   ^
[01:10:47] + 
[01:10:47] + 
[01:10:47] 337 error: use of deprecated item 'this_crate::Deprecated2::1': text
[01:10:47] 339    |
[01:10:47] 
[01:10:47] 340 LL |         let _ = x.1;
[01:10:47] 341    |                   ^
[01:10:47] 341    |                   ^
[01:10:47] 342 
[01:10:47] + error: use of deprecated item 'this_crate::Deprecated2': text
[01:10:47] +    |
[01:10:47] + LL |         let _ = x.1;
[01:10:47] +    |                   ^
[01:10:47] + 
[01:10:47] + 
[01:10:47] 343 error: use of deprecated item 'this_crate::Deprecated2::2': text
[01:10:47] 345    |
[01:10:47] 
[01:10:47] 346 LL |         let _ = x.2;
[01:10:47] 347    |                   ^
[01:10:47] 347    |                   ^
[01:10:47] 348 
[01:10:47] + error: use of deprecated item 'this_crate::Deprecated2': text
[01:10:47] +    |
[01:10:47] + LL |         let _ = x.2;
[01:10:47] +    |                   ^
[01:10:47] + 
[01:10:47] + 
[01:10:47] 349 error: use of deprecated item 'this_crate::Deprecated2::0': text
[01:10:47] 351    |
[01:10:47] 
[01:10:47] 376 LL |         let Deprecated2
[01:10:47] 377    |             ^^^^^^^^^^^
---
[01:10:47] 
[01:10:47] 
[01:10:47] The actual stderr differed from the expected stderr.
[01:10:47] Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lint/lint-stability-fields-deprecated/lint-stability-fields-deprecated.stderr
[01:10:47] To update references, rerun the tests and pass the `--bless` flag
[01:10:47] To only update this specific test, also pass `--test-args lint/lint-stability-fields-deprecated.rs`
[01:10:47] error: 1 errors occurred comparing output.
[01:10:47] status: exit code: 1
[01:10:47] status: exit code: 1
[01:10:47] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lint/lint-stability-fields-deprecated/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lint/lint-stability-fields-deprecated/auxiliary" "-A" "unused"
[01:10:47] ------------------------------------------
[01:10:47] 
[01:10:47] ------------------------------------------
[01:10:47] stderr:
[01:10:47] stderr:
[01:10:47] ------------------------------------------
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Stable::override2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":383,"byte_end":395,"line_start":18,"line_end":18,"column_start":13,"column_end":25,"is_primary":true,"text":[{"text":"            override2: 3,","highlight_start":13,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"lint level defined here","code":null,"level":"note","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":47,"byte_end":57,"line_start":3,"line_end":3,"column_start":9,"column_end":19,"is_primary":true,"text":[{"text":"#![deny(deprecated)]","highlight_start":9,"highlight_end":19}],"label":nue_end":678,"line_start":30,"line_end":30,"column_start":13,"column_end":25,"is_primary":true,"text":[{"text":"            override2: _","highlight_start":13,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Stable::override2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:30:13\n   |\nLL |             override2: _\n   |             ^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Stable2::2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":887,"byte_end":888,"line_start":40,"line_end":40,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"        let _ = x.2;","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Stable2::2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:40:19\n   |\nLL |         let _ = x.2;\n   |                   ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Stable2::2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":997,"byte_end":998,"line_start":45,"line_end":45,"column_start":20,"column_end":21,"is_primary":true,"text":[{"text":"                   _)","highlight_start":20,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Stable2::2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:45:20\n   |\nLL |                    _)\n   |                    ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Unstable::override2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":1203,"byte_end":1215,"line_start":55,"line_end":55,"column_start":13,"column_end":25,"is_primary":true,"text":[{"text":"            override2: 3,","highlight_start":13,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Unstable::override2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:55:13\n   |\nLL |             override2: 3,\n   |             ^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Unstable::override2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":1349,"byte_end":1358,"line_start":61,"line_end":61,"column_start":19,"column_end":28,"is_primary":true,"text":[{"text":"        let _ = x.override2;","highlight_start":19,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Unstable::override2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:61:19\n   |\nLL |         let _ = x.override2;\n   |                   ^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Unstable::override2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":1488,"byte_end":1500,"line_start":67,"line_end":67,"column_start":13,"column_end":25,"is_primary":true,"text":[{"text":"            override2: _","highlight_start":13,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Unstable::override2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:67:13\n   |\nLL |             override2: _\n   |             ^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Unstable2::2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":1749,"byte_end":1750,"line_start":80,"line_end":80,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"        let _ = x.2;","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Unstable2::2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:80:19\n   |\nLL |         let _ = x.2;\n   |                   ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Unstable2::2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":1862,"byte_end":1863,"line_start":86,"line_end":86,"column_start":14,"column_end":15,"is_primary":true,"text":[{"text":"             _)","highlight_start":14,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Unstable2::2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:86:14\n   |\nLL |              _)\n   |              ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::inherit': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":2103,"byte_end":2113,"line_start":96,"line_end":96,"column_start":13,"column_end":23,"is_primary":true,"text":[{"text":"            inherit: 1,","highlight_start":13,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::inherit': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:96:13\n   |\nLL |             inherit: 1,\n   |             ^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override1': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":2173,"byte_end":2185,"line_start":98,"line_end":98,"column_start":13,"column_end":25,"is_primary":true,"text":[{"text":"            override1: 2,","highlight_start":13,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override1': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:98:13\n   |\nLL |             override1: 2,\n   |             ^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":2245,"byte_end":2257,"line_start":100,"line_end":100,"column_start":13,"column_end":25,"is_primary":true,"text":[{"text":"            override2: 3,","highlight_start":13,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:100:13\n   |\nLL |             override2: 3,\n   |             ^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":2032,"byte_end":2042,"line_start":94,"line_end":94,"column_start":17,"column_end":27,"is_primary":true,"text":[{"text":"        let x = Deprecated {","highlight_start":17,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:94:17\n   |\nLL |         let x = Deprecated {\n   |                 ^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::inherit': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":2335,"byte_end":2342,"line_start":104,"line_end":104,"column_start":19,"column_end":26,"is_primary":true,"text":[{"text":"        let _ = x.inherit;","highlight_start":19,"highlight_end":26}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::inherit': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:104:19\n   |\nLL |         let _ = x.inherit;\n   |                   ^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":2335,"byte_end":2342,"line_start":104,"line_end":104,"column_start":19,"column_end":26,"is_primary":true,"text":[{"text":"        let _ = x.inherit;","highlight_start":19,"highlight_end":26}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:104:19\n   |\nLL |         let _ = x.inherit;\n   |                   ^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override1': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":2404,"byte_end":2413,"line_start":106,"line_end":106,"column_start":19,"column_end":28,"is_primary":true,"text":[{"text":"        let _ = x.override1;","highlight_start":19,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override1': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:106:19\n   |\nLL |         let _ = x.override1;\n   |                   ^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":2404,"byte_end":2413,"line_start":106,"line_end":106,"column_start":19,"column_end":28,"is_primary":true,"text":[{"text":"        let _ = x.override1;","highlight_start":19,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:106:19\n   |\nLL |         let _ = x.override1;\n   |                   ^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":2475,"byte_end":2484,"line_start":108,"line_end":108,"column_start":19,"column_end":28,"is_primary":true,"text":[{"text":"        let _ = x.override2;","highlight_start":19,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:108:19\n   |\nLL |         let _ = x.override2;\n   |                   ^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":2475,"byte_end":2484,"line_start":108,"line_end":108,"column_start":19,"column_end":28,"is_primary":true,"text":[{"text":"        let _ = x.override2;","highlight_start":19,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:108:19\n   |\nLL |         let _ = x.override2;\n   |                   ^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::inherit': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":2612,"byte_end":2622,"line_start":113,"line_end":113,"column_start":13,"column_end":23,"is_primary":true,"text":[{"text":"            inherit: _,","highlight_start":13,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::inherit': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:113:13\n   |\nLL |             inherit: _,\n   |             ^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override1': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":2682,"byte_end":2694,"line_start":115,"line_end":115,"column_start":13,"column_end":25,"is_primary":true,"text":[{"text":"            override1: _,","highlight_start":13,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override1': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:115:13\n   |\nLL |             override1: _,\n   |             ^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":2754,"byte_end":2766,"line_start":117,"line_end":117,"column_start":13,"column_end":25,"is_primary":true,"text":[{"text":"            override2: _","highlight_start":13,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:117:13\n   |\nLL |             override2: _\n   |             ^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":2541,"byte_end":2551,"line_start":111,"line_end":111,"column_start":13,"column_end":23,"is_primary":true,"text":[{"text":"        let Deprecated {","highlight_start":13,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:111:13\n   |\nLL |         let Deprecated {\n   |             ^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":2841,"byte_end":2851,"line_start":121,"line_end":121,"column_start":13,"column_end":23,"is_primary":true,"text":[{"text":"        let Deprecated","highlight_start":13,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:121:13\n   |\nLL |         let Deprecated\n   |             ^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":2981,"byte_end":2992,"line_start":126,"line_end":126,"column_start":17,"column_end":28,"is_primary":true,"text":[{"text":"        let x = Deprecated2(1, 2, 3);","highlight_start":17,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:126:17\n   |\nLL |         let x = Deprecated2(1, 2, 3);\n   |                 ^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::0': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":3064,"byte_end":3065,"line_start":129,"line_end":129,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"        let _ = x.0;","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::0': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:129:19\n   |\nLL |         let _ = x.0;\n   |                   ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":3064,"byte_end":3065,"line_start":129,"line_end":129,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"        let _ = x.0;","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:129:19\n   |\nLL |         let _ = x.0;\n   |                   ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::1': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":3127,"byte_end":3128,"line_start":131,"line_end":131,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"        let _ = x.1;","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::1': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:131:19\n   |\nLL |         let _ = x.1;\n   |                   ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":3127,"byte_end":3128,"line_start":131,"line_end":131,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"        let _ = x.1;","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:131:19\n   |\nLL |         let _ = x.1;\n   |                   ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":3190,"byte_end":3191,"line_start":133,"line_end":133,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"        let _ = x.2;","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:133:19\n   |\nLL |         let _ = x.2;\n   |                   ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":3190,"byte_end":3191,"line_start":133,"line_end":133,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"        let _ = x.2;","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:133:19\n   |\nLL |         let _ = x.2;\n   |                   ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::0': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":3315,"byte_end":3316,"line_start":138,"line_end":138,"column_start":14,"column_end":15,"is_primary":true,"text":[{"text":"            (_,","highlight_start":14,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::0': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:138:14\n   |\nLL |             (_,\n   |              ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::1': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":3378,"byte_end":3379,"line_start":140,"line_end":140,"column_start":14,"column_end":15,"is_primary":true,"text":[{"text":"             _,","highlight_start":14,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::1': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:140:14\n   |\nLL |              _,\n   |              ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":3441,"byte_end":3442,"line_start":142,"line_end":142,"column_start":14,"column_end":15,"is_primary":true,"text":[{"text":"             _)","highlight_start":14,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:142:14\n   |\nLL |              _)\n   |              ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":3248,"byte_end":3259,"line_start":136,"line_end":136,"column_start":13,"column_end":24,"is_primary":true,"text":[{"text":"        let Deprecated2","highlight_start":13,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:136:13\n   |\nLL |         let Deprecated2\n   |             ^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":3520,"byte_end":3531,"line_start":145,"line_end":145,"column_start":13,"column_end":24,"is_primary":true,"text":[{"text":"        let Deprecated2","highlight_start":13,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:145:13\n   |\nLL |         let Deprecated2\n   |             ^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Stable::override2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":5731,"byte_end":5743,"line_start":205,"line_end":205,"column_start":13,"column_end":25,"is_primary":true,"text":[{"text":"            override2: 3,","highlight_start":13,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Stable::override2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:205:13\n   |\nLL |             override2: 3,\n   |             ^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Stable::override2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":5877,"byte_end":5886,"line_start":211,"line_end":211,"column_start":19,"column_end":28,"is_primary":true,"text":[{"text":"        let _ = x.override2;","highlight_start":19,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Stable::override2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:211:19\n   |\nLL |         let _ = x.override2;\n   |                   ^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Stable::override2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":6014,"byte_end":6026,"line_start":217,"line_end":217,"column_start":13,"column_end":25,"is_primary":true,"text":[{"text":"            override2: _","highlight_start":13,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Stable::override2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:217:13\n   |\nLL |             override2: _\n   |             ^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Stable2::2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":6235,"byte_end":6236,"line_start":227,"line_end":227,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"        let _ = x.2;","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Stable2::2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:227:19\n   |\nLL |         let _ = x.2;\n   |                   ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Stable2::2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":6345,"byte_end":6346,"line_start":232,"line_end":232,"column_start":20,"column_end":21,"is_primary":true,"text":[{"text":"                   _)","highlight_start":20,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Stable2::2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:232:20\n   |\nLL |                    _)\n   |                    ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Unstable::override2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":6551,"byte_end":6563,"line_start":242,"line_end":242,"column_start":13,"column_end":25,"is_primary":true,"text":[{"text":"            override2: 3,","highlight_start":13,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Unstable::override2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:242:13\n   |\nLL |             override2: 3,\n   |             ^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Unstable::override2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":6697,"byte_end":6706,"line_start":248,"line_end":248,"column_start":19,"column_end":28,"is_primary":true,"text":[{"text":"        let _ = x.override2;","highlight_start":19,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Unstable::override2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:248:19\n   |\nLL |         let _ = x.override2;\n   |                   ^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Unstable::override2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":6836,"byte_end":6848,"line_start":254,"line_end":254,"column_start":13,"column_end":25,"is_primary":true,"text":[{"text":"            override2: _","highlight_start":13,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Unstable::override2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:254:13\n   |\nLL |             override2: _\n   |             ^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Unstable2::2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":7097,"byte_end":7098,"line_start":267,"line_end":267,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"        let _ = x.2;","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Unstable2::2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:267:19\n   |\nLL |         let _ = x.2;\n   |                   ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Unstable2::2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":7210,"byte_end":7211,"line_start":273,"line_end":273,"column_start":14,"column_end":15,"is_primary":true,"text":[{"text":"             _)","highlight_start":14,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Unstable2::2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:273:14\n   |\nLL |              _)\n   |              ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated::inherit': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":7451,"byte_end":7461,"line_start":283,"line_end":283,"column_start":13,"column_end":23,"is_primary":true,"text":[{"text":"            inherit: 1,","highlight_start":13,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated::inherit': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:283:13\n   |\nLL |             inherit: 1,\n   |             ^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated::override1': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":7521,"byte_end":7533,"line_start":285,"line_end":285,"column_start":13,"column_end":25,"is_primary":true,"text":[{"text":"            override1: 2,","highlight_start":13,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated::override1': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:285:13\n   |\nLL |             override1: 2,\n   |             ^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated::override2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":7593,"byte_end":7605,"line_start":287,"line_end":287,"column_start":13,"column_end":25,"is_primary":true,"text":[{"text":"            override2: 3,","highlight_start":13,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated::override2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:287:13\n   |\nLL |             override2: 3,\n   |             ^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":7380,"byte_end":7390,"line_start":281,"line_end":281,"column_start":17,"column_end":27,"is_primary":true,"text":[{"text":"        let x = Deprecated {","highlight_start":17,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:281:17\n   |\nLL |         let x = Deprecated {\n   |                 ^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated::inherit': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":7683,"byte_end":7690,"line_start":291,"line_end":291,"column_start":19,"column_end":26,"is_primary":true,"text":[{"text":"        let _ = x.inherit;","highlight_start":19,"highlight_end":26}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated::inherit': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:291:19\n   |\nLL |         let _ = x.inherit;\n   |                   ^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":7683,"byte_end":7690,"line_start":291,"line_end":291,"column_start":19,"column_end":26,"is_primary":true,"text":[{"text":"        let _ = x.inherit;","highlight_start":19,"highlight_end":26}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:291:19\n   |\nLL |         let _ = x.inherit;\n   |                   ^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated::override1': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":7752,"byte_end":7761,"line_start":293,"line_end":293,"column_start":19,"column_end":28,"is_primary":true,"text":[{"text":"        let _ = x.override1;","highlight_start":19,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated::override1': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:293:19\n   |\nLL |         let _ = x.override1;\n   |                   ^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":7752,"byte_end":7761,"line_start":293,"line_end":293,"column_start":19,"column_end":28,"is_primary":true,"text":[{"text":"        let _ = x.override1;","highlight_start":19,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:293:19\n   |\nLL |         let _ = x.override1;\n   |                   ^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated::override2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":7823,"byte_end":7832,"line_start":295,"line_end":295,"column_start":19,"column_end":28,"is_primary":true,"text":[{"text":"        let _ = x.override2;","highlight_start":19,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated::override2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:295:19\n   |\nLL |         let _ = x.override2;\n   |                   ^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":7823,"byte_end":7832,"line_start":295,"line_end":295,"column_start":19,"column_end":28,"is_primary":true,"text":[{"text":"        let _ = x.override2;","highlight_start":19,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:295:19\n   |\nLL |         let _ = x.override2;\n   |                   ^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated::inherit': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":7960,"byte_end":7970,"line_start":300,"line_end":300,"column_start":13,"column_end":23,"is_primary":true,"text":[{"text":"            inherit: _,","highlight_start":13,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated::inherit': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:300:13\n   |\nLL |             inherit: _,\n   |             ^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated::override1': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":8030,"byte_end":8042,"line_start":302,"line_end":302,"column_start":13,"column_end":25,"is_primary":true,"text":[{"text":"            override1: _,","highlight_start":13,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated::override1': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:302:13\n   |\nLL |             override1: _,\n   |             ^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated::override2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":8102,"byte_end":8114,"line_start":304,"line_end":304,"column_start":13,"column_end":25,"is_primary":true,"text":[{"text":"            override2: _","highlight_start":13,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated::override2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:304:13\n   |\nLL |             override2: _\n   |             ^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated': text","code":{"code":"deprecated","expla29,"byte_end":8340,"line_start":313,"line_end":313,"column_start":17,"column_end":28,"is_primary":true,"text":[{"text":"        let x = Deprecated2(1, 2, 3);","highlight_start":17,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:313:17\n   |\nLL |         let x = Deprecated2(1, 2, 3);\n   |                 ^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated2::0': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":8412,"byte_end":8413,"line_start":316,"line_end":316,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"        let _ = x.0;","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated2::0': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:316:19\n   |\nLL |         let _ = x.0;\n   |                   ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":8412,"byte_end":8413,"line_start":316,"line_end":316,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"        let _ = x.0;","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:316:19\n   |\nLL |         let _ = x.0;\n   |                   ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated2::1': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":8475,"byte_end":8476,"line_start":318,"line_end":318,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"        let _ = x.1;","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated2::1': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:318:19\n   |\nLL |         let _ = x.1;\n   |                   ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":8475,"byte_end":8476,"line_start":318,"line_end":318,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"        let _ = x.1;","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:318:19\n   |\nLL |         let _ = x.1;\n   |                   ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated2::2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":8538,"byte_end":8539,"line_start":320,"line_end":320,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"        let _ = x.2;","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated2::2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:320:19\n   |\nLL |         let _ = x.2;\n   |                   ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":8538,"byte_end":8539,"line_start":320,"line_end":320,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"        let _ = x.2;","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:320:19\n   |\nLL |         let _ = x.2;\n   |                   ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated2::0': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":8663,"byte_end":8664,"line_start":325,"line_end":325,"column_start":14,"column_end":15,"is_primary":true,"text":[{"text":"            (_,","highlight_start":14,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated2::0': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:325:14\n   |\nLL |             (_,\n   |              ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated2::1': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":8726,"byte_end":8727,"line_start":327,"line_end":327,"column_start":14,"column_end":15,"is_primary":true,"text":[{"text":"             _,","highlight_start":14,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated2::1': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:327:14\n   |\nLL |              _,\n   |              ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated2::2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":8789,"byte_end":8790,"line_start":329,"line_end":329,"column_start":14,"column_end":15,"is_primary":true,"text":[{"text":"             _)","highlight_start":14,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated2::2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:329:14\n   |\nLL |              _)\n   |              ^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":8596,"byte_end":8607,"line_start":323,"line_end":323,"column_start":13,"column_end":24,"is_primary":true,"text":[{"text":"        let Deprecated2","highlight_start":13,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:323:13\n   |\nLL |         let Deprecated2\n   |             ^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Deprecated2': text","code":{"code":"deprecated","explanation":null},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs","byte_start":8867,"byte_end":8878,"line_start":332,"line_end":332,"column_start":13,"column_end":24,"is_primary":true,"text":[{"text":"        let Deprecated2","highlight_start":13,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of deprecated item 'this_crate::Deprecated2': text\n  --> /checkout/src/test/ui/lint/lint-stability-fields-deprecated.rs:332:13\n   |\nLL |         let Deprecated2\n   |             ^^^^^^^^^^^\n\n"}
[01:10:47] 
[01:10:47] ------------------------------------------
[01:10:47] 
[01:10:47] thread '[ui] ui/lint/lint-stability-fields-deprecated.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:10:47] thread '[ui] ui/lint/lint-stability-fields-deprecated.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:10:47] 
[01:10:47] ---- [ui] ui/lint/lint-stability2.rs stdout ----
[01:10:47] 
[01:10:47] error: ui test compiled successfully!
[01:10:47] status: exit code: 0
[01:10:47] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/lint/lint-stability2.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lint/lint-stability2/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lint/lint-stability2/auxiliary" "-A" "unused"
[01:10:47] ------------------------------------------
[01:10:47] 
[01:10:47] ------------------------------------------
[01:10:47] stderr:
---
[01:10:47] ---- [ui] ui/lint/lint-stability3.rs stdout ----
[01:10:47] 
[01:10:47] error: ui test compiled successfully!
[01:10:47] status: exit code: 0
[01:10:47] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/lint/lint-stability3.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lint/lint-stability3/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lint/lint-stability3/auxiliary" "-A" "unused"
[01:10:47] ------------------------------------------
[01:10:47] 
[01:10:47] ------------------------------------------
[01:10:47] stderr:
---
[01:10:47] 
[01:10:47] 10 LL | #![warn(deprecated)]
[01:10:47] 11    |         ^^^^^^^^^^
[01:10:47] 12 
[01:10:47] + warning: use of deprecated item 'lint_stability::deprecated': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         deprecated(); //~ WARN use of deprecated item 'lint_stability::deprecated'
[01:10:47] + 
[01:10:47] + 
[01:10:47] 13 warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated': text
[01:10:47] 15    |
[01:10:47] 
[01:10:47] 
[01:10:47] 16 LL |         foo.method_deprecated(); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated'
[01:10:47] 18 
[01:10:47] 18 
[01:10:47] + warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         Foo::method_deprecated(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated'
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         <Foo>::method_deprecated(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated'
[01:10:47] + 
[01:10:47] + 
[01:10:47] 19 warning: use of deprecated item 'lint_stability::Trait::trait_deprecated': text
[01:10:47] 21    |
[01:10:47] 
[01:10:47] 29    |         ^^^^^^^^^^^^^^^^^^^^^^^
[01:10:47] 30 
[01:10:47] 30 
[01:10:47] 31 warning: use of deprecated item 'lint_stability::Trait::trait_deprecated': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         <Foo>::trait_deprecated(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'lint_stability::Trait::trait_deprecated': text
[01:10:47] 33    |
[01:10:47] 33    |
[01:10:47] 34 LL |         <Foo as Trait>::trait_deprecated(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'
[01:10:47] 
[01:10:47] 46 LL |         foo.method_deprecated_text(); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text
[01:10:47] 48 
[01:10:47] 48 
[01:10:47] + warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         Foo::method_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         <Foo>::method_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text
[01:10:47] + 
[01:10:47] + 
[01:10:47] 49 warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text
[01:10:47] 51    |
[01:10:47] 
[01:10:47] 59    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[01:10:47] 60 
[01:10:47] 60 
[01:10:47] 61 warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         <Foo>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text
[01:10:47] 63    |
[01:10:47] 63    |
[01:10:47] 64 LL |         <Foo as Trait>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text
[01:10:47] 
[01:10:47] 76 LL |         foo.method_deprecated_unstable(); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable'
[01:10:47] 78 
[01:10:47] 78 
[01:10:47] + warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         Foo::method_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable'
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         <Foo>::method_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable'
[01:10:47] + 
[01:10:47] + 
[01:10:47] 79 warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text
[01:10:47] 81    |
[01:10:47] 
[01:10:47] 89    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[01:10:47] 90 
[01:10:47] 90 
[01:10:47] 91 warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         <Foo>::trait_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text
[01:10:47] 93    |
[01:10:47] 93    |
[01:10:47] 94 LL |         <Foo as Trait>::trait_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'
[01:10:47] 
[01:10:47] 106 LL |         foo.method_deprecated_unstable_text(); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable_text': text
[01:10:47] 108 
[01:10:47] 108 
[01:10:47] + warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable_text': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         Foo::method_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable_text': text
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable_text': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         <Foo>::method_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable_text': text
[01:10:47] + 
[01:10:47] + 
[01:10:47] 109 warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text
[01:10:47] 111    |
[01:10:47] 
[01:10:47] 119    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[01:10:47] 120 
[01:10:47] 120 
[01:10:47] 121 warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         <Foo>::trait_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text
[01:10:47] 123    |
[01:10:47] 123    |
[01:10:47] 124 LL |         <Foo as Trait>::trait_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text
[01:10:47] 215    |         ^^^^^^^^^^^^^^^^^^^^^^^
[01:10:47] 216 
[01:10:47] 216 
[01:10:47] 217 warning: use of deprecated item 'lint_stability::Trait::trait_deprecated': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         <Foo>::trait_deprecated(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'lint_stability::Trait::trait_deprecated': text
[01:10:47] 219    |
[01:10:47] 219    |
[01:10:47] 220 LL |         <Foo as Trait>::trait_deprecated(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'
[01:10:47] 233    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[01:10:47] 234 
[01:10:47] 234 
[01:10:47] 235 warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         <Foo>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text
[01:10:47] 237    |
[01:10:47] 237    |
[01:10:47] 238 LL |         <Foo as Trait>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text
[01:10:47] 251    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[01:10:47] 252 
[01:10:47] 252 
[01:10:47] 253 warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         <Foo>::trait_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text
[01:10:47] 255    |
[01:10:47] 255    |
[01:10:47] 256 LL |         <Foo as Trait>::trait_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'
[01:10:47] 269    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[01:10:47] 270 
[01:10:47] 270 
[01:10:47] 271 warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         <Foo>::trait_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text
[01:10:47] 273    |
[01:10:47] 273    |
[01:10:47] 274 LL |         <Foo as Trait>::trait_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text
[01:10:47] 
[01:10:47] 328 LL |         foo.method_deprecated(); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated'
[01:10:47] 330 
[01:10:47] 330 
[01:10:47] + warning: use of deprecated item 'this_crate::MethodTester::method_deprecated': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         Foo::method_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated'
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'this_crate::MethodTester::method_deprecated': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         <Foo>::method_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated'
[01:10:47] + 
[01:10:47] + 
[01:10:47] 331 warning: use of deprecated item 'this_crate::Trait::trait_deprecated': text
[01:10:47] 333    |
[01:10:47] 
[01:10:47] 341    |         ^^^^^^^^^^^^^^^^^^^^^^^
[01:10:47] 342 
[01:10:47] 342 
[01:10:47] 343 warning: use of deprecated item 'this_crate::Trait::trait_deprecated': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         <Foo>::trait_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'this_crate::Trait::trait_deprecated': text
[01:10:47] 345    |
[01:10:47] 345    |
[01:10:47] 346 LL |         <Foo as Trait>::trait_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'
[01:10:47] 
[01:10:47] 358 LL |         foo.method_deprecated_text(); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text
[01:10:47] 360 
[01:10:47] 360 
[01:10:47] + warning: use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         Foo::method_deprecated_text(&foo); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text
[01:10:47] +    |  t-stability-deprecated.rs:406:9
[01:10:47] +    |
[01:10:47] + LL |         <Foo>::trait_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'this_crate::Trait::trait_deprecated': text
[01:10:47] 423    |
[01:10:47] 423    |
[01:10:47] 424 LL |         <Foo as Trait>::trait_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'
[01:10:47] 434   --> $DIR/lint-stability-deprecated.rs:409:9
[01:10:47] 435    |
[01:10:47] 435    |
[01:10:47] 436 LL |         Trait::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
[01:10:47] + 
[01:10:47] + 
[01:10:47] + warning: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
[01:10:47] +    |
[01:10:47] +    |
[01:10:47] + LL |         <Foo>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
[01:10:47] 438 
[01:10:47] 438 
[01:10:47] 439 warning: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
[01:10:47] 
[01:10:47] The actual stderr differed from the expected stderr.
[01:10:47] Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lint/lint-stability-deprecated/lint-stability-deprecated.stderr
[01:10:47] Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lint/lint-stability-deprecated/lint-stability-deprecated.stderr
[01:10:47] To update references, rerun the tests and pass the `--bless` flag
[01:10:47] To only update this specific test, also pass `--test-args lint/lint-stability-deprecated.rs`
[01:10:47] error: 1 errors occurred comparing output.
[01:10:47] status: exit code: 0
[01:10:47] status: exit code: 0
[01:10:47] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/lint/lint-stability-deprecated.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lint/lint-stability-deprecated/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lint/lint-stability-deprecated/auxiliary" "-A" "unused"
[01:10:47] ------------------------------------------
[01:10:47] 
[01:10:47] ------------------------------------------
[01:10:47] stderr:
[01:10:47] stderr:
[01:10:47] ------------------------------------------
[01:10:47] {"message":"use of deprecated item 'lint_stability::deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":577,"byte_end":587,"line_start":26,"line_end":26,"column_start":9,"column_end":19,"is_primary":true,"text":[{"text":"        deprecated(); //~ WARN use of deprecated item 'lint_stability::deprecated'","highlight_start":9,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"lint level defined here","code":null,"level":"note","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":179,"byte_end":189,"line_start":7,"line_end":7,"column_start":9,"column_end":19,"is_primary":true,"text":[{"text":"#![warn(deprecated)]","highlight_start":9,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"warning: use of deprecated item 'lint_stability::deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:26:9\n   |\nLL |         deprecated(); //~ WARN use of deprecated item 'lint_stability::deprecated'\n   |         ^^^^^^^^^^\n   |\nnote: lint level defined here\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:7:9\n   |\nLL | #![warn(deprecated)]\n   |         ^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":577,"byte_end":587,"line_start":26,"line_end":26,"column_start":9,"column_end":19,"is_primary":true,"text":[{"text":"        deprecated(); //~ WARN use of deprecated item 'lint_stability::deprecated'","highlight_start":9,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:26:9\n   |\nLL |         deprecated(); //~ WARN use of deprecated item 'lint_stability::deprecated'\n   |         ^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::MethodTester::method_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":664,"byte_end":681,"line_start":27,"line_end":27,"column_start":13,"column_end":30,"is_primary":true,"text":[{"text":"        foo.method_deprecated(); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated'","highlight_start":13,"highlight_end":30}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:27:13\n   |\nLL |         foo.method_deprecated(); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated'\n   |             ^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::MethodTester::method_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":775,"byte_end":797,"line_start":28,"line_end":28,"column_start":9,"column_end":31,"is_primary":true,"text":[{"text":"        Foo::method_deprecated(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated'","highlight_start":9,"highlight_end":31}],"label":null,"suggested_replacement":null,"suggestion_,"byte_end":1037,"line_start":30,"line_end":30,"column_start":13,"column_end":29,"is_primary":true,"text":[{"text":"        foo.trait_deprecated(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'","highlight_start":13,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:30:13\n   |\nLL |         foo.trait_deprecated(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'\n   |             ^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":1123,"byte_end":1146,"line_start":31,"line_end":31,"column_start":9,"column_end":32,"is_primary":true,"text":[{"text":"        Trait::trait_deprecated(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'","highlight_start":9,"highlight_end":32}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:31:9\n   |\nLL |         Trait::trait_deprecated(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'\n   |         ^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":1236,"byte_end":1259,"line_start":32,"line_end":32,"column_start":9,"column_end":32,"is_primary":true,"text":[{"text":"        <Foo>::trait_deprecated(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'","highlight_start":9,"highlight_end":32}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:32:9\n   |\nLL |         <Foo>::trait_deprecated(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'\n   |         ^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":1349,"byte_end":1381,"line_start":33,"line_end":33,"column_start":9,"column_end":41,"is_primary":true,"text":[{"text":"        <Foo as Trait>::trait_deprecated(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'","highlight_start":9,"highlight_end":41}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:33:9\n   |\nLL |         <Foo as Trait>::trait_deprecated(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":1472,"byte_end":1487,"line_start":35,"line_end":35,"column_start":9,"column_end":24,"is_primary":true,"text":[{"text":"        deprecated_text(); //~ WARN use of deprecated item 'lint_stability::deprecated_text': text","highlight_start":9,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:35:9\n   |\nLL |         deprecated_text(); //~ WARN use of deprecated item 'lint_stability::deprecated_text': text\n   |         ^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":1575,"byte_end":1597,"line_start":36,"line_end":36,"column_start":13,"column_end":35,"is_primary":true,"text":[{"text":"        foo.method_deprecated_text(); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text","highlight_start":13,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:36:13\n   |\nLL |         foo.method_deprecated_text(); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text\n   |             ^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":1702,"byte_end":1729,"line_start":37,"line_end":37,"column_start":9,"column_end":36,"is_primary":true,"text":[{"text":"        Foo::method_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text","highlight_start":9,"highlight_end":36}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:37:9\n   |\nLL |         Foo::method_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":1838,"byte_end":1867,"line_start":38,"line_end":38,"column_start":9,"column_end":38,"is_primary":true,"text":[{"text":"        <Foo>::method_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text","highlight_start":9,"highlight_end":38}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:38:9\n   |\nLL |         <Foo>::method_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":1980,"byte_end":2001,"line_start":39,"line_end":39,"column_start":13,"column_end":34,"is_primary":true,"text":[{"text":"        foo.trait_deprecated_text(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","highlight_start":13,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:39:13\n   |\nLL |         foo.trait_deprecated_text(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n   |             ^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":2098,"byte_end":2126,"line_start":40,"line_end":40,"column_start":9,"column_end":37,"is_primary":true,"text":[{"text":"        Trait::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","highlight_start":9,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:40:9\n   |\nLL |         Trait::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":2227,"byte_end":2255,"line_start":41,"line_end":41,"column_start":9,"column_end":37,"is_primary":true,"text":[{"text":"        <Foo>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","highlight_start":9,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:41:9\n   |\nLL |         <Foo>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":2356,"byte_end":2393,"line_start":42,"line_end":42,"column_start":9,"column_end":46,"is_primary":true,"text":[{"text":"        <Foo as Trait>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","highlight_start":9,"highlight_end":46}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:42:9\n   |\nLL |         <Foo as Trait>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::deprecated_unstable': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":2495,"byte_end":2514,"line_start":44,"line_end":44,"column_start":9,"column_end":28,"is_primary":true,"text":[{"text":"        deprecated_unstable(); //~ WARN use of deprecated item 'lint_stability::deprecated_unstable'","highlight_start":9,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::deprecated_unstable': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:44:9\n   |\nLL |         deprecated_unstable(); //~ WARN use of deprecated item 'lint_stability::deprecated_unstable'\n   |         ^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":2600,"byte_end":2626,"line_start":45,"line_end":45,"column_start":13,"column_end":39,"is_primary":true,"text":[{"text":"        foo.method_deprecated_unstable(); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable'","highlight_start":13,"highlight_end":39}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:45:13\n   |\nLL |         foo.method_deprecated_unstable(); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable'\n   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":2729,"byte_end":2760,"line_start":46,"line_end":46,"column_start":9,"column_end":40,"is_primary":true,"text":[{"text":"        Foo::method_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable'","highlight_start":9,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:46:9\n   |\nLL |         Foo::method_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable'\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable': text","code":{"code":"deprt::trait_deprecated_unstable': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:48:13\n   |\nLL |         foo.trait_deprecated_unstable(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'\n   |             ^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":3131,"byte_end":3163,"line_start":49,"line_end":49,"column_start":9,"column_end":41,"is_primary":true,"text":[{"text":"        Trait::trait_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'","highlight_start":9,"highlight_end":41}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:49:9\n   |\nLL |         Trait::trait_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":3262,"byte_end":3294,"line_start":50,"line_end":50,"column_start":9,"column_end":41,"is_primary":true,"text":[{"text":"        <Foo>::trait_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'","highlight_start":9,"highlight_end":41}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:50:9\n   |\nLL |         <Foo>::trait_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":3393,"byte_end":3434,"line_start":51,"line_end":51,"column_start":9,"column_end":50,"is_primary":true,"text":[{"text":"        <Foo as Trait>::trait_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'","highlight_start":9,"highlight_end":50}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:51:9\n   |\nLL |         <Foo as Trait>::trait_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::deprecated_unstable_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":3534,"byte_end":3558,"line_start":53,"line_end":53,"column_start":9,"column_end":33,"is_primary":true,"text":[{"text":"        deprecated_unstable_text(); //~ WARN use of deprecated item 'lint_stability::deprecated_unstable_text': text","highlight_start":9,"highlight_end":33}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::deprecated_unstable_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:53:9\n   |\nLL |         deprecated_unstable_text(); //~ WARN use of deprecated item 'lint_stability::deprecated_unstable_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":3655,"byte_end":3686,"line_start":54,"line_end":54,"column_start":13,"column_end":44,"is_primary":true,"text":[{"text":"        foo.method_deprecated_unstable_text(); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable_text': text","highlight_start":13,"highlight_end":44}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:54:13\n   |\nLL |         foo.method_deprecated_unstable_text(); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable_text': text\n   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":3800,"byte_end":3836,"line_start":55,"line_end":55,"column_start":9,"column_end":45,"is_primary":true,"text":[{"text":"        Foo::method_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable_text': text","highlight_start":9,"highlight_end":45}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:55:9\n   |\nLL |         Foo::method_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::MethodTester::method_deprecated_unstable_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of depl":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:57:13\n   |\nLL |         foo.trait_deprecated_unstable_text(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":4250,"byte_end":4287,"line_start":58,"line_end":58,"column_start":9,"column_end":46,"is_primary":true,"text":[{"text":"        Trait::trait_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text","highlight_start":9,"highlight_end":46}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:58:9\n   |\nLL |         Trait::trait_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":4397,"byte_end":4434,"line_start":59,"line_end":59,"column_start":9,"column_end":46,"is_primary":true,"text":[{"text":"        <Foo>::trait_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text","highlight_start":9,"highlight_end":46}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:59:9\n   |\nLL |         <Foo>::trait_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":4544,"byte_end":4590,"line_start":60,"line_end":60,"column_start":9,"column_end":55,"is_primary":true,"text":[{"text":"        <Foo as Trait>::trait_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text","highlight_start":9,"highlight_end":55}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:60:9\n   |\nLL |         <Foo as Trait>::trait_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::DeprecatedStruct::i': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":6421,"byte_end":6425,"line_start":108,"line_end":108,"column_start":13,"column_end":17,"is_primary":true,"text":[{"text":"            i: 0 //~ WARN use of deprecated item 'lint_stability::DeprecatedStruct::i'","highlight_start":13,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::DeprecatedStruct::i': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:108:13\n   |\nLL |             i: 0 //~ WARN use of deprecated item 'lint_stability::DeprecatedStruct::i'\n   |             ^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::DeprecatedStruct': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":6323,"byte_end":6339,"line_start":107,"line_end":107,"column_start":17,"column_end":33,"is_primary":true,"text":[{"text":"        let _ = DeprecatedStruct { //~ WARN use of deprecated item 'lint_stability::DeprecatedStruct'","highlight_start":17,"highlight_end":33}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::DeprecatedStruct': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:107:17\n   |\nLL |         let _ = DeprecatedStruct { //~ WARN use of deprecated item 'lint_stability::DeprecatedStruct'\n   |                 ^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::DeprecatedUnstableStruct::i': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":6650,"byte_end":6654,"line_start":112,"line_end":112,"column_start":13,"column_end":17,"is_primary":true,"text":[{"text":"            i: 0 //~ WARN use of deprecated item 'lint_stability::DeprecatedUnstableStruct::i'","highlight_start":13,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::DeprecatedUnstableStruct::i': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:112:13\n   |\nLL |             i: 0 //~ WARN use of deprecated item 'lint_stability::DeprecatedUnstableStruct::i'\n   |             ^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::DeprecatedUnstableStruct': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":6523,"byte_end":6547,"line_start":110,"line_end":110,"column_start":17,"column_end":41,"is_primary":true,"text":[{"text":"        let _ = DeprecatedUnstableStruct {","highlight_start":17,"highlight_end":41}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::DeprecatedUnstableStruct': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:110:17\n   |\nLL |         let _ = DeprecatedUnstableStruct {\n   |                 ^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::DeprecatedUnitStruct': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":6841,"byte_end":6861,"line_start":117,"line_end":117,"column_start":17,"column_end":37,"is_primary":true,"text":[{"text":"        let _ = DeprecatedUnitStruct; //~ WARN use of deprecated item 'lint_stability::DeprecatedUnitStruct'","highlight_start":17,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::DeprecatedUnitStruct': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:117:17\n   |\nLL |         let _ = DeprecatedUnitStruct; //~ WARN use of deprecated item 'lint_stability::DeprecatedUnitStruct'\n   |                 ^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::DeprecatedUnstableUnitStruct': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":6950,"byte_end":6978,"line_start":118,"line_end":118,"column_start":17,"column_end":45,"is_primary":true,"text":[{"text":"        let _ = DeprecatedUnstableUnitStruct; //~ WARN use of deprecated item 'lint_stability::DeprecatedUnstableUnitStruct'","highlight_start":17,"highlight_end":45}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::DeprecatedUnstableUnitStruct': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:118:17\n   |\nLL |         let _ = DeprecatedUnstableUnitStruct; //~ WARN use of deprecated item 'lint_stability::DeprecatedUnstableUnitStruct'\n   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Enum::DeprecatedVariant': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":7146,"byte_end":7169,"line_start":122,"line_end":122,"column_start":17,"column_end":40,"is_primary":true,"text":[{"text":"        let _ = Enum::DeprecatedVariant; //~ WARN use of deprecated item 'lint_stability::Enum::DeprecatedVariant'","highlight_start":17,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Enum::DeprecatedVariant': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:122:17\n   |\nLL |         let _ = Enum::DeprecatedVariant; //~ WARN use of deprecated item 'lint_stability::Enum::DeprecatedVariant'\n   |                 ^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Enum::DeprecatedUnstableVariant': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":7261,"byte_end":7292,"line_start":123,"line_end":123,"column_start":17,"column_end":48,"is_primary":true,"text":[{"text":"        let _ = Enum::DeprecatedUnstableVariant; //~ WARN use of deprecated item 'lint_stability::Enum::DeprecatedUnstableVariant'","highlight_start":17,"highlight_end":48}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Enum::DeprecatedUnstableVariant': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:123:17\n   |\nLL |         let _ = Enum::DeprecatedUnstableVariant; //~ WARN use of deprecated item 'lint_stability::Enum::DeprecatedUnstableVariant'\n   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::DeprecatedTupleStruct': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":7469,"byte_end":7490,"line_start":127,"line_end":127,"column_start":17,"column_end":38,"is_primary":true,"text":[{"text":"        let _ = DeprecatedTupleStruct (1); //~ WARN use of deprecated item 'lint_stability::DeprecatedTupleStruct'","highlight_start":17,"highlight_end":38}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::DeprecatedTupleStruct': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:127:17\n   |\nLL |         let _ = DeprecatedTupleStruct (1); //~ WARN use of deprecated item 'lint_stability::DeprecatedTupleStruct'\n   |                 ^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::DeprecatedUnstableTupleStruct': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":7584,"byte_end":7613,"line_start":128,"line_end":128,"column_start":17,"column_end":46,"is_primary":true,"text":[{"text":"        let _ = DeprecatedUnstableTupleStruct (1); //~ WARN use of deprecated item 'lint_stability::DeprecatedUnstableTupleStruct'","highlight_start":17,"highlight_end":46}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::DeprecatedUnstableTupleStruct': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:128:17\n   |\nLL |         let _ = DeprecatedUnstableTupleStruct (1); //~ WARN use of deprecated item 'lint_stability::DeprecatedUnstableTupleStruct'\n   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":8096,"byte_end":8111,"line_start":137,"line_end":137,"column_start":25,"column_end":40,"is_primary":true,"text":[{"text":"        macro_test_arg!(deprecated_text()); //~ WARN use of deprecated item 'lint_stability::deprecated_text': text","highlight_start":25,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:137:25\n   |\nLL |         macro_test_arg!(deprecated_text()); //~ WARN use of deprecated item 'lint_stability::deprecated_text': text\n   |                         ^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::deprecated_unstable_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":8212,"byte_end":8236,"line_start":138,"line_end":138,"column_start":25,"column_end":49,"is_primary":true,"text":[{"text":"        macro_test_arg!(deprecated_unstable_text()); //~ WARN use of deprecated item 'lint_stability::deprecated_unstable_text': text","highlight_start":25,"highlight_end":49}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::deprecated_unstable_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:138:25\n   |\nLL |         macro_test_arg!(deprecated_unstable_text()); //~ WARN use of deprecated item 'lint_stability::deprecated_unstable_text': text\n   |                         ^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":8362,"byte_end":8377,"line_start":139,"line_end":139,"column_start":41,"column_end":56,"is_primary":true,"text":[{"text":"        macro_test_arg!(macro_test_arg!(deprecated_text())); //~ WARN use of deprecated item 'lint_stability::deprecated_text': text","highlight_start":41,"highlight_end":56}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:139:41\n   |\nLL |         macro_test_arg!(macro_test_arg!(deprecated_text())); //~ WARN use of deprecated item 'lint_stability::deprecated_text': text\n   |                                         ^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":8523,"byte_end":8539,"line_start":143,"line_end":143,"column_start":13,"column_end":29,"is_primary":true,"text":[{"text":"        foo.trait_deprecated(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'","highlight_start":13,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:143:13\n   |\nLL |         foo.trait_deprecated(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'\n   |             ^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":8625,"byte_end":8648,"line_start":144,"line_end":144,"column_start":9,"column_end":32,"is_primary":true,"text":[{"text":"        Trait::trait_deprecated(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'","highlight_start":9,"highlight_end":32}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:144:9\n   |\nLL |         Trait::trait_deprecated(&foo); //~ WARN :null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:146:9\n   |\nLL |         <Foo as Trait>::trait_deprecated(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":8977,"byte_end":8998,"line_start":147,"line_end":147,"column_start":13,"column_end":34,"is_primary":true,"text":[{"text":"        foo.trait_deprecated_text(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","highlight_start":13,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:147:13\n   |\nLL |         foo.trait_deprecated_text(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n   |             ^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":9095,"byte_end":9123,"line_start":148,"line_end":148,"column_start":9,"column_end":37,"is_primary":true,"text":[{"text":"        Trait::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","highlight_start":9,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:148:9\n   |\nLL |         Trait::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":9224,"byte_end":9252,"line_start":149,"line_end":149,"column_start":9,"column_end":37,"is_primary":true,"text":[{"text":"        <Foo>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","highlight_start":9,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:149:9\n   |\nLL |         <Foo>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":9353,"byte_end":9390,"line_start":150,"line_end":150,"column_start":9,"column_end":46,"is_primary":true,"text":[{"text":"        <Foo as Trait>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","highlight_start":9,"highlight_end":46}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:150:9\n   |\nLL |         <Foo as Trait>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":9495,"byte_end":9520,"line_start":151,"line_end":151,"column_start":13,"column_end":38,"is_primary":true,"text":[{"text":"        foo.trait_deprecated_unstable(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'","highlight_start":13,"highlight_end":38}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:151:13\n   |\nLL |         foo.trait_deprecated_unstable(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'\n   |             ^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":9615,"byte_end":9647,"line_start":152,"line_end":152,"column_start":9,"column_end":41,"is_primary":true,"text":[{"text":"        Trait::trait_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'","highlight_start":9,"highlight_end":41}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:152:9\n   |\nLL |         Trait::trait_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::t use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:154:9\n   |\nLL |         <Foo as Trait>::trait_deprecated_unstable(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":10021,"byte_end":10051,"line_start":155,"line_end":155,"column_start":13,"column_end":43,"is_primary":true,"text":[{"text":"        foo.trait_deprecated_unstable_text(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text","highlight_start":13,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:155:13\n   |\nLL |         foo.trait_deprecated_unstable_text(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":10157,"byte_end":10194,"line_start":156,"line_end":156,"column_start":9,"column_end":46,"is_primary":true,"text":[{"text":"        Trait::trait_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text","highlight_start":9,"highlight_end":46}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:156:9\n   |\nLL |         Trait::trait_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":10304,"byte_end":10341,"line_start":157,"line_end":157,"column_start":9,"column_end":46,"is_primary":true,"text":[{"text":"        <Foo>::trait_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text","highlight_start":9,"highlight_end":46}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:157:9\n   |\nLL |         <Foo>::trait_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":10451,"byte_end":10497,"line_start":158,"line_end":158,"column_start":9,"column_end":55,"is_primary":true,"text":[{"text":"        <Foo as Trait>::trait_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text","highlight_start":9,"highlight_end":55}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:158:9\n   |\nLL |         <Foo as Trait>::trait_deprecated_unstable_text(&foo); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":11121,"byte_end":11137,"line_start":174,"line_end":174,"column_start":13,"column_end":29,"is_primary":true,"text":[{"text":"        foo.trait_deprecated(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'","highlight_start":13,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:174:13\n   |\nLL |         foo.trait_deprecated(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated'\n   |             ^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":11227,"byte_end":11248,"line_start":175,"line_end":175,"column_start":13,"column_end":34,"is_primary":true,"text":[{"text":"        foo.trait_deprecated_text(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text","highlight_start":13,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:175:13\n   |\nLL |         foo.trait_deprecated_text(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_text': text\n   |             ^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":11349,"byte_end":11374,"line_start":176,"line_end":176,"column_start":13,"column_end":38,"is_primary":true,"text":[{"text":"        foo.trait_deprecated_unstable(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'","highlight_start":13,"highlight_end":38}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:176:13\n   |\nLL |         foo.trait_deprecated_unstable(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable'\n   |             ^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":11473,"byte_end":11503,"line_start":177,"line_end":177,"column_start":13,"column_end":43,"is_primary":true,"text":[{"text":"        foo.trait_deprecated_unstable_text(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text","highlight_start":13,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:177:13\n   |\nLL |         foo.trait_deprecated_unstable_text(); //~ WARN use of deprecated item 'lint_stability::Trait::trait_deprecated_unstable_text': text\n   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::DeprecatedTrait': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":11758,"byte_end":11773,"line_start":186,"line_end":186,"column_start":10,"column_end":25,"is_primary":true,"text":[{"text":"    impl DeprecatedTrait for S {} //~ WARN use of deprecated item 'lint_stability::DeprecatedTrait': text","highlight_start":10,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::DeprecatedTrait': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:186:10\n   |\nLL |     impl DeprecatedTrait for S {} //~ WARN use of deprecated item 'lint_stability::DeprecatedTrait': text\n   |          ^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'lint_stability::DeprecatedTrait': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":11920,"byte_end":11935,"line_start":188,"line_end":188,"column_start":25,"column_end":40,"is_primary":true,"text":[{"text":"    trait LocalTrait2 : DeprecatedTrait { } //~ WARN use of deprecated item 'lint_stability::DeprecatedTrait': text","highlight_start":25,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'lint_stability::DeprecatedTrait': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:188:25\n   |\nLL |     trait LocalTrait2 : DeprecatedTrait { } //~ WARN use of deprecated item 'lint_stability::DeprecatedTrait': text\n   |                         ^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'inheritance::inherited_stability::unstable_mod::deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":12348,"byte_end":12372,"line_start":207,"line_end":207,"column_start":9,"column_end":33,"is_primary":true,"text":[{"text":"        unstable_mod::deprecated(); //~ WARN use of deprecated item 'inheritance::inherited_stability::unstable_mod::deprecated': text","highlight_start":9,"highlight_end":33}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'inheritance::inherited_stability::unstable_mod::deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:207:9\n   |\nLL |         unstable_mod::deprecated(); //~ WARN use of deprecated item 'inheritance::inherited_stability::unstable_mod::deprecated': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":16997,"byte_end":17007,"line_start":329,"line_end":329,"column_start":9,"column_end":19,"is_primary":true,"text":[{"text":"        deprecated(); //~ WARN use of deprecated item 'this_crate::deprecated'","highlight_start":9,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:329:9\n   |\nLL |         deprecated(); //~ WARN use of deprecated item 'this_crate::deprecated'\n   |         ^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::MethodTester::method_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":17080,"byte_end":17097,"line_start":330,"line_end":330,"column_start":13,"column_end":30,"is_primary":true,"text":[{"text":"        foo.method_deprecated(); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated'","highlight_start":13,"highlight_end":30}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::MethodTester::method_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:330:13\n   |\nLL |         foo.method_deprecated(); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated'\n   |             ^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::MethodTester::method_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":17187,"byte_end":17209,"line_start":331,"line_end":331,"column_start":9,"column_end":31,"is_primary":true,"text":[{"text":"        Foo::method_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated'","highlight_start":9,"highlight_end":31}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::MethodTester::method_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:331:9\n   |\nLL |         Foo::method_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated'\n   |         ^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::MethodTester::method_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":17303,"byte_end":17327,"line_start":332,"line_end":332,"column_start":9,"column_end":33,"is_primary":true,"text":[{"text":"        <Foo>::method_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated'","highlight_start":9,"highlight_end":33}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::MethodTester::method_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:332:9\n   |\nLL |         <Foo>::method_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated'\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Trait::trait_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":17425,"byte_end":17441,"line_start":333,"line_end":333,"column_start":13,"column_end":29,"is_primary":true,"text":[{"text":"        foo.trait_deprecated(); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'","highlight_start":13,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::Trait::trait_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:333:13\n   |\nLL |         foo.trait_deprecated(); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'\n   |             ^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Trait::trait_deprecated': t:9\n   |\nLL |         <Foo>::trait_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'\n   |         ^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Trait::trait_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":17741,"byte_end":17773,"line_start":336,"line_end":336,"column_start":9,"column_end":41,"is_primary":true,"text":[{"text":"        <Foo as Trait>::trait_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'","highlight_start":9,"highlight_end":41}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::Trait::trait_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:336:9\n   |\nLL |         <Foo as Trait>::trait_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":17860,"byte_end":17875,"line_start":338,"line_end":338,"column_start":9,"column_end":24,"is_primary":true,"text":[{"text":"        deprecated_text(); //~ WARN use of deprecated item 'this_crate::deprecated_text': text","highlight_start":9,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:338:9\n   |\nLL |         deprecated_text(); //~ WARN use of deprecated item 'this_crate::deprecated_text': text\n   |         ^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":17959,"byte_end":17981,"line_start":339,"line_end":339,"column_start":13,"column_end":35,"is_primary":true,"text":[{"text":"        foo.method_deprecated_text(); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text","highlight_start":13,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:339:13\n   |\nLL |         foo.method_deprecated_text(); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text\n   |             ^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":18082,"byte_end":18109,"line_start":340,"line_end":340,"column_start":9,"column_end":36,"is_primary":true,"text":[{"text":"        Foo::method_deprecated_text(&foo); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text","highlight_start":9,"highlight_end":36}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:340:9\n   |\nLL |         Foo::method_deprecated_text(&foo); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":18214,"byte_end":18243,"line_start":341,"line_end":341,"column_start":9,"column_end":38,"is_primary":true,"text":[{"text":"        <Foo>::method_deprecated_text(&foo); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text","highlight_start":9,"highlight_end":38}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:341:9\n   |\nLL |         <Foo>::method_deprecated_text(&foo); //~ WARN use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Trait::trait_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":18352,"byte_end":18373,"line_start":342,"line_end":342,"column_start":13,"column_end":34,"is_primary":true,"text":[{"text":"        foo.trait_deprecated_text(); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated_text': text","highlight_start":13,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:342:13\n   |\nLL |         foo.trait_deprecated_text(); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated_text': text\n   |             ^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Trait::trait_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":18466,"byte_end":18494,"line_start":343,"line_end":343,"column_start":9,"column_end":37,"is_primary":true,"text":[{"text":"        Trait::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_depre":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":18716,"byte_end":18753,"line_start":345,"line_end":345,"column_start":9,"column_end":46,"is_primary":true,"text":[{"text":"        <Foo as Trait>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated_text': text","highlight_start":9,"highlight_end":46}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:345:9\n   |\nLL |         <Foo as Trait>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::DeprecatedStruct::i': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":20118,"byte_end":20122,"line_start":385,"line_end":385,"column_start":13,"column_end":17,"is_primary":true,"text":[{"text":"            i: 0 //~ WARN use of deprecated item 'this_crate::DeprecatedStruct::i'","highlight_start":13,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::DeprecatedStruct::i': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:385:13\n   |\nLL |             i: 0 //~ WARN use of deprecated item 'this_crate::DeprecatedStruct::i'\n   |             ^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::DeprecatedStruct': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":20011,"byte_end":20027,"line_start":383,"line_end":383,"column_start":17,"column_end":33,"is_primary":true,"text":[{"text":"        let _ = DeprecatedStruct {","highlight_start":17,"highlight_end":33}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::DeprecatedStruct': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:383:17\n   |\nLL |         let _ = DeprecatedStruct {\n   |                 ^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::DeprecatedUnitStruct': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":20297,"byte_end":20317,"line_start":390,"line_end":390,"column_start":17,"column_end":37,"is_primary":true,"text":[{"text":"        let _ = DeprecatedUnitStruct; //~ WARN use of deprecated item 'this_crate::DeprecatedUnitStruct'","highlight_start":17,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::DeprecatedUnitStruct': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:390:17\n   |\nLL |         let _ = DeprecatedUnitStruct; //~ WARN use of deprecated item 'this_crate::DeprecatedUnitStruct'\n   |                 ^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Enum::DeprecatedVariant': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":20473,"byte_end":20496,"line_start":394,"line_end":394,"column_start":17,"column_end":40,"is_primary":true,"text":[{"text":"        let _ = Enum::DeprecatedVariant; //~ WARN use of deprecated item 'this_crate::Enum::DeprecatedVariant'","highlight_start":17,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::Enum::DeprecatedVariant': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:394:17\n   |\nLL |         let _ = Enum::DeprecatedVariant; //~ WARN use of deprecated item 'this_crate::Enum::DeprecatedVariant'\n   |                 ^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::DeprecatedTupleStruct': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":20661,"byte_end":20682,"line_start":398,"line_end":398,"column_start":17,"column_end":38,"is_primary":true,"text":[{"text":"        let _ = DeprecatedTupleStruct (1); //~ WARN use of deprecated item 'this_crate::DeprecatedTupleStruct'","highlight_start":17,"highlight_end":38}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::DeprecatedTupleStruct': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:398:17\n   |\nLL |         let _ = DeprecatedTupleStruct (1); //~ WARN use of deprecated item 'this_crate::DeprecatedTupleStruct'\n   |                 ^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Trait::trait_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":20904,"byte_end":20920,"line_start":404,"line_end":404,"column_start":13,"column_end":29,"is_primary":true,"text":[{"text":"        foo.trait_deprecated(); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'","highlight_start":13,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::Trait::trait_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:404:13\n   |\nLL |         foo.trait_deprecated(); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'\n   |             ^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Trait::trait_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":21002,"byte_end":21025,"line_start":405,"line_end":405,"column_start":9,"column_end":32,"is_primary":true,"text":[{"text":"        Trait::trait_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'","highlight_start":9,"highlight_end":32}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::Trait::trait_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:405:9\n   |\nLL |         Trait::trait_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'\n   |         ^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Trait::trait_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":21111,"byte_end":21134,"line_start":406,"line_end":406,"column_start":9,"column_end":32,"is_primary":true,"text":[{"text":"        <Foo>::trait_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'","highlight_start":9,"highlight_end":32}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::Trait::trait_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:406:9\n   |\nLL |         <Foo>::trait_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'\n   |         ^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Trait::trait_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":21220,"byte_end":21252,"line_start":407,"line_end":407,"column_start":9,"column_end":41,"is_primary":true,"text":[{"text":"        <Foo as Trait>::trait_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'","highlight_start":9,"highlight_end":41}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::Trait::trait_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:407:9\n   |\nLL |         <Foo as Trait>::trait_deprecated(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Trait::trait_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":21342,"byte_end":21363,"line_start":408,"line_end":408,"column_start":13,"column_end":34,"is_primary":true,"text":[{"text":"        foo.trait_deprecated_text(); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated_text': text","highlight_start":13,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:408:13\n   |\nLL |         foo.trait_deprecated_text(); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated_text': text\n   |             ^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Trait::trait_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":21456,"byte_end":21484,"line_start":409,"line_end":409,"column_start":9,"column_end":37,"is_primary":true,"text":[{"text":"        Trait::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated_text': text","highlight_start":9,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:409:9\n   |\nLL |         Trait::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Trait::trait_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":21581,"byte_end":21609,"line_start":410,"line_end":410,"column_start":9,"column_end":37,"is_primary":true,"text":[{"text":"        <Foo>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated_text': text","highlight_start":9,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:410:9\n   |\nLL |         <Foo>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Trait::trait_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":21706,"byte_end":21743,"line_start":411,"line_end":411,"column_start":9,"column_end":46,"is_primary":true,"text":[{"text":"        <Foo as Trait>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated_text': text","highlight_start":9,"highlight_end":46}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:411:9\n   |\nLL |         <Foo as Trait>::trait_deprecated_text(&foo); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated_text': text\n   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Trait::trait_deprecated': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":22354,"byte_end":22370,"line_start":427,"line_end":427,"column_start":13,"column_end":29,"is_primary":true,"text":[{"text":"        foo.trait_deprecated(); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'","highlight_start":13,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::Trait::trait_deprecated': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:427:13\n   |\nLL |         foo.trait_deprecated(); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated'\n   |             ^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::Trait::trait_deprecated_text': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":22456,"byte_end":22477,"line_start":428,"line_end":428,"column_start":13,"column_end":34,"is_primary":true,"text":[{"text":"        foo.trait_deprecated_text(); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated_text': text","highlight_start":13,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:428:13\n   |\nLL |         foo.trait_deprecated_text(); //~ WARN use of deprecated item 'this_crate::Trait::trait_deprecated_text': text\n   |             ^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::test_fn_body::fn_in_body': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":22843,"byte_end":22853,"line_start":438,"line_end":438,"column_start":9,"column_end":19,"is_primary":true,"text":[{"text":"        fn_in_body(); //~ WARN use of deprecated item 'this_crate::test_fn_body::fn_in_body': text","highlight_start":9,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::test_fn_body::fn_in_body': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:438:9\n   |\nLL |         fn_in_body(); //~ WARN use of deprecated item 'this_crate::test_fn_body::fn_in_body': text\n   |         ^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::MethodTester::test_method_body::fn_in_body': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":23175,"byte_end":23185,"line_start":446,"line_end":446,"column_start":13,"column_end":23,"is_primary":true,"text":[{"text":"            fn_in_body(); //~ WARN use of deprecated item 'this_crate::MethodTester::test_method_body::fn_in_body': text","highlight_start":13,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::MethodTester::test_method_body::fn_in_body': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:446:13\n   |\nLL |             fn_in_body(); //~ WARN use of deprecated item 'this_crate::MethodTester::test_method_body::fn_in_body': text\n   |             ^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::DeprecatedTrait': text","code":{"code":"deprecated","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/ui/lint/lint-stability-deprecated.rs","byte_start":23514,"byte_end":23529,"line_start":458,"line_end":458,"column_start":10,"column_end":25,"is_primary":true,"text":[{"text":"    impl DeprecatedTrait for S { } //~ WARN use of deprecated item 'this_crate::DeprecatedTrait'","highlight_start":10,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"warning: use of deprecated item 'this_crate::DeprecatedTrait': text\n  --> /checkout/src/test/ui/lint/lint-stability-deprecated.rs:458:10\n   |\nLL |     impl DeprecatedTrait for S { } //~ WARN use of deprecated item 'this_crate::DeprecatedTrait'\n   |          ^^^^^^^^^^^^^^^\n\n"}
[01:10:47] {"message":"use of deprecated item 'this_crate::DeprecatedTrait': text","code":{"code":"deprecated","expland did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:10:47] 
[01:10:47] 
[01:10:47] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[01:10:47] Build completed unsuccessfully in 0:04:17
[01:10:47] Build completed unsuccessfully in 0:04:17
[01:10:47] make: *** [check] Error 1
[01:10:47] Makefile:48: recipe for target 'check' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:04bd6d50
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Mon Mar 11 13:28:14 UTC 2019
---
travis_time:end:002739ee:start=1552310895416761428,finish=1552310895422010811,duration=5249383
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:14006466
$ 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:0322827b
travis_time:start:0322827b
$ 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:21a0b1eb
$ 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)

@Centril
Copy link
Contributor

Centril commented Mar 11, 2019

@oli-obk That's pretty good; the change to pattern matching seems like an UX improvement. Tho... for the purposes of beta-backport it seems a bit large. ^^

@petrochenkov
Copy link
Contributor

@oli-obk

would you be alright with just backporting the first commit, but putting the rest into nightly?

Yeah, seems ok as a temporary measure for backport.

@bors
Copy link
Contributor

bors commented Mar 12, 2019

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

@oli-obk oli-obk force-pushed the deprecated_derive branch from 4f6bcdd to 2151ffb Compare March 12, 2019 11:39
@petrochenkov
Copy link
Contributor

@oli-obk
Could you set the S-waiting-on-review label when this is ready?

@oli-obk oli-obk added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Mar 12, 2019
@oli-obk
Copy link
Contributor Author

oli-obk commented Mar 12, 2019

Oh, right. Labels. Thanks for the reminder, I'll set those from now on.

@joshlf
Copy link
Contributor

joshlf commented Mar 14, 2019

Sorry to be pushy, but is there an ETA on this? We have some work which is currently blocked on this being fixed (namely, we can't commit some code that exercises this bug). Happy to help if there's anything I can do to help move it along!

@petrochenkov
Copy link
Contributor

I'll get to reviewing it this weekend or maybe tomorrow.

@joshlf
Copy link
Contributor

joshlf commented Mar 14, 2019

Awesome thanks @petrochenkov ! Sorry again about being pushy.

@bors
Copy link
Contributor

bors commented Mar 15, 2019

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

@Centril
Copy link
Contributor

Centril commented Mar 16, 2019

@bors p=8

@petrochenkov
Copy link
Contributor

petrochenkov commented Mar 16, 2019

I should have reviewed this sooner, sorry.

To summarize, this PR does three things:

  • Do not report deprecation in code from extern macros. This change fixes the original issue Derives on deprecated items generate deprecation warnings #58822. It's also small and can be backported.
    It can probably be submitted as a separate PR and quickly rolled up.
  • Move deprecation checking from a separate stability pass to a lint pass.
    I'd also want to see it moved, but to entirely different place, see the next comment.
  • Some other changes. It's difficult to see what is changed exactly when a lot of code is moved.

@petrochenkov
Copy link
Contributor

petrochenkov commented Mar 16, 2019

Performing deprecation checking in the way it's performed now certainly has problems, multiple of which are shared with stability checking - import deprecations are ignored, intermediate path segments are not checked (#15702), macros are not checked for deprecation at all (#49912).

The solution to all those problems is to organize stability/deprecation checking exactly like name privacy checking is organized now.
Basically, every time we resolve an entity to its DefId (this should ideally happens once for each entity) we immediately perform the checks associated with that DefId.
That means name privacy check are (and stability/deprecation checks should be) spread across the compilation process rather than performed in a single pass - for entities referring to macros or imports we check privacy/stability/deprecation during early name resolution, for entities using module-relative paths we check privacy/stability/deprecation during late name resolution, for entities resolved relatively to types (associated items including method calls, fields) we are checking privacy/stability/deprecation during type checking (see e.g. how calls to check_stability are spread through rustc_typeck).

The move of deprecation checking to a late lint pass doesn't make it closer to that goal, so if possible I'd prefer not to do that move and leave the code as is.

@rust-highfive
Copy link
Collaborator

The job arm-android 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.
[01:54:24] test string::test_str_truncate ... ok
[01:54:24] test string::test_str_truncate_invalid_len ... ok
[01:54:24] test string::test_str_truncate_split_codepoint ... ok
[01:54:24] test str::test_unsafe_slice ... ok
[01:54:24] died due to signal 11
[01:54:24] 
[01:54:24] 
[01:54:24] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "test" "--target" "arm-linux-androideabi" "-j" "4" "--release" "--locked" "--color" "always" "--features" "panic-unwind backtrace" "--manifest-path" "/checkout/src/libstd/Cargo.toml" "-p" "alloc" "--"
[01:54:24] expected success, got: exit code: 3
---
travis_time:end:0e22474c:start=1552810450129981915,finish=1552810450138666126,duration=8684211
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:03668661
$ 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:04e0b8c2
travis_time:start:04e0b8c2
$ 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:022990e0
$ 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)

@oli-obk
Copy link
Contributor Author

oli-obk commented Mar 17, 2019

@bors retry arm segfault

@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 Mar 17, 2019
bors added a commit that referenced this pull request Mar 17, 2019
Hide deprecation warnings inside derive expansions

Fixes #58822
@bors
Copy link
Contributor

bors commented Mar 17, 2019

⌛ Testing commit a69e12c with merge c82834e...

@bors
Copy link
Contributor

bors commented Mar 17, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: petrochenkov
Pushing c82834e to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Mar 17, 2019
@bors bors merged commit a69e12c into rust-lang:master Mar 17, 2019
@pietroalbini pietroalbini added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Mar 28, 2019
@pnkfelix
Copy link
Member

pnkfelix commented Apr 4, 2019

discussed in T-compiler meeting. accepting for beta-backport.

@pnkfelix pnkfelix added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Apr 4, 2019
@pietroalbini pietroalbini removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Apr 5, 2019
bors added a commit that referenced this pull request Apr 7, 2019
[beta] Rollup backports

Cherry-picked:

* #58021: Fix fallout from #57667
* #59599: Updated RELEASES.md for 1.34.0
* #59587: Remove #[doc(hidden)] from Error::type_id
* #58994: Hide deprecation warnings inside derive expansions
* #58015: Expand docs for `TryFrom` and `TryInto`.
* #59770: ci: pin android emulator to 28.0.23
* #59704: ci: Update FreeBSD tarball downloads
* #59257: Update CI configuration for building Redox libraries
* #59724: Function arguments should never get promoted

r? @ghost
bors added a commit that referenced this pull request Apr 8, 2019
[beta] Rollup backports

Cherry-picked:

* #58021: Fix fallout from #57667
* #59599: Updated RELEASES.md for 1.34.0
* #59587: Remove #[doc(hidden)] from Error::type_id
* #58994: Hide deprecation warnings inside derive expansions
* #58015: Expand docs for `TryFrom` and `TryInto`.
* #59770: ci: pin android emulator to 28.0.23
* #59704: ci: Update FreeBSD tarball downloads
* #59257: Update CI configuration for building Redox libraries
* #59724: Function arguments should never get promoted
* #59499: Fix broken download link in the armhf-gnu image
* #58330: Add rustdoc JS non-std tests
* #58848: Prevent cache issues on version updates

r? @ghost
@oli-obk oli-obk deleted the deprecated_derive branch March 16, 2021 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel. merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants