Updating only changed submodules Submodules updated in 0.18 seconds Finished dev [unoptimized + debuginfo] target(s) in 1.04s Building stage0 std artifacts (x86_64-apple-darwin -> x86_64-apple-darwin) Finished release [optimized + debuginfo] target(s) in 0.38s Copying stage0 std from stage0 (x86_64-apple-darwin -> x86_64-apple-darwin / x86_64-apple-darwin) Building stage0 compiler artifacts (x86_64-apple-darwin -> x86_64-apple-darwin) Compiling rustc_trait_selection v0.0.0 (/Users/tlyu/src/rust-lang/rust/compiler/rustc_trait_selection) Compiling rustc_ty_utils v0.0.0 (/Users/tlyu/src/rust-lang/rust/compiler/rustc_ty_utils) Compiling rustc_lint v0.0.0 (/Users/tlyu/src/rust-lang/rust/compiler/rustc_lint) Compiling rustc_traits v0.0.0 (/Users/tlyu/src/rust-lang/rust/compiler/rustc_traits) Compiling rustc_mir_build v0.0.0 (/Users/tlyu/src/rust-lang/rust/compiler/rustc_mir_build) Compiling rustc_passes v0.0.0 (/Users/tlyu/src/rust-lang/rust/compiler/rustc_passes) Compiling rustc_mir v0.0.0 (/Users/tlyu/src/rust-lang/rust/compiler/rustc_mir) Compiling rustc_typeck v0.0.0 (/Users/tlyu/src/rust-lang/rust/compiler/rustc_typeck) Compiling rustc_plugin_impl v0.0.0 (/Users/tlyu/src/rust-lang/rust/compiler/rustc_plugin_impl) Compiling rustc_privacy v0.0.0 (/Users/tlyu/src/rust-lang/rust/compiler/rustc_privacy) Compiling rustc_interface v0.0.0 (/Users/tlyu/src/rust-lang/rust/compiler/rustc_interface) Compiling rustc_driver v0.0.0 (/Users/tlyu/src/rust-lang/rust/compiler/rustc_driver) Compiling rustc-main v0.0.0 (/Users/tlyu/src/rust-lang/rust/compiler/rustc) Finished release [optimized + debuginfo] target(s) in 1m 34s Copying stage0 rustc from stage0 (x86_64-apple-darwin -> x86_64-apple-darwin / x86_64-apple-darwin) Assembling stage1 compiler (x86_64-apple-darwin) Building stage1 std artifacts (x86_64-apple-darwin -> x86_64-apple-darwin) Compiling cc v1.0.68 Compiling core v0.0.0 (/Users/tlyu/src/rust-lang/rust/library/core) Compiling libc v0.2.93 Compiling std v0.0.0 (/Users/tlyu/src/rust-lang/rust/library/std) Compiling compiler_builtins v0.1.45 Compiling unwind v0.0.0 (/Users/tlyu/src/rust-lang/rust/library/unwind) Compiling rustc-std-workspace-core v1.99.0 (/Users/tlyu/src/rust-lang/rust/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/Users/tlyu/src/rust-lang/rust/library/alloc) Compiling cfg-if v0.1.10 Compiling adler v0.2.3 Compiling rustc-demangle v0.1.18 Compiling rustc-std-workspace-alloc v1.99.0 (/Users/tlyu/src/rust-lang/rust/library/rustc-std-workspace-alloc) Compiling panic_unwind v0.0.0 (/Users/tlyu/src/rust-lang/rust/library/panic_unwind) Compiling panic_abort v0.0.0 (/Users/tlyu/src/rust-lang/rust/library/panic_abort) Compiling gimli v0.23.0 Compiling hashbrown v0.11.0 Compiling miniz_oxide v0.4.0 Compiling object v0.22.0 Compiling std_detect v0.1.5 (/Users/tlyu/src/rust-lang/rust/library/stdarch/crates/std_detect) Compiling addr2line v0.14.0 Compiling rustc-std-workspace-std v1.99.0 (/Users/tlyu/src/rust-lang/rust/library/rustc-std-workspace-std) Compiling term v0.0.0 (/Users/tlyu/src/rust-lang/rust/library/term) Compiling proc_macro v0.0.0 (/Users/tlyu/src/rust-lang/rust/library/proc_macro) Compiling unicode-width v0.1.8 Compiling getopts v0.2.21 Compiling test v0.0.0 (/Users/tlyu/src/rust-lang/rust/library/test) Finished release [optimized + debuginfo] target(s) in 3m 51s Copying stage1 std from stage1 (x86_64-apple-darwin -> x86_64-apple-darwin / x86_64-apple-darwin) Building stage0 tool compiletest (x86_64-apple-darwin) Finished release [optimized + debuginfo] target(s) in 0.71s Check compiletest suite=ui mode=ui (x86_64-apple-darwin -> x86_64-apple-darwin) running 11954 tests ......................................................ii............................................ 100/11954 ...............................................................i.................................... 200/11954 ...............F.............F...................................................................... 300/11954 ...........................................................F........................................ 400/11954 .................................................................................................... 500/11954 .................................................................................................... 600/11954 .............................................i...................................................... 700/11954 ....................i............................................................................... 800/11954 .................................................................................................... 900/11954 .................................................................................................... 1000/11954 .................................................................................................... 1100/11954 ................................i................................................................... 1200/11954 .................................................................................................... 1300/11954 .................................................................................................... 1400/11954 .........................................................iiii.ii.i.............i.................... 1500/11954 .................................................................................................... 1600/11954 ..........................................................................i......................... 1700/11954 .................................................................................................... 1800/11954 .................................................................................................... 1900/11954 ............i....................................................................................... 2000/11954 ..F................................................................................................. 2100/11954 .................................................................................................... 2200/11954 .................................................................................................... 2300/11954 .................................................................................................... 2400/11954 .................................................................................................... 2500/11954 .................................................................................................... 2600/11954 .................................................................................................... 2700/11954 ............................i..i.................................................................... 2800/11954 .................................................................................................... 2900/11954 .........................................iiiii...................................................... 3000/11954 .................................................................................................... 3100/11954 .................................................................................................... 3200/11954 ........................................................F........................................... 3300/11954 .................................................................................................... 3400/11954 .................................................................................................... 3500/11954 .................................................................................................... 3600/11954 .................................................................................................... 3700/11954 .................................................................................................... 3800/11954 .................................................................................................... 3900/11954 .................................................................................................... 4000/11954 .................................................................................................... 4100/11954 .................................................................................................... 4200/11954 .................................................................................................... 4300/11954 .................................................................................................... 4400/11954 .................................................................................................... 4500/11954 ..........ii..................FF.................................................................... 4600/11954 .................................................................................................... 4700/11954 .................................................................................................... 4800/11954 ......................................................F............................................. 4900/11954 .....................................................i.............................................. 5000/11954 .................................................................................................... 5100/11954 ....F............................................................................................... 5200/11954 ..........................F......................................................................... 5300/11954 ..............i..i.................................................................................. 5400/11954 ..........F......................................................................................... 5500/11954 ..............................................i..................................................... 5600/11954 .................................................................................................... 5700/11954 .................................................................................................... 5800/11954 .................................................................................................... 5900/11954 ...............................i.................................................................... 6000/11954 ...................................................................F................................ 6100/11954 .................F...................i.............................................................. 6200/11954 ...............................................F.................................................... 6300/11954 ..........................................................................ii.ii.......i...i......... 6400/11954 ................................................................F................................... 6500/11954 ..................i....i................i.................i...........................i............. 6600/11954 .................................................................................................... 6700/11954 ...........................i........................................................................ 6800/11954 .................................................................................................... 6900/11954 ...............................ii................................................i.................. 7000/11954 ......................................................test [ui] ui/issues/issue-74564-if-expr-stack-overflow.rs has been running for over 60 seconds .............................................. 7100/11954 ..................i................................................................................. 7200/11954 .................................................................................................... 7300/11954 ........................................................................ii................i..i..ii.. 7400/11954 .................................................................................................... 7500/11954 .................................................................................................... 7600/11954 .................................................................................................... 7700/11954 .................................................................................................... 7800/11954 ........................i..ii..............................................................ii....... 7900/11954 .................................................................................................... 8000/11954 ................i...........................................................ii..i..........i........ 8100/11954 .....................................................................................i.............. 8200/11954 .................................................................................................... 8300/11954 .......................i............................................................................ 8400/11954 ...................................................................................i................ 8500/11954 .................................................................................................... 8600/11954 .................................................................................................... 8700/11954 .................................................................................................... 8800/11954 .................................................................................................... 8900/11954 ...................................................................................iiii.iiiii....... 9000/11954 .........................................................ii...............i......................... 9100/11954 .................................................................................................... 9200/11954 .................................................................................................... 9300/11954 .................................................................................................... 9400/11954 .................................................................................................... 9500/11954 .................................................................................................... 9600/11954 .................................................................................................... 9700/11954 .......................i......i..................................................................... 9800/11954 ...........................................................................iiiiii.i..iiiiii.i....... 9900/11954 .................................................................................................... 10000/11954 .................................................................................................... 10100/11954 .................................................................................................... 10200/11954 .................................................................................................... 10300/11954 .................................................................................................... 10400/11954 .................................................................................................... 10500/11954 .................................................................................................... 10600/11954 ........................................................................ii.......................... 10700/11954 ............i....................................................................................... 10800/11954 .................................................................................................... 10900/11954 ...............................................................F.................................... 11000/11954 ...............................F.................................................................... 11100/11954 .................................................................................................... 11200/11954 ..............................................ii.................................................... 11300/11954 .................................F..............F................................................... 11400/11954 .................................................................................................... 11500/11954 .................................................................................................... 11600/11954 .................................................................................................... 11700/11954 .................................................................................................... 11800/11954 .....................................................i.i............................................ 11900/11954 ...................................................... failures: ---- [ui] ui/associated-consts/issue-63496.rs stdout ---- diff of stderr: - error[E0283]: type annotations needed + error[E0282]: type annotations needed 2 --> $DIR/issue-63496.rs:4:21 3 | - LL | const C: usize; - | --------------- required by `A::C` - LL | 7 LL | fn f() -> ([u8; A::C], [u8; A::C]); - | ^^^^ - | | - | cannot infer type - | help: use the fully qualified path to an implementation: `::C` - | - = note: cannot satisfy `_: A` - = note: associated constants cannot be accessed directly on a `trait`, they can only be accessed through a specific `impl` + | ^^^^ cannot infer type 15 - error[E0283]: type annotations needed + error[E0282]: type annotations needed 17 --> $DIR/issue-63496.rs:4:33 18 | - LL | const C: usize; - | --------------- required by `A::C` - LL | 22 LL | fn f() -> ([u8; A::C], [u8; A::C]); - | ^^^^ - | | - | cannot infer type - | help: use the fully qualified path to an implementation: `::C` - | - = note: cannot satisfy `_: A` - = note: associated constants cannot be accessed directly on a `trait`, they can only be accessed through a specific `impl` + | ^^^^ cannot infer type 30 31 error: aborting due to 2 previous errors 32 - For more information about this error, try `rustc --explain E0283`. + For more information about this error, try `rustc --explain E0282`. 34 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/associated-consts/issue-63496/issue-63496.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args associated-consts/issue-63496.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/associated-consts/issue-63496.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/associated-consts/issue-63496" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/associated-consts/issue-63496/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/associated-consts/issue-63496.rs:4:21 | LL | fn f() -> ([u8; A::C], [u8; A::C]); | ^^^^ cannot infer type error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/associated-consts/issue-63496.rs:4:33 | LL | fn f() -> ([u8; A::C], [u8; A::C]); | ^^^^ cannot infer type error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/associated-item/issue-48027.rs stdout ---- diff of stderr: 13 LL | const X: usize; 14 | ^ ...because it contains this associated `const` 15 - error[E0283]: type annotations needed + error[E0282]: type annotations needed 17 --> $DIR/issue-48027.rs:3:32 18 | - LL | const X: usize; - | --------------- required by `Bar::X` 21 LL | fn return_n(&self) -> [u8; Bar::X]; - | ^^^^^^ - | | - | cannot infer type - | help: use the fully qualified path to an implementation: `::X` - | - = note: cannot satisfy `_: Bar` - = note: associated constants cannot be accessed directly on a `trait`, they can only be accessed through a specific `impl` + | ^^^^^^ cannot infer type 29 30 error: aborting due to 2 previous errors 31 - Some errors have detailed explanations: E0038, E0283. + Some errors have detailed explanations: E0038, E0282. 33 For more information about an error, try `rustc --explain E0038`. 34 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/associated-item/issue-48027/issue-48027.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args associated-item/issue-48027.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/associated-item/issue-48027.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/associated-item/issue-48027" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/associated-item/issue-48027/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0038]: the trait `Bar` cannot be made into an object --> /Users/tlyu/src/rust-lang/rust/src/test/ui/associated-item/issue-48027.rs:6:6 | LL | impl dyn Bar {} //~ ERROR: the trait `Bar` cannot be made into an object | ^^^^^^^ `Bar` cannot be made into an object | = help: consider moving `X` to another trait note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit --> /Users/tlyu/src/rust-lang/rust/src/test/ui/associated-item/issue-48027.rs:2:11 | LL | trait Bar { | --- this trait cannot be made into an object... LL | const X: usize; | ^ ...because it contains this associated `const` error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/associated-item/issue-48027.rs:3:32 | LL | fn return_n(&self) -> [u8; Bar::X]; //~ ERROR: type annotations needed | ^^^^^^ cannot infer type error: aborting due to 2 previous errors Some errors have detailed explanations: E0038, E0282. For more information about an error, try `rustc --explain E0038`. ------------------------------------------ ---- [ui] ui/associated-types/associated-types-unconstrained.rs stdout ---- diff of stderr: - error[E0283]: type annotations needed + error[E0282]: type annotations needed 2 --> $DIR/associated-types-unconstrained.rs:14:20 3 | - LL | fn bar() -> isize; - | ------------------ required by `Foo::bar` - ... 7 LL | let x: isize = Foo::bar(); 8 | ^^^^^^^^ cannot infer type - | - = note: cannot satisfy `_: Foo` 11 12 error: aborting due to previous error 13 - For more information about this error, try `rustc --explain E0283`. + For more information about this error, try `rustc --explain E0282`. 15 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/associated-types/associated-types-unconstrained/associated-types-unconstrained.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args associated-types/associated-types-unconstrained.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/associated-types/associated-types-unconstrained.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/associated-types/associated-types-unconstrained" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/associated-types/associated-types-unconstrained/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/associated-types/associated-types-unconstrained.rs:14:20 | LL | let x: isize = Foo::bar(); | ^^^^^^^^ cannot infer type error: aborting due to previous error For more information about this error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/const-generics/issues/issue-72787.rs#min stdout ---- diff of stderr: 34 = help: const parameters may only be used as standalone arguments, i.e. `J` 35 = help: use `#![feature(const_generics)]` and `#![feature(const_evaluatable_checked)]` to allow generic const expressions 36 - error[E0283]: type annotations needed + error[E0282]: type annotations needed 38 --> $DIR/issue-72787.rs:21:26 39 | - LL | pub trait True {} - | -------------- required by this bound in `True` - ... 43 LL | IsLessOrEqual: True, 44 | ^^^^ cannot infer type for struct `IsLessOrEqual` - | - = note: cannot satisfy `IsLessOrEqual: True` 47 - error[E0283]: type annotations needed + error[E0282]: type annotations needed 49 --> $DIR/issue-72787.rs:21:26 50 | - LL | pub trait True {} - | -------------- required by this bound in `True` - ... 54 LL | IsLessOrEqual: True, 55 | ^^^^ cannot infer type for struct `IsLessOrEqual` - | - = note: cannot satisfy `IsLessOrEqual: True` 58 59 error: aborting due to 6 previous errors 60 - For more information about this error, try `rustc --explain E0283`. + For more information about this error, try `rustc --explain E0282`. 62 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/const-generics/issues/issue-72787.min/issue-72787.min.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args const-generics/issues/issue-72787.rs` error in revision `min`: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/const-generics/issues/issue-72787.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--cfg" "min" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/const-generics/issues/issue-72787.min" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/const-generics/issues/issue-72787.min/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error: generic parameters may not be used in const operations --> /Users/tlyu/src/rust-lang/rust/src/test/ui/const-generics/issues/issue-72787.rs:10:17 | LL | Condition<{ LHS <= RHS }>: True | ^^^ cannot perform const operation using `LHS` | = help: const parameters may only be used as standalone arguments, i.e. `LHS` = help: use `#![feature(const_generics)]` and `#![feature(const_evaluatable_checked)]` to allow generic const expressions error: generic parameters may not be used in const operations --> /Users/tlyu/src/rust-lang/rust/src/test/ui/const-generics/issues/issue-72787.rs:10:24 | LL | Condition<{ LHS <= RHS }>: True | ^^^ cannot perform const operation using `RHS` | = help: const parameters may only be used as standalone arguments, i.e. `RHS` = help: use `#![feature(const_generics)]` and `#![feature(const_evaluatable_checked)]` to allow generic const expressions error: generic parameters may not be used in const operations --> /Users/tlyu/src/rust-lang/rust/src/test/ui/const-generics/issues/issue-72787.rs:25:25 | LL | IsLessOrEqual<{ 8 - I }, { 8 - J }>: True, | ^ cannot perform const operation using `I` | = help: const parameters may only be used as standalone arguments, i.e. `I` = help: use `#![feature(const_generics)]` and `#![feature(const_evaluatable_checked)]` to allow generic const expressions error: generic parameters may not be used in const operations --> /Users/tlyu/src/rust-lang/rust/src/test/ui/const-generics/issues/issue-72787.rs:25:36 | LL | IsLessOrEqual<{ 8 - I }, { 8 - J }>: True, | ^ cannot perform const operation using `J` | = help: const parameters may only be used as standalone arguments, i.e. `J` = help: use `#![feature(const_generics)]` and `#![feature(const_evaluatable_checked)]` to allow generic const expressions error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/const-generics/issues/issue-72787.rs:21:26 | LL | IsLessOrEqual: True, | ^^^^ cannot infer type for struct `IsLessOrEqual` error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/const-generics/issues/issue-72787.rs:21:26 | LL | IsLessOrEqual: True, | ^^^^ cannot infer type for struct `IsLessOrEqual` error: aborting due to 6 previous errors For more information about this error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/error-codes/E0283.rs stdout ---- diff of stderr: - error[E0283]: type annotations needed + error[E0282]: type annotations needed 2 --> $DIR/E0283.rs:30:21 3 | - LL | fn create() -> u32; - | ------------------- required by `Generator::create` - ... 7 LL | let cont: u32 = Generator::create(); 8 | ^^^^^^^^^^^^^^^^^ cannot infer type - | - = note: cannot satisfy `_: Generator` 11 - error[E0283]: type annotations needed + error[E0282]: type annotations needed 13 --> $DIR/E0283.rs:35:24 14 | 15 LL | let bar = foo_impl.into() * 1u32; 17 | | | 18 | | cannot infer type for type parameter `T` declared on the trait `Into` 19 | this method call resolves to `T` - | help: use the fully qualified path for the potential candidate: `>::into(foo_impl)` - | - = note: cannot satisfy `Impl: Into<_>` 23 24 error: aborting due to 2 previous errors 25 - For more information about this error, try `rustc --explain E0283`. + For more information about this error, try `rustc --explain E0282`. 27 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/error-codes/E0283/E0283.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args error-codes/E0283.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/error-codes/E0283.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/error-codes/E0283" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/error-codes/E0283/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/error-codes/E0283.rs:30:21 | LL | let cont: u32 = Generator::create(); //~ ERROR E0283 | ^^^^^^^^^^^^^^^^^ cannot infer type error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/error-codes/E0283.rs:35:24 | LL | let bar = foo_impl.into() * 1u32; //~ ERROR E0283 | ---------^^^^-- | | | | | cannot infer type for type parameter `T` declared on the trait `Into` | this method call resolves to `T` error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/inference/issue-71732.rs stdout ---- diff of stderr: - error[E0283]: type annotations needed + error[E0282]: type annotations needed 2 --> $DIR/issue-71732.rs:18:10 3 | 4 LL | .get(&"key".into()) 5 | ^^^ ------------ this method call resolves to `T` 6 | | 7 | cannot infer type for type parameter `Q` declared on the associated function `get` - | - = note: cannot satisfy `String: Borrow<_>` 10 11 error: aborting due to previous error 12 - For more information about this error, try `rustc --explain E0283`. + For more information about this error, try `rustc --explain E0282`. 14 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/inference/issue-71732/issue-71732.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args inference/issue-71732.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/inference/issue-71732.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/inference/issue-71732" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/inference/issue-71732/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/inference/issue-71732.rs:18:10 | LL | .get(&"key".into()) //~ ERROR: type annotations needed | ^^^ ------------ this method call resolves to `T` | | | cannot infer type for type parameter `Q` declared on the associated function `get` error: aborting due to previous error For more information about this error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/inference/issue-72616.rs stdout ---- diff of stderr: - error[E0283]: type annotations needed + error[E0282]: type annotations needed 2 --> $DIR/issue-72616.rs:20:30 3 | 4 LL | if String::from("a") == "a".try_into().unwrap() {} 5 | ^^ -------------- this method call resolves to `Result>::Error>` 6 | | 7 | cannot infer type - | - = note: cannot satisfy `String: PartialEq<_>` 10 11 error: aborting due to previous error 12 - For more information about this error, try `rustc --explain E0283`. + For more information about this error, try `rustc --explain E0282`. 14 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/inference/issue-72616/issue-72616.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args inference/issue-72616.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/inference/issue-72616.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/inference/issue-72616" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/inference/issue-72616/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/inference/issue-72616.rs:20:30 | LL | if String::from("a") == "a".try_into().unwrap() {} | ^^ -------------- this method call resolves to `Result>::Error>` | | | cannot infer type error: aborting due to previous error For more information about this error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/issues/issue-16966.rs stdout ---- diff of stderr: - error[E0283]: type annotations needed + error[E0282]: type annotations needed 2 --> $DIR/issue-16966.rs:2:5 3 | 4 LL | panic!(std::default::Default::default()); 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `M` declared on the function `begin_panic` - | - ::: $SRC_DIR/std/src/panicking.rs:LL:COL 8 | - LL | pub fn begin_panic(msg: M) -> ! { - | --- required by this bound in `begin_panic` - | - = note: cannot satisfy `_: Any` 13 = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info) - help: consider specifying the type argument in the function call - | - LL | $crate::rt::begin_panic::($msg) - | ^^^^^ 18 19 error: aborting due to previous error 20 - For more information about this error, try `rustc --explain E0283`. + For more information about this error, try `rustc --explain E0282`. 22 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-16966/issue-16966.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args issues/issue-16966.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-16966.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-16966" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-16966/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-16966.rs:2:5 | LL | panic!(std::default::Default::default()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `M` declared on the function `begin_panic` | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to previous error For more information about this error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/issues/issue-21974.rs stdout ---- diff of stderr: - error[E0283]: type annotations needed + error[E0282]: type annotations needed 2 --> $DIR/issue-21974.rs:11:19 3 | - LL | trait Foo { - | --------- required by this bound in `Foo` - ... 7 LL | where &'a T : Foo, 8 | ^^^ cannot infer type for reference `&'a T` - | - = note: cannot satisfy `&'a T: Foo` 11 12 error: aborting due to previous error 13 - For more information about this error, try `rustc --explain E0283`. + For more information about this error, try `rustc --explain E0282`. 15 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-21974/issue-21974.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args issues/issue-21974.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-21974.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-21974" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-21974/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-21974.rs:11:19 | LL | where &'a T : Foo, //~ ERROR type annotations needed | ^^^ cannot infer type for reference `&'a T` error: aborting due to previous error For more information about this error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/issues/issue-24424.rs stdout ---- diff of stderr: - error[E0283]: type annotations needed + error[E0282]: type annotations needed 2 --> $DIR/issue-24424.rs:4:57 3 | - LL | trait Trait0<'l0> {} - | ----------------- required by this bound in `Trait0` - LL | 7 LL | impl <'l0, 'l1, T0> Trait1<'l0, T0> for bool where T0 : Trait0<'l0>, T0 : Trait0<'l1> {} 8 | ^^^^^^^^^^^ cannot infer type for type parameter `T0` - | - = note: cannot satisfy `T0: Trait0<'l0>` 11 12 error: aborting due to previous error 13 - For more information about this error, try `rustc --explain E0283`. + For more information about this error, try `rustc --explain E0282`. 15 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-24424/issue-24424.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args issues/issue-24424.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-24424.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-24424" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-24424/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-24424.rs:4:57 | LL | impl <'l0, 'l1, T0> Trait1<'l0, T0> for bool where T0 : Trait0<'l0>, T0 : Trait0<'l1> {} | ^^^^^^^^^^^ cannot infer type for type parameter `T0` error: aborting due to previous error For more information about this error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/issues/issue-29147.rs stdout ---- diff of stderr: - error[E0283]: type annotations needed + error[E0282]: type annotations needed 2 --> $DIR/issue-29147.rs:21:13 3 | - LL | trait Foo { fn xxx(&self); } - | -------------- required by `Foo::xxx` - ... 7 LL | let _ = >::xxx; 8 | ^^^^^^^^^^^^ cannot infer type for struct `S5<_>` - | - = note: cannot satisfy `S5<_>: Foo` 11 12 error: aborting due to previous error 13 - For more information about this error, try `rustc --explain E0283`. + For more information about this error, try `rustc --explain E0282`. 15 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-29147/issue-29147.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args issues/issue-29147.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-29147.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-29147" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-29147/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-29147.rs:21:13 | LL | let _ = >::xxx; //~ ERROR type annotations needed | ^^^^^^^^^^^^ cannot infer type for struct `S5<_>` error: aborting due to previous error For more information about this error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/issues/issue-54954.rs stdout ---- diff of stderr: 4 LL | const fn const_val() -> usize { 5 | ^^^^^ functions in traits cannot be const 6 - error[E0283]: type annotations needed + error[E0282]: type annotations needed 8 --> $DIR/issue-54954.rs:1:24 9 | 10 LL | const ARR_LEN: usize = Tt::const_val::<[i8; 123]>(); 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type - ... - LL | const fn const_val() -> usize { - | ----- required by this bound in `Tt::const_val` - | - = note: cannot satisfy `_: Tt` 17 18 error: aborting due to 2 previous errors 19 - Some errors have detailed explanations: E0283, E0379. - For more information about an error, try `rustc --explain E0283`. + Some errors have detailed explanations: E0282, E0379. + For more information about an error, try `rustc --explain E0282`. 22 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-54954/issue-54954.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args issues/issue-54954.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-54954.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-54954" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-54954/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0379]: functions in traits cannot be declared const --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-54954.rs:5:5 | LL | const fn const_val() -> usize { | ^^^^^ functions in traits cannot be const error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-54954.rs:1:24 | LL | const ARR_LEN: usize = Tt::const_val::<[i8; 123]>(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type error: aborting due to 2 previous errors Some errors have detailed explanations: E0282, E0379. For more information about an error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/issues/issue-58022.rs stdout ---- diff of stderr: 4 LL | Foo(Box::new(*slice)) 5 | ^^^ not a function, tuple struct or tuple variant 6 - error[E0283]: type annotations needed + error[E0282]: type annotations needed 8 --> $DIR/issue-58022.rs:4:25 9 | - LL | const SIZE: usize; - | ------------------ required by `Foo::SIZE` - LL | 13 LL | fn new(slice: &[u8; Foo::SIZE]) -> Self; - | ^^^^^^^^^ - | | - | cannot infer type - | help: use the fully qualified path to an implementation: `::SIZE` - | - = note: cannot satisfy `_: Foo` - = note: associated constants cannot be accessed directly on a `trait`, they can only be accessed through a specific `impl` + | ^^^^^^^^^ cannot infer type 21 22 error: aborting due to 2 previous errors 23 - Some errors have detailed explanations: E0283, E0423. - For more information about an error, try `rustc --explain E0283`. + Some errors have detailed explanations: E0282, E0423. + For more information about an error, try `rustc --explain E0282`. 26 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-58022/issue-58022.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args issues/issue-58022.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-58022.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-58022" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-58022/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0423]: expected function, tuple struct or tuple variant, found trait `Foo` --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-58022.rs:14:9 | LL | Foo(Box::new(*slice)) | ^^^ not a function, tuple struct or tuple variant error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-58022.rs:4:25 | LL | fn new(slice: &[u8; Foo::SIZE]) -> Self; | ^^^^^^^^^ cannot infer type error: aborting due to 2 previous errors Some errors have detailed explanations: E0282, E0423. For more information about an error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/issues/issue-72690.rs stdout ---- diff of stderr: - error[E0283]: type annotations needed + error[E0282]: type annotations needed 2 --> $DIR/issue-72690.rs:7:5 3 | 4 LL | String::from("x".as_ref()); 5 | ^^^^^^^^^^^^ cannot infer type for reference `&_` - | - = note: cannot satisfy `String: From<&_>` - = note: required by `from` 9 10 error[E0282]: type annotations needed 11 --> $DIR/issue-72690.rs:11:6 13 LL | |x| String::from("x".as_ref()); 14 | ^ consider giving this closure parameter a type 15 - error[E0283]: type annotations needed for `&T` + error[E0282]: type annotations needed for `&T` 17 --> $DIR/issue-72690.rs:15:17 18 | 19 LL | let _ = "x".as_ref(); 20 | - ^^^^^^ cannot infer type for type parameter `T` declared on the trait `AsRef` 21 | | 22 | consider giving this pattern the explicit type `&T`, where the type parameter `T` is specified - | - = note: cannot satisfy `str: AsRef<_>` 25 - error[E0283]: type annotations needed + error[E0282]: type annotations needed 27 --> $DIR/issue-72690.rs:19:5 28 | 29 LL | String::from("x".as_ref()); 30 | ^^^^^^^^^^^^ cannot infer type for reference `&_` - | - = note: cannot satisfy `String: From<&_>` - = note: required by `from` 34 - error[E0283]: type annotations needed + error[E0282]: type annotations needed 36 --> $DIR/issue-72690.rs:25:5 37 | 38 LL | String::from("x".as_ref()); 39 | ^^^^^^^^^^^^ cannot infer type for reference `&_` - | - = note: cannot satisfy `String: From<&_>` - = note: required by `from` 43 - error[E0283]: type annotations needed + error[E0282]: type annotations needed 45 --> $DIR/issue-72690.rs:33:5 46 | 47 LL | String::from("x".as_ref()); 48 | ^^^^^^^^^^^^ cannot infer type for reference `&_` - | - = note: cannot satisfy `String: From<&_>` - = note: required by `from` 52 - error[E0283]: type annotations needed + error[E0282]: type annotations needed 54 --> $DIR/issue-72690.rs:41:5 55 | 56 LL | String::from("x".as_ref()); 57 | ^^^^^^^^^^^^ cannot infer type for reference `&_` - | - = note: cannot satisfy `String: From<&_>` - = note: required by `from` 61 - error[E0283]: type annotations needed + error[E0282]: type annotations needed 63 --> $DIR/issue-72690.rs:47:5 64 | 65 LL | String::from("x".as_ref()); 66 | ^^^^^^^^^^^^ cannot infer type for reference `&_` - | - = note: cannot satisfy `String: From<&_>` - = note: required by `from` 70 - error[E0283]: type annotations needed + error[E0282]: type annotations needed 72 --> $DIR/issue-72690.rs:55:5 73 | 74 LL | String::from("x".as_ref()); 75 | ^^^^^^^^^^^^ cannot infer type for reference `&_` - | - = note: cannot satisfy `String: From<&_>` - = note: required by `from` 79 80 error: aborting due to 9 previous errors 81 - Some errors have detailed explanations: E0282, E0283. - For more information about an error, try `rustc --explain E0282`. + For more information about this error, try `rustc --explain E0282`. 84 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-72690/issue-72690.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args issues/issue-72690.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-72690.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-72690" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/issues/issue-72690/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-72690.rs:7:5 | LL | String::from("x".as_ref()); //~ ERROR type annotations needed | ^^^^^^^^^^^^ cannot infer type for reference `&_` error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-72690.rs:11:6 | LL | |x| String::from("x".as_ref()); //~ ERROR type annotations needed | ^ consider giving this closure parameter a type error[E0282]: type annotations needed for `&T` --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-72690.rs:15:17 | LL | let _ = "x".as_ref(); //~ ERROR type annotations needed | - ^^^^^^ cannot infer type for type parameter `T` declared on the trait `AsRef` | | | consider giving this pattern the explicit type `&T`, where the type parameter `T` is specified error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-72690.rs:19:5 | LL | String::from("x".as_ref()); //~ ERROR type annotations needed | ^^^^^^^^^^^^ cannot infer type for reference `&_` error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-72690.rs:25:5 | LL | String::from("x".as_ref()); //~ ERROR type annotations needed | ^^^^^^^^^^^^ cannot infer type for reference `&_` error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-72690.rs:33:5 | LL | String::from("x".as_ref()); //~ ERROR type annotations needed | ^^^^^^^^^^^^ cannot infer type for reference `&_` error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-72690.rs:41:5 | LL | String::from("x".as_ref()); //~ ERROR type annotations needed | ^^^^^^^^^^^^ cannot infer type for reference `&_` error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-72690.rs:47:5 | LL | String::from("x".as_ref()); //~ ERROR type annotations needed | ^^^^^^^^^^^^ cannot infer type for reference `&_` error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/issues/issue-72690.rs:55:5 | LL | String::from("x".as_ref()); //~ ERROR type annotations needed | ^^^^^^^^^^^^ cannot infer type for reference `&_` error: aborting due to 9 previous errors For more information about this error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/lifetimes/issue-34979.rs stdout ---- diff of stderr: - error[E0283]: type annotations needed + error[E0282]: type annotations needed 2 --> $DIR/issue-34979.rs:6:13 3 | - LL | trait Foo {} - | --------- required by this bound in `Foo` - ... 7 LL | &'a (): Foo, 8 | ^^^ cannot infer type for reference `&'a ()` - | - = note: cannot satisfy `&'a (): Foo` 11 12 error: aborting due to previous error 13 - For more information about this error, try `rustc --explain E0283`. + For more information about this error, try `rustc --explain E0282`. 15 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/lifetimes/issue-34979/issue-34979.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args lifetimes/issue-34979.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/lifetimes/issue-34979.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/lifetimes/issue-34979" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/lifetimes/issue-34979/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/lifetimes/issue-34979.rs:6:13 | LL | &'a (): Foo, //~ ERROR: type annotations needed | ^^^ cannot infer type for reference `&'a ()` error: aborting due to previous error For more information about this error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/traits/issue-77982.rs stdout ---- diff of stderr: - error[E0283]: type annotations needed + error[E0282]: type annotations needed 2 --> $DIR/issue-77982.rs:8:10 3 | 4 LL | opts.get(opt.as_ref()); 5 | ^^^ ------------ this method call resolves to `&T` 6 | | 7 | cannot infer type for type parameter `Q` declared on the associated function `get` - | - = note: cannot satisfy `String: Borrow<_>` 10 - error[E0283]: type annotations needed + error[E0282]: type annotations needed 12 --> $DIR/issue-77982.rs:12:44 13 | 14 LL | let ips: Vec<_> = (0..100_000).map(|_| u32::from(0u32.into())).collect(); 15 | ^^^^^^^^^ ----------- this method call resolves to `T` 16 | | 17 | cannot infer type for type parameter `T` declared on the trait `From` - | - = note: cannot satisfy `u32: From<_>` - = note: required by `from` 21 - error[E0283]: type annotations needed for `Box` + error[E0282]: type annotations needed for `Box` 23 --> $DIR/issue-77982.rs:35:16 24 | 25 LL | let _ = ().foo(); 26 | - ^^^ cannot infer type for type parameter `T` declared on the trait `Foo` 27 | | 28 | consider giving this pattern the explicit type `Box`, where the type parameter `T` is specified - | - = note: cannot satisfy `(): Foo<'_, _>` 31 - error[E0283]: type annotations needed for `Box` + error[E0282]: type annotations needed for `Box` 33 --> $DIR/issue-77982.rs:39:19 34 | 35 LL | let _ = (&()).bar(); 36 | - ^^^ cannot infer type for type parameter `T` declared on the trait `Bar` 37 | | 38 | consider giving this pattern the explicit type `Box`, where the type parameter `T` is specified - | - = note: cannot satisfy `&(): Bar<'_, _>` 41 42 error: aborting due to 4 previous errors 43 - For more information about this error, try `rustc --explain E0283`. + For more information about this error, try `rustc --explain E0282`. 45 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/traits/issue-77982/issue-77982.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args traits/issue-77982.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/traits/issue-77982.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/traits/issue-77982" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/traits/issue-77982/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/traits/issue-77982.rs:8:10 | LL | opts.get(opt.as_ref()); //~ ERROR type annotations needed | ^^^ ------------ this method call resolves to `&T` | | | cannot infer type for type parameter `Q` declared on the associated function `get` error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/traits/issue-77982.rs:12:44 | LL | let ips: Vec<_> = (0..100_000).map(|_| u32::from(0u32.into())).collect(); | ^^^^^^^^^ ----------- this method call resolves to `T` | | | cannot infer type for type parameter `T` declared on the trait `From` error[E0282]: type annotations needed for `Box` --> /Users/tlyu/src/rust-lang/rust/src/test/ui/traits/issue-77982.rs:35:16 | LL | let _ = ().foo(); //~ ERROR type annotations needed | - ^^^ cannot infer type for type parameter `T` declared on the trait `Foo` | | | consider giving this pattern the explicit type `Box`, where the type parameter `T` is specified error[E0282]: type annotations needed for `Box` --> /Users/tlyu/src/rust-lang/rust/src/test/ui/traits/issue-77982.rs:39:19 | LL | let _ = (&()).bar(); //~ ERROR type annotations needed | - ^^^ cannot infer type for type parameter `T` declared on the trait `Bar` | | | consider giving this pattern the explicit type `Box`, where the type parameter `T` is specified error: aborting due to 4 previous errors For more information about this error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/traits/static-method-generic-inference.rs stdout ---- diff of stderr: - error[E0283]: type annotations needed + error[E0282]: type annotations needed 2 --> $DIR/static-method-generic-inference.rs:24:25 3 | - LL | fn new() -> T; - | -------------- required by `HasNew::new` - ... 7 LL | let _f: base::Foo = base::HasNew::new(); 8 | ^^^^^^^^^^^^^^^^^ cannot infer type - | - = note: cannot satisfy `_: HasNew` 11 12 error: aborting due to previous error 13 - For more information about this error, try `rustc --explain E0283`. + For more information about this error, try `rustc --explain E0282`. 15 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/traits/static-method-generic-inference/static-method-generic-inference.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args traits/static-method-generic-inference.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/traits/static-method-generic-inference.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/traits/static-method-generic-inference" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/traits/static-method-generic-inference/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/traits/static-method-generic-inference.rs:24:25 | LL | let _f: base::Foo = base::HasNew::new(); | ^^^^^^^^^^^^^^^^^ cannot infer type error: aborting due to previous error For more information about this error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/type/type-annotation-needed.rs stdout ---- diff of stderr: - error[E0283]: type annotations needed + error[E0282]: type annotations needed 2 --> $DIR/type-annotation-needed.rs:5:5 3 | - LL | fn foo>(x: i32) {} - | ------------ required by this bound in `foo` - ... 7 LL | foo(42); 8 | ^^^ cannot infer type for type parameter `T` declared on the function `foo` - | - = note: cannot satisfy `_: Into` - help: consider specifying the type argument in the function call - | - LL | foo::(42); - | ^^^^^ 15 16 error: aborting due to previous error 17 - For more information about this error, try `rustc --explain E0283`. + For more information about this error, try `rustc --explain E0282`. 19 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/type/type-annotation-needed/type-annotation-needed.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args type/type-annotation-needed.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/type/type-annotation-needed.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/type/type-annotation-needed" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/type/type-annotation-needed/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/type/type-annotation-needed.rs:5:5 | LL | foo(42); | ^^^ cannot infer type for type parameter `T` declared on the function `foo` error: aborting due to previous error For more information about this error, try `rustc --explain E0282`. ------------------------------------------ ---- [ui] ui/type/type-check/issue-40294.rs stdout ---- diff of stderr: - error[E0283]: type annotations needed + error[E0282]: type annotations needed 2 --> $DIR/issue-40294.rs:6:19 3 | - LL | trait Foo: Sized { - | ---------------- required by this bound in `Foo` - ... 7 LL | where &'a T : Foo, 8 | ^^^ cannot infer type for reference `&'a T` - | - = note: cannot satisfy `&'a T: Foo` 11 12 error: aborting due to previous error 13 - For more information about this error, try `rustc --explain E0283`. + For more information about this error, try `rustc --explain E0282`. 15 The actual stderr differed from the expected stderr. Actual stderr saved to /Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/type/type-check/issue-40294/issue-40294.stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args type/type-check/issue-40294.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "/Users/tlyu/src/rust-lang/rust/src/test/ui/type/type-check/issue-40294.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/type/type-check/issue-40294" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui/type/type-check/issue-40294/auxiliary" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ error[E0282]: type annotations needed --> /Users/tlyu/src/rust-lang/rust/src/test/ui/type/type-check/issue-40294.rs:6:19 | LL | where &'a T : Foo, //~ ERROR type annotations needed | ^^^ cannot infer type for reference `&'a T` error: aborting due to previous error For more information about this error, try `rustc --explain E0282`. ------------------------------------------ failures: [ui] ui/associated-consts/issue-63496.rs [ui] ui/associated-item/issue-48027.rs [ui] ui/associated-types/associated-types-unconstrained.rs [ui] ui/const-generics/issues/issue-72787.rs#min [ui] ui/error-codes/E0283.rs [ui] ui/inference/issue-71732.rs [ui] ui/inference/issue-72616.rs [ui] ui/issues/issue-16966.rs [ui] ui/issues/issue-21974.rs [ui] ui/issues/issue-24424.rs [ui] ui/issues/issue-29147.rs [ui] ui/issues/issue-54954.rs [ui] ui/issues/issue-58022.rs [ui] ui/issues/issue-72690.rs [ui] ui/lifetimes/issue-34979.rs [ui] ui/traits/issue-77982.rs [ui] ui/traits/static-method-generic-inference.rs [ui] ui/type/type-annotation-needed.rs [ui] ui/type/type-check/issue-40294.rs test result: FAILED. 11834 passed; 19 failed; 101 ignored; 0 measured; 0 filtered out; finished in 853.63s Some tests failed in compiletest suite=ui mode=ui host=x86_64-apple-darwin target=x86_64-apple-darwin command did not execute successfully: "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage0-tools-bin/compiletest" "--compile-lib-path" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/lib" "--run-lib-path" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib" "--rustc-path" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/stage1/bin/rustc" "--src-base" "/Users/tlyu/src/rust-lang/rust/src/test/ui" "--build-base" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/test/ui" "--stage-id" "stage1-x86_64-apple-darwin" "--suite" "ui" "--mode" "ui" "--target" "x86_64-apple-darwin" "--host" "x86_64-apple-darwin" "--llvm-filecheck" "/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/ci-llvm/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options -Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options -Lnative=/Users/tlyu/src/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "--docck-python" "/usr/local/opt/python@3.9/bin/python3.9" "--lldb-python" "/usr/bin/python3" "--lldb-version" "lldb-1200.0.44.2\nApple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)\n" "--lldb-python-dir" "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python3" "--quiet" "--llvm-version" "12.0.1-rust-1.54.0-nightly" "--llvm-components" "aarch64 aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils aggressiveinstcombine all all-targets analysis arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter avr avrasmparser avrcodegen avrdesc avrdisassembler avrinfo binaryformat bitreader bitstreamreader bitwriter cfguard codegen core coroutines coverage debuginfocodeview debuginfodwarf debuginfogsym debuginfomsf debuginfopdb demangle dlltooldriver dwarflinker engine executionengine extensions filecheck frontendopenacc frontendopenmp fuzzmutate globalisel hellonew hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo instcombine instrumentation interfacestub interpreter ipo irreader jitlink libdriver lineeditor linker lto mc mca mcdisassembler mcjit mcparser mips mipsasmparser mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmparser msp430codegen msp430desc msp430disassembler msp430info native nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo objcarcopts object objectyaml option orcjit orcshared orctargetprocess passes powerpc powerpcasmparser powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata remarks riscv riscvasmparser riscvcodegen riscvdesc riscvdisassembler riscvinfo runtimedyld scalaropts selectiondag sparc sparcasmparser sparccodegen sparcdesc sparcdisassembler sparcinfo support symbolize systemz systemzasmparser systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target textapi transformutils vectorize webassembly webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo windowsmanifest x86 x86asmparser x86codegen x86desc x86disassembler x86info xray" "--cc" "" "--cxx" "" "--cflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" expected success, got: exit status: 1 failed to run: /Users/tlyu/src/rust-lang/rust/build/bootstrap/debug/bootstrap test -i src/test/ui Build completed unsuccessfully in 0:19:58