rust icon indicating copy to clipboard operation
rust copied to clipboard

Ban non-array SIMD

Open scottmcm opened this issue 1 year ago • 22 comments

Nearing the end of https://github.com/rust-lang/compiler-team/issues/621 !

Currently blocked on ~~https://github.com/rust-lang/compiler-builtins/pull/673~~ ~~https://github.com/rust-lang/compiler-builtins/pull/674~~ ~~https://github.com/rust-lang/rust/pull/129400~~ ~~https://github.com/rust-lang/rust/pull/129481~~ for windows.

scottmcm avatar Aug 22 '24 08:08 scottmcm

r? @BoxyUwU

rustbot has assigned @BoxyUwU. 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

rustbot avatar Aug 22 '24 08:08 rustbot

The job mingw-check-tidy failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/

# NOTE: intentionally uses python2 for x.py so we can test it still works.
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
ENV SCRIPT TIDY_PRINT_DIFF=1 python2.7 ../x.py test \
           --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint,cpp:fmt
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --allow-unsafe --generate-hashes reuse-requirements.in
---
#13 2.842 Building wheels for collected packages: reuse
#13 2.843   Building wheel for reuse (pyproject.toml): started
#13 3.102   Building wheel for reuse (pyproject.toml): finished with status 'done'
#13 3.103   Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132715 sha256=dfa09868353292d98f811d3efdb0d54d07389e808efc71d68e3b93c514bf8bec
#13 3.103   Stored in directory: /tmp/pip-ephem-wheel-cache-ytb238t5/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#13 3.106 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#13 3.535 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#13 3.535 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#13 4.108 Collecting virtualenv
#13 4.108 Collecting virtualenv
#13 4.150   Downloading virtualenv-20.26.3-py3-none-any.whl (5.7 MB)
#13 4.232      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.7/5.7 MB 71.5 MB/s eta 0:00:00
#13 4.288 Collecting filelock<4,>=3.12.2
#13 4.293   Downloading filelock-3.15.4-py3-none-any.whl (16 kB)
#13 4.325 Collecting platformdirs<5,>=3.9.1
#13 4.329   Downloading platformdirs-4.2.2-py3-none-any.whl (18 kB)
#13 4.348 Collecting distlib<1,>=0.3.7
#13 4.361      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.9/468.9 KB 76.5 MB/s eta 0:00:00
#13 4.361      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.9/468.9 KB 76.5 MB/s eta 0:00:00
#13 4.443 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#13 4.637 Successfully installed distlib-0.3.8 filelock-3.15.4 platformdirs-4.2.2 virtualenv-20.26.3
#13 DONE 4.7s

#14 [7/8] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#14 DONE 0.0s
---
DirectMap4k:      227264 kB
DirectMap2M:     8161280 kB
DirectMap1G:    10485760 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 python2.7 ../x.py test            --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint,cpp:fmt
+ TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint,cpp:fmt
    Finished `dev` profile [unoptimized] target(s) in 0.04s
##[endgroup]
downloading https://ci-artifacts.rust-lang.org/rustc-builds-alt/739b1fdb158a3216d1b592d0d79d77d256f59815/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz
extracting /checkout/obj/build/cache/llvm-739b1fdb158a3216d1b592d0d79d77d256f59815-true/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz to /checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm
---
   Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
    Finished `release` profile [optimized] target(s) in 30.00s
##[endgroup]
fmt check
Diff in /checkout/compiler/rustc_hir_analysis/src/check/check.rs:1067:
         let array_field = &fields[FieldIdx::ZERO];
         let array_ty = array_field.ty(tcx, args);
         let ty::Array(element_ty, len_const) = array_ty.kind() else {
-            struct_span_code_err!(tcx.dcx(), sp, E0076, "SIMD vector's only field must be an array")
-                .with_span_label(tcx.def_span(array_field.did), "not an array")
-                .emit();
+            struct_span_code_err!(
+                tcx.dcx(),
+                sp,
+                E0076,
+                "SIMD vector's only field must be an array"
+            )
+            .with_span_label(tcx.def_span(array_field.did), "not an array")
+            .emit();
         };
 
 
fmt error: Running `"/checkout/obj/build/x86_64-unknown-linux-gnu/rustfmt/bin/rustfmt" "--config-path" "/checkout" "--edition" "2021" "--unstable-features" "--skip-children" "--check" "/checkout/compiler/rustc_errors/src/json/tests.rs" "/checkout/compiler/rustc_errors/src/emitter.rs" "/checkout/compiler/rustc_errors/src/codes.rs" "/checkout/compiler/rustc_errors/src/diagnostic.rs" "/checkout/compiler/rustc_errors/src/error.rs" "/checkout/compiler/rustc_errors/src/snippet.rs" "/checkout/compiler/rustc_errors/src/styled_buffer.rs" "/checkout/compiler/rustc_errors/src/lock.rs" "/checkout/compiler/rustc_errors/src/diagnostic_impls.rs" "/checkout/compiler/rustc_errors/src/markdown/mod.rs" "/checkout/compiler/rustc_errors/src/markdown/tests/term.rs" "/checkout/compiler/rustc_errors/src/markdown/tests/parse.rs" "/checkout/compiler/rustc_errors/src/markdown/term.rs" "/checkout/compiler/rustc_errors/src/markdown/parse.rs" "/checkout/compiler/rustc_errors/src/lib.rs" "/checkout/compiler/rustc_errors/src/translation.rs" "/checkout/compiler/rustc_errors/src/json.rs" "/checkout/compiler/rustc_errors/src/annotate_snippet_emitter_writer.rs" "/checkout/compiler/rustc_errors/src/tests.rs" "/checkout/compiler/rustc_hir_analysis/src/hir_wf_check.rs" "/checkout/compiler/rustc_hir_analysis/src/errors/wrong_number_of_generic_args.rs" "/checkout/compiler/rustc_hir_analysis/src/errors/precise_captures.rs" "/checkout/compiler/rustc_hir_analysis/src/errors/pattern_types.rs" "/checkout/compiler/rustc_hir_analysis/src/errors.rs" "/checkout/compiler/rustc_hir_analysis/src/constrained_generic_params.rs" "/checkout/compiler/rustc_hir_analysis/src/check_unused.rs" "/checkout/compiler/rustc_hir_analysis/src/autoderef.rs" "/checkout/compiler/rustc_hir_analysis/src/delegation.rs" "/checkout/compiler/rustc_hir_analysis/src/impl_wf_check/min_specialization.rs" "/checkout/compiler/rustc_hir_analysis/src/check/region.rs" "/checkout/compiler/rustc_hir_analysis/src/check/check.rs" "/checkout/compiler/rustc_hir_analysis/src/check/intrinsic.rs" "/checkout/compiler/rustc_hir_analysis/src/check/mod.rs" "/checkout/compiler/rustc_hir_analysis/src/check/errs.rs" "/checkout/compiler/rustc_hir_analysis/src/check/compare_impl_item.rs" "/checkout/compiler/rustc_hir_analysis/src/check/compare_impl_item/refine.rs" "/checkout/compiler/rustc_hir_analysis/src/check/wfcheck.rs" "/checkout/compiler/rustc_hir_analysis/src/check/dropck.rs" "/checkout/compiler/rustc_hir_analysis/src/check/intrinsicck.rs" "/checkout/compiler/rustc_hir_analysis/src/check/entry.rs" "/checkout/compiler/rustc_hir_analysis/src/variance/dump.rs" "/checkout/compiler/rustc_hir_analysis/src/variance/solve.rs" "/checkout/compiler/rustc_hir_analysis/src/variance/mod.rs" "/checkout/compiler/rustc_hir_analysis/src/variance/xform.rs" "/checkout/compiler/rustc_hir_analysis/src/variance/terms.rs" "/checkout/compiler/rustc_hir_analysis/src/variance/constraints.rs" "/checkout/compiler/rustc_hir_analysis/src/bounds.rs" "/checkout/compiler/rustc_hir_analysis/src/lib.rs" "/checkout/compiler/rustc_hir_analysis/src/collect.rs" "/checkout/compiler/rustc_hir_analysis/src/outlives/explicit.rs" "/checkout/compiler/rustc_hir_analysis/src/outlives/dump.rs" "/checkout/compiler/rustc_hir_analysis/src/outlives/utils.rs" "/checkout/compiler/rustc_hir_analysis/src/outlives/mod.rs" "/checkout/compiler/rustc_hir_analysis/src/outlives/implicit_infer.rs" "/checkout/compiler/rustc_hir_analysis/src/hir_ty_lowering/errors.rs" "/checkout/compiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs" "/checkout/compiler/rustc_hir_analysis/src/hir_ty_lowering/lint.rs" "/checkout/compiler/rustc_hir_analysis/src/hir_ty_lowering/object_safety.rs" "/checkout/compiler/rustc_hir_analysis/src/hir_ty_lowering/bounds.rs" "/checkout/compiler/rustc_hir_analysis/src/hir_ty_lowering/cmse.rs" "/checkout/compiler/rustc_hir_analysis/src/hir_ty_lowering/generics.rs" "/checkout/compiler/rustc_hir_analysis/src/coherence/builtin.rs" "/checkout/compiler/rustc_hir_analysis/src/coherence/orphan.rs" "/checkout/compiler/rustc_errors/src/registry.rs"` failed.
If you're running `tidy`, try again with `--bless`. Or, if you just want to format code, run `./x.py fmt` instead.
  local time: Thu Aug 22 08:35:56 UTC 2024
  network time: Thu, 22 Aug 2024 08:35:56 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar Aug 22 '24 08:08 rust-log-analyzer

The job x86_64-gnu-llvm-17 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
------
 > importing cache manifest from ghcr.io/rust-lang/rust-ci-cache:20d3b4d4a2629cbf7865cdbf92fe47512a7c96658c24253a045ff38e8075cd7fb37ca6fcadfa6e6d093333943ad24f6fc4f163ec5b74fd940de9d5bb03eb4d3b:
------
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-17]
---
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-17', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-17/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
failures:

---- [ui] tests/ui/abi/arm-unadjusted-intrinsic.rs#aarch64 stdout ----

error in revision `aarch64`: 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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/abi/arm-unadjusted-intrinsic.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/x86_64-unknown-linux-gnu/stage2" "--cfg" "aarch64" "--check-cfg" "cfg(FALSE,arm,aarch64)" "--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/x86_64-unknown-linux-gnu/test/ui/abi/arm-unadjusted-intrinsic.aarch64" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/arm-unadjusted-intrinsic.aarch64/auxiliary" "--target" "aarch64-unknown-linux-gnu"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
LL | pub struct int8x16_t(
   | ^^^^^^^^^^^^^^^^^^^^
   | ^^^^^^^^^^^^^^^^^^^^
LL |     pub(crate) i8, pub(crate) i8, pub(crate) i8, pub(crate) i8,

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/abi/arm-unadjusted-intrinsic.rs#arm stdout ----

error in revision `arm`: 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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/abi/arm-unadjusted-intrinsic.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/x86_64-unknown-linux-gnu/stage2" "--cfg" "arm" "--check-cfg" "cfg(FALSE,arm,aarch64)" "--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/x86_64-unknown-linux-gnu/test/ui/abi/arm-unadjusted-intrinsic.arm" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/arm-unadjusted-intrinsic.arm/auxiliary" "--target" "arm-unknown-linux-gnueabi"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
LL | pub struct int8x16_t(
   | ^^^^^^^^^^^^^^^^^^^^
   | ^^^^^^^^^^^^^^^^^^^^
LL |     pub(crate) i8, pub(crate) i8, pub(crate) i8, pub(crate) i8,

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/asm/x86_64/type-check-2.rs stdout ----
diff of stderr:

+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct SimdNonCopy(f32, f32, f32, f32);
+ 
1 error: arguments for inline assembly must be copyable
2   --> $DIR/type-check-2.rs:32:32
3    |
3    |

97 LL |         let mut v: Vec<u64> = vec![0, 1, 2];
99 
- error: aborting due to 10 previous errors
+ error: aborting due to 11 previous errors
101 
---
104 


The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/asm/x86_64/type-check-2/type-check-2.stderr
To only update this specific test, also pass `--test-args asm/x86_64/type-check-2.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/asm/x86_64/type-check-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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/asm/x86_64/type-check-2" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/asm/x86_64/type-check-2/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct SimdNonCopy(f32, f32, f32, f32);

error: arguments for inline assembly must be copyable
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-2.rs:32:32
   |
   |
LL |         asm!("{}", in(xmm_reg) SimdNonCopy(0.0, 0.0, 0.0, 0.0));
   |
   = note: `SimdNonCopy` does not implement the Copy trait


error: cannot use value of type `{closure@/checkout/tests/ui/asm/x86_64/type-check-2.rs:44:28: 44:36}` for inline assembly
   |
   |
LL |         asm!("{}", in(reg) |x: i32| x);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly

error: cannot use value of type `Vec<i32>` for inline assembly
error: cannot use value of type `Vec<i32>` for inline assembly
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-2.rs:46:28
   |
LL |         asm!("{}", in(reg) vec![0]);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly
   = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)


error: cannot use value of type `(i32, i32, i32)` for inline assembly
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-2.rs:48:28
   |
LL |         asm!("{}", in(reg) (1, 2, 3));
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly


error: cannot use value of type `[i32; 3]` for inline assembly
   |
   |
LL |         asm!("{}", in(reg) [1, 2, 3]);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly


error: cannot use value of type `fn() {main}` for inline assembly
   |
   |
LL |         asm!("{}", inout(reg) f);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly

error: cannot use value of type `&mut i32` for inline assembly
error: cannot use value of type `&mut i32` for inline assembly
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-2.rs:61:31
   |
LL |         asm!("{}", inout(reg) r);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly

error[E0381]: used binding `x` isn't initialized
error[E0381]: used binding `x` isn't initialized
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-2.rs:15:28
   |
LL |         let x: u64;
   |             - binding declared here but left uninitialized
LL |         asm!("{}", in(reg) x);
   |                            ^ `x` used here but it isn't initialized
help: consider assigning a value
   |
LL |         let x: u64 = 42;
   |                    ++++
   |                    ++++

error[E0381]: used binding `y` isn't initialized
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-2.rs:18:9
   |
LL |         let mut y: u64;
   |             ----- binding declared here but left uninitialized
LL |         asm!("{}", inout(reg) y);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^ `y` used here but it isn't initialized
help: consider assigning a value
   |
LL |         let mut y: u64 = 42;
   |                        ++++
   |                        ++++

error[E0596]: cannot borrow `v` as mutable, as it is not declared as mutable
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-2.rs:24:13
   |
LL |         let v: Vec<u64> = vec![0, 1, 2];
...
...
LL |         asm!("{}", out(reg) v[0]);
   |                             - cannot borrow as mutable
LL |         asm!("{}", inout(reg) v[0]);
   |                               - cannot borrow as mutable
help: consider changing this to be mutable
   |
   |
LL |         let mut v: Vec<u64> = vec![0, 1, 2];

error: aborting due to 11 previous errors

Some errors have detailed explanations: E0076, E0381, E0596.
Some errors have detailed explanations: E0076, E0381, E0596.
For more information about an error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/asm/x86_64/type-check-5.rs stdout ----
diff of stderr:

+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct SimdNonCopy(f32, f32, f32, f32);
+ 
1 error[E0381]: used binding `x` isn't initialized
2   --> $DIR/type-check-5.rs:15:28
3    |
3    |

40 LL |         let mut v: Vec<u64> = vec![0, 1, 2];
42 
- error: aborting due to 3 previous errors
+ error: aborting due to 4 previous errors
44 
---
47 


The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/asm/x86_64/type-check-5/type-check-5.stderr
To only update this specific test, also pass `--test-args asm/x86_64/type-check-5.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/asm/x86_64/type-check-5.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/asm/x86_64/type-check-5" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/asm/x86_64/type-check-5/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct SimdNonCopy(f32, f32, f32, f32);

error[E0381]: used binding `x` isn't initialized
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-5.rs:15:28
   |
   |
LL |         let x: u64;
   |             - binding declared here but left uninitialized
LL |         asm!("{}", in(reg) x);
   |                            ^ `x` used here but it isn't initialized
help: consider assigning a value
   |
LL |         let x: u64 = 42;
   |                    ++++
   |                    ++++

error[E0381]: used binding `y` isn't initialized
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-5.rs:18:9
   |
LL |         let mut y: u64;
   |             ----- binding declared here but left uninitialized
LL |         asm!("{}", inout(reg) y);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^ `y` used here but it isn't initialized
help: consider assigning a value
   |
LL |         let mut y: u64 = 42;
   |                        ++++
   |                        ++++

error[E0596]: cannot borrow `v` as mutable, as it is not declared as mutable
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-5.rs:24:13
   |
LL |         let v: Vec<u64> = vec![0, 1, 2];
...
...
LL |         asm!("{}", out(reg) v[0]);
   |                             - cannot borrow as mutable
LL |         asm!("{}", inout(reg) v[0]);
   |                               - cannot borrow as mutable
help: consider changing this to be mutable
   |
   |
LL |         let mut v: Vec<u64> = vec![0, 1, 2];

error: aborting due to 4 previous errors

Some errors have detailed explanations: E0076, E0381, E0596.
---
---- [ui] tests/ui/consts/const-eval/simd/insert_extract.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit status: 101
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/consts/const-eval/simd/insert_extract.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/consts/const-eval/simd/insert_extract/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/consts/const-eval/simd/insert_extract/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | #[repr(simd)] struct i8x1(i8);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | #[repr(simd)] struct u16x2(u16, u16);

##[error]error: internal compiler error: compiler/rustc_middle/src/ty/sty.rs:1102:13: Simd type has non-array field type i8

thread 'rustc' panicked at compiler/rustc_middle/src/ty/sty.rs:1102:13:
thread 'rustc' panicked at compiler/rustc_middle/src/ty/sty.rs:1102:13:
Box<dyn Any>
stack backtrace:
   0: std::panicking::begin_panic::<rustc_errors::ExplicitBug>
   1: <rustc_errors::diagnostic::BugAbort as rustc_errors::diagnostic::EmissionGuarantee>::emit_producing_guarantee
   3: rustc_middle::ty::context::tls::with_opt::<rustc_middle::util::bug::opt_span_bug_fmt<rustc_span::span_encoding::Span>::{closure#0}, !>::{closure#0}
   3: rustc_middle::ty::context::tls::with_opt::<rustc_middle::util::bug::opt_span_bug_fmt<rustc_span::span_encoding::Span>::{closure#0}, !>::{closure#0}
   4: rustc_middle::ty::context::tls::with_context_opt::<rustc_middle::ty::context::tls::with_opt<rustc_middle::util::bug::opt_span_bug_fmt<rustc_span::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
   6: <rustc_middle::ty::Ty>::simd_size_and_type
   6: <rustc_middle::ty::Ty>::simd_size_and_type
   7: <rustc_const_eval::interpret::eval_context::InterpCx<rustc_const_eval::const_eval::machine::CompileTimeMachine>>::mplace_to_simd
   8: <rustc_const_eval::interpret::eval_context::InterpCx<rustc_const_eval::const_eval::machine::CompileTimeMachine>>::operand_to_simd
   9: <rustc_const_eval::interpret::eval_context::InterpCx<rustc_const_eval::const_eval::machine::CompileTimeMachine>>::eval_intrinsic
  10: <rustc_const_eval::const_eval::machine::CompileTimeMachine as rustc_const_eval::interpret::machine::Machine>::call_intrinsic
  11: <rustc_const_eval::interpret::eval_context::InterpCx<rustc_const_eval::const_eval::machine::CompileTimeMachine>>::init_fn_call
  12: <rustc_const_eval::interpret::eval_context::InterpCx<rustc_const_eval::const_eval::machine::CompileTimeMachine>>::eval_terminator
  13: rustc_const_eval::const_eval::eval_queries::eval_to_allocation_raw_provider
      [... omitted 2 frames ...]
  14: rustc_const_eval::const_eval::eval_queries::eval_to_const_value_raw_provider
      [... omitted 2 frames ...]
  15: <rustc_middle::hir::map::Map>::par_body_owners::<rustc_hir_analysis::check_crate::{closure#3}>::{closure#0}
  17: rustc_interface::passes::analysis
  17: rustc_interface::passes::analysis
      [... omitted 2 frames ...]
  19: <rustc_interface::interface::Compiler>::enter::<rustc_driver_impl::run_compiler::{closure#0}::{closure#1}, core::result::Result<core::option::Option<rustc_interface::queries::Linker>, rustc_span::ErrorGuaranteed>>
  20: rustc_span::create_session_globals_then::<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_interface::util::run_in_thread_with_globals<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


note: using internal features is not supported and expected to cause internal compiler errors when used incorrectly

note: rustc 1.82.0-nightly (63a5e31a3 2024-08-22) running on x86_64-unknown-linux-gnu

note: compiler flags: -Z threads=1 -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -Z ignore-directory-in-diagnostics-source-blocks=/cargo -Z ignore-directory-in-diagnostics-source-blocks=/checkout/vendor -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z write-long-types-to-disk=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
query stack during panic:
#0 [eval_to_allocation_raw] const-evaluating + checking `main::V`
#1 [eval_to_const_value_raw] simplifying constant for the type system `main::V`
end of query stack
thread 'rustc' panicked at compiler/rustc_middle/src/ty/sty.rs:1099:9:
assertion `left == right` failed
  left: 2
  left: 2
 right: 1
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed::<usize, usize>
   4: <rustc_middle::ty::Ty>::simd_size_and_type
   5: <rustc_const_eval::interpret::eval_context::InterpCx<rustc_const_eval::const_eval::machine::CompileTimeMachine>>::mplace_to_simd
   6: <rustc_const_eval::interpret::eval_context::InterpCx<rustc_const_eval::const_eval::machine::CompileTimeMachine>>::operand_to_simd
   7: <rustc_const_eval::interpret::eval_context::InterpCx<rustc_const_eval::const_eval::machine::CompileTimeMachine>>::eval_intrinsic
   8: <rustc_const_eval::const_eval::machine::CompileTimeMachine as rustc_const_eval::interpret::machine::Machine>::call_intrinsic
   9: <rustc_const_eval::interpret::eval_context::InterpCx<rustc_const_eval::const_eval::machine::CompileTimeMachine>>::init_fn_call
  10: <rustc_const_eval::interpret::eval_context::InterpCx<rustc_const_eval::const_eval::machine::CompileTimeMachine>>::eval_terminator
  11: rustc_const_eval::const_eval::eval_queries::eval_to_allocation_raw_provider
      [... omitted 2 frames ...]
  12: rustc_const_eval::const_eval::eval_queries::eval_to_const_value_raw_provider
      [... omitted 2 frames ...]
  13: <rustc_middle::hir::map::Map>::par_body_owners::<rustc_hir_analysis::check_crate::{closure#3}>::{closure#0}
  15: rustc_interface::passes::analysis
  15: rustc_interface::passes::analysis
      [... omitted 2 frames ...]
  17: <rustc_interface::interface::Compiler>::enter::<rustc_driver_impl::run_compiler::{closure#0}::{closure#1}, core::result::Result<core::option::Option<rustc_interface::queries::Linker>, rustc_span::ErrorGuaranteed>>
  18: rustc_span::create_session_globals_then::<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_interface::util::run_in_thread_with_globals<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


error: the compiler unexpectedly panicked. this is a bug.

note: using internal features is not supported and expected to cause internal compiler errors when used incorrectly

note: rustc 1.82.0-nightly (63a5e31a3 2024-08-22) running on x86_64-unknown-linux-gnu

note: compiler flags: -Z threads=1 -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -Z ignore-directory-in-diagnostics-source-blocks=/cargo -Z ignore-directory-in-diagnostics-source-blocks=/checkout/vendor -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z write-long-types-to-disk=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
query stack during panic:
#0 [eval_to_allocation_raw] const-evaluating + checking `main::V`
#1 [eval_to_const_value_raw] simplifying constant for the type system `main::V`
end of query stack
error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/error-codes/E0077.rs stdout ----
diff of stderr:

- error[E0077]: SIMD vector element type should be a primitive scalar (integer/float/pointer) type
+ error[E0076]: SIMD vector's only field must be an array
2   --> $DIR/E0077.rs:4:1
4 LL | struct Bad(String);

-    | ^^^^^^^^^^
+    | ^^^^^^^^^^ ------ not an array
---
To only update this specific test, also pass `--test-args error-codes/E0077.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/error-codes/E0077.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/error-codes/E0077" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/error-codes/E0077/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct Bad(String); //~ ERROR E0077

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/error-codes/E0076.rs stdout ----
diff of stderr:

- error[E0076]: SIMD vector should be homogeneous
+ error[E0076]: SIMD vector's only field must be an array
2   --> $DIR/E0076.rs:4:1
3    |
4 LL | struct Bad(u16, u32, u32);
-    | ^^^^^^^^^^ SIMD elements must have the same type
+    | ^^^^^^^^^^ --- not an array
6 
7 error: aborting due to 1 previous error
---
To only update this specific test, also pass `--test-args error-codes/E0076.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/error-codes/E0076.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/error-codes/E0076" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/error-codes/E0076/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct Bad(u16, u32, u32);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
---
31    = note: for more information, see issue #68585 <https://github.com/rust-lang/rust/issues/68585>
32    = note: `#[deny(conflicting_repr_hints)]` on by default
33 
- error: aborting due to 3 previous errors
+ error[E0076]: SIMD vector's only field must be an array
+    |
+ LL | struct Foo(u64, u64);
+    | ^^^^^^^^^^ --- not an array
35 
35 
- Some errors have detailed explanations: E0566, E0658.
- For more information about an error, try `rustc --explain E0566`.
+ error[E0076]: SIMD vector's only field must be an array
+    |
+ LL | struct Bar(u64, u64);
+    | ^^^^^^^^^^ --- not an array
+ 
---
To only update this specific test, also pass `--test-args feature-gates/feature-gate-repr-simd.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/feature-gates/feature-gate-repr-simd.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/feature-gates/feature-gate-repr-simd" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/feature-gates/feature-gate-repr-simd/auxiliary"
--- stderr -------------------------------
error[E0658]: SIMD types are experimental and possibly buggy
##[error]  --> /checkout/tests/ui/feature-gates/feature-gate-repr-simd.rs:1:1
   |
   |
LL | #[repr(simd)] //~ error: SIMD types are experimental
   |
   = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
   = help: add `#![feature(repr_simd)]` to the crate attributes to enable
   = help: add `#![feature(repr_simd)]` to the crate attributes to enable
   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
error[E0658]: SIMD types are experimental and possibly buggy
##[error]  --> /checkout/tests/ui/feature-gates/feature-gate-repr-simd.rs:6:1
   |
   |
LL | #[repr(simd)] //~ error: SIMD types are experimental
   |
   = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
   = help: add `#![feature(repr_simd)]` to the crate attributes to enable
   = help: add `#![feature(repr_simd)]` to the crate attributes to enable
   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
error[E0566]: conflicting representation hints
##[error]  --> /checkout/tests/ui/feature-gates/feature-gate-repr-simd.rs:4:8
   |
   |
LL | #[repr(C)] //~ ERROR conflicting representation hints
   |        ^
LL | //~^ WARN this was previously accepted
LL | #[repr(simd)] //~ error: SIMD types are experimental
   |
   = 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 #68585 <https://github.com/rust-lang/rust/issues/68585>
   = note: `#[deny(conflicting_repr_hints)]` on by default
   = note: `#[deny(conflicting_repr_hints)]` on by default

error[E0076]: SIMD vector's only field must be an array
   |
LL | struct Foo(u64, u64);
   | ^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
LL | struct Bar(u64, u64);
   | ^^^^^^^^^^ --- not an array

---
Future incompatibility report: Future breakage diagnostic:
error[E0566]: conflicting representation hints
##[error]  --> /checkout/tests/ui/feature-gates/feature-gate-repr-simd.rs:4:8
   |
LL | #[repr(C)] //~ ERROR conflicting representation hints
   |        ^
LL | //~^ WARN this was previously accepted
LL | #[repr(simd)] //~ error: SIMD types are experimental
   |
   = 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 #68585 <https://github.com/rust-lang/rust/issues/68585>
   = note: `#[deny(conflicting_repr_hints)]` on by default
   = note: `#[deny(conflicting_repr_hints)]` on by default
------------------------------------------


---- [ui] tests/ui/feature-gates/feature-gate-simd-ffi.rs stdout ----
diff of stderr:

+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct LocalSimd(u8, u8);
+ 
1 error: use of SIMD type `LocalSimd` in FFI is highly experimental and may result in invalid code
2   --> $DIR/feature-gate-simd-ffi.rs:9:17
3    |
3    |

14    |
15    = help: add `#![feature(simd_ffi)]` to the crate attributes to enable
- error: aborting due to 2 previous errors
+ error: aborting due to 3 previous errors
18 
+ For more information about this error, try `rustc --explain E0076`.
---
To only update this specific test, also pass `--test-args feature-gates/feature-gate-simd-ffi.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/feature-gates/feature-gate-simd-ffi.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/feature-gates/feature-gate-simd-ffi" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/feature-gates/feature-gate-simd-ffi/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct LocalSimd(u8, u8);

error: use of SIMD type `LocalSimd` in FFI is highly experimental and may result in invalid code
##[error]  --> /checkout/tests/ui/feature-gates/feature-gate-simd-ffi.rs:9:17
   |
   |
LL |     fn baz() -> LocalSimd; //~ ERROR use of SIMD type
   |
   |
   = help: add `#![feature(simd_ffi)]` to the crate attributes to enable
error: use of SIMD type `LocalSimd` in FFI is highly experimental and may result in invalid code
##[error]  --> /checkout/tests/ui/feature-gates/feature-gate-simd-ffi.rs:10:15
   |
   |
LL |     fn qux(x: LocalSimd); //~ ERROR use of SIMD type
   |
   |
   = help: add `#![feature(simd_ffi)]` to the crate attributes to enable
error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0076`.
------------------------------------------
------------------------------------------


---- [ui] tests/ui/feature-gates/feature-gate-simd.rs stdout ----
diff of stderr:

8    = help: add `#![feature(repr_simd)]` to the crate attributes to enable
9    = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
- error: aborting due to 1 previous error
- error: aborting due to 1 previous error
+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct RGBA {
+    | ^^^^^^^^^^^
+ LL |     r: f32,
12 
- For more information about this error, try `rustc --explain E0658`.
+ error: aborting due to 2 previous errors
+ 
---
To only update this specific test, also pass `--test-args feature-gates/feature-gate-simd.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/feature-gates/feature-gate-simd.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/feature-gates/feature-gate-simd" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/feature-gates/feature-gate-simd/auxiliary"
--- stderr -------------------------------
error[E0658]: SIMD types are experimental and possibly buggy
##[error]  --> /checkout/tests/ui/feature-gates/feature-gate-simd.rs:3:1
   |
   |
LL | #[repr(simd)] //~ ERROR SIMD types are experimental
   |
   = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
   = help: add `#![feature(repr_simd)]` to the crate attributes to enable
   = help: add `#![feature(repr_simd)]` to the crate attributes to enable
   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date

error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct RGBA {
LL |     r: f32,
   |     ------ not an array

error: aborting due to 2 previous errors
---

---- [ui] tests/ui/layout/debug.rs stdout ----
diff of stderr:

+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct F32x4(f32, f32, f32, f32);
+ 
1 error: layout_of(E) = Layout {
2            size: Size(12 bytes),
2            size: Size(12 bytes),
3            align: AbiAndPrefAlign {
572 LL |     const C: () = ();
573    |     ^^^^^^^^^^^
574 
- error: aborting due to 17 previous errors
---
To only update this specific test, also pass `--test-args layout/debug.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/layout/debug.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/layout/debug" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/layout/debug/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct F32x4(f32, f32, f32, f32);

error: layout_of(E) = Layout {
           size: Size(12 bytes),
           size: Size(12 bytes),
           align: AbiAndPrefAlign {
               abi: Align(4 bytes),
               pref: Align(8 bytes),
           abi: Aggregate {
               sized: true,
           },
           fields: Arbitrary {
---
               tag_encoding: Direct,
               tag_field: 0,
               variants: [
                   Layout {
                       size: Size(4 bytes),
                       align: AbiAndPrefAlign {
                           abi: Align(1 bytes),
                           pref: Align(8 bytes),
                       abi: Aggregate {
                           sized: true,
                       },
                       fields: Arbitrary {
---
                       max_repr_align: None,
                       unadjusted_abi_align: Align(1 bytes),
                   },
                   Layout {
                       size: Size(12 bytes),
                       align: AbiAndPrefAlign {
                           abi: Align(4 bytes),
                           pref: Align(8 bytes),
                       abi: Uninhabited,
                       fields: Arbitrary {
                           offsets: [
                               Size(4 bytes),
---
           unadjusted_abi_align: Align(4 bytes),
       }
  --> /checkout/tests/ui/layout/debug.rs:7:1
   |
LL | enum E { Foo, Bar(!, i32, i32) } //~ ERROR: layout_of

error: layout_of(S) = Layout {
           size: Size(8 bytes),
           size: Size(8 bytes),
           align: AbiAndPrefAlign {
               abi: Align(4 bytes),
               pref: Align(8 bytes),
           abi: ScalarPair(
               Initialized {
                   value: Int(
                       I32,
---
           unadjusted_abi_align: Align(4 bytes),
       }
  --> /checkout/tests/ui/layout/debug.rs:10:1
   |
LL | struct S { f1: i32, f2: (), f3: i32 } //~ ERROR: layout_of


error: layout_of(U) = Layout {
           size: Size(8 bytes),
           align: AbiAndPrefAlign {
               abi: Align(4 bytes),
               pref: Align(8 bytes),
           abi: Aggregate {
               sized: true,
           },
           fields: Union(
---
           unadjusted_abi_align: Align(4 bytes),
       }
  --> /checkout/tests/ui/layout/debug.rs:13:1
   |
LL | union U { f1: (i32, i32), f3: i32 } //~ ERROR: layout_of


error: layout_of(Result<i32, i32>) = Layout {
           size: Size(8 bytes),
           align: AbiAndPrefAlign {
               abi: Align(4 bytes),
               pref: Align(8 bytes),
           abi: ScalarPair(
               Initialized {
                   value: Int(
                       I32,
---
               tag_encoding: Direct,
               tag_field: 0,
               variants: [
                   Layout {
                       size: Size(8 bytes),
                       align: AbiAndPrefAlign {
                           abi: Align(4 bytes),
                           pref: Align(8 bytes),
                       abi: ScalarPair(
                           Initialized {
                               value: Int(
                                   I32,
---
                       max_repr_align: None,
                       unadjusted_abi_align: Align(4 bytes),
                   },
                   Layout {
                       size: Size(8 bytes),
                       align: AbiAndPrefAlign {
                           abi: Align(4 bytes),
                           pref: Align(8 bytes),
                       abi: ScalarPair(
                           Initialized {
                               value: Int(
                                   I32,
---
           unadjusted_abi_align: Align(4 bytes),
       }
  --> /checkout/tests/ui/layout/debug.rs:16:1
   |
LL | type Test = Result<i32, i32>; //~ ERROR: layout_of


error: layout_of(i32) = Layout {
           size: Size(4 bytes),
           align: AbiAndPrefAlign {
               abi: Align(4 bytes),
               pref: Align(4 bytes),
           abi: Scalar(
               Initialized {
                   value: Int(
                       I32,
---
           unadjusted_abi_align: Align(4 bytes),
       }
  --> /checkout/tests/ui/layout/debug.rs:19:1
   |
LL | type T = impl std::fmt::Debug; //~ ERROR: layout_of

error: layout_of(V) = Layout {
           size: Size(2 bytes),
           size: Size(2 bytes),
           align: AbiAndPrefAlign {
               abi: Align(2 bytes),
               pref: Align(8 bytes),
           abi: Aggregate {
               sized: true,
           },
           fields: Union(
---
           unadjusted_abi_align: Align(2 bytes),
       }
  --> /checkout/tests/ui/layout/debug.rs:25:1
   |
LL | pub union V { //~ ERROR: layout_of


error: layout_of(W) = Layout {
           size: Size(2 bytes),
           align: AbiAndPrefAlign {
               abi: Align(2 bytes),
               pref: Align(8 bytes),
           abi: Aggregate {
               sized: true,
           },
           fields: Union(
---
           unadjusted_abi_align: Align(2 bytes),
       }
  --> /checkout/tests/ui/layout/debug.rs:31:1
   |
LL | pub union W { //~ ERROR: layout_of


error: layout_of(Y) = Layout {
           size: Size(0 bytes),
           align: AbiAndPrefAlign {
               abi: Align(2 bytes),
               pref: Align(8 bytes),
           abi: Aggregate {
               sized: true,
           },
           fields: Union(
---
           unadjusted_abi_align: Align(2 bytes),
       }
  --> /checkout/tests/ui/layout/debug.rs:37:1
   |
LL | pub union Y { //~ ERROR: layout_of


error: layout_of(P1) = Layout {
           size: Size(4 bytes),
           align: AbiAndPrefAlign {
               abi: Align(1 bytes),
               pref: Align(1 bytes),
           abi: Aggregate {
               sized: true,
           },
           fields: Union(
---
           unadjusted_abi_align: Align(1 bytes),
       }
  --> /checkout/tests/ui/layout/debug.rs:44:1
   |
LL | union P1 { x: u32 } //~ ERROR: layout_of


error: layout_of(P2) = Layout {
           size: Size(8 bytes),
           align: AbiAndPrefAlign {
               abi: Align(1 bytes),
               pref: Align(1 bytes),
           abi: Aggregate {
               sized: true,
           },
           fields: Union(
---
           unadjusted_abi_align: Align(1 bytes),
       }
  --> /checkout/tests/ui/layout/debug.rs:48:1
   |
LL | union P2 { x: (u32, u32) } //~ ERROR: layout_of


error: layout_of(P3) = Layout {
           size: Size(16 bytes),
           align: AbiAndPrefAlign {
               abi: Align(1 bytes),
               pref: Align(1 bytes),
           abi: Aggregate {
               sized: true,
           },
           fields: Union(
---
           unadjusted_abi_align: Align(1 bytes),
       }
  --> /checkout/tests/ui/layout/debug.rs:56:1
   |
LL | union P3 { x: F32x4 } //~ ERROR: layout_of


error: layout_of(P4) = Layout {
           size: Size(12 bytes),
           align: AbiAndPrefAlign {
               abi: Align(1 bytes),
               pref: Align(1 bytes),
           abi: Aggregate {
               sized: true,
           },
           fields: Union(
---
           unadjusted_abi_align: Align(1 bytes),
       }
  --> /checkout/tests/ui/layout/debug.rs:60:1
   |
LL | union P4 { x: E } //~ ERROR: layout_of


error: layout_of(P5) = Layout {
           size: Size(1 bytes),
           align: AbiAndPrefAlign {
               abi: Align(1 bytes),
               pref: Align(1 bytes),
           abi: Scalar(
               Union {
                   value: Int(
                       I8,
---
           unadjusted_abi_align: Align(1 bytes),
       }
  --> /checkout/tests/ui/layout/debug.rs:64:1
   |
LL | union P5 { zst: [u16; 0], byte: u8 } //~ ERROR: layout_of


error: layout_of(MaybeUninit<u8>) = Layout {
           size: Size(1 bytes),
           align: AbiAndPrefAlign {
               abi: Align(1 bytes),
               pref: Align(8 bytes),
           abi: Scalar(
               Union {
                   value: Int(
                       I8,
---
           unadjusted_abi_align: Align(1 bytes),
       }
  --> /checkout/tests/ui/layout/debug.rs:67:1
   |
LL | type X = std::mem::MaybeUninit<u8>; //~ ERROR: layout_of


error: `#[rustc_layout]` can only be applied to `struct`/`enum`/`union` declarations and type aliases
   |
   |
LL | const C: () = (); //~ ERROR: can only be applied to

error[E0277]: the size for values of type `str` cannot be known at compilation time
##[error]  --> /checkout/tests/ui/layout/debug.rs:78:19
   |
   |
LL | type Impossible = (str, str); //~ ERROR: cannot be known at compilation time
   |
   = help: the trait `Sized` is not implemented for `str`
   = note: only the last element of a tuple may have a dynamically sized type


error: `#[rustc_layout]` can only be applied to `struct`/`enum`/`union` declarations and type aliases
   |
   |
LL |     const C: () = (); //~ ERROR: can only be applied to

error: aborting due to 18 previous errors

Some errors have detailed explanations: E0076, E0277.
Some errors have detailed explanations: E0076, E0277.
For more information about an error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/repr/attr-usage-repr.rs stdout ----
diff of stderr:

30 LL | enum ESimd { A, B }
32 
- error: aborting due to 4 previous errors
- error: aborting due to 4 previous errors
+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct SSimd(f64, f64);
34 
- For more information about this error, try `rustc --explain E0517`.
+ error: aborting due to 5 previous errors
+ 
---
To only update this specific test, also pass `--test-args repr/attr-usage-repr.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/repr/attr-usage-repr.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/repr/attr-usage-repr" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/repr/attr-usage-repr/auxiliary"
--- stderr -------------------------------
error[E0517]: attribute should be applied to a struct, enum, or union
##[error]  --> /checkout/tests/ui/repr/attr-usage-repr.rs:3:8
   |
   |
LL | #[repr(C)] //~ ERROR: attribute should be applied to a struct, enum, or union
LL | fn f() {}
   | --------- not a struct, enum, or union

error[E0517]: attribute should be applied to an enum
error[E0517]: attribute should be applied to an enum
##[error]  --> /checkout/tests/ui/repr/attr-usage-repr.rs:15:8
   |
LL | #[repr(i8)] //~ ERROR: attribute should be applied to an enum
LL | struct SInt(f64, f64);
   | ---------------------- not an enum

error[E0517]: attribute should be applied to a struct or union
error[E0517]: attribute should be applied to a struct or union
##[error]  --> /checkout/tests/ui/repr/attr-usage-repr.rs:24:8
   |
LL | #[repr(packed)] //~ ERROR: attribute should be applied to a struct
   |        ^^^^^^
LL | enum EPacked { A, B }

error[E0517]: attribute should be applied to a struct
##[error]  --> /checkout/tests/ui/repr/attr-usage-repr.rs:27:8
   |
   |
LL | #[repr(simd)] //~ ERROR: attribute should be applied to a struct
   |        ^^^^
LL | enum ESimd { A, B }


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct SSimd(f64, f64);

error: aborting due to 5 previous errors

Some errors have detailed explanations: E0076, E0517.
---
34 LL | #[repr(Rust, simd)]
35    |        ^^^^  ^^^^
36 
- error: aborting due to 5 previous errors
+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct F32x4(f32, f32, f32, f32);
38 
- Some errors have detailed explanations: E0566, E0658.
- For more information about an error, try `rustc --explain E0566`.
+ error: aborting due to 6 previous errors
---
To only update this specific test, also pass `--test-args repr/explicit-rust-repr-conflicts.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/repr/explicit-rust-repr-conflicts.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/repr/explicit-rust-repr-conflicts" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/repr/explicit-rust-repr-conflicts/auxiliary"
--- stderr -------------------------------
error[E0658]: SIMD types are experimental and possibly buggy
##[error]  --> /checkout/tests/ui/repr/explicit-rust-repr-conflicts.rs:18:1
   |
   |
LL | #[repr(Rust, simd)]
   | ^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
   = help: add `#![feature(repr_simd)]` to the crate attributes to enable
   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
error[E0566]: conflicting representation hints
##[error]  --> /checkout/tests/ui/repr/explicit-rust-repr-conflicts.rs:1:8
   |
   |
LL | #[repr(C, Rust)] //~ ERROR conflicting representation hints

error[E0566]: conflicting representation hints
##[error]  --> /checkout/tests/ui/repr/explicit-rust-repr-conflicts.rs:7:8
   |
   |
LL | #[repr(Rust)] //~ ERROR conflicting representation hints
LL | #[repr(C)]
   |        ^

error[E0566]: conflicting representation hints
error[E0566]: conflicting representation hints
##[error]  --> /checkout/tests/ui/repr/explicit-rust-repr-conflicts.rs:13:8
   |
LL | #[repr(Rust, u64)] //~ ERROR conflicting representation hints

error[E0566]: conflicting representation hints
##[error]  --> /checkout/tests/ui/repr/explicit-rust-repr-conflicts.rs:18:8
   |
   |
LL | #[repr(Rust, simd)]
   |        ^^^^  ^^^^

error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct F32x4(f32, f32, f32, f32);

error: aborting due to 6 previous errors

Some errors have detailed explanations: E0076, E0566, E0658.
---
---- [ui] tests/ui/simd/const-err-trumps-simd-err.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/const-err-trumps-simd-err.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/const-err-trumps-simd-err" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/const-err-trumps-simd-err/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct int8x4_t(u8,u8,u8,u8);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/generics/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/generics/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct f32x4(f32, f32, f32, f32);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/generic-arithmetic-2.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/generic-arithmetic-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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-arithmetic-2" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-arithmetic-2/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | pub struct i32x4(pub i32, pub i32, pub i32, pub i32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | pub struct u32x4(pub u32, pub u32, pub u32, pub u32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | pub struct f32x4(pub f32, pub f32, pub f32, pub f32);

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/generic-arithmetic-saturating-2.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/generic-arithmetic-saturating-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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-arithmetic-saturating-2" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-arithmetic-saturating-2/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | pub struct i32x4(pub i32, pub i32, pub i32, pub i32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | pub struct x4<T>(pub T, pub T, pub T, pub T);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | pub struct f32x4(pub f32, pub f32, pub f32, pub f32);

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/float-minmax-pass.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/float-minmax-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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/float-minmax-pass/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/float-minmax-pass/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct f32x4(pub f32, pub f32, pub f32, pub f32);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/generic-bitmask-pass.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/generic-bitmask-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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-bitmask-pass/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-bitmask-pass/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct u32x4(pub u32, pub u32, pub u32, pub u32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct u8x4(pub u8, pub u8, pub u8, pub u8);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct Tx4<T>(pub T, pub T, pub T, pub T);

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/float-math-pass.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/float-math-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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/float-math-pass/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/float-math-pass/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct f32x4(pub f32, pub f32, pub f32, pub f32);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/generic-arithmetic-saturating-pass.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/generic-arithmetic-saturating-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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-arithmetic-saturating-pass/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-arithmetic-saturating-pass/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct u32x4(pub u32, pub u32, pub u32, pub u32);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/generic-arithmetic-pass.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/generic-arithmetic-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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-arithmetic-pass/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-arithmetic-pass/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct i32x4(pub i32, pub i32, pub i32, pub i32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct f32x4(pub f32, pub f32, pub f32, pub f32);

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/generic-cast.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/generic-cast.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-cast" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-cast/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
LL | struct i32x4(i32, i32, i32, i32);
   | ^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
LL | struct i32x8(i32, i32, i32, i32,
   | ^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct f32x4(f32, f32, f32, f32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct f32x8(f32, f32, f32, f32,

error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/generic-comparison.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/generic-comparison.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-comparison" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-comparison/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
LL | struct i32x4(i32, i32, i32, i32);
   | ^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
LL | struct i16x8(i16, i16, i16, i16,
   | ^^^^^^^^^^^^ --- not an array

---
---- [ui] tests/ui/simd/intrinsic/generic-elements.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/generic-elements.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-elements" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-elements/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
LL | struct i32x2(i32, i32);
   | ^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
LL | struct i32x4(i32, i32, i32, i32);
   | ^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
LL | struct i32x8(i32, i32, i32, i32, i32, i32, i32, i32);
   | ^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct f32x2(f32, f32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct f32x4(f32, f32, f32, f32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct f32x8(f32, f32, f32, f32, f32, f32, f32, f32);

error: aborting due to 6 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/generic-reduction.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/generic-reduction.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-reduction" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-reduction/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | pub struct f32x4(pub f32, pub f32, pub f32, pub f32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | pub struct u32x4(pub u32, pub u32, pub u32, pub u32);

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/generic-select.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/generic-select.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-select" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-select/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | pub struct f32x4(pub f32, pub f32, pub f32, pub f32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | pub struct u32x4(pub u32, pub u32, pub u32, pub u32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct b8x4(pub i8, pub i8, pub i8, pub i8);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct b8x8(pub i8, pub i8, pub i8, pub i8, pub i8, pub i8, pub i8, pub i8);

error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/generic-gather-pass.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/generic-gather-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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-gather-pass/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-gather-pass/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct x4<T>(pub T, pub T, pub T, pub T);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/generic-reduction-pass.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/generic-reduction-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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-reduction-pass/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-reduction-pass/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct i32x4(pub i32, pub i32, pub i32, pub i32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct u32x4(pub u32, pub u32, pub u32, pub u32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct f32x4(pub f32, pub f32, pub f32, pub f32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct b8x4(pub i8, pub i8, pub i8, pub i8);

error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/inlining-issue67557.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/inlining-issue67557.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/inlining-issue67557/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/inlining-issue67557/auxiliary" "-Zmir-opt-level=4"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct Simd2(u8, u8);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/inlining-issue67557-ice.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/inlining-issue67557-ice.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/inlining-issue67557-ice/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/inlining-issue67557-ice/auxiliary" "-Zmir-opt-level=4"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct Simd2(u8, u8);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/generic-elements-pass.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/generic-elements-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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-elements-pass/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-elements-pass/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
LL | struct i32x2(i32, i32);
   | ^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
LL | struct i32x4(i32, i32, i32, i32);
   | ^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
LL | struct i32x8(i32, i32, i32, i32,
   | ^^^^^^^^^^^^ --- not an array

---
---- [ui] tests/ui/simd/issue-17170.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/issue-17170.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/issue-17170/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/issue-17170/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct T(f64, f64, f64);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/generic-select-pass.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/generic-select-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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-select-pass/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-select-pass/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct i32x4(pub i32, pub i32, pub i32, pub i32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct u32x4(pub u32, pub u32, pub u32, pub u32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct u32x8(u32, u32, u32, u32, u32, u32, u32, u32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct f32x4(pub f32, pub f32, pub f32, pub f32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct b8x4(pub i8, pub i8, pub i8, pub i8);

error: aborting due to 5 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/issue-32947.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/issue-32947.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/issue-32947/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/issue-32947/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | pub struct Mu64(pub u64, pub u64, pub u64, pub u64);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/issue-39720.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/issue-39720.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/issue-39720/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/issue-39720/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | pub struct Char3(pub i8, pub i8, pub i8);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | pub struct Short3(pub i16, pub i16, pub i16);

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/monomorphize-heterogeneous.rs stdout ----
diff of stderr:

- error[E0076]: SIMD vector should be homogeneous
+ error[E0076]: SIMD vector's only field must be an array
3    |
3    |
4 LL | struct I64F64(i64, f64);
-    | ^^^^^^^^^^^^^ SIMD elements must have the same type
+    | ^^^^^^^^^^^^^ --- not an array
6 
7 error: aborting due to 1 previous error
---
To only update this specific test, also pass `--test-args simd/monomorphize-heterogeneous.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/monomorphize-heterogeneous.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/monomorphize-heterogeneous" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/monomorphize-heterogeneous/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct I64F64(i64, f64);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/issue-89193.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/issue-89193.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/issue-89193/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/issue-89193/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct x4<T>(pub T, pub T, pub T, pub T);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/type-generic-monomorphisation-extern-nonnull-ptr.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/type-generic-monomorphisation-extern-nonnull-ptr.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/type-generic-monomorphisation-extern-nonnull-ptr/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/type-generic-monomorphisation-extern-nonnull-ptr/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct S<T>(T);
   | ^^^^^^^^^^^ - not an array
error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
------------------------------------------
------------------------------------------


---- [ui] tests/ui/simd/type-generic-monomorphisation-wide-ptr.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/type-generic-monomorphisation-wide-ptr.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/type-generic-monomorphisation-wide-ptr" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/type-generic-monomorphisation-wide-ptr/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct S<T>(T);
   | ^^^^^^^^^^^ - not an array
error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
------------------------------------------
------------------------------------------


---- [ui] tests/ui/simd/intrinsic/generic-comparison-pass.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/intrinsic/generic-comparison-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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-comparison-pass/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/intrinsic/generic-comparison-pass/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
LL | struct i32x4(i32, i32, i32, i32);
   | ^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct u32x4(pub u32, pub u32, pub u32, pub u32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct f32x4(pub f32, pub f32, pub f32, pub f32);

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/type-generic-monomorphisation.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/type-generic-monomorphisation.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/type-generic-monomorphisation" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/type-generic-monomorphisation/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct Simd2<T>(T, T);
   | ^^^^^^^^^^^^^^^ - not an array
error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
------------------------------------------
------------------------------------------


---- [ui] tests/ui/simd/type-len.rs stdout ----
diff of stderr:

10 LL | struct empty2([f32; 0]);
12 
- error[E0076]: SIMD vector should be homogeneous
- error[E0076]: SIMD vector should be homogeneous
+ error[E0076]: SIMD vector's only field must be an array
15    |
15    |
16 LL | struct i64f64(i64, f64);
-    | ^^^^^^^^^^^^^ SIMD elements must have the same type
+    | ^^^^^^^^^^^^^ --- not an array
18 
18 
- error[E0077]: SIMD vector element type should be a primitive scalar (integer/float/pointer) type
+ error[E0076]: SIMD vector's only field must be an array
21    |
21    |
22 LL | struct FooV(Foo, Foo);
-    | ^^^^^^^^^^^
+    | ^^^^^^^^^^^ --- not an array
24 
24 
25 error[E0077]: SIMD vector element type should be a primitive scalar (integer/float/pointer) type


34 LL | struct TooBig([f32; 65536]);
36 
- error: aborting due to 6 previous errors
- error: aborting due to 6 previous errors
+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct RGBA {
+    | ^^^^^^^^^^^
+ LL |     r: f32,
+ 
+ error: aborting due to 7 previous errors
38 
39 Some errors have detailed explanations: E0075, E0076, E0077.
---
To only update this specific test, also pass `--test-args simd/type-len.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/type-len.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/type-len" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/type-len/auxiliary"
--- stderr -------------------------------
error[E0075]: SIMD vector cannot be empty
##[error]  --> /checkout/tests/ui/simd/type-len.rs:6:1
   |
   |
LL | struct empty; //~ ERROR SIMD vector cannot be empty

error[E0075]: SIMD vector cannot be empty
##[error]  --> /checkout/tests/ui/simd/type-len.rs:9:1
   |
   |
LL | struct empty2([f32; 0]); //~ ERROR SIMD vector cannot be empty


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct i64f64(i64, f64); //~ ERROR SIMD vector should be homogeneous


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct FooV(Foo, Foo); //~ ERROR SIMD vector element type should be a primitive scalar (integer/float/pointer) type


error[E0077]: SIMD vector element type should be a primitive scalar (integer/float/pointer) type
   |
   |
LL | struct FooV2([Foo; 2]); //~ ERROR SIMD vector element type should be a primitive scalar (integer/float/pointer) type

error[E0075]: SIMD vector cannot have more than 32768 elements
##[error]  --> /checkout/tests/ui/simd/type-len.rs:26:1
   |
   |
LL | struct TooBig([f32; 65536]); //~ ERROR SIMD vector cannot have more than 32768 elements


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct RGBA {
LL |     r: f32,
   |     ------ not an array

error: aborting due to 7 previous errors
---
---- [ui] tests/ui/simd/target-feature-mixup.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/target-feature-mixup.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/target-feature-mixup/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/target-feature-mixup/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL |     struct __m128i(u64, u64);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL |     struct __m256i(u64, u64, u64, u64);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL |     struct __m512i(u64, u64, u64, u64, u64, u64, u64, u64);

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/span/gated-features-attr-spans.rs stdout ----
diff of stderr:

8    = help: add `#![feature(repr_simd)]` to the crate attributes to enable
9    = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
- error: aborting due to 1 previous error
- error: aborting due to 1 previous error
+ error[E0076]: SIMD vector's only field must be an array
+   --> $DIR/gated-features-attr-spans.rs:2:1
+    |
+ LL | struct Coord {
+ LL |     x: u32,
+    |     ------ not an array
12 
- For more information about this error, try `rustc --explain E0658`.
---
To only update this specific test, also pass `--test-args span/gated-features-attr-spans.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/span/gated-features-attr-spans.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/span/gated-features-attr-spans" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/span/gated-features-attr-spans/auxiliary"
--- stderr -------------------------------
error[E0658]: SIMD types are experimental and possibly buggy
##[error]  --> /checkout/tests/ui/span/gated-features-attr-spans.rs:1:1
   |
   |
LL | #[repr(simd)] //~ ERROR are experimental
   |
   = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
   = help: add `#![feature(repr_simd)]` to the crate attributes to enable
   = help: add `#![feature(repr_simd)]` to the crate attributes to enable
   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date

error[E0076]: SIMD vector's only field must be an array
   |
LL | struct Coord {
   | ^^^^^^^^^^^^
LL |     x: u32,

rust-log-analyzer avatar Aug 22 '24 09:08 rust-log-analyzer

The job x86_64-gnu-llvm-17 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
------
 > importing cache manifest from ghcr.io/rust-lang/rust-ci-cache:20d3b4d4a2629cbf7865cdbf92fe47512a7c96658c24253a045ff38e8075cd7fb37ca6fcadfa6e6d093333943ad24f6fc4f163ec5b74fd940de9d5bb03eb4d3b:
------
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-17]
---
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-17', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-17/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
failures:

---- [ui] tests/ui/abi/arm-unadjusted-intrinsic.rs#aarch64 stdout ----

error in revision `aarch64`: 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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/abi/arm-unadjusted-intrinsic.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/x86_64-unknown-linux-gnu/stage2" "--cfg" "aarch64" "--check-cfg" "cfg(FALSE,arm,aarch64)" "--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/x86_64-unknown-linux-gnu/test/ui/abi/arm-unadjusted-intrinsic.aarch64" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/arm-unadjusted-intrinsic.aarch64/auxiliary" "--target" "aarch64-unknown-linux-gnu"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
LL | pub struct int8x16_t(
   | ^^^^^^^^^^^^^^^^^^^^
   | ^^^^^^^^^^^^^^^^^^^^
LL |     pub(crate) i8, pub(crate) i8, pub(crate) i8, pub(crate) i8,

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/abi/arm-unadjusted-intrinsic.rs#arm stdout ----

error in revision `arm`: 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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/abi/arm-unadjusted-intrinsic.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/x86_64-unknown-linux-gnu/stage2" "--cfg" "arm" "--check-cfg" "cfg(FALSE,arm,aarch64)" "--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/x86_64-unknown-linux-gnu/test/ui/abi/arm-unadjusted-intrinsic.arm" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/abi/arm-unadjusted-intrinsic.arm/auxiliary" "--target" "arm-unknown-linux-gnueabi"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
LL | pub struct int8x16_t(
   | ^^^^^^^^^^^^^^^^^^^^
   | ^^^^^^^^^^^^^^^^^^^^
LL |     pub(crate) i8, pub(crate) i8, pub(crate) i8, pub(crate) i8,

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/asm/x86_64/type-check-2.rs stdout ----
diff of stderr:

+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct SimdNonCopy(f32, f32, f32, f32);
+ 
1 error: arguments for inline assembly must be copyable
2   --> $DIR/type-check-2.rs:32:32
3    |
3    |

97 LL |         let mut v: Vec<u64> = vec![0, 1, 2];
99 
- error: aborting due to 10 previous errors
+ error: aborting due to 11 previous errors
101 
---
104 


The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/asm/x86_64/type-check-2/type-check-2.stderr
To only update this specific test, also pass `--test-args asm/x86_64/type-check-2.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/asm/x86_64/type-check-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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/asm/x86_64/type-check-2" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/asm/x86_64/type-check-2/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct SimdNonCopy(f32, f32, f32, f32);

error: arguments for inline assembly must be copyable
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-2.rs:32:32
   |
   |
LL |         asm!("{}", in(xmm_reg) SimdNonCopy(0.0, 0.0, 0.0, 0.0));
   |
   = note: `SimdNonCopy` does not implement the Copy trait


error: cannot use value of type `{closure@/checkout/tests/ui/asm/x86_64/type-check-2.rs:44:28: 44:36}` for inline assembly
   |
   |
LL |         asm!("{}", in(reg) |x: i32| x);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly

error: cannot use value of type `Vec<i32>` for inline assembly
error: cannot use value of type `Vec<i32>` for inline assembly
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-2.rs:46:28
   |
LL |         asm!("{}", in(reg) vec![0]);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly
   = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)


error: cannot use value of type `(i32, i32, i32)` for inline assembly
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-2.rs:48:28
   |
LL |         asm!("{}", in(reg) (1, 2, 3));
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly


error: cannot use value of type `[i32; 3]` for inline assembly
   |
   |
LL |         asm!("{}", in(reg) [1, 2, 3]);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly


error: cannot use value of type `fn() {main}` for inline assembly
   |
   |
LL |         asm!("{}", inout(reg) f);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly

error: cannot use value of type `&mut i32` for inline assembly
error: cannot use value of type `&mut i32` for inline assembly
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-2.rs:61:31
   |
LL |         asm!("{}", inout(reg) r);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly

error[E0381]: used binding `x` isn't initialized
error[E0381]: used binding `x` isn't initialized
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-2.rs:15:28
   |
LL |         let x: u64;
   |             - binding declared here but left uninitialized
LL |         asm!("{}", in(reg) x);
   |                            ^ `x` used here but it isn't initialized
help: consider assigning a value
   |
LL |         let x: u64 = 42;
   |                    ++++
   |                    ++++

error[E0381]: used binding `y` isn't initialized
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-2.rs:18:9
   |
LL |         let mut y: u64;
   |             ----- binding declared here but left uninitialized
LL |         asm!("{}", inout(reg) y);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^ `y` used here but it isn't initialized
help: consider assigning a value
   |
LL |         let mut y: u64 = 42;
   |                        ++++
   |                        ++++

error[E0596]: cannot borrow `v` as mutable, as it is not declared as mutable
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-2.rs:24:13
   |
LL |         let v: Vec<u64> = vec![0, 1, 2];
...
...
LL |         asm!("{}", out(reg) v[0]);
   |                             - cannot borrow as mutable
LL |         asm!("{}", inout(reg) v[0]);
   |                               - cannot borrow as mutable
help: consider changing this to be mutable
   |
   |
LL |         let mut v: Vec<u64> = vec![0, 1, 2];

error: aborting due to 11 previous errors

Some errors have detailed explanations: E0076, E0381, E0596.
Some errors have detailed explanations: E0076, E0381, E0596.
For more information about an error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/asm/x86_64/type-check-5.rs stdout ----
diff of stderr:

+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct SimdNonCopy(f32, f32, f32, f32);
+ 
1 error[E0381]: used binding `x` isn't initialized
2   --> $DIR/type-check-5.rs:15:28
3    |
3    |

40 LL |         let mut v: Vec<u64> = vec![0, 1, 2];
42 
- error: aborting due to 3 previous errors
+ error: aborting due to 4 previous errors
44 
---
47 


The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/asm/x86_64/type-check-5/type-check-5.stderr
To only update this specific test, also pass `--test-args asm/x86_64/type-check-5.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/asm/x86_64/type-check-5.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/asm/x86_64/type-check-5" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/asm/x86_64/type-check-5/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct SimdNonCopy(f32, f32, f32, f32);

error[E0381]: used binding `x` isn't initialized
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-5.rs:15:28
   |
   |
LL |         let x: u64;
   |             - binding declared here but left uninitialized
LL |         asm!("{}", in(reg) x);
   |                            ^ `x` used here but it isn't initialized
help: consider assigning a value
   |
LL |         let x: u64 = 42;
   |                    ++++
   |                    ++++

error[E0381]: used binding `y` isn't initialized
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-5.rs:18:9
   |
LL |         let mut y: u64;
   |             ----- binding declared here but left uninitialized
LL |         asm!("{}", inout(reg) y);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^ `y` used here but it isn't initialized
help: consider assigning a value
   |
LL |         let mut y: u64 = 42;
   |                        ++++
   |                        ++++

error[E0596]: cannot borrow `v` as mutable, as it is not declared as mutable
##[error]  --> /checkout/tests/ui/asm/x86_64/type-check-5.rs:24:13
   |
LL |         let v: Vec<u64> = vec![0, 1, 2];
...
...
LL |         asm!("{}", out(reg) v[0]);
   |                             - cannot borrow as mutable
LL |         asm!("{}", inout(reg) v[0]);
   |                               - cannot borrow as mutable
help: consider changing this to be mutable
   |
   |
LL |         let mut v: Vec<u64> = vec![0, 1, 2];

error: aborting due to 4 previous errors

Some errors have detailed explanations: E0076, E0381, E0596.
Some errors have detailed explanations: E0076, E0381, E0596.
For more information about an error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/error-codes/E0076.rs stdout ----
diff of stderr:

- error[E0076]: SIMD vector should be homogeneous
+ error[E0076]: SIMD vector's only field must be an array
2   --> $DIR/E0076.rs:4:1
3    |
4 LL | struct Bad(u16, u32, u32);
-    | ^^^^^^^^^^ SIMD elements must have the same type
+    | ^^^^^^^^^^ --- not an array
6 
7 error: aborting due to 1 previous error
---
To only update this specific test, also pass `--test-args error-codes/E0076.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/error-codes/E0076.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/error-codes/E0076" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/error-codes/E0076/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct Bad(u16, u32, u32);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/error-codes/E0077.rs stdout ----
diff of stderr:

- error[E0077]: SIMD vector element type should be a primitive scalar (integer/float/pointer) type
+ error[E0076]: SIMD vector's only field must be an array
2   --> $DIR/E0077.rs:4:1
4 LL | struct Bad(String);

-    | ^^^^^^^^^^
+    | ^^^^^^^^^^ ------ not an array
---
To only update this specific test, also pass `--test-args error-codes/E0077.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/error-codes/E0077.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/error-codes/E0077" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/error-codes/E0077/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct Bad(String); //~ ERROR E0077

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/simd/monomorphize-heterogeneous.rs stdout ----

error: /checkout/tests/ui/simd/monomorphize-heterogeneous.rs:4: unexpected error: '4:1: 4:14: SIMD vector's only field must be an array [E0076]'
error: /checkout/tests/ui/simd/monomorphize-heterogeneous.rs:4: expected error not found: SIMD vector should be homogeneous

error: 1 unexpected errors found, 1 expected errors not found
status: exit status: 1
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/monomorphize-heterogeneous.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/monomorphize-heterogeneous" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/monomorphize-heterogeneous/auxiliary"
--- unexpected errors (from JSON output) ---
--- unexpected errors (from JSON output) ---
ERROR     line   4: 4:1: 4:14: SIMD vector's only field must be an array [E0076]
--- not found errors (from test file) ---
ERROR     line   4: SIMD vector should be homogeneous
---


thread '[ui] tests/ui/simd/monomorphize-heterogeneous.rs' panicked at src/tools/compiletest/src/runtest.rs:1471:13:
errors differ from expected

---- [ui] tests/ui/simd/type-len.rs stdout ----
diff of stderr:

10 LL | struct empty2([f32; 0]);
12 
- error[E0076]: SIMD vector should be homogeneous
- error[E0076]: SIMD vector should be homogeneous
+ error[E0076]: SIMD vector's only field must be an array
15    |
15    |
16 LL | struct i64f64(i64, f64);
-    | ^^^^^^^^^^^^^ SIMD elements must have the same type
+    | ^^^^^^^^^^^^^ --- not an array
18 
18 
- error[E0077]: SIMD vector element type should be a primitive scalar (integer/float/pointer) type
+ error[E0076]: SIMD vector's only field must be an array
21    |
21    |
22 LL | struct FooV(Foo, Foo);
-    | ^^^^^^^^^^^
+    | ^^^^^^^^^^^ --- not an array
24 
24 
25 error[E0077]: SIMD vector element type should be a primitive scalar (integer/float/pointer) type


34 LL | struct TooBig([f32; 65536]);
36 
- error: aborting due to 6 previous errors
- error: aborting due to 6 previous errors
+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct RGBA {
+    | ^^^^^^^^^^^
+ LL |     r: f32,
+ 
+ error: aborting due to 7 previous errors
38 
39 Some errors have detailed explanations: E0075, E0076, E0077.
---
To only update this specific test, also pass `--test-args simd/type-len.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd/type-len.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/simd/type-len" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd/type-len/auxiliary"
--- stderr -------------------------------
error[E0075]: SIMD vector cannot be empty
##[error]  --> /checkout/tests/ui/simd/type-len.rs:6:1
   |
   |
LL | struct empty; //~ ERROR SIMD vector cannot be empty

error[E0075]: SIMD vector cannot be empty
##[error]  --> /checkout/tests/ui/simd/type-len.rs:9:1
   |
   |
LL | struct empty2([f32; 0]); //~ ERROR SIMD vector cannot be empty


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct i64f64(i64, f64); //~ ERROR SIMD vector should be homogeneous


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct FooV(Foo, Foo); //~ ERROR SIMD vector element type should be a primitive scalar (integer/float/pointer) type


error[E0077]: SIMD vector element type should be a primitive scalar (integer/float/pointer) type
   |
   |
LL | struct FooV2([Foo; 2]); //~ ERROR SIMD vector element type should be a primitive scalar (integer/float/pointer) type

error[E0075]: SIMD vector cannot have more than 32768 elements
##[error]  --> /checkout/tests/ui/simd/type-len.rs:26:1
   |
   |
LL | struct TooBig([f32; 65536]); //~ ERROR SIMD vector cannot have more than 32768 elements


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct RGBA {
LL |     r: f32,
   |     ------ not an array

error: aborting due to 7 previous errors

rust-log-analyzer avatar Aug 22 '24 20:08 rust-log-analyzer

The job x86_64-gnu-llvm-17 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
------
 > importing cache manifest from ghcr.io/rust-lang/rust-ci-cache:20d3b4d4a2629cbf7865cdbf92fe47512a7c96658c24253a045ff38e8075cd7fb37ca6fcadfa6e6d093333943ad24f6fc4f163ec5b74fd940de9d5bb03eb4d3b:
------
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-17]
---
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-17', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-17/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---

---- [ui] tests/ui/error-codes/E0076.rs stdout ----
diff of stderr:

- error[E0076]: SIMD vector should be homogeneous
+ error[E0076]: SIMD vector's only field must be an array
2   --> $DIR/E0076.rs:4:1
3    |
4 LL | struct Bad(u16, u32, u32);
-    | ^^^^^^^^^^ SIMD elements must have the same type
+    | ^^^^^^^^^^ --- not an array
6 
7 error: aborting due to 1 previous error
---
To only update this specific test, also pass `--test-args error-codes/E0076.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/error-codes/E0076.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/error-codes/E0076" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/error-codes/E0076/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct Bad(u16, u32, u32);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/error-codes/E0077.rs stdout ----
diff of stderr:

- error[E0077]: SIMD vector element type should be a primitive scalar (integer/float/pointer) type
+ error[E0076]: SIMD vector's only field must be an array
2   --> $DIR/E0077.rs:4:1
4 LL | struct Bad(String);

-    | ^^^^^^^^^^
+    | ^^^^^^^^^^ ------ not an array
---
To only update this specific test, also pass `--test-args error-codes/E0077.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/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/error-codes/E0077.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(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/x86_64-unknown-linux-gnu/test/ui/error-codes/E0077" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/error-codes/E0077/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct Bad(String); //~ ERROR E0077

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.

rust-log-analyzer avatar Aug 22 '24 21:08 rust-log-analyzer

The job x86_64-gnu-llvm-17 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
------
 > importing cache manifest from ghcr.io/rust-lang/rust-ci-cache:20d3b4d4a2629cbf7865cdbf92fe47512a7c96658c24253a045ff38e8075cd7fb37ca6fcadfa6e6d093333943ad24f6fc4f163ec5b74fd940de9d5bb03eb4d3b:
------
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-17]
---
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-17', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-17/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
---- [assembly] tests/assembly/asm/arm-modifiers.rs stdout ----

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/assembly/asm/arm-modifiers.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/x86_64-unknown-linux-gnu/stage2" "--check-cfg" "cfg(FALSE)" "-O" "-Cdebug-assertions=no" "--emit" "asm" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/assembly/asm/arm-modifiers/arm-modifiers.s" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/assembly/asm/arm-modifiers/auxiliary" "-O" "-C" "panic=abort" "--target" "armv7-unknown-linux-gnueabihf" "-C" "target-feature=+neon"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
31 | pub struct f32x4(f32, f32, f32, f32);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [assembly] tests/assembly/asm/arm-types.rs#d32 stdout ----

error in revision `d32`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/assembly/asm/arm-types.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/x86_64-unknown-linux-gnu/stage2" "--cfg" "d32" "--check-cfg" "cfg(FALSE,base,d32,neon)" "-O" "-Cdebug-assertions=no" "--emit" "asm" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/assembly/asm/arm-types.d32/arm-types.s" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/assembly/asm/arm-types.d32/auxiliary" "--target" "armv7-unknown-linux-gnueabihf" "-C" "opt-level=0" "-C" "target-feature=+d32"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
36 | pub struct i8x8(i8, i8, i8, i8, i8, i8, i8, i8);
   | ^^^^^^^^^^^^^^^ -- not an array


error[E0076]: SIMD vector's only field must be an array
   |
38 | pub struct i16x4(i16, i16, i16, i16);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
40 | pub struct i32x2(i32, i32);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
42 | pub struct i64x1(i64);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
   |
44 | pub struct f16x4(f16, f16, f16, f16);


error[E0076]: SIMD vector's only field must be an array
   |
   |
46 | pub struct f32x2(f32, f32);


error[E0076]: SIMD vector's only field must be an array
   |
48 | pub struct i8x16(i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8);
   | ^^^^^^^^^^^^^^^^ -- not an array


error[E0076]: SIMD vector's only field must be an array
   |
50 | pub struct i16x8(i16, i16, i16, i16, i16, i16, i16, i16);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
52 | pub struct i32x4(i32, i32, i32, i32);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
54 | pub struct i64x2(i64, i64);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
   |
56 | pub struct f16x8(f16, f16, f16, f16, f16, f16, f16, f16);


error[E0076]: SIMD vector's only field must be an array
   |
   |
58 | pub struct f32x4(f32, f32, f32, f32);

error: aborting due to 12 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [assembly] tests/assembly/asm/aarch64-types.rs#aarch64 stdout ----

error in revision `aarch64`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/assembly/asm/aarch64-types.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/x86_64-unknown-linux-gnu/stage2" "--cfg" "aarch64" "--check-cfg" "cfg(FALSE,aarch64,arm64ec)" "-O" "-Cdebug-assertions=no" "--emit" "asm" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/assembly/asm/aarch64-types.aarch64/aarch64-types.s" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/assembly/asm/aarch64-types.aarch64/auxiliary" "--target" "aarch64-unknown-linux-gnu"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
34 | pub struct i8x8(i8, i8, i8, i8, i8, i8, i8, i8);
   | ^^^^^^^^^^^^^^^ -- not an array


error[E0076]: SIMD vector's only field must be an array
   |
36 | pub struct i16x4(i16, i16, i16, i16);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
38 | pub struct i32x2(i32, i32);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
40 | pub struct i64x1(i64);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
   |
42 | pub struct f32x2(f32, f32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
44 | pub struct f64x1(f64);


error[E0076]: SIMD vector's only field must be an array
   |
46 | pub struct i8x16(i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8);
   | ^^^^^^^^^^^^^^^^ -- not an array


error[E0076]: SIMD vector's only field must be an array
   |
48 | pub struct i16x8(i16, i16, i16, i16, i16, i16, i16, i16);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
50 | pub struct i32x4(i32, i32, i32, i32);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
52 | pub struct i64x2(i64, i64);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
   |
54 | pub struct f32x4(f32, f32, f32, f32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
56 | pub struct f64x2(f64, f64);

error: aborting due to 12 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [assembly] tests/assembly/asm/arm-types.rs#neon stdout ----

error in revision `neon`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/assembly/asm/arm-types.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/x86_64-unknown-linux-gnu/stage2" "--cfg" "neon" "--check-cfg" "cfg(FALSE,base,d32,neon)" "-O" "-Cdebug-assertions=no" "--emit" "asm" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/assembly/asm/arm-types.neon/arm-types.s" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/assembly/asm/arm-types.neon/auxiliary" "--target" "armv7-unknown-linux-gnueabihf" "-C" "opt-level=0" "-C" "target-feature=+neon" "--cfg" "d32"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
36 | pub struct i8x8(i8, i8, i8, i8, i8, i8, i8, i8);
   | ^^^^^^^^^^^^^^^ -- not an array


error[E0076]: SIMD vector's only field must be an array
   |
38 | pub struct i16x4(i16, i16, i16, i16);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
40 | pub struct i32x2(i32, i32);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
42 | pub struct i64x1(i64);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
   |
44 | pub struct f16x4(f16, f16, f16, f16);


error[E0076]: SIMD vector's only field must be an array
   |
   |
46 | pub struct f32x2(f32, f32);


error[E0076]: SIMD vector's only field must be an array
   |
48 | pub struct i8x16(i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8);
   | ^^^^^^^^^^^^^^^^ -- not an array


error[E0076]: SIMD vector's only field must be an array
   |
50 | pub struct i16x8(i16, i16, i16, i16, i16, i16, i16, i16);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
52 | pub struct i32x4(i32, i32, i32, i32);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
54 | pub struct i64x2(i64, i64);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
   |
56 | pub struct f16x8(f16, f16, f16, f16, f16, f16, f16, f16);


error[E0076]: SIMD vector's only field must be an array
   |
   |
58 | pub struct f32x4(f32, f32, f32, f32);

error: aborting due to 12 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [assembly] tests/assembly/asm/arm-types.rs#base stdout ----

error in revision `base`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/assembly/asm/arm-types.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/x86_64-unknown-linux-gnu/stage2" "--cfg" "base" "--check-cfg" "cfg(FALSE,base,d32,neon)" "-O" "-Cdebug-assertions=no" "--emit" "asm" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/assembly/asm/arm-types.base/arm-types.s" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/assembly/asm/arm-types.base/auxiliary" "--target" "armv7-unknown-linux-gnueabihf" "-C" "opt-level=0"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
36 | pub struct i8x8(i8, i8, i8, i8, i8, i8, i8, i8);
   | ^^^^^^^^^^^^^^^ -- not an array


error[E0076]: SIMD vector's only field must be an array
   |
38 | pub struct i16x4(i16, i16, i16, i16);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
40 | pub struct i32x2(i32, i32);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
42 | pub struct i64x1(i64);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
   |
44 | pub struct f16x4(f16, f16, f16, f16);


error[E0076]: SIMD vector's only field must be an array
   |
   |
46 | pub struct f32x2(f32, f32);


error[E0076]: SIMD vector's only field must be an array
   |
48 | pub struct i8x16(i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8);
   | ^^^^^^^^^^^^^^^^ -- not an array


error[E0076]: SIMD vector's only field must be an array
   |
50 | pub struct i16x8(i16, i16, i16, i16, i16, i16, i16, i16);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
52 | pub struct i32x4(i32, i32, i32, i32);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
54 | pub struct i64x2(i64, i64);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
   |
56 | pub struct f16x8(f16, f16, f16, f16, f16, f16, f16, f16);


error[E0076]: SIMD vector's only field must be an array
   |
   |
58 | pub struct f32x4(f32, f32, f32, f32);

error: aborting due to 12 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [assembly] tests/assembly/asm/aarch64-types.rs#arm64ec stdout ----

error in revision `arm64ec`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/assembly/asm/aarch64-types.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/x86_64-unknown-linux-gnu/stage2" "--cfg" "arm64ec" "--check-cfg" "cfg(FALSE,aarch64,arm64ec)" "-O" "-Cdebug-assertions=no" "--emit" "asm" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/assembly/asm/aarch64-types.arm64ec/aarch64-types.s" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/assembly/asm/aarch64-types.arm64ec/auxiliary" "--target" "arm64ec-pc-windows-msvc"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
34 | pub struct i8x8(i8, i8, i8, i8, i8, i8, i8, i8);
   | ^^^^^^^^^^^^^^^ -- not an array


error[E0076]: SIMD vector's only field must be an array
   |
36 | pub struct i16x4(i16, i16, i16, i16);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
38 | pub struct i32x2(i32, i32);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
40 | pub struct i64x1(i64);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
   |
42 | pub struct f32x2(f32, f32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
44 | pub struct f64x1(f64);


error[E0076]: SIMD vector's only field must be an array
   |
46 | pub struct i8x16(i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8);
   | ^^^^^^^^^^^^^^^^ -- not an array


error[E0076]: SIMD vector's only field must be an array
   |
48 | pub struct i16x8(i16, i16, i16, i16, i16, i16, i16, i16);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
50 | pub struct i32x4(i32, i32, i32, i32);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
52 | pub struct i64x2(i64, i64);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
   |
54 | pub struct f32x4(f32, f32, f32, f32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
56 | pub struct f64x2(f64, f64);

error: aborting due to 12 previous errors

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
------------------------------------------


---- [assembly] tests/assembly/asm/x86-types.rs#i686 stdout ----

error in revision `i686`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/assembly/asm/x86-types.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/x86_64-unknown-linux-gnu/stage2" "--cfg" "i686" "--check-cfg" "cfg(FALSE,x86_64,i686)" "-O" "-Cdebug-assertions=no" "--emit" "asm" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/assembly/asm/x86-types.i686/x86-types.s" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/assembly/asm/x86-types.i686/auxiliary" "--target" "i686-unknown-linux-gnu" "-C" "llvm-args=--x86-asm-syntax=intel" "-C" "target-feature=+avx512bw"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
36 | pub struct i8x16(i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8);
   | ^^^^^^^^^^^^^^^^ -- not an array


error[E0076]: SIMD vector's only field must be an array
   |
38 | pub struct i16x8(i16, i16, i16, i16, i16, i16, i16, i16);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
40 | pub struct i32x4(i32, i32, i32, i32);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
42 | pub struct i64x2(i64, i64);
   | ^^^^^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
   |
44 | pub struct f16x8(f16, f16, f16, f16, f16, f16, f16, f16);


error[E0076]: SIMD vector's only field must be an array
   |
   |
46 | pub struct f32x4(f32, f32, f32, f32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
48 | pub struct f64x2(f64, f64);


error[E0076]: SIMD vector's only field must be an array
   |
51 | pub struct i8x32(
   | ^^^^^^^^^^^^^^^^
52 |     i8,
52 |     i8,
   |     -- not an array

rust-log-analyzer avatar Aug 23 '24 03:08 rust-log-analyzer

The job x86_64-gnu-llvm-17 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
------
 > importing cache manifest from ghcr.io/rust-lang/rust-ci-cache:20d3b4d4a2629cbf7865cdbf92fe47512a7c96658c24253a045ff38e8075cd7fb37ca6fcadfa6e6d093333943ad24f6fc4f163ec5b74fd940de9d5bb03eb4d3b:
------
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-17]
---
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-17', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-17/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
failures:

---- [incremental] tests/incremental/issue-61530.rs stdout ----

error in revision `rpass1`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/incremental/issue-61530.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "rpass1" "--check-cfg" "cfg(FALSE,rpass1,rpass2)" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/issue-61530/issue-61530.inc" "-Z" "incremental-verify-ich" "-O" "--error-format" "json" "--json" "future-incompat" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/issue-61530/a" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/issue-61530/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
LL | struct I32x2(i32, i32);
   | ^^^^^^^^^^^^ --- not an array

rust-log-analyzer avatar Aug 23 '24 03:08 rust-log-analyzer

The job x86_64-gnu-llvm-17 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
------
 > importing cache manifest from ghcr.io/rust-lang/rust-ci-cache:20d3b4d4a2629cbf7865cdbf92fe47512a7c96658c24253a045ff38e8075cd7fb37ca6fcadfa6e6d093333943ad24f6fc4f163ec5b74fd940de9d5bb03eb4d3b:
------
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-17]
---
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-17', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-17/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
---- [debuginfo-gdb] tests/debuginfo/simd.rs stdout ----

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/debuginfo/simd.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(FALSE)" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/debuginfo/simd.gdb/a" "-A" "internal_features" "-Crpath" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/debuginfo/simd.gdb/auxiliary" "-g"
--- stderr -------------------------------
--- stderr -------------------------------
warning: type `i8x16` should have an upper camel case name
   |
43 | struct i8x16(i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8);
43 | struct i8x16(i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8);
   |        ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8x16`
   = note: `#[warn(non_camel_case_types)]` on by default


warning: type `i16x8` should have an upper camel case name
   |
45 | struct i16x8(i16, i16, i16, i16, i16, i16, i16, i16);
45 | struct i16x8(i16, i16, i16, i16, i16, i16, i16, i16);
   |        ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I16x8`

warning: type `i32x4` should have an upper camel case name
   |
47 | struct i32x4(i32, i32, i32, i32);
47 | struct i32x4(i32, i32, i32, i32);
   |        ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I32x4`

warning: type `i64x2` should have an upper camel case name
   |
49 | struct i64x2(i64, i64);
49 | struct i64x2(i64, i64);
   |        ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I64x2`

warning: type `u8x16` should have an upper camel case name
   |
   |
51 | struct u8x16(u8, u8, u8, u8, u8, u8, u8, u8, u8, u8, u8, u8, u8, u8, u8, u8);
   |        ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `U8x16`

warning: type `u16x8` should have an upper camel case name
   |
   |
53 | struct u16x8(u16, u16, u16, u16, u16, u16, u16, u16);
   |        ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `U16x8`

warning: type `u32x4` should have an upper camel case name
   |
   |
55 | struct u32x4(u32, u32, u32, u32);
   |        ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `U32x4`

warning: type `u64x2` should have an upper camel case name
   |
57 | struct u64x2(u64, u64);
57 | struct u64x2(u64, u64);
   |        ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `U64x2`

warning: type `f32x4` should have an upper camel case name
   |
   |
59 | struct f32x4(f32, f32, f32, f32);
   |        ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `F32x4`

warning: type `f64x2` should have an upper camel case name
   |
   |
61 | struct f64x2(f64, f64);
   |        ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `F64x2`

error[E0076]: SIMD vector's only field must be an array
   |
43 | struct i8x16(i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8);
   | ^^^^^^^^^^^^ -- not an array


error[E0076]: SIMD vector's only field must be an array
   |
45 | struct i16x8(i16, i16, i16, i16, i16, i16, i16, i16);
   | ^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
47 | struct i32x4(i32, i32, i32, i32);
   | ^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
49 | struct i64x2(i64, i64);
   | ^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
   |
51 | struct u8x16(u8, u8, u8, u8, u8, u8, u8, u8, u8, u8, u8, u8, u8, u8, u8, u8);


error[E0076]: SIMD vector's only field must be an array
   |
   |
53 | struct u16x8(u16, u16, u16, u16, u16, u16, u16, u16);


error[E0076]: SIMD vector's only field must be an array
   |
   |
55 | struct u32x4(u32, u32, u32, u32);


error[E0076]: SIMD vector's only field must be an array
   |
57 | struct u64x2(u64, u64);
   | ^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
   |
59 | struct f32x4(f32, f32, f32, f32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
61 | struct f64x2(f64, f64);

error: aborting due to 10 previous errors; 10 warnings emitted

For more information about this error, try `rustc --explain E0076`.

rust-log-analyzer avatar Aug 23 '24 04:08 rust-log-analyzer

The job x86_64-gnu-llvm-17 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
------
 > importing cache manifest from ghcr.io/rust-lang/rust-ci-cache:20d3b4d4a2629cbf7865cdbf92fe47512a7c96658c24253a045ff38e8075cd7fb37ca6fcadfa6e6d093333943ad24f6fc4f163ec5b74fd940de9d5bb03eb4d3b:
------
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-17]
---
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-17', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-17/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---

---- [debuginfo-gdb] tests/debuginfo/simd.rs stdout ----
NOTE: compiletest thinks it is using GDB version 14000050

error: check directive(s) from `/checkout/tests/debuginfo/simd.rs` not found in debugger output. errors:
    (simd.rs:13) `$1 = simd::i8x16 (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)`
    (simd.rs:15) `$2 = simd::i16x8 (16, 17, 18, 19, 20, 21, 22, 23)`
    (simd.rs:17) `$3 = simd::i32x4 (24, 25, 26, 27)`
    (simd.rs:19) `$4 = simd::i64x2 (28, 29)`
    (simd.rs:22) `$5 = simd::u8x16 (30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45)`
    (simd.rs:24) `$6 = simd::u16x8 (46, 47, 48, 49, 50, 51, 52, 53)`
    (simd.rs:26) `$7 = simd::u32x4 (54, 55, 56, 57)`
    (simd.rs:28) `$8 = simd::u64x2 (58, 59)`
    (simd.rs:31) `$9 = simd::f32x4 (60.5, 61.5, 62.5, 63.5)`
    (simd.rs:33) `$10 = simd::f64x2 (64.5, 65.5)`
status: exit status: 0
command: PYTHONPATH="/checkout/./src/etc" "/usr/bin/gdb" "-quiet" "-batch" "-nx" "-command=/checkout/obj/build/x86_64-unknown-linux-gnu/test/debuginfo/simd.gdb/simd.debugger.script"
--- stdout -------------------------------
GNU gdb (Ubuntu 14.0.50.20230907-0ubuntu1) 14.0.50.20230907-git
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0x15aa: file /checkout/tests/debuginfo/simd.rs, line 81.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, simd::main () at /checkout/tests/debuginfo/simd.rs:81
81     zzz(); // #break
$1 = simd::i8x16 ([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15])
$2 = simd::i16x8 ([16, 17, 18, 19, 20, 21, 22, 23])
$3 = simd::i32x4 ([24, 25, 26, 27])
$4 = simd::i64x2 ([28, 29])
$5 = simd::u8x16 ([30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45])
$6 = simd::u16x8 ([46, 47, 48, 49, 50, 51, 52, 53])
$7 = simd::u32x4 ([54, 55, 56, 57])
$8 = simd::u64x2 ([58, 59])
$9 = simd::f32x4 ([60.5, 61.5, 62.5, 63.5])
$10 = simd::f64x2 ([64.5, 65.5])
[Inferior 1 (process 189240) exited normally]
stderr: none



rust-log-analyzer avatar Aug 23 '24 05:08 rust-log-analyzer

The job x86_64-gnu-llvm-17 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
------
 > importing cache manifest from ghcr.io/rust-lang/rust-ci-cache:20d3b4d4a2629cbf7865cdbf92fe47512a7c96658c24253a045ff38e8075cd7fb37ca6fcadfa6e6d093333943ad24f6fc4f163ec5b74fd940de9d5bb03eb4d3b:
------
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-17]
---
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-17', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-17/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
##[endgroup]
[JIT] std_example (skipped)
##[group][AOT] std_example
[AOT] std_example
error[E0076]: SIMD vector's only field must be an array
    |
207 | struct I64X2(i64, i64);
    | ^^^^^^^^^^^^ --- not an array


error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
"/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_clif/dist/rustc-clif" "-Csymbol-mangling-version=v0" "-Zunstable-options" "--check-cfg=cfg(bootstrap)" "--check-cfg=cfg(parallel_compiler)" "-Zmacro-backtrace" "-Csplit-debuginfo=off" "-Cllvm-args=-import-instr-limit=10" "--cfg=parallel_compiler" "-Clink-args=-Wl,-z,origin" "-Clink-args=-Wl,-rpath,$ORIGIN/../lib" "-L" "crate=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_clif/build/example" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_clif/build/example" "-Cdebuginfo=2" "--target" "x86_64-unknown-linux-gnu" "-Cpanic=abort" "-Zunstable-options" "--check-cfg=cfg(jit)" "example/std_example.rs" exited with status ExitStatus(unix_wait_status(256))
Command has failed. Rerun with -v to see more details.
  local time: Fri Aug 23 05:47:40 UTC 2024
  network time: Fri, 23 Aug 2024 05:47:41 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar Aug 23 '24 05:08 rust-log-analyzer

The job x86_64-gnu-llvm-17 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
------
 > importing cache manifest from ghcr.io/rust-lang/rust-ci-cache:20d3b4d4a2629cbf7865cdbf92fe47512a7c96658c24253a045ff38e8075cd7fb37ca6fcadfa6e6d093333943ad24f6fc4f163ec5b74fd940de9d5bb03eb4d3b:
------
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-17]
---
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-17', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-17/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
[AOT] track-caller-attribute
##[endgroup]
##[group][AOT] float-minmax-pass
[AOT] float-minmax-pass
error[E0076]: SIMD vector's only field must be an array
##[error]  --> example/float-minmax-pass.rs:12:1
   |
12 | struct f32x4(pub f32, pub f32, pub f32, pub f32);

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
"/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_clif/dist/rustc-clif" "-Csymbol-mangling-version=v0" "-Zunstable-options" "--check-cfg=cfg(bootstrap)" "--check-cfg=cfg(parallel_compiler)" "-Zmacro-backtrace" "-Csplit-debuginfo=off" "-Cllvm-args=-import-instr-limit=10" "--cfg=parallel_compiler" "-Clink-args=-Wl,-z,origin" "-Clink-args=-Wl,-rpath,$ORIGIN/../lib" "-L" "crate=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_clif/build/example" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_clif/build/example" "-Cdebuginfo=2" "--target" "x86_64-unknown-linux-gnu" "-Cpanic=abort" "-Zunstable-options" "--check-cfg=cfg(jit)" "example/float-minmax-pass.rs" exited with status ExitStatus(unix_wait_status(256))
Command has failed. Rerun with -v to see more details.
  local time: Fri Aug 23 09:27:29 UTC 2024
  network time: Fri, 23 Aug 2024 09:27:29 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar Aug 23 '24 09:08 rust-log-analyzer

The job x86_64-gnu-tools failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
## Running ui tests in tests/pass for x86_64-unknown-linux-gnu
   Compiler: "MIRI_ENV_VAR_TEST"="0" "MIRI_TEMP"="/tmp/miri-uitest-NZK1e7" "RUST_BACKTRACE"="1" /checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/miri "--error-format=json" "--sysroot=/checkout/obj/build/x86_64-unknown-linux-gnu/miri-sysroot" "-Dwarnings" "-Dunused" "-Ainternal_features" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--out-dir" OUT_DIR

FAILED TEST: tests/pass/simd-intrinsic-generic-elements.rs
command: MIRI_ENV_VAR_TEST="0" MIRI_TEMP="/tmp/miri-uitest-NZK1e7" RUST_BACKTRACE="1" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/miri" "--error-format=json" "--sysroot=/checkout/obj/build/x86_64-unknown-linux-gnu/miri-sysroot" "-Dwarnings" "-Dunused" "-Ainternal_features" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/miri_ui/tests/pass" "tests/pass/simd-intrinsic-generic-elements.rs" "--edition" "2021"
error: pass test got exit status: 1, but expected 0

error: actual output differed from expected
Execute `./miri test --bless` to update `tests/pass/simd-intrinsic-generic-elements.stderr` to the actual output
Execute `./miri test --bless` to update `tests/pass/simd-intrinsic-generic-elements.stderr` to the actual output
--- tests/pass/simd-intrinsic-generic-elements.stderr
+++ <stderr output>
+error[E0076]: SIMD vector's only field must be an array
+   |
+LL | struct i32x2(i32, i32);
+   | ^^^^^^^^^^^^ --- not an array
+
+
+error[E0076]: SIMD vector's only field must be an array
+   |
+LL | struct i32x4(i32, i32, i32, i32);
+   | ^^^^^^^^^^^^ --- not an array
+
+
+error[E0076]: SIMD vector's only field must be an array
+   |
+LL | struct i32x8(i32, i32, i32, i32, i32, i32, i32, i32);
+   | ^^^^^^^^^^^^ --- not an array
+
---
error: there were 1 unmatched diagnostics
##[error] --> tests/pass/simd-intrinsic-generic-elements.rs:6:1
  |
6 | struct i32x2(i32, i32);
  | ^^^^^^^^^^^^ Error: SIMD vector's only field must be an array

error: there were 1 unmatched diagnostics
##[error]  --> tests/pass/simd-intrinsic-generic-elements.rs:10:1
   |
   |
10 | struct i32x4(i32, i32, i32, i32);
   | ^^^^^^^^^^^^ Error: SIMD vector's only field must be an array

error: there were 1 unmatched diagnostics
##[error]  --> tests/pass/simd-intrinsic-generic-elements.rs:14:1
   |
   |
14 | struct i32x8(i32, i32, i32, i32, i32, i32, i32, i32);
   | ^^^^^^^^^^^^ Error: SIMD vector's only field must be an array

full stderr:
full stderr:
error[E0076]: SIMD vector's only field must be an array
   |
LL | struct i32x2(i32, i32);
   | ^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
LL | struct i32x4(i32, i32, i32, i32);
   | ^^^^^^^^^^^^ --- not an array


error[E0076]: SIMD vector's only field must be an array
   |
LL | struct i32x8(i32, i32, i32, i32, i32, i32, i32, i32);
   | ^^^^^^^^^^^^ --- not an array

---
Error: 
   0: ui tests in tests/pass for x86_64-unknown-linux-gnu failed
   1: tests failed

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
error: test failed, to rerun pass `--test ui`
Caused by:
  process didn't exit successfully: `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/ui-b8058cdfd4fcfcfb --quiet` (exit status: 1)
  process didn't exit successfully: `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/ui-b8058cdfd4fcfcfb --quiet` (exit status: 1)
Command has failed. Rerun with -v to see more details.
  local time: Fri Aug 23 18:59:36 UTC 2024
  network time: Fri, 23 Aug 2024 18:59:36 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar Aug 23 '24 18:08 rust-log-analyzer

The job x86_64-gnu-llvm-17 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
------
 > importing cache manifest from ghcr.io/rust-lang/rust-ci-cache:20d3b4d4a2629cbf7865cdbf92fe47512a7c96658c24253a045ff38e8075cd7fb37ca6fcadfa6e6d093333943ad24f6fc4f163ec5b74fd940de9d5bb03eb4d3b:
------
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-17]
---
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-17', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-17/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
  Downloaded boml v0.3.1
   Compiling boml v0.3.1
   Compiling y v0.1.0 (/checkout/compiler/rustc_codegen_gcc/build_system)
    Finished `release` profile [optimized] target(s) in 3.72s
     Running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-codegen/x86_64-unknown-linux-gnu/release/y test --use-system-gcc --use-backend gcc --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc --release --mini-tests --std-tests`
Using system GCC
[BUILD] example
[AOT] mini_core_hello_world
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc/mini_core_hello_world
abc
---
---- [rustdoc] tests/rustdoc/inline_cross/repr.rs stdout ----

error: auxiliary build of "/checkout/tests/rustdoc/inline_cross/auxiliary/repr.rs" failed to compile: 
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/rustdoc/inline_cross/auxiliary/repr.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/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(FALSE)" "-O" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc/inline_cross/repr/auxiliary" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc/inline_cross/repr/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
  |
8 | pub struct ReprSimd {
  | ^^^^^^^^^^^^^^^^^^^
9 |     field: u8,

rust-log-analyzer avatar Aug 23 '24 19:08 rust-log-analyzer

The job x86_64-gnu-llvm-17 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
------
 > importing cache manifest from ghcr.io/rust-lang/rust-ci-cache:20d3b4d4a2629cbf7865cdbf92fe47512a7c96658c24253a045ff38e8075cd7fb37ca6fcadfa6e6d093333943ad24f6fc4f163ec5b74fd940de9d5bb03eb4d3b:
------
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-17]
---
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-17', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-17/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
  Downloaded boml v0.3.1
   Compiling boml v0.3.1
   Compiling y v0.1.0 (/checkout/compiler/rustc_codegen_gcc/build_system)
    Finished `release` profile [optimized] target(s) in 3.84s
     Running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-codegen/x86_64-unknown-linux-gnu/release/y test --use-system-gcc --use-backend gcc --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc --release --mini-tests --std-tests`
Using system GCC
[BUILD] example
[AOT] mini_core_hello_world
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc/mini_core_hello_world
abc
---
   Compiling rand_xorshift v0.3.0
   Compiling rand v0.8.5
   Compiling alloc v0.0.0 (/checkout/library/alloc)
   Compiling std v0.0.0 (/checkout/library/std)
error[E0076]: SIMD vector's only field must be an array
   --> alloc/benches/slice.rs:339:1
    |
339 | struct F64x4(f64, f64, f64, f64);

   Compiling core v0.0.0 (/checkout/library/core)
For more information about this error, try `rustc --explain E0076`.
error: could not compile `alloc` (bench "allocbenches") due to 1 previous error

rust-log-analyzer avatar Aug 23 '24 20:08 rust-log-analyzer

The job x86_64-gnu-tools failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
   Compiling memchr v2.5.0
   Compiling std v0.0.0 (/checkout/library/std)
    Checking windows-targets v0.0.0 (/checkout/library/windows_targets)
    Checking rustc-std-workspace-core v1.99.0 (/checkout/library/rustc-std-workspace-core)
error[E0076]: SIMD vector's only field must be an array
##[error]   --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.120/src/macros.rs:485:5
485 |     pub struct U64x2(u64, u64);
    |     ^^^^^^^^^^^^^^^^ --- not an array

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
error: could not compile `compiler_builtins` (lib) due to 1 previous error
fatal error: failed to build sysroot: sysroot build failed
Command has failed. Rerun with -v to see more details.
  local time: Fri Aug 23 21:53:01 UTC 2024
  network time: Fri, 23 Aug 2024 21:53:01 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar Aug 23 '24 21:08 rust-log-analyzer

The job x86_64-gnu-llvm-17 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
------
 > importing cache manifest from ghcr.io/rust-lang/rust-ci-cache:20d3b4d4a2629cbf7865cdbf92fe47512a7c96658c24253a045ff38e8075cd7fb37ca6fcadfa6e6d093333943ad24f6fc4f163ec5b74fd940de9d5bb03eb4d3b:
------
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-17]
---
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-17', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-17/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
  Downloaded boml v0.3.1
   Compiling boml v0.3.1
   Compiling y v0.1.0 (/checkout/compiler/rustc_codegen_gcc/build_system)
    Finished `release` profile [optimized] target(s) in 3.74s
     Running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-codegen/x86_64-unknown-linux-gnu/release/y test --use-system-gcc --use-backend gcc --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc --release --mini-tests --std-tests`
Using system GCC
[BUILD] example
[AOT] mini_core_hello_world
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc/mini_core_hello_world
abc
---
test /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0797 (line 18067) ... ok

failures:

---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0074::_::Note__this_error_code_is_no_longer_emitted_by_the_compiler_ (line 1591) stdout ----
error[E0076]: SIMD vector's only field must be an array
  |
6 | struct Good(u32, u32, u32, u32);
  | ^^^^^^^^^^^ --- not an array


error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
Couldn't compile the test.
---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0074::_::Note__this_error_code_is_no_longer_emitted_by_the_compiler_ (line 1582) stdout ----
error[E0076]: SIMD vector's only field must be an array
  |
  |
6 | struct Bad<T>(T, T, T, T);
  | ^^^^^^^^^^^^^ - not an array
error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
Couldn't compile the test.
Couldn't compile the test.
---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0075 (line 1616) stdout ----
error[E0076]: SIMD vector's only field must be an array
  |
6 | struct Good(u32); // ok!
  | ^^^^^^^^^^^ --- not an array


error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
Couldn't compile the test.
---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0076 (line 1642) stdout ----
error[E0076]: SIMD vector's only field must be an array
  |
  |
6 | struct Good(u32, u32, u32, u32); // ok!

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
For more information about this error, try `rustc --explain E0076`.
Couldn't compile the test.
---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0077 (line 1655) stdout ----
error[E0076]: SIMD vector's only field must be an array
  |
6 | struct Bad(String); // error!
  | ^^^^^^^^^^ ------ not an array


error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
Some expected error codes were not found: ["E0077"]
---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0077 (line 1667) stdout ----
error[E0076]: SIMD vector's only field must be an array
  |
  |
6 | struct Good(u32, u32, u32, u32); // ok!

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0076`.
---
  |
  = note: using it is strongly discouraged
  = note: `#[warn(internal_features)]` on by default

warning: type `i32x2` should have an upper camel case name
  |
8 | struct i32x2(i32, i32);
8 | struct i32x2(i32, i32);
  |        ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I32x2`
  = note: `#[warn(non_camel_case_types)]` on by default


error[E0076]: SIMD vector's only field must be an array
  |
8 | struct i32x2(i32, i32);
  | ^^^^^^^^^^^^ --- not an array

---
test result: FAILED. 1036 passed; 7 failed; 57 ignored; 0 measured; 0 filtered out; finished in 8.36s



Command CFG_RELEASE_CHANNEL="nightly" RUSTC_BOOTSTRAP="1" RUSTC_STAGE="2" RUSTC_SYSROOT="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" RUSTDOC_LIBDIR="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" RUSTDOC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" RUST_TEST_THREADS="16" "/checkout/obj/build/bootstrap/debug/rustdoc" "-Wrustdoc::invalid_codeblock_attributes" "-Dwarnings" "-Znormalize-docs" "-Z" "unstable-options" "--test" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md" "--test-args" "" (failure_mode=DelayFail) has failed. Rerun with -v to see more details.
  local time: Fri Aug 23 23:26:10 UTC 2024
  network time: Fri, 23 Aug 2024 23:26:11 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar Aug 23 '24 23:08 rust-log-analyzer

The Miri subtree was changed

cc @rust-lang/miri

This PR modifies tests/run-make/. If this PR is trying to port a Makefile run-make test to use rmake.rs, please update the run-make port tracking issue so we can track our progress. You can either modify the tracking issue directly, or you can comment on the tracking issue and link this PR.

cc @jieyouxu

Some changes occurred in compiler/rustc_codegen_cranelift

cc @bjorn3

rustbot avatar Aug 26 '24 06:08 rustbot

The "actual code" here hasn't changed since the review above (albeit many dozen tests were fixed), so

@bors r=compiler-errors rollup=iffy (there's probably some platform-specific simd I missed somewhere)

scottmcm avatar Aug 26 '24 06:08 scottmcm

:pushpin: Commit 3cba9ac659561102d924e9cf082218fccdfe7ea3 has been approved by compiler-errors

It is now in the queue for this repository.

bors avatar Aug 26 '24 06:08 bors

:hourglass: Testing commit 3cba9ac659561102d924e9cf082218fccdfe7ea3 with merge 7ec71a629cc3fb05e246d32a392ec985ccfb7fd7...

bors avatar Aug 26 '24 08:08 bors

The job aarch64-apple failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

---- [ui] tests/ui/asm/aarch64/type-check-2-2.rs stdout ----
diff of stderr:

+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct SimdType(f32, f32, f32, f32);
+ 
+ 
+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct SimdNonCopy(f32, f32, f32, f32);
+ 
1 error[E0381]: used binding `x` isn't initialized
2   --> $DIR/type-check-2-2.rs:19:28
3    |
3    |

40 LL |         let mut v: Vec<u64> = vec![0, 1, 2];
42 
- error: aborting due to 3 previous errors
+ error: aborting due to 5 previous errors
44 
---
47 


The actual stderr differed from the expected stderr.
Actual stderr saved to /Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/ui/asm/aarch64/type-check-2-2/type-check-2-2.stderr
To only update this specific test, also pass `--test-args asm/aarch64/type-check-2-2.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2/bin/rustc" "/Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-2-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=/Users/runner/.cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/Users/runner/work/rust/rust/vendor" "--sysroot" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2" "--target=aarch64-apple-darwin" "--check-cfg" "cfg(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" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/ui/asm/aarch64/type-check-2-2" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/native/rust-test-helpers" "-L" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/ui/asm/aarch64/type-check-2-2/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct SimdType(f32, f32, f32, f32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct SimdNonCopy(f32, f32, f32, f32);

error[E0381]: used binding `x` isn't initialized
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-2-2.rs:19:28
   |
   |
LL |         let x: u64;
   |             - binding declared here but left uninitialized
LL |         asm!("{}", in(reg) x);
   |                            ^ `x` used here but it isn't initialized
help: consider assigning a value
   |
LL |         let x: u64 = 42;
   |                    ++++
   |                    ++++

error[E0381]: used binding `y` isn't initialized
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-2-2.rs:22:9
   |
LL |         let mut y: u64;
   |             ----- binding declared here but left uninitialized
LL |         asm!("{}", inout(reg) y);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^ `y` used here but it isn't initialized
help: consider assigning a value
   |
LL |         let mut y: u64 = 42;
   |                        ++++
   |                        ++++

error[E0596]: cannot borrow `v` as mutable, as it is not declared as mutable
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-2-2.rs:28:13
   |
LL |         let v: Vec<u64> = vec![0, 1, 2]; //~ ERROR cannot borrow `v` as mutable
   |             ^ not mutable
LL |         asm!("{}", in(reg) v[0]);
LL |         asm!("{}", out(reg) v[0]);
   |                             - cannot borrow as mutable
LL |         asm!("{}", inout(reg) v[0]);
   |                               - cannot borrow as mutable
help: consider changing this to be mutable
   |
   |
LL |         let mut v: Vec<u64> = vec![0, 1, 2]; //~ ERROR cannot borrow `v` as mutable

error: aborting due to 5 previous errors

Some errors have detailed explanations: E0076, E0381, E0596.
Some errors have detailed explanations: E0076, E0381, E0596.
For more information about an error, try `rustc --explain E0076`.
------------------------------------------


---- [ui] tests/ui/asm/aarch64/type-check-2.rs stdout ----
diff of stderr:

+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct SimdType(f32, f32, f32, f32);
+ 
+ 
+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct SimdNonCopy(f32, f32, f32, f32);
+ 
1 error: arguments for inline assembly must be copyable
2   --> $DIR/type-check-2.rs:20:31
3    |
---
60 


The actual stderr differed from the expected stderr.
Actual stderr saved to /Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/ui/asm/aarch64/type-check-2/type-check-2.stderr
To only update this specific test, also pass `--test-args asm/aarch64/type-check-2.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2/bin/rustc" "/Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-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=/Users/runner/.cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/Users/runner/work/rust/rust/vendor" "--sysroot" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2" "--target=aarch64-apple-darwin" "--check-cfg" "cfg(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" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/ui/asm/aarch64/type-check-2" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/native/rust-test-helpers" "-L" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/ui/asm/aarch64/type-check-2/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct SimdType(f32, f32, f32, f32);


error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct SimdNonCopy(f32, f32, f32, f32);

error: arguments for inline assembly must be copyable
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-2.rs:20:31
   |
   |
LL |         asm!("{:v}", in(vreg) SimdNonCopy(0.0, 0.0, 0.0, 0.0));
   |
   = note: `SimdNonCopy` does not implement the Copy trait


error: cannot use value of type `{closure@/Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-2.rs:32:28: 32:36}` for inline assembly
   |
   |
LL |         asm!("{}", in(reg) |x: i32| x);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly

error: cannot use value of type `Vec<i32>` for inline assembly
error: cannot use value of type `Vec<i32>` for inline assembly
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-2.rs:34:28
   |
LL |         asm!("{}", in(reg) vec![0]);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly
   = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)


error: cannot use value of type `(i32, i32, i32)` for inline assembly
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-2.rs:36:28
   |
LL |         asm!("{}", in(reg) (1, 2, 3));
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly


error: cannot use value of type `[i32; 3]` for inline assembly
   |
   |
LL |         asm!("{}", in(reg) [1, 2, 3]);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly


error: cannot use value of type `fn() {main}` for inline assembly
   |
   |
LL |         asm!("{}", inout(reg) f);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly

error: cannot use value of type `&mut i32` for inline assembly
error: cannot use value of type `&mut i32` for inline assembly
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-2.rs:49:31
   |
LL |         asm!("{}", inout(reg) r);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly

error: aborting due to 9 previous errors
---

---- [ui] tests/ui/asm/aarch64/type-check-3.rs stdout ----
diff of stderr:

+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct Simd256bit(f64, f64, f64, f64);
+ 
1 warning: formatting may not be suitable for sub-register argument
2   --> $DIR/type-check-3.rs:48:15
3    |
---
148 


The actual stderr differed from the expected stderr.
Actual stderr saved to /Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/ui/asm/aarch64/type-check-3/type-check-3.stderr
To only update this specific test, also pass `--test-args asm/aarch64/type-check-3.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2/bin/rustc" "/Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.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=/Users/runner/.cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/Users/runner/work/rust/rust/vendor" "--sysroot" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2" "--target=aarch64-apple-darwin" "--check-cfg" "cfg(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" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/ui/asm/aarch64/type-check-3" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/native/rust-test-helpers" "-L" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/ui/asm/aarch64/type-check-3/auxiliary" "-C" "target-feature=+neon"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct Simd256bit(f64, f64, f64, f64);

warning: formatting may not be suitable for sub-register argument
##[warning]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.rs:48:15
   |
   |
LL |         asm!("{}", in(reg) 0u8);
   |               ^^           --- for this argument
   |
   = help: use `{0:w}` to have the register formatted as `w0` (for 32-bit values)
   = help: or use `{0:x}` to keep the default formatting of `x0` (for 64-bit values)
   = note: `#[warn(asm_sub_register)]` on by default
warning: formatting may not be suitable for sub-register argument
##[warning]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.rs:50:15
   |
   |
LL |         asm!("{}", in(reg) 0u16);
   |               ^^           ---- for this argument
   |
   = help: use `{0:w}` to have the register formatted as `w0` (for 32-bit values)
   = help: or use `{0:x}` to keep the default formatting of `x0` (for 64-bit values)
warning: formatting may not be suitable for sub-register argument
##[warning]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.rs:52:15
   |
   |
LL |         asm!("{}", in(reg) 0i32);
   |               ^^           ---- for this argument
   |
   = help: use `{0:w}` to have the register formatted as `w0` (for 32-bit values)
   = help: or use `{0:x}` to keep the default formatting of `x0` (for 64-bit values)
warning: formatting may not be suitable for sub-register argument
##[warning]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.rs:54:15
   |
   |
LL |         asm!("{}", in(reg) 0f32);
   |               ^^           ---- for this argument
   |
   = help: use `{0:w}` to have the register formatted as `w0` (for 32-bit values)
   = help: or use `{0:x}` to keep the default formatting of `x0` (for 64-bit values)
warning: formatting may not be suitable for sub-register argument
##[warning]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.rs:57:15
   |
   |
LL |         asm!("{}", in(vreg) 0i16);
   |               ^^            ---- for this argument
   |
   = help: use `{0:h}` to have the register formatted as `h0` (for 16-bit values)
   = help: or use `{0:v}` to keep the default formatting of `v0` (for 128-bit values)
warning: formatting may not be suitable for sub-register argument
##[warning]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.rs:59:15
   |
   |
LL |         asm!("{}", in(vreg) 0f32);
   |               ^^            ---- for this argument
   |
   = help: use `{0:s}` to have the register formatted as `s0` (for 32-bit values)
   = help: or use `{0:v}` to keep the default formatting of `v0` (for 128-bit values)
warning: formatting may not be suitable for sub-register argument
##[warning]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.rs:61:15
   |
   |
LL |         asm!("{}", in(vreg) 0f64);
   |               ^^            ---- for this argument
   |
   = help: use `{0:d}` to have the register formatted as `d0` (for 64-bit values)
   = help: or use `{0:v}` to keep the default formatting of `v0` (for 128-bit values)
warning: formatting may not be suitable for sub-register argument
##[warning]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.rs:63:15
   |
   |
LL |         asm!("{}", in(vreg_low16) 0f64);
   |               ^^                  ---- for this argument
   |
   = help: use `{0:d}` to have the register formatted as `d0` (for 64-bit values)
   = help: or use `{0:v}` to keep the default formatting of `v0` (for 128-bit values)
warning: formatting may not be suitable for sub-register argument
##[warning]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.rs:66:15
   |
   |
LL |         asm!("{0} {0}", in(reg) 0i16);
   |               ^^^ ^^^           ---- for this argument
   |
   = help: use `{0:w}` to have the register formatted as `w0` (for 32-bit values)
   = help: or use `{0:x}` to keep the default formatting of `x0` (for 64-bit values)
warning: formatting may not be suitable for sub-register argument
##[warning]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.rs:68:15
   |
   |
LL |         asm!("{0} {0:x}", in(reg) 0i16);
   |
   |
   = help: use `{0:w}` to have the register formatted as `w0` (for 32-bit values)
   = help: or use `{0:x}` to keep the default formatting of `x0` (for 64-bit values)
error: type `i128` cannot be used with this register class
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.rs:73:28
   |
   |
LL |         asm!("{}", in(reg) 0i128);
   |
   |
   = note: register class `reg` supports these types: i8, i16, i32, i64, f32, f64
error: type `float64x2_t` cannot be used with this register class
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.rs:75:28
   |
   |
LL |         asm!("{}", in(reg) f64x2);
   |
   |
   = note: register class `reg` supports these types: i8, i16, i32, i64, f32, f64
error: type `Simd256bit` cannot be used with this register class
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.rs:77:29
   |
   |
LL |         asm!("{}", in(vreg) f64x4);
   |
   |
   = note: register class `vreg` supports these types: i8, i16, i32, i64, f32, f64, i8x8, i16x4, i32x2, i64x1, f32x2, f64x1, i8x16, i16x8, i32x4, i64x2, f32x4, f64x2
error: incompatible types for asm inout argument
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.rs:88:33
   |
   |
LL |         asm!("{:x}", inout(reg) 0u32 => val_f32);
   |                                 ^^^^    ^^^^^^^ type `f32`
   |                                 type `u32`
   |
   = note: asm inout arguments must have the same type, unless they are both pointers or integers of the same size


error: incompatible types for asm inout argument
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.rs:90:33
   |
LL |         asm!("{:x}", inout(reg) 0u32 => val_ptr);
   |                                 ^^^^    ^^^^^^^ type `*mut u8`
   |                                 type `u32`
   |
   = note: asm inout arguments must have the same type, unless they are both pointers or integers of the same size


error: incompatible types for asm inout argument
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-3.rs:92:33
   |
LL |         asm!("{:x}", inout(reg) main => val_u32);
   |                                 |
   |                                 type `fn()`
   |
   = note: asm inout arguments must have the same type, unless they are both pointers or integers of the same size
---

---- [ui] tests/ui/asm/aarch64/type-check-4.rs stdout ----
diff of stderr:

+ error[E0076]: SIMD vector's only field must be an array
+    |
+    |
+ LL | struct Simd256bit(f64, f64, f64, f64);
+ 
1 error[E0658]: referencing statics in constants is unstable
2   --> $DIR/type-check-4.rs:24:25
3    |
3    |

34    = note: `static` and `const` variables can refer to other `const` variables. A `const` variable, however, cannot refer to a `static` variable.
36 
- error: aborting due to 3 previous errors
+ error: aborting due to 4 previous errors
38 
38 
- For more information about this error, try `rustc --explain E0658`.
+ Some errors have detailed explanations: E0076, E0658.
+ For more information about an error, try `rustc --explain E0076`.
40 


The actual stderr differed from the expected stderr.
Actual stderr saved to /Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/ui/asm/aarch64/type-check-4/type-check-4.stderr
To only update this specific test, also pass `--test-args asm/aarch64/type-check-4.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2/bin/rustc" "/Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-4.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=/Users/runner/.cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/Users/runner/work/rust/rust/vendor" "--sysroot" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2" "--target=aarch64-apple-darwin" "--check-cfg" "cfg(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" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/ui/asm/aarch64/type-check-4" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/native/rust-test-helpers" "-L" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/ui/asm/aarch64/type-check-4/auxiliary" "-C" "target-feature=+neon"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0076]: SIMD vector's only field must be an array
   |
   |
LL | struct Simd256bit(f64, f64, f64, f64);

error[E0658]: referencing statics in constants is unstable
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-4.rs:24:25
   |
   |
LL | global_asm!("{}", const S);
   |
   = note: see issue #119618 <https://github.com/rust-lang/rust/issues/119618> for more information
   = help: add `#![feature(const_refs_to_static)]` to the crate attributes to enable
   = help: add `#![feature(const_refs_to_static)]` to the crate attributes to enable
   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
   = note: `static` and `const` variables can refer to other `const` variables. A `const` variable, however, cannot refer to a `static` variable.

error[E0658]: referencing statics in constants is unstable
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-4.rs:27:35
   |
   |
LL | global_asm!("{}", const const_foo(S));
   |
   = note: see issue #119618 <https://github.com/rust-lang/rust/issues/119618> for more information
   = help: add `#![feature(const_refs_to_static)]` to the crate attributes to enable
   = help: add `#![feature(const_refs_to_static)]` to the crate attributes to enable
   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
   = note: `static` and `const` variables can refer to other `const` variables. A `const` variable, however, cannot refer to a `static` variable.

error[E0658]: referencing statics in constants is unstable
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-4.rs:30:35
   |
   |
LL | global_asm!("{}", const const_bar(S));
   |
   = note: see issue #119618 <https://github.com/rust-lang/rust/issues/119618> for more information
   = help: add `#![feature(const_refs_to_static)]` to the crate attributes to enable
   = help: add `#![feature(const_refs_to_static)]` to the crate attributes to enable
   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
   = note: `static` and `const` variables can refer to other `const` variables. A `const` variable, however, cannot refer to a `static` variable.

error: aborting due to 4 previous errors

Some errors have detailed explanations: E0076, E0658.

rust-log-analyzer avatar Aug 26 '24 08:08 rust-log-analyzer

:broken_heart: Test failed - checks-actions

bors avatar Aug 26 '24 08:08 bors

@rustbot author

compiler-errors avatar Aug 26 '24 21:08 compiler-errors

:umbrella: The latest upstream changes (presumably #129647) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Aug 27 '24 10:08 bors

@bors r=compiler-errors

scottmcm avatar Aug 28 '24 00:08 scottmcm

:pushpin: Commit c7ebfb83c16b89d9908a16d3459cc61d5186897b has been approved by compiler-errors

It is now in the queue for this repository.

bors avatar Aug 28 '24 00:08 bors

:hourglass: Testing commit c7ebfb83c16b89d9908a16d3459cc61d5186897b with merge 443b2cd037a03eb4e7227441fc388b582aef45c8...

bors avatar Aug 28 '24 02:08 bors

The job aarch64-apple failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

1 error: arguments for inline assembly must be copyable
2   --> $DIR/type-check-2.rs:20:31
3    |
- LL |         asm!("{:v}", in(vreg) SimdNonCopy(0.0, 0.0, 0.0, 0.0));
-    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ LL |         asm!("{:v}", in(vreg) SimdNonCopy([0.0, 0.0, 0.0, 0.0]));
6    |
7    = note: `SimdNonCopy` does not implement the Copy trait
8 



The actual stderr differed from the expected stderr.
Actual stderr saved to /Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/ui/asm/aarch64/type-check-2/type-check-2.stderr
To only update this specific test, also pass `--test-args asm/aarch64/type-check-2.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2/bin/rustc" "/Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-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=/Users/runner/.cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/Users/runner/work/rust/rust/vendor" "--sysroot" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2" "--target=aarch64-apple-darwin" "--check-cfg" "cfg(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" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/ui/asm/aarch64/type-check-2" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/native/rust-test-helpers" "-L" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/ui/asm/aarch64/type-check-2/auxiliary"
--- stderr -------------------------------
error: arguments for inline assembly must be copyable
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-2.rs:20:31
   |
   |
LL |         asm!("{:v}", in(vreg) SimdNonCopy([0.0, 0.0, 0.0, 0.0]));
   |
   = note: `SimdNonCopy` does not implement the Copy trait


error: cannot use value of type `{closure@/Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-2.rs:32:28: 32:36}` for inline assembly
   |
   |
LL |         asm!("{}", in(reg) |x: i32| x);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly

error: cannot use value of type `Vec<i32>` for inline assembly
error: cannot use value of type `Vec<i32>` for inline assembly
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-2.rs:34:28
   |
LL |         asm!("{}", in(reg) vec![0]);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly
   = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)


error: cannot use value of type `(i32, i32, i32)` for inline assembly
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-2.rs:36:28
   |
LL |         asm!("{}", in(reg) (1, 2, 3));
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly


error: cannot use value of type `[i32; 3]` for inline assembly
   |
   |
LL |         asm!("{}", in(reg) [1, 2, 3]);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly


error: cannot use value of type `fn() {main}` for inline assembly
   |
   |
LL |         asm!("{}", inout(reg) f);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly

error: cannot use value of type `&mut i32` for inline assembly
error: cannot use value of type `&mut i32` for inline assembly
##[error]  --> /Users/runner/work/rust/rust/tests/ui/asm/aarch64/type-check-2.rs:49:31
   |
LL |         asm!("{}", inout(reg) r);
   |
   = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly

error: aborting due to 7 previous errors

rust-log-analyzer avatar Aug 28 '24 02:08 rust-log-analyzer

:broken_heart: Test failed - checks-actions

bors avatar Aug 28 '24 02:08 bors

@bors r=compiler-errors

scottmcm avatar Aug 29 '24 05:08 scottmcm