Skip to content

Add a new lint UNCONSTRUCTABLE_PUB_STRUCT to detect unconstructable public structs#146440

Draft
mu001999 wants to merge 4 commits into
rust-lang:mainfrom
mu001999-contrib:lint/unconstructible_pub_struct
Draft

Add a new lint UNCONSTRUCTABLE_PUB_STRUCT to detect unconstructable public structs#146440
mu001999 wants to merge 4 commits into
rust-lang:mainfrom
mu001999-contrib:lint/unconstructible_pub_struct

Conversation

@mu001999
Copy link
Copy Markdown
Member

@mu001999 mu001999 commented Sep 11, 2025

View all comments

Add a new lint UNCONSTRUCTABLE_PUB_STRUCT to detect unconstructable public structs, based on the following observations:

  1. A public struct with private field(s) cannot be directly constructed from external crates.
  2. Associated functions with a receiver require an already constructed value of type Self.
  3. Therefore, public structs with private fields and their associated functions that take a receiver can be included in the local crate's dead code analysis.
  4. If a public struct with private fields cannot be constructed in any reachable code path, it could be considered dead.

And, the lint UNCONSTRUCTABLE_PUB_STRUCT won't affect the dead-code lint's result, but allow or deny dead-code lint may affect the result of UNCONSTRUCTABLE_PUB_STRUCT

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Sep 11, 2025
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Sep 11, 2025

r? @davidtwco

rustbot has assigned @davidtwco.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@mu001999 mu001999 changed the title Implement lint unconstructible_pub_struct Add a new lint UNCONSTRUCTIBLE_PUB_STRUCT to detect unconstructible public structs Sep 11, 2025
@juntyr
Copy link
Copy Markdown
Contributor

juntyr commented Sep 11, 2025

Would the lint fire on token structs that are public, have private fields, have no public constructor method, but expose a limited number of pre-constructed objects, e.g. through a static that contains an optional token?

@mu001999
Copy link
Copy Markdown
Member Author

a static that contains an optional token

won't fire like private types used in such places

@mu001999 mu001999 force-pushed the lint/unconstructible_pub_struct branch from 480b1d7 to 021712b Compare September 15, 2025 07:39
@davidtwco
Copy link
Copy Markdown
Member

Nominating for t-lang to decide whether we want this lint, then I'll review the implementation.

Also, s/unconstructible/unconstructable.

@davidtwco davidtwco added the I-lang-nominated Nominated for discussion during a lang team meeting. label Sep 17, 2025
@mu001999 mu001999 changed the title Add a new lint UNCONSTRUCTIBLE_PUB_STRUCT to detect unconstructible public structs Add a new lint UNCONSTRUCTABLE_PUB_STRUCT to detect unconstructable public structs Sep 17, 2025
@traviscross traviscross added the P-lang-drag-2 Lang team prioritization drag level 2.https://rust-lang.zulipchat.com/#narrow/channel/410516-t-lang. label Sep 17, 2025
@bors

This comment was marked as resolved.

@mu001999 mu001999 force-pushed the lint/unconstructible_pub_struct branch from 6075d81 to 497ad71 Compare October 18, 2025 09:57
@rustbot

This comment has been minimized.

@bors

This comment was marked as resolved.

@mu001999 mu001999 force-pushed the lint/unconstructible_pub_struct branch from 497ad71 to b3b3a05 Compare October 19, 2025 05:22
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Oct 19, 2025

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@Darksonn
Copy link
Copy Markdown
Member

Does this trigger on structs that are intended only as marker types in generic parameters?

@mu001999
Copy link
Copy Markdown
Member Author

mu001999 commented Oct 24, 2025

Does this trigger on structs that are intended only as marker types in generic parameters?

Such types usually have intended private unit fields and this won't trigger on them. This will only trigger types with trivial fields but not be used or cannot be constructed.

@nikomatsakis
Copy link
Copy Markdown
Contributor

Are there examples of code in the wild that is affected by this lint?

@scottmcm
Copy link
Copy Markdown
Member

scottmcm commented Nov 5, 2025

I worry about completeness here. If I have something like pub struct Foo(pub [u8]); it's not "constructible" in a sense, but it might be entirely expected anyway. What if there's something only created via slice_from_raw_parts and pointer casts to get &MyType?


Musing: what if this was signature-based, say? Could it be phrased as "why is this pub when it's not in a signature; maybe it should be pub(crate)?" or something?

@joshtriplett
Copy link
Copy Markdown
Member

We discussed this in today's @rust-lang/lang meeting.

Was there any particular motivating use case that led to proposing this? Can you point to some code that motivated this?

We wondered about potential corner cases, notably structs that are only constructed in unsafe code. For instance, something using repr(C) or repr(transparent) that's constructed via transmute, or a dynamically sized type that requires unsafe code to construct. We're hoping those can be handled and won't produce false positives.

Once those are addressed, we'd like to see the (triaged) results of a crater run with this lint marked as deny-by-default, so we can get an idea of 1) how widespread this is and 2) whether this catches any issues.

@traviscross traviscross added I-lang-radar Items that are on lang's radar and will need eventual work or consideration. and removed I-lang-nominated Nominated for discussion during a lang team meeting. labels Nov 5, 2025
@traviscross
Copy link
Copy Markdown
Contributor

Please renominate for lang when these answers are available.

@mu001999 mu001999 marked this pull request as draft November 6, 2025 03:18
@rustbot rustbot 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 Nov 6, 2025
@mu001999 mu001999 force-pushed the lint/unconstructible_pub_struct branch from b3b3a05 to a1aaeb6 Compare November 12, 2025 01:42
@rustbot rustbot added S-blocked Status: Blocked on something else such as an RFC or other implementation work. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Mar 21, 2026
@Dylan-DPC Dylan-DPC added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-blocked Status: Blocked on something else such as an RFC or other implementation work. labels May 1, 2026
@mu001999 mu001999 force-pushed the lint/unconstructible_pub_struct branch from 4dc0f12 to 5ec9bbc Compare May 14, 2026 16:28
@mu001999
Copy link
Copy Markdown
Member Author

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label May 14, 2026
rust-bors Bot pushed a commit that referenced this pull request May 14, 2026
…uct, r=<try>

Add a new lint `UNCONSTRUCTABLE_PUB_STRUCT` to detect unconstructable public structs
@rust-bors

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@mu001999 mu001999 force-pushed the lint/unconstructible_pub_struct branch from 5ec9bbc to e5cd4a2 Compare May 14, 2026 16:38
@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 14, 2026

☀️ Try build successful (CI)
Build commit: 51f5dfb (51f5dfbf846f8119ef576ad8c6b09b854ad81b99, parent: 480d8520dfc8f8d77869d7d3b2011026272c9528)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (51f5dfb): comparison URL.

Overall result: ❌ regressions - BENCHMARK(S) FAILED

Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf.

Next, please: If you can, justify the regressions found in this try perf run in writing along with @rustbot label: +perf-regression-triaged. If not, fix the regressions and do another perf run. Neutral or positive results will clear the label automatically.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

❗ ❗ ❗ ❗ ❗
Warning ⚠️: The following benchmark(s) failed to build:

  • Job failure
  • issue-58319
  • image-0.25.6
  • cranelift-codegen-0.119.0

❗ ❗ ❗ ❗ ❗

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
0.3% [0.2%, 0.4%] 18
Regressions ❌
(secondary)
0.4% [0.2%, 0.4%] 7
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.3% [0.2%, 0.4%] 18

Max RSS (memory usage)

Results (primary 2.4%, secondary -1.7%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
2.4% [2.4%, 2.4%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-1.7% [-1.9%, -1.5%] 2
All ❌✅ (primary) 2.4% [2.4%, 2.4%] 1

Cycles

Results (secondary -7.3%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-7.3% [-7.3%, -7.3%] 1
All ❌✅ (primary) - - 0

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 510.687s -> 510.851s (0.03%)
Artifact size: 398.06 MiB -> 398.11 MiB (0.01%)

@rustbot rustbot added perf-regression Performance regression. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels May 14, 2026
@mu001999 mu001999 force-pushed the lint/unconstructible_pub_struct branch from e5cd4a2 to fe308c0 Compare May 15, 2026 06:11
@rust-log-analyzer

This comment has been minimized.

@mu001999 mu001999 force-pushed the lint/unconstructible_pub_struct branch from fe308c0 to 7ffa3f1 Compare May 15, 2026 08:22
@rust-log-analyzer

This comment has been minimized.

@mu001999 mu001999 force-pushed the lint/unconstructible_pub_struct branch from 7ffa3f1 to 5ce7c7c Compare May 15, 2026 10:56
@rust-log-analyzer
Copy link
Copy Markdown
Collaborator

The job aarch64-gnu-llvm-21-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Executing "/scripts/stage_2_test_set1.sh"
+ /scripts/stage_2_test_set1.sh
PR_CI_JOB set; skipping tidy
+ '[' 1 == 1 ']'
+ echo 'PR_CI_JOB set; skipping tidy'
+ SKIP_TIDY='--skip tidy'
+ ../x.py --stage 2 test --skip tidy --skip compiler --skip src
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.04s
##[endgroup]
downloading https://static.rust-lang.org/dist/2026-04-14/rustfmt-nightly-aarch64-unknown-linux-gnu.tar.xz
---
error: ui test did not emit an error
note: by default, ui tests are expected not to compile.
hint: use check-pass, build-pass, or run-pass directive to change this behavior.
status: exit status: 0
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/associated-consts/associated-const-dead-code.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/associated-consts/associated-const-dead-code" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
stderr: none

---- [ui] tests/ui/associated-consts/associated-const-dead-code.rs stdout end ----
---- [ui] tests/ui/borrowck/issue-115259-suggest-iter-mut.rs stdout ----

error: failed to compile fixed code
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/borrowck/issue-115259-suggest-iter-mut.fixed" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/borrowck/issue-115259-suggest-iter-mut/a" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error: struct `State` is never constructed
##[error]  --> /checkout/tests/ui/borrowck/issue-115259-suggest-iter-mut.fixed:9:12
   |
---
---- [ui] tests/ui/borrowck/struct-with-reference-to-trait-5708.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/borrowck/struct-with-reference-to-trait-5708.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "-O" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/borrowck/struct-with-reference-to-trait-5708/a" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error: struct `MyContainer` is never constructed
##[error]  --> /checkout/tests/ui/borrowck/struct-with-reference-to-trait-5708.rs:46:12
   |
LL | pub struct MyContainer<'a, T:'a> {
   |            ^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence-all-remote.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-all-remote/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-all-remote/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence-bigint-param.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-bigint-param/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-bigint-param/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence-bigint-int.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-bigint-int/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-bigint-int/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence-bigint-vecint.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-bigint-vecint/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-bigint-vecint/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence-blanket.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-blanket/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-blanket/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence-covered-type-parameter.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-covered-type-parameter/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-covered-type-parameter/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

error: aborting due to 1 previous error
------------------------------------------

---- [ui] tests/ui/coherence/coherence-covered-type-parameter.rs stdout end ----
---- [ui] tests/ui/coherence/coherence-cow.rs#re_a stdout ----

error in revision `re_a`: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--cfg" "re_a" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-cow.re_a/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-cow.re_a/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

error: aborting due to 1 previous error
------------------------------------------

---- [ui] tests/ui/coherence/coherence-cow.rs#re_a stdout end ----
---- [ui] tests/ui/coherence/coherence-cow.rs#re_b stdout ----

error in revision `re_b`: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--cfg" "re_b" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-cow.re_b/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-cow.re_b/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

error: aborting due to 1 previous error
------------------------------------------

---- [ui] tests/ui/coherence/coherence-cow.rs#re_b stdout end ----
---- [ui] tests/ui/coherence/coherence-cow.rs#re_c stdout ----

error in revision `re_c`: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--cfg" "re_c" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-cow.re_c/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-cow.re_c/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence-iterator-vec-any-elem.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-iterator-vec-any-elem/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-iterator-vec-any-elem/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence-iterator-vec.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-iterator-vec/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-iterator-vec/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence-lone-type-parameter.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-lone-type-parameter/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-lone-type-parameter/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence-overlap-upstream-inherent.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-overlap-upstream-inherent/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-overlap-upstream-inherent/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence-overlap-upstream.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-overlap-upstream/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-overlap-upstream/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence-overlapping-pairs.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-overlapping-pairs/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-overlapping-pairs/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence-pair-covered-uncovered-1.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-pair-covered-uncovered-1/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-pair-covered-uncovered-1/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence-pair-covered-uncovered.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-pair-covered-uncovered/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-pair-covered-uncovered/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence-vec-local-2.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-vec-local-2/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-vec-local-2/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence-vec-local.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-vec-local/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence-vec-local/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/coherence_copy_like.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_copy_like/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_copy_like/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `MyStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:7:12
   |
LL | pub struct MyStruct<T>(T);
   |            ^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

error: struct `MyFundamentalStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:10:12
   |
LL | pub struct MyFundamentalStruct<T>(T);
   |            ^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: aborting due to 2 previous errors
------------------------------------------

---- [ui] tests/ui/coherence/coherence_copy_like.rs stdout end ----
---- [ui] tests/ui/coherence/coherence_copy_like_err_fundamental_struct.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_copy_like_err_fundamental_struct/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_copy_like_err_fundamental_struct/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `MyStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:7:12
   |
LL | pub struct MyStruct<T>(T);
   |            ^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

error: struct `MyFundamentalStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:10:12
   |
LL | pub struct MyFundamentalStruct<T>(T);
   |            ^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: aborting due to 2 previous errors
------------------------------------------

---- [ui] tests/ui/coherence/coherence_copy_like_err_fundamental_struct.rs stdout end ----
---- [ui] tests/ui/coherence/coherence_copy_like_err_fundamental_struct_ref.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_copy_like_err_fundamental_struct_ref/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_copy_like_err_fundamental_struct_ref/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `MyStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:7:12
   |
LL | pub struct MyStruct<T>(T);
   |            ^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

error: struct `MyFundamentalStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:10:12
   |
LL | pub struct MyFundamentalStruct<T>(T);
   |            ^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: aborting due to 2 previous errors
------------------------------------------

---- [ui] tests/ui/coherence/coherence_copy_like_err_fundamental_struct_ref.rs stdout end ----
---- [ui] tests/ui/coherence/coherence_copy_like_err_fundamental_struct_tuple.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_copy_like_err_fundamental_struct_tuple/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_copy_like_err_fundamental_struct_tuple/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `MyStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:7:12
   |
LL | pub struct MyStruct<T>(T);
   |            ^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

error: struct `MyFundamentalStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:10:12
   |
LL | pub struct MyFundamentalStruct<T>(T);
   |            ^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: aborting due to 2 previous errors
------------------------------------------

---- [ui] tests/ui/coherence/coherence_copy_like_err_fundamental_struct_tuple.rs stdout end ----
---- [ui] tests/ui/coherence/coherence_copy_like_err_struct.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_copy_like_err_struct/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_copy_like_err_struct/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `MyStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:7:12
   |
LL | pub struct MyStruct<T>(T);
   |            ^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

error: struct `MyFundamentalStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:10:12
   |
LL | pub struct MyFundamentalStruct<T>(T);
   |            ^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: aborting due to 2 previous errors
------------------------------------------

---- [ui] tests/ui/coherence/coherence_copy_like_err_struct.rs stdout end ----
---- [ui] tests/ui/coherence/coherence_copy_like_err_tuple.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_copy_like_err_tuple/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_copy_like_err_tuple/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `MyStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:7:12
   |
LL | pub struct MyStruct<T>(T);
   |            ^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

error: struct `MyFundamentalStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:10:12
   |
LL | pub struct MyFundamentalStruct<T>(T);
   |            ^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: aborting due to 2 previous errors
------------------------------------------

---- [ui] tests/ui/coherence/coherence_copy_like_err_tuple.rs stdout end ----
---- [ui] tests/ui/coherence/coherence_local.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_local/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_local/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `MyStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:7:12
   |
LL | pub struct MyStruct<T>(T);
   |            ^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

error: struct `MyFundamentalStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:10:12
   |
LL | pub struct MyFundamentalStruct<T>(T);
   |            ^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: aborting due to 2 previous errors
------------------------------------------

---- [ui] tests/ui/coherence/coherence_local.rs stdout end ----
---- [ui] tests/ui/coherence/coherence_local_err_struct.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_local_err_struct/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_local_err_struct/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `MyStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:7:12
   |
LL | pub struct MyStruct<T>(T);
   |            ^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

error: struct `MyFundamentalStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:10:12
   |
LL | pub struct MyFundamentalStruct<T>(T);
   |            ^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: aborting due to 2 previous errors
------------------------------------------

---- [ui] tests/ui/coherence/coherence_local_err_struct.rs stdout end ----
---- [ui] tests/ui/coherence/coherence_local_err_tuple.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_local_err_tuple/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_local_err_tuple/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `MyStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:7:12
   |
LL | pub struct MyStruct<T>(T);
   |            ^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

error: struct `MyFundamentalStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:10:12
   |
LL | pub struct MyFundamentalStruct<T>(T);
   |            ^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: aborting due to 2 previous errors
------------------------------------------

---- [ui] tests/ui/coherence/coherence_local_err_tuple.rs stdout end ----
---- [ui] tests/ui/coherence/coherence_local_ref.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_local_ref/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/coherence_local_ref/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `MyStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:7:12
   |
LL | pub struct MyStruct<T>(T);
   |            ^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

error: struct `MyFundamentalStruct` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs:10:12
   |
LL | pub struct MyFundamentalStruct<T>(T);
   |            ^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: aborting due to 2 previous errors
------------------------------------------

---- [ui] tests/ui/coherence/coherence_local_ref.rs stdout end ----
---- [ui] tests/ui/coherence/impl-foreign-for-foreign.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign-for-foreign/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign-for-foreign/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl-foreign-for-foreign[foreign].rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign-for-foreign[foreign]/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign-for-foreign[foreign]/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl-foreign-for-fundamental[foreign].rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign-for-fundamental[foreign]/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign-for-fundamental[foreign]/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl-foreign-for-foreign[local].rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign-for-foreign[local]/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign-for-foreign[local]/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl-foreign-for-fundamental[local].rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign-for-fundamental[local]/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign-for-fundamental[local]/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl-foreign-for-local.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign-for-local/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign-for-local/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl-foreign-for-locally-defined-fundamental.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign-for-locally-defined-fundamental/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign-for-locally-defined-fundamental/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl-foreign-for-locally-defined-fundamental[foreign].rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign-for-locally-defined-fundamental[foreign]/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign-for-locally-defined-fundamental[foreign]/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl-foreign[foreign]-for-foreign.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign[foreign]-for-foreign/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign[foreign]-for-foreign/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl-foreign[foreign]-for-local.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign[foreign]-for-local/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign[foreign]-for-local/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl-foreign[fundemental[foreign]]-for-foreign.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign[fundemental[foreign]]-for-foreign/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign[fundemental[foreign]]-for-foreign/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl-foreign[fundemental[local]]-for-foreign.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign[fundemental[local]]-for-foreign/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl-foreign[fundemental[local]]-for-foreign/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign-for-foreign[t].rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign-for-foreign[t]/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign-for-foreign[t]/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign-for-fundamental[t].rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign-for-fundamental[t]/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign-for-fundamental[t]/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[foreign[t]_local]-for-foreign.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[foreign[t]_local]-for-foreign/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[foreign[t]_local]-for-foreign/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[foreign]-for-fundamental[t].rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[foreign]-for-fundamental[t]/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[foreign]-for-fundamental[t]/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[foreign]-for-t.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[foreign]-for-t/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[foreign]-for-t/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[fundamental[t]]-for-foreign.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[fundamental[t]]-for-foreign/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[fundamental[t]]-for-foreign/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[fundamental[t]]-for-fundamental[t].rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[fundamental[t]]-for-fundamental[t]/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[fundamental[t]]-for-fundamental[t]/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[fundamental[t]]-for-local.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[fundamental[t]]-for-local/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[fundamental[t]]-for-local/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[fundamental[t]]-for-t.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[fundamental[t]]-for-t/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[fundamental[t]]-for-t/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[fundamental[t]_local]-for-foreign.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[fundamental[t]_local]-for-foreign/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[fundamental[t]_local]-for-foreign/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[fundemental[local]]-for-foreign[t].rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[fundemental[local]]-for-foreign[t]/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[fundemental[local]]-for-foreign[t]/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[local]-for-foreign.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[local]-for-foreign/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[local]-for-foreign/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[local]-for-foreign[t].rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[local]-for-foreign[t]/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[local]-for-foreign[t]/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[local]-for-fundamental[foreign[t]].rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[local]-for-fundamental[foreign[t]]/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[local]-for-fundamental[foreign[t]]/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[local]-for-fundamental[t].rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[local]-for-fundamental[t]/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[local]-for-fundamental[t]/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[local]-for-local.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[local]-for-local/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[local]-for-local/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[local]-for-t.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[local]-for-t/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[local]-for-t/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[local_fundamental[t]]-for-foreign.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[local_fundamental[t]]-for-foreign/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[local_fundamental[t]]-for-foreign/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[t]-for-fundamental.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[t]-for-fundamental/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[t]-for-fundamental/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[t]-for-foreign.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[t]-for-foreign/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[t]-for-foreign/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[t]-for-t.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[t]-for-t/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[t]-for-t/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/coherence/impl[t]-foreign[t]-for-local.rs stdout ----

error: auxiliary build of /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/auxiliary/coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[t]-for-local/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/coherence/impl[t]-foreign[t]-for-local/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Pair` is never constructed
##[error]  --> /checkout/tests/ui/coherence/auxiliary/coherence_lib.rs:15:12
   |
LL | pub struct Pair<T,U>(T,U);
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/const-generics/adt_const_params/unsized_field-1.rs stdout ----

error: auxiliary build of /checkout/tests/ui/const-generics/adt_const_params/auxiliary/unsized_const_param.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/const-generics/adt_const_params/auxiliary/unsized_const_param.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/const-generics/adt_const_params/unsized_field-1/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/const-generics/adt_const_params/unsized_field-1/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Foo` is never constructed
##[error]  --> /checkout/tests/ui/const-generics/adt_const_params/auxiliary/unsized_const_param.rs:4:12
   |
---

error: struct `GenericNotUnsizedParam` is never constructed
##[error]  --> /checkout/tests/ui/const-generics/adt_const_params/auxiliary/unsized_const_param.rs:7:12
   |
LL | pub struct GenericNotUnsizedParam<T>(T);
   |            ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: aborting due to 2 previous errors
------------------------------------------

---- [ui] tests/ui/const-generics/adt_const_params/unsized_field-1.rs stdout end ----
---- [ui] tests/ui/const-generics/defaults/trait_object_lt_defaults.rs stdout ----

error: auxiliary build of /checkout/tests/ui/const-generics/defaults/auxiliary/trait_object_lt_defaults_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/const-generics/defaults/auxiliary/trait_object_lt_defaults_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/const-generics/defaults/trait_object_lt_defaults/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/const-generics/defaults/trait_object_lt_defaults/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Foo` is never constructed
##[error]  --> /checkout/tests/ui/const-generics/defaults/auxiliary/trait_object_lt_defaults_lib.rs:1:12
   |
LL | pub struct Foo<'a, const N: usize, T: 'a + ?Sized>(pub &'a T, [(); N]);
   |            ^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/const-generics/generic_const_exprs/associated-consts.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/const-generics/generic_const_exprs/associated-consts.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "-O" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/const-generics/generic_const_exprs/associated-consts/a" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error: struct `Block` is never constructed
##[error]  --> /checkout/tests/ui/const-generics/generic_const_exprs/associated-consts.rs:19:12
   |
LL | pub struct Block<C>(#[allow(dead_code)] C);
   |            ^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
To only update this specific test, also pass `--test-args const-generics/issues/issue-69654-run-pass.rs`

error: 1 errors occurred comparing output.
status: exit status: 0
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/const-generics/issues/issue-69654-run-pass.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "-O" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/const-generics/issues/issue-69654-run-pass/a" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
stderr: none

---- [ui] tests/ui/const-generics/issues/issue-69654-run-pass.rs stdout end ----
---- [ui] tests/ui/const-generics/parent_generics_of_encoding.rs stdout ----

error: auxiliary build of /checkout/tests/ui/const-generics/auxiliary/generics_of_parent.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/const-generics/auxiliary/generics_of_parent.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/const-generics/parent_generics_of_encoding/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/const-generics/parent_generics_of_encoding/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Foo` is never constructed
##[error]  --> /checkout/tests/ui/const-generics/auxiliary/generics_of_parent.rs:4:12
   |
LL | pub struct Foo<const N: usize>([(); N + 1])
   |            ^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/cross-crate/unit-struct-2.rs stdout ----

error: auxiliary build of /checkout/tests/ui/cross-crate/auxiliary/xcrate_unit_struct.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/cross-crate/auxiliary/xcrate_unit_struct.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/cross-crate/unit-struct-2/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/cross-crate/unit-struct-2/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `StructWithPrivFields` is never constructed
##[error]  --> /checkout/tests/ui/cross-crate/auxiliary/xcrate_unit_struct.rs:25:12
   |
---
---- [ui] tests/ui/cross-crate/unit-struct.rs stdout ----

error: auxiliary build of /checkout/tests/ui/cross-crate/auxiliary/xcrate_unit_struct.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/cross-crate/auxiliary/xcrate_unit_struct.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/cross-crate/unit-struct/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/cross-crate/unit-struct/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `StructWithPrivFields` is never constructed
##[error]  --> /checkout/tests/ui/cross-crate/auxiliary/xcrate_unit_struct.rs:25:12
   |
---
To only update this specific test, also pass `--test-args enum/dead-code-associated-function.rs`

error: 1 errors occurred comparing output.
status: exit status: 0
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/enum/dead-code-associated-function.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/enum/dead-code-associated-function" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
stderr: none

---- [ui] tests/ui/enum/dead-code-associated-function.rs stdout end ----
---- [ui] tests/ui/extern/extern_fat_drop.rs stdout ----

error: auxiliary build of /checkout/tests/ui/extern/auxiliary/fat_drop.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/extern/auxiliary/fat_drop.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/extern/extern_fat_drop/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/extern/extern_fat_drop/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `S` is never constructed
##[error]  --> /checkout/tests/ui/extern/auxiliary/fat_drop.rs:3:12
   |
---
---- [ui] tests/ui/issues/issue-31702.rs stdout ----

error: auxiliary build of /checkout/tests/ui/issues/auxiliary/issue-31702-2.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/issues/auxiliary/issue-31702-2.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/issues/issue-31702/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "-g" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/issues/issue-31702/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Ethash` is never constructed
##[error]  --> /checkout/tests/ui/issues/auxiliary/issue-31702-2.rs:8:12
   |
---
---- [ui] tests/ui/issues/issue-4875.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/issues/issue-4875.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "-O" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/issues/issue-4875/a" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error: struct `Foo` is never constructed
##[error]  --> /checkout/tests/ui/issues/issue-4875.rs:6:12
   |
---
- LL | impl Bar {
-    | -------- methods in this implementation
- LL |     fn a(&self) -> i32 { 5 }
-    |        ^
- LL |     pub fn b(&self) -> i32 { 6 }
-    |            ^
- 
27 warning: fields `a` and `b` are never read
28   --> $DIR/issue-85255.rs:19:5
29    |
---
- LL | impl Bar1 {
-    | --------- methods in this implementation
- LL |     fn a(&self) -> i32 { 5 }
-    |        ^
- LL |     pub fn b(&self) -> i32 { 6 }
-    |            ^
- 
47 warning: fields `a` and `b` are never read
48   --> $DIR/issue-85255.rs:31:5
49    |
---
- LL | impl Bar2 {
-    | --------- methods in this implementation
- LL |     fn a(&self) -> i32 { 5 }
-    |        ^
- LL |     pub fn b(&self) -> i32 { 6 }
-    |            ^
- 
- warning: 6 warnings emitted
+ warning: 3 warnings emitted
68 
---
To only update this specific test, also pass `--test-args lint/dead-code/issue-85255.rs`

error: 1 errors occurred comparing output.
status: exit status: 0
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/lint/dead-code/issue-85255.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/lint/dead-code/issue-85255" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
warning: fields `a` and `b` are never read
##[warning]  --> /checkout/tests/ui/lint/dead-code/issue-85255.rs:7:5
   |
LL | struct Foo {
   |        --- fields in this struct
LL |     a: i32, //~ WARNING: fields `a` and `b` are never read
   |     ^
LL |     pub b: i32,
   |         ^
   |
note: the lint level is defined here
---
##[warning]  --> /checkout/tests/ui/lint/dead-code/issue-85255.rs:19:5
   |
LL | pub(crate) struct Foo1 {
   |                   ---- fields in this struct
LL |     a: i32, //~ WARNING: fields `a` and `b` are never read
   |     ^
LL |     pub b: i32,
   |         ^

warning: fields `a` and `b` are never read
##[warning]  --> /checkout/tests/ui/lint/dead-code/issue-85255.rs:31:5
   |
LL | pub(crate) struct Foo2 {
   |                   ---- fields in this struct
LL |     a: i32, //~ WARNING: fields `a` and `b` are never read
   |     ^
LL |     pub b: i32,
   |         ^

warning: 3 warnings emitted
---
error: ui test did not emit an error
note: by default, ui tests are expected not to compile.
hint: use check-pass, build-pass, or run-pass directive to change this behavior.
status: exit status: 0
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/lint/dead-code/unused-assoc-fns.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/lint/dead-code/unused-assoc-fns" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
stderr: none

---- [ui] tests/ui/lint/dead-code/unused-assoc-fns.rs stdout end ----
---- [ui] tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs stdout ----
Saved the actual stderr to `/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/lint/issue-70819-dont-override-forbid-in-same-scope/issue-70819-dont-override-forbid-in-same-scope.stderr`
diff of stderr:

431 LL | #![forbid(forbidden_lint_groups)]
432    |           ^^^^^^^^^^^^^^^^^^^^^
433 
+ Future breakage diagnostic:
+ error: warn(unused) incompatible with previous forbid
+   --> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
+    |
+ LL |     #![forbid(unused)]
+    |               ------ `forbid` level set here
+ LL |     #![deny(unused)]
+ LL |     #![warn(unused)]
+    |             ^^^^^^ overruled by previous forbid
+    |
+    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
+    = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
+ note: the lint level is defined here
+   --> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
+    |
+ LL | #![forbid(forbidden_lint_groups)]
+    |           ^^^^^^^^^^^^^^^^^^^^^
+ 
434 

Note: some mismatched output was normalized before being compared
-   --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
-   --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
+ Future breakage diagnostic:
+ error: warn(unused) incompatible with previous forbid
+   --> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
+    |
+ LL |     #![forbid(unused)]
+    |               ------ `forbid` level set here
+ LL |     #![deny(unused)]
+ LL |     #![warn(unused)]
+    |             ^^^^^^ overruled by previous forbid
+    |
+    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
+    = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
+ note: the lint level is defined here
+   --> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
+    |
+ LL | #![forbid(forbidden_lint_groups)]
+    |           ^^^^^^^^^^^^^^^^^^^^^
+ 


The actual stderr differed from the expected stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args lint/issue-70819-dont-override-forbid-in-same-scope.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/lint/issue-70819-dont-override-forbid-in-same-scope" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "deduplicate-diagnostics=yes"
stdout: none
--- stderr -------------------------------
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 1 previous error

Future incompatibility report: Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^

Future breakage diagnostic:
error: warn(unused) incompatible with previous forbid
##[error]  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:22:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
LL |     #![warn(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
note: the lint level is defined here
  --> /checkout/tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^
---
   |     ^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: fields `a`, `b`, and `c` are never read
##[warning]  --> /checkout/tests/ui/packed/auxiliary/packed.rs:9:5
   |
LL | pub struct P2S6 {
   |            ---- fields in this struct
LL |     a: u8,
---
---- [ui] tests/ui/parser/recover/recover-where-clause-before-tuple-struct-body-0.rs stdout ----

error: failed to compile fixed code
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/parser/recover/recover-where-clause-before-tuple-struct-body-0.fixed" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/parser/recover/recover-where-clause-before-tuple-struct-body-0/a" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error: struct `Example` is never constructed
##[error]  --> /checkout/tests/ui/parser/recover/recover-where-clause-before-tuple-struct-body-0.fixed:6:12
   |
---
---- [ui] tests/ui/pattern/usefulness/empty-match-check-notes.rs#exhaustive_patterns stdout ----

error in revision `exhaustive_patterns`: auxiliary build of /checkout/tests/ui/pattern/usefulness/auxiliary/empty.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/pattern/usefulness/auxiliary/empty.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--cfg" "exhaustive_patterns" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/pattern/usefulness/empty-match-check-notes.exhaustive_patterns/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/pattern/usefulness/empty-match-check-notes.exhaustive_patterns/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `SecretlyUninhabitedForeignStruct` is never constructed
##[error]  --> /checkout/tests/ui/pattern/usefulness/auxiliary/empty.rs:8:12
   |
LL | pub struct SecretlyUninhabitedForeignStruct {
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/pattern/usefulness/empty-match-check-notes.rs#normal stdout ----

error in revision `normal`: auxiliary build of /checkout/tests/ui/pattern/usefulness/auxiliary/empty.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/pattern/usefulness/auxiliary/empty.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--cfg" "normal" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/pattern/usefulness/empty-match-check-notes.normal/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/pattern/usefulness/empty-match-check-notes.normal/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `SecretlyUninhabitedForeignStruct` is never constructed
##[error]  --> /checkout/tests/ui/pattern/usefulness/auxiliary/empty.rs:8:12
   |
LL | pub struct SecretlyUninhabitedForeignStruct {
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/pattern/usefulness/uninhabited.rs stdout ----

error: auxiliary build of /checkout/tests/ui/pattern/usefulness/auxiliary/empty.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/pattern/usefulness/auxiliary/empty.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/pattern/usefulness/uninhabited/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/pattern/usefulness/uninhabited/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `SecretlyUninhabitedForeignStruct` is never constructed
##[error]  --> /checkout/tests/ui/pattern/usefulness/auxiliary/empty.rs:8:12
   |
LL | pub struct SecretlyUninhabitedForeignStruct {
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/privacy/non-exhaustive-with-private-fields-147513.rs stdout ----

error: auxiliary build of /checkout/tests/ui/privacy/auxiliary/non_exhaustive_with_private.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/privacy/auxiliary/non_exhaustive_with_private.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/privacy/non-exhaustive-with-private-fields-147513/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/privacy/non-exhaustive-with-private-fields-147513/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Foo` is never constructed
##[error]  --> /checkout/tests/ui/privacy/auxiliary/non_exhaustive_with_private.rs:4:12
   |
---
---- [ui] tests/ui/privacy/privacy5.rs stdout ----

error: auxiliary build of /checkout/tests/ui/privacy/auxiliary/privacy_tuple_struct.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/privacy/auxiliary/privacy_tuple_struct.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/privacy/privacy5/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/privacy/privacy5/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `B` is never constructed
##[error]  --> /checkout/tests/ui/privacy/auxiliary/privacy_tuple_struct.rs:2:12
   |
---

error: struct `C` is never constructed
##[error]  --> /checkout/tests/ui/privacy/auxiliary/privacy_tuple_struct.rs:3:12
   |
LL | pub struct C(pub isize, isize);
   |            ^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

warning: field `0` is never read
---

warning: field `1` is never read
##[warning]  --> /checkout/tests/ui/privacy/auxiliary/privacy_tuple_struct.rs:3:25
   |
LL | pub struct C(pub isize, isize);
   |            -            ^^^^^
   |            |
   |            field in this struct
   |
   = help: consider removing this field
---
---- [ui] tests/ui/privacy/private-fields-diagnostic-issue-151408.rs stdout ----

error: auxiliary build of /checkout/tests/ui/privacy/auxiliary/private-fields-diagnostic-aux-issue-151408.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/privacy/auxiliary/private-fields-diagnostic-aux-issue-151408.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/privacy/private-fields-diagnostic-issue-151408/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/privacy/private-fields-diagnostic-issue-151408/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `NamedWithMultipleFields` is never constructed
##[error]  --> /checkout/tests/ui/privacy/auxiliary/private-fields-diagnostic-aux-issue-151408.rs:11:12
   |
---
---- [ui] tests/ui/privacy/private-inferred-type-2.rs stdout ----

error: auxiliary build of /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/privacy/private-inferred-type-2/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/privacy/private-inferred-type-2/auxiliary"
stdout: none
--- stderr -------------------------------
warning: type `Priv` is more private than the item `Alias`
##[warning]  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:16:1
   |
LL | pub type Alias = Priv;
   | ^^^^^^^^^^^^^^ type alias `Alias` is reachable at visibility `pub`
   |
note: but type `Priv` is only usable at visibility `pub(crate)`
  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:15:1
   |
LL | struct Priv;
   | ^^^^^^^^^^^
   = note: `#[warn(private_interfaces)]` on by default

warning: type `Priv` is more private than the item `Pub`
##[warning]  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:17:1
   |
LL | pub struct Pub<T = Alias>(pub T);
   | ^^^^^^^^^^^^^^^^^^^^^^^^^ struct `Pub` is reachable at visibility `pub`
   |
note: but type `Priv` is only usable at visibility `pub(crate)`
  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:15:1
   |
LL | struct Priv;
   | ^^^^^^^^^^^

error: struct `PubTupleStruct` is never constructed
---

warning: enum `PrivEnum` is never used
##[warning]  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:5:6
   |
LL | enum PrivEnum { Variant }
   |      ^^^^^^^^

warning: trait `PrivTrait` is never used
##[warning]  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:7:7
   |
---
---- [ui] tests/ui/privacy/private-inferred-type-3.rs stdout ----

error: auxiliary build of /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/privacy/private-inferred-type-3/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/privacy/private-inferred-type-3/auxiliary"
stdout: none
--- stderr -------------------------------
warning: type `Priv` is more private than the item `Alias`
##[warning]  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:16:1
   |
LL | pub type Alias = Priv;
   | ^^^^^^^^^^^^^^ type alias `Alias` is reachable at visibility `pub`
   |
note: but type `Priv` is only usable at visibility `pub(crate)`
  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:15:1
   |
LL | struct Priv;
   | ^^^^^^^^^^^
   = note: `#[warn(private_interfaces)]` on by default

warning: type `Priv` is more private than the item `Pub`
##[warning]  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:17:1
   |
LL | pub struct Pub<T = Alias>(pub T);
   | ^^^^^^^^^^^^^^^^^^^^^^^^^ struct `Pub` is reachable at visibility `pub`
   |
note: but type `Priv` is only usable at visibility `pub(crate)`
  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:15:1
   |
LL | struct Priv;
   | ^^^^^^^^^^^

error: struct `PubTupleStruct` is never constructed
---

warning: enum `PrivEnum` is never used
##[warning]  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:5:6
   |
LL | enum PrivEnum { Variant }
   |      ^^^^^^^^

warning: trait `PrivTrait` is never used
##[warning]  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:7:7
   |
---
---- [ui] tests/ui/privacy/private-type-in-interface.rs stdout ----

error: auxiliary build of /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/privacy/private-type-in-interface/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/privacy/private-type-in-interface/auxiliary"
stdout: none
--- stderr -------------------------------
warning: type `Priv` is more private than the item `Alias`
##[warning]  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:16:1
   |
LL | pub type Alias = Priv;
   | ^^^^^^^^^^^^^^ type alias `Alias` is reachable at visibility `pub`
   |
note: but type `Priv` is only usable at visibility `pub(crate)`
  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:15:1
   |
LL | struct Priv;
   | ^^^^^^^^^^^
   = note: `#[warn(private_interfaces)]` on by default

warning: type `Priv` is more private than the item `Pub`
##[warning]  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:17:1
   |
LL | pub struct Pub<T = Alias>(pub T);
   | ^^^^^^^^^^^^^^^^^^^^^^^^^ struct `Pub` is reachable at visibility `pub`
   |
note: but type `Priv` is only usable at visibility `pub(crate)`
  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:15:1
   |
LL | struct Priv;
   | ^^^^^^^^^^^

error: struct `PubTupleStruct` is never constructed
---

warning: enum `PrivEnum` is never used
##[warning]  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:5:6
   |
LL | enum PrivEnum { Variant }
   |      ^^^^^^^^

warning: trait `PrivTrait` is never used
##[warning]  --> /checkout/tests/ui/privacy/auxiliary/private-inferred-type.rs:7:7
   |
---
---- [ui] tests/ui/pub/pub-ident-struct-4.rs stdout ----

error: failed to compile fixed code
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/pub/pub-ident-struct-4.fixed" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/pub/pub-ident-struct-4/a" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error: struct `T` is never constructed
##[error]  --> /checkout/tests/ui/pub/pub-ident-struct-4.fixed:3:12
   |
LL | pub struct T(#[allow(dead_code)] String);
   |            ^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/reachable/foreign-priv.rs stdout ----

error: auxiliary build of /checkout/tests/ui/reachable/auxiliary/foreign-priv-aux.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/reachable/auxiliary/foreign-priv-aux.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/reachable/foreign-priv/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/reachable/foreign-priv/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Wrapper` is never constructed
##[error]  --> /checkout/tests/ui/reachable/auxiliary/foreign-priv-aux.rs:11:12
   |
---
---- [ui] tests/ui/regions/regions-issue-21422.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/regions/regions-issue-21422.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "-O" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/regions/regions-issue-21422/a" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error: struct `P` is never constructed
##[error]  --> /checkout/tests/ui/regions/regions-issue-21422.rs:7:12
   |
---
---- [ui] tests/ui/regions/regions-issue-22246.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/regions/regions-issue-22246.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "-O" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/regions/regions-issue-22246/a" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error: struct `Foo` is never constructed
##[error]  --> /checkout/tests/ui/regions/regions-issue-22246.rs:20:12
   |
LL | pub struct Foo<B:ToOwned> {
   |            ^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/coercions.rs stdout ----

error: auxiliary build of /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/coercions/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/coercions/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `IndirectUninhabitedEnum` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:32:12
   |
LL | pub struct IndirectUninhabitedEnum(UninhabitedEnum);
   |            ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---

error: struct `IndirectUninhabitedTupleStruct` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:36:12
   |
LL | pub struct IndirectUninhabitedTupleStruct(UninhabitedTupleStruct);
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: struct `IndirectUninhabitedVariants` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:38:12
   |
LL | pub struct IndirectUninhabitedVariants(UninhabitedVariants);
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

warning: field `never` is never read
---
---- [ui] tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/indirect_match.rs stdout ----

error: auxiliary build of /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/indirect_match/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/indirect_match/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `IndirectUninhabitedEnum` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:32:12
   |
LL | pub struct IndirectUninhabitedEnum(UninhabitedEnum);
   |            ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---

error: struct `IndirectUninhabitedTupleStruct` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:36:12
   |
LL | pub struct IndirectUninhabitedTupleStruct(UninhabitedTupleStruct);
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: struct `IndirectUninhabitedVariants` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:38:12
   |
LL | pub struct IndirectUninhabitedVariants(UninhabitedVariants);
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

warning: field `never` is never read
---
---- [ui] tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/indirect_match_with_exhaustive_patterns.rs stdout ----

error: auxiliary build of /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/indirect_match_with_exhaustive_patterns/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/indirect_match_with_exhaustive_patterns/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `IndirectUninhabitedEnum` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:32:12
   |
LL | pub struct IndirectUninhabitedEnum(UninhabitedEnum);
   |            ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---

error: struct `IndirectUninhabitedTupleStruct` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:36:12
   |
LL | pub struct IndirectUninhabitedTupleStruct(UninhabitedTupleStruct);
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: struct `IndirectUninhabitedVariants` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:38:12
   |
LL | pub struct IndirectUninhabitedVariants(UninhabitedVariants);
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

warning: field `never` is never read
---
---- [ui] tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/match.rs stdout ----

error: auxiliary build of /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/match/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/match/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `IndirectUninhabitedEnum` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:32:12
   |
LL | pub struct IndirectUninhabitedEnum(UninhabitedEnum);
   |            ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---

error: struct `IndirectUninhabitedTupleStruct` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:36:12
   |
LL | pub struct IndirectUninhabitedTupleStruct(UninhabitedTupleStruct);
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: struct `IndirectUninhabitedVariants` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:38:12
   |
LL | pub struct IndirectUninhabitedVariants(UninhabitedVariants);
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

warning: field `never` is never read
---
---- [ui] tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/issue-65157-repeated-match-arm.rs stdout ----

error: auxiliary build of /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/issue-65157-repeated-match-arm/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/issue-65157-repeated-match-arm/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `IndirectUninhabitedEnum` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:32:12
   |
LL | pub struct IndirectUninhabitedEnum(UninhabitedEnum);
   |            ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---

error: struct `IndirectUninhabitedTupleStruct` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:36:12
   |
LL | pub struct IndirectUninhabitedTupleStruct(UninhabitedTupleStruct);
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: struct `IndirectUninhabitedVariants` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:38:12
   |
LL | pub struct IndirectUninhabitedVariants(UninhabitedVariants);
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

warning: field `never` is never read
---
---- [ui] tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/patterns.rs stdout ----

error: auxiliary build of /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/patterns/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/patterns/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `IndirectUninhabitedEnum` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:32:12
   |
LL | pub struct IndirectUninhabitedEnum(UninhabitedEnum);
   |            ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---

error: struct `IndirectUninhabitedTupleStruct` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:36:12
   |
LL | pub struct IndirectUninhabitedTupleStruct(UninhabitedTupleStruct);
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: struct `IndirectUninhabitedVariants` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:38:12
   |
LL | pub struct IndirectUninhabitedVariants(UninhabitedVariants);
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

warning: field `never` is never read
---
---- [ui] tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/match_with_exhaustive_patterns.rs stdout ----

error: auxiliary build of /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/match_with_exhaustive_patterns/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/match_with_exhaustive_patterns/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `IndirectUninhabitedEnum` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:32:12
   |
LL | pub struct IndirectUninhabitedEnum(UninhabitedEnum);
   |            ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---

error: struct `IndirectUninhabitedTupleStruct` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:36:12
   |
LL | pub struct IndirectUninhabitedTupleStruct(UninhabitedTupleStruct);
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: struct `IndirectUninhabitedVariants` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/uninhabited.rs:38:12
   |
LL | pub struct IndirectUninhabitedVariants(UninhabitedVariants);
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

warning: field `never` is never read
---
---- [ui] tests/ui/rfcs/rfc-2093-infer-outlives/privacy.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/rfcs/rfc-2093-infer-outlives/privacy.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "-O" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/rfcs/rfc-2093-infer-outlives/privacy/a" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error: struct `Foo` is never constructed
##[error]  --> /checkout/tests/ui/rfcs/rfc-2093-infer-outlives/privacy.rs:10:12
   |
---
---- [ui] tests/ui/static/nested_item_main.rs stdout ----

error: auxiliary build of /checkout/tests/ui/static/auxiliary/nested_item.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/static/auxiliary/nested_item.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/static/nested_item_main/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/static/nested_item_main/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Parser` is never constructed
##[error]  --> /checkout/tests/ui/static/auxiliary/nested_item.rs:18:12
   |
---

warning: static `DOCTYPEPattern` is never used
##[warning]  --> /checkout/tests/ui/static/auxiliary/nested_item.rs:21:16
   |
LL |         static DOCTYPEPattern: [char; 6] = ['O', 'C', 'T', 'Y', 'P', 'E'];
   |                ^^^^^^^^^^^^^^

warning: struct `Bar` is never constructed
##[warning]  --> /checkout/tests/ui/static/auxiliary/nested_item.rs:25:8
   |
---

warning: static variable `DOCTYPEPattern` should have an upper case name
##[warning]  --> /checkout/tests/ui/static/auxiliary/nested_item.rs:21:16
   |
LL |         static DOCTYPEPattern: [char; 6] = ['O', 'C', 'T', 'Y', 'P', 'E'];
   |                ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `DOCTYPEPATTERN`

error: aborting due to 1 previous error; 7 warnings emitted
------------------------------------------

---- [ui] tests/ui/static/nested_item_main.rs stdout end ----
---- [ui] tests/ui/structs/struct-field-privacy.rs stdout ----

error: auxiliary build of /checkout/tests/ui/structs/auxiliary/struct_field_privacy.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/structs/auxiliary/struct_field_privacy.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/structs/struct-field-privacy/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/structs/struct-field-privacy/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `A` is never constructed
##[error]  --> /checkout/tests/ui/structs/auxiliary/struct_field_privacy.rs:1:12
   |
---
---- [ui] tests/ui/structs/suggest-private-fields.rs stdout ----

error: auxiliary build of /checkout/tests/ui/structs/auxiliary/struct_field_privacy.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/structs/auxiliary/struct_field_privacy.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/structs/suggest-private-fields/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/structs/suggest-private-fields/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `A` is never constructed
##[error]  --> /checkout/tests/ui/structs/auxiliary/struct_field_privacy.rs:1:12
   |
---
---- [ui] tests/ui/suggestions/derive-clone-for-eq.rs stdout ----

error: failed to compile fixed code
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/suggestions/derive-clone-for-eq.fixed" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/suggestions/derive-clone-for-eq/a" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error: struct `Struct` is never constructed
##[error]  --> /checkout/tests/ui/suggestions/derive-clone-for-eq.fixed:5:12
   |
LL | pub struct Struct<T: std::clone::Clone>(T); //~ ERROR [E0277]
   |            ^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/suggestions/option-content-move.rs stdout ----

error: failed to compile fixed code
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/suggestions/option-content-move.fixed" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/suggestions/option-content-move/a" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error: struct `LipogramCorpora` is never constructed
##[error]  --> /checkout/tests/ui/suggestions/option-content-move.fixed:2:12
   |
LL | pub struct LipogramCorpora {
   |            ^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

error: struct `LipogramCorpora2` is never constructed
##[error]  --> /checkout/tests/ui/suggestions/option-content-move.fixed:20:12
   |
LL | pub struct LipogramCorpora2 {
   |            ^^^^^^^^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
---
To only update this specific test, also pass `--test-args traits/alias/bounds.rs`

error: 1 errors occurred comparing output.
status: exit status: 0
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/traits/alias/bounds.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "-O" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/traits/alias/bounds/a" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
stderr: none

---- [ui] tests/ui/traits/alias/bounds.rs stdout end ----
---- [ui] tests/ui/traits/issue-4107.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/traits/issue-4107.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "-O" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/traits/issue-4107/a" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error: struct `Vec2` is never constructed
##[error]  --> /checkout/tests/ui/traits/issue-4107.rs:12:12
   |
---
---- [ui] tests/ui/traits/object/generics.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/traits/object/generics.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "-O" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/traits/object/generics/a" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error: struct `Impl` is never constructed
##[error]  --> /checkout/tests/ui/traits/object/generics.rs:10:12
   |
LL | pub struct Impl<A1, A2, A3> {
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/traits/where-clause-vs-impl.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/traits/where-clause-vs-impl.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "-O" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/traits/where-clause-vs-impl/a" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error: struct `Both` is never constructed
##[error]  --> /checkout/tests/ui/traits/where-clause-vs-impl.rs:25:12
   |
LL | pub struct Both<M, F> {
   |            ^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

---
---- [ui] tests/ui/type-alias-impl-trait/drop-shim-relates-opaque-issue-114375.rs stdout ----

error: auxiliary build of /checkout/tests/ui/type-alias-impl-trait/auxiliary/drop-shim-relates-opaque-aux.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/type-alias-impl-trait/auxiliary/drop-shim-relates-opaque-aux.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/type-alias-impl-trait/drop-shim-relates-opaque-issue-114375/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/type-alias-impl-trait/drop-shim-relates-opaque-issue-114375/auxiliary"
stdout: none
--- stderr -------------------------------
error: struct `Foo` is never constructed
##[error]  --> /checkout/tests/ui/type-alias-impl-trait/auxiliary/drop-shim-relates-opaque-aux.rs:14:12
   |
LL | pub struct Foo(WrapperWithDrop<Tait>);
   |            ^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

error: struct `Bar` is never constructed
##[error]  --> /checkout/tests/ui/type-alias-impl-trait/auxiliary/drop-shim-relates-opaque-aux.rs:22:12
   |
LL | pub struct Bar(WrapperWithDrop<<Tait as Id>::Id>);
   |            ^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this

error: aborting due to 2 previous errors
------------------------------------------

---- [ui] tests/ui/type-alias-impl-trait/drop-shim-relates-opaque-issue-114375.rs stdout end ----
---- [ui] tests/ui/typeck/typeck-default-trait-impl-cross-crate-coherence.rs stdout ----

error: auxiliary build of /checkout/tests/ui/typeck/auxiliary/tdticc_coherence_lib.rs failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/typeck/auxiliary/tdticc_coherence_lib.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/typeck/typeck-default-trait-impl-cross-crate-coherence/auxiliary" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/typeck/typeck-default-trait-impl-cross-crate-coherence/auxiliary"
stdout: none
--- stderr -------------------------------
warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable
##[warning]  --> /checkout/tests/ui/typeck/auxiliary/tdticc_coherence_lib.rs:1:25
   |
LL | #![feature(auto_traits, core)]
   |                         ^^^^
   |
   = note: `#[warn(stable_features)]` on by default

error: struct `Something` is never constructed
##[error]  --> /checkout/tests/ui/typeck/auxiliary/tdticc_coherence_lib.rs:6:12
   |
LL | pub struct Something<T> { t: T }
   |            ^^^^^^^^^
   |
   = note: this `pub` struct is unconstructable externally and never constructed locally, so consider providing a pub constructor or removing this
   = note: `#[deny(unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default

warning: field `t` is never read
##[warning]  --> /checkout/tests/ui/typeck/auxiliary/tdticc_coherence_lib.rs:6:27
   |
LL | pub struct Something<T> { t: T }
   |            ---------      ^
   |            |
   |            field in this struct
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

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

Labels

I-lang-radar Items that are on lang's radar and will need eventual work or consideration. P-lang-drag-2 Lang team prioritization drag level 2.https://rust-lang.zulipchat.com/#narrow/channel/410516-t-lang. perf-regression Performance regression. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rust-analyzer Relevant to the rust-analyzer team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.