Open infinity0 opened 6 years ago
The errors seems to be all NLL-related.
There are many NLL errors but also many others, see the summary at the bottom of the linked log:
==== Debian rustc test report ==== Specific test failures: command did not execute successfully: "/usr/bin/cargo" "test" "--no-fail-fast" "--" test [ui] ui/nll/issue-43058.rs ... FAILED test [ui] ui/target-feature-gate.rs ... FAILED command did not execute successfully: "/<>/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage2/lib/rustlib/s390x-unknown-linux-gnu/lib" "--rustc-path" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/< >/rustc-1.27.1+dfsg1/src/test/ui" "--build-base" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/test/ui" "--stage-id" "stage2-s390x-unknown-linux-gnu" "--mode" "ui" "--target" "s390x-unknown-linux-gnu" "--host" "s390x-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zunstable-options -Lnative=/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python" "--lldb-python" "/usr/bin/python" "--gdb" "/usr/bin/gdb" "--verbose" "--llvm-version" "6.0.1\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" test [ui (nll)] ui/const-eval/enum_discr.rs ... FAILED test [ui (nll)] ui/const-eval/promoted_errors.rs ... FAILED test [ui (nll)] ui/dropck/dropck-eyepatch-reorder.rs ... FAILED test [ui (nll)] ui/dropck/dropck-eyepatch-extern-crate.rs ... FAILED test [ui (nll)] ui/dropck/dropck-eyepatch.rs ... FAILED test [ui (nll)] ui/loops-reject-duplicate-labels-2.rs ... FAILED test [ui (nll)] ui/loops-reject-duplicate-labels.rs ... FAILED test [ui (nll)] ui/nll/issue-43058.rs ... FAILED test [ui (nll)] ui/span/dropck_vec_cycle_checked.rs ... FAILED test [ui (nll)] ui/span/issue28498-reject-lifetime-param.rs ... FAILED test [ui (nll)] ui/span/issue28498-reject-passed-to-fn.rs ... FAILED test [ui (nll)] ui/span/issue28498-reject-trait-bound.rs ... FAILED test [ui (nll)] ui/target-feature-gate.rs ... FAILED command did not execute successfully: "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage2/lib/rustlib/s390x-unknown-linux-gnu/lib" "--rustc-path" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/< >/rustc-1.27.1+dfsg1/src/test/ui" "--build-base" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/test/ui" "--stage-id" "stage2-s390x-unknown-linux-gnu" "--mode" "ui" "--target" "s390x-unknown-linux-gnu" "--host" "s390x-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zunstable-options -Lnative=/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python" "--lldb-python" "/usr/bin/python" "--gdb" "/usr/bin/gdb" "--verbose" "--llvm-version" "6.0.1\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--compare-mode" "nll" test [run-pass] run-pass/dynamic-drop.rs ... FAILED test [run-pass] run-pass/i128.rs ... FAILED test [run-pass] run-pass/impl-trait/example-calendar.rs ... FAILED test [run-pass] run-pass/issue-8860.rs ... FAILED test [run-pass] run-pass/match-pipe-binding.rs ... FAILED test [run-pass] run-pass/nll/get_default.rs ... FAILED test [run-pass] run-pass/nll/process_or_insert_default.rs ... FAILED test [run-pass] run-pass/rfc-2126-extern-absolute-paths/basic.rs ... FAILED test [run-pass] run-pass/saturating-float-casts.rs ... FAILED test [run-pass] run-pass/u128.rs ... FAILED command did not execute successfully: "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage2/lib/rustlib/s390x-unknown-linux-gnu/lib" "--rustc-path" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/< >/rustc-1.27.1+dfsg1/src/test/run-pass" "--build-base" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/test/run-pass" "--stage-id" "stage2-s390x-unknown-linux-gnu" "--mode" "run-pass" "--target" "s390x-unknown-linux-gnu" "--host" "s390x-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zunstable-options -Lnative=/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python" "--lldb-python" "/usr/bin/python" "--gdb" "/usr/bin/gdb" "--verbose" "--llvm-version" "6.0.1\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" test [compile-fail] compile-fail/borrowck/borrowck-describe-lvalue.rs ... FAILED test [compile-fail] compile-fail/borrowck/borrowck-union-borrow.rs ... FAILED test [compile-fail] compile-fail/lint-unused-mut-variables.rs ... FAILED command did not execute successfully: "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage2/lib/rustlib/s390x-unknown-linux-gnu/lib" "--rustc-path" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/< >/rustc-1.27.1+dfsg1/src/test/compile-fail" "--build-base" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/test/compile-fail" "--stage-id" "stage2-s390x-unknown-linux-gnu" "--mode" "compile-fail" "--target" "s390x-unknown-linux-gnu" "--host" "s390x-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zunstable-options -Lnative=/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python" "--lldb-python" "/usr/bin/python" "--gdb" "/usr/bin/gdb" "--verbose" "--llvm-version" "6.0.1\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" test [codegen] codegen/remap_path_prefix/main.rs ... FAILED test [codegen] codegen/repr-transparent.rs ... FAILED test [codegen] codegen/repeat-trusted-len.rs ... FAILED test [codegen] codegen/x86_mmx.rs ... FAILED command did not execute successfully: "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage2/lib/rustlib/s390x-unknown-linux-gnu/lib" "--rustc-path" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/< >/rustc-1.27.1+dfsg1/src/test/codegen" "--build-base" "/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/test/codegen" "--stage-id" "stage2-s390x-unknown-linux-gnu" "--mode" "codegen" "--target" "s390x-unknown-linux-gnu" "--host" "s390x-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zunstable-options -Lnative=/< >/rustc-1.27.1+dfsg1/build/s390x-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python" "--lldb-python" "/usr/bin/python" "--gdb" "/usr/bin/gdb" "--verbose" "--llvm-version" "6.0.1\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" test num/mod.rs - num::u128::wrapping_shl (line 216) ... FAILED command did not execute successfully: "/usr/bin/cargo" "test" "--target" "s390x-unknown-linux-gnu" "-v" "--release" "--features" "panic-unwind backtrace" "--manifest-path" "/< >/rustc-1.27.1+dfsg1/src/libstd/Cargo.toml" "--no-fail-fast" "-p" "core" "--" test net::tcp::tests::connect_timeout_unroutable ... FAILED command did not execute successfully: "/usr/bin/cargo" "test" "--target" "s390x-unknown-linux-gnu" "-v" "--release" "--features" "panic-unwind backtrace" "--manifest-path" "/< >/rustc-1.27.1+dfsg1/src/libstd/Cargo.toml" "--no-fail-fast" "-p" "std" "--" Summary: exit code 1, counted 42 tests failed. 18 maximum allowed. Aborting the build. Check the logs further above for details. make[1]: *** [debian/rules:237: override_dh_auto_test-arch] Error 1 make[1]: Leaving directory '/< >/rustc-1.27.1+dfsg1' make: *** [debian/rules:144: build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
Same errors occur on Fedora: https://kojipkgs.fedoraproject.org//packages/rust/1.27.1/3.fc29/data/logs/s390x/build.log
Summary of failing call sites:
$ grep "^thread 'main' panicked at " fetch.php\?pkg\=rustc\&arch\=s390x\&ver\=1.27.1+dfsg1-1~exp2\&stamp\=1531937568\&raw\=1 | sort -u
thread 'main' panicked at 'assertion failed: `(left == right)`
thread 'main' panicked at 'Box<Any>', /<<BUILDDIR>>/rustc-1.27.1+dfsg1/src/test/run-pass/dynamic-drop.rs:56:13
thread 'main' panicked at 'Box<Any>', /<<BUILDDIR>>/rustc-1.27.1+dfsg1/src/test/run-pass/dynamic-drop.rs:79:13
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', libcore/option.rs:335:21
thread 'main' panicked at 'Some tests failed', tools/compiletest/src/main.rs:492:22
For reference 1.26.2 in Debian also had a bunch of failures, much fewer than 1.27.1 but more than other architectures on 1.26.2.
==== Debian rustc test report ==== Specific test failures: test [ui] ui/target-feature-wrong.rs ... FAILED command did not execute successfully: "/<>/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/stage2/lib/rustlib/s390x-unknown-linux-gnu/lib" "--rustc-path" "/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/< >/rustc-1.26.2+dfsg1/src/test/ui" "--build-base" "/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/test/ui" "--stage-id" "stage2-s390x-unknown-linux-gnu" "--mode" "ui" "--target" "s390x-unknown-linux-gnu" "--host" "s390x-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zmiri -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zmiri -Zunstable-options -Lnative=/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python" "--lldb-python" "/usr/bin/python" "--gdb" "/usr/bin/gdb" "--verbose" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" test [run-pass] run-pass/dynamic-drop.rs ... FAILED test [run-pass] run-pass/i128.rs ... FAILED test [run-pass] run-pass/impl-trait/example-calendar.rs ... FAILED test [run-pass] run-pass/nll/get_default.rs ... FAILED test [run-pass] run-pass/nll/process_or_insert_default.rs ... FAILED test [run-pass] run-pass/saturating-float-casts.rs ... FAILED command did not execute successfully: "/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/stage2/lib/rustlib/s390x-unknown-linux-gnu/lib" "--rustc-path" "/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/< >/rustc-1.26.2+dfsg1/src/test/run-pass" "--build-base" "/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/test/run-pass" "--stage-id" "stage2-s390x-unknown-linux-gnu" "--mode" "run-pass" "--target" "s390x-unknown-linux-gnu" "--host" "s390x-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zmiri -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zmiri -Zunstable-options -Lnative=/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python" "--lldb-python" "/usr/bin/python" "--gdb" "/usr/bin/gdb" "--verbose" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" test [codegen] codegen/link_section.rs ... FAILED test [codegen] codegen/remap_path_prefix/main.rs ... FAILED test [codegen] codegen/repr-transparent.rs ... FAILED test [codegen] codegen/x86_mmx.rs ... FAILED command did not execute successfully: "/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/stage2/lib/rustlib/s390x-unknown-linux-gnu/lib" "--rustc-path" "/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/< >/rustc-1.26.2+dfsg1/src/test/codegen" "--build-base" "/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/test/codegen" "--stage-id" "stage2-s390x-unknown-linux-gnu" "--mode" "codegen" "--target" "s390x-unknown-linux-gnu" "--host" "s390x-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zmiri -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zmiri -Zunstable-options -Lnative=/< >/rustc-1.26.2+dfsg1/build/s390x-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python" "--lldb-python" "/usr/bin/python" "--gdb" "/usr/bin/gdb" "--verbose" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" test num/mod.rs - num::u128::wrapping_shl (line 215) ... FAILED command did not execute successfully: "/usr/bin/cargo" "test" "--target" "s390x-unknown-linux-gnu" "-v" "--release" "--features" "panic-unwind backtrace" "--manifest-path" "/< >/rustc-1.26.2+dfsg1/src/libstd/Cargo.toml" "--no-fail-fast" "-p" "core" "--" Summary: exit code 1, counted 16 tests failed. 18 maximum allowed. Continuing...
At least [ui (nll)]
and [run-pass]
(note "--compare-mode" "nll"
) are both NLL related.
Any news on this? Who's responsible for system-Z stuff in rust anyway?
Ping, the same errors plus more show up in 1.28.0-beta.14:
The method of indicating test failures has changed and I had to adapt to this in Debian, so it's possible that we're double-counting some things now. The latest count is 104 tests failed.
No ICEs seen anymore.
See https://buildd.debian.org/status/fetch.php?pkg=rustc&arch=s390x&ver=1.27.1%2Bdfsg1-1%7Eexp1&stamp=1531882985&raw=0 at the bottom.
You can ignore the stdsimd/coresimd failures they were fixed as part of https://github.com/rust-lang-nursery/stdsimd/pull/466 but I have no clue what the other failures are.