Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/rust-1.35.0-0.el7.0.0.bootstrap-20191017174159-19115/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/rust.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/rust-1.35.0-0.el7.0.0.bootstrap-20191017174159-19115/root'shell=Falseuid=1005env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/rust.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NPfIge + umask 022 + cd /builddir/build/BUILD + source scl_source enable rust-toolset-1.35 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/rust-toolset-1.35 +++ cat /etc/scl/conf/rust-toolset-1.35 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled rust-toolset-1.35 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/rust-toolset-1.35/enable ++ source /opt/rh/rust-toolset-1.35/enable +++ export PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ source scl_source enable llvm-toolset-7.0 ++++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++++ '[' -z true ']' ++++ '[' -z enable ']' ++++ shift 1 ++++ '[' -z /etc/scl/conf ']' ++++ for arg in '"$@"' ++++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++++ cat /etc/scl/conf/llvm-toolset-7.0 ++++ _scl_prefix=/opt/rh ++++ '[' 0 -ne 0 ']' ++++ for scl in '${_scls[@]}' ++++ '[' llvm-toolset-7.0 == rust-toolset-1.35 ']' ++++ /usr/bin/scl_enabled llvm-toolset-7.0 ++++ '[' 1 -ne 0 ']' ++++ _scls+=($arg) ++++ _scl_prefixes+=($_scl_prefix) ++++ '[' true == false ']' ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=rust-toolset-1.35 ' ++ X_SCLS='rust-toolset-1.35 ' ++ _i=1 ++ '[' 1 -lt 2 ']' ++ _scl_scriptlet_path=/opt/rh/llvm-toolset-7.0/enable ++ source /opt/rh/llvm-toolset-7.0/enable +++ export PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ export PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ export PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages +++ PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=llvm-toolset-7.0 rust-toolset-1.35 ' ++ X_SCLS='llvm-toolset-7.0 rust-toolset-1.35 ' ++ _i=2 ++ '[' 2 -lt 2 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + cd /builddir/build/BUILD + rm -rf rust-1.34.2-armv7-unknown-linux-gnueabihf + /usr/bin/xz -dc /builddir/build/SOURCES/rust-1.34.2-armv7-unknown-linux-gnueabihf.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rust-1.34.2-armv7-unknown-linux-gnueabihf + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + ./install.sh --components=cargo,rustc,rust-std-armv7-unknown-linux-gnueabihf --prefix=/builddir/build/BUILD/rust-1.34.2-armv7-unknown-linux-gnueabihf/usr --disable-ldconfig install: creating uninstall script at /builddir/build/BUILD/rust-1.34.2-armv7-unknown-linux-gnueabihf/usr/lib/rustlib/uninstall.sh install: installing component 'cargo' install: installing component 'rustc' install: installing component 'rust-std-armv7-unknown-linux-gnueabihf' Rust is ready to roll. + test -f /builddir/build/BUILD/rust-1.34.2-armv7-unknown-linux-gnueabihf/usr/bin/cargo + test -f /builddir/build/BUILD/rust-1.34.2-armv7-unknown-linux-gnueabihf/usr/bin/rustc + cd /builddir/build/BUILD + rm -rf rustc-1.35.0-src + /usr/bin/xz -dc /builddir/build/SOURCES/rustc-1.35.0-src.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.35.0-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (rust-pr57840-llvm7-debuginfo-variants.patch):' Patch #1 (rust-pr57840-llvm7-debuginfo-variants.patch): + /usr/bin/cat /builddir/build/SOURCES/rust-pr57840-llvm7-debuginfo-variants.patch + /usr/bin/patch -p1 --fuzz=0 -R patching file src/librustc_codegen_llvm/debuginfo/metadata.rs Hunk #1 succeeded at 1238 (offset 74 lines). Patch #2 (0001-Limit-internalization-in-LLVM-8-ThinLTO.patch): + echo 'Patch #2 (0001-Limit-internalization-in-LLVM-8-ThinLTO.patch):' + /usr/bin/cat /builddir/build/SOURCES/0001-Limit-internalization-in-LLVM-8-ThinLTO.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/rustllvm/PassWrapper.cpp + echo 'Patch #3 (rust-pr61085-fix-ICE-with-incorrect-turbofish.patch):' Patch #3 (rust-pr61085-fix-ICE-with-incorrect-turbofish.patch): + /usr/bin/cat /builddir/build/SOURCES/rust-pr61085-fix-ICE-with-incorrect-turbofish.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/librustc_typeck/check/mod.rs patching file src/test/run-pass/issue-60989.rs patching file src/test/compile-fail/issue-60989.rs (renamed from src/test/run-pass/issue-60989.rs) patching file src/librustc_typeck/check/mod.rs patching file src/test/compile-fail/issue-60989.rs patching file src/test/ui/issue-60989.rs patching file src/test/ui/issue-60989.stderr + echo 'Patch #4 (0001-bump-bootstrap-fix-compiletest-wrt.-exclude_should_p.patch):' Patch #4 (0001-bump-bootstrap-fix-compiletest-wrt.-exclude_should_p.patch): + /usr/bin/cat /builddir/build/SOURCES/0001-bump-bootstrap-fix-compiletest-wrt.-exclude_should_p.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/tools/compiletest/src/main.rs Hunk #1 succeeded at 522 (offset -1 lines). Patch #101 (rust-1.28.0-no-default-pie.patch): + echo 'Patch #101 (rust-1.28.0-no-default-pie.patch):' + /usr/bin/cat /builddir/build/SOURCES/rust-1.28.0-no-default-pie.patch + /usr/bin/patch -p1 -b --suffix .no-pie --fuzz=0 patching file src/librustc_codegen_llvm/back/link.rs Hunk #1 succeeded at 921 (offset -135 lines). + rm -rf src/llvm-project/ + rm -rf src/llvm-emscripten/ + cp -a vendor/backtrace-sys/src/libbacktrace/LICENSE vendor/backtrace-sys/src/libbacktrace/LICENSE-libbacktrace + find vendor -name .cargo-checksum.json -exec sed -i.uncheck -e 's/"files":{[^}]*}/"files":{ }/' '{}' + + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RPgDap + umask 022 + cd /builddir/build/BUILD + source scl_source enable rust-toolset-1.35 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/rust-toolset-1.35 +++ cat /etc/scl/conf/rust-toolset-1.35 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled rust-toolset-1.35 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/rust-toolset-1.35/enable ++ source /opt/rh/rust-toolset-1.35/enable +++ export PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ source scl_source enable llvm-toolset-7.0 ++++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++++ '[' -z true ']' ++++ '[' -z enable ']' ++++ shift 1 ++++ '[' -z /etc/scl/conf ']' ++++ for arg in '"$@"' ++++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++++ cat /etc/scl/conf/llvm-toolset-7.0 ++++ _scl_prefix=/opt/rh ++++ '[' 0 -ne 0 ']' ++++ for scl in '${_scls[@]}' ++++ '[' llvm-toolset-7.0 == rust-toolset-1.35 ']' ++++ /usr/bin/scl_enabled llvm-toolset-7.0 ++++ '[' 1 -ne 0 ']' ++++ _scls+=($arg) ++++ _scl_prefixes+=($_scl_prefix) ++++ '[' true == false ']' ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=rust-toolset-1.35 ' ++ X_SCLS='rust-toolset-1.35 ' ++ _i=1 ++ '[' 1 -lt 2 ']' ++ _scl_scriptlet_path=/opt/rh/llvm-toolset-7.0/enable ++ source /opt/rh/llvm-toolset-7.0/enable +++ export PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ export PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ export PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages +++ PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=llvm-toolset-7.0 rust-toolset-1.35 ' ++ X_SCLS='llvm-toolset-7.0 rust-toolset-1.35 ' ++ _i=2 ++ '[' 2 -lt 2 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + cd rustc-1.35.0-src + set +e + uname -a Linux armhfp-02.bsys.centos.org 4.19.52-300.el7.armv7hl+lpae #1 SMP Tue Jun 18 02:20:43 UTC 2019 armv7l armv7l armv7l GNU/Linux + lscpu Architecture: armv7l Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 Model: 2 Model name: ARMv7 Processor rev 2 (v7l) BogoMIPS: 90.00 Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32 + free total used free shared buff/cache available Mem: 16425936 62196 10994640 180944 5369100 15985240 Swap: 499708 0 499708 + df -h . Filesystem Size Used Avail Use% Mounted on /dev/sda4 58G 9.5G 49G 17% /proc/filesystems + echo + export RUSTFLAGS=-Clink-arg=-Wl,-z,relro,-z,now + RUSTFLAGS=-Clink-arg=-Wl,-z,relro,-z,now + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/opt/rh/rust-toolset-1.35/root/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/opt/rh/rust-toolset-1.35/root/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./vendor/backtrace-sys/src/libbacktrace/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./vendor/backtrace-sys/src/libbacktrace/config.sub ++ basename ./vendor/backtrace-sys/src/libbacktrace/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./vendor/backtrace-sys/src/libbacktrace/config.sub '/usr/lib/rpm/redhat/config.sub' -> './vendor/backtrace-sys/src/libbacktrace/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./vendor/backtrace-sys/src/libbacktrace/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./vendor/backtrace-sys/src/libbacktrace/config.guess ++ basename ./vendor/backtrace-sys/src/libbacktrace/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./vendor/backtrace-sys/src/libbacktrace/config.guess '/usr/lib/rpm/redhat/config.guess' -> './vendor/backtrace-sys/src/libbacktrace/config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./vendor/lzma-sys/xz-5.2.3/build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./vendor/lzma-sys/xz-5.2.3/build-aux/config.sub ++ basename ./vendor/lzma-sys/xz-5.2.3/build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./vendor/lzma-sys/xz-5.2.3/build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './vendor/lzma-sys/xz-5.2.3/build-aux/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./vendor/lzma-sys/xz-5.2.3/build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./vendor/lzma-sys/xz-5.2.3/build-aux/config.guess ++ basename ./vendor/lzma-sys/xz-5.2.3/build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./vendor/lzma-sys/xz-5.2.3/build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './vendor/lzma-sys/xz-5.2.3/build-aux/config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./vendor/jemalloc-sys/jemalloc/build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./vendor/jemalloc-sys/jemalloc/build-aux/config.sub ++ basename ./vendor/jemalloc-sys/jemalloc/build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./vendor/jemalloc-sys/jemalloc/build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './vendor/jemalloc-sys/jemalloc/build-aux/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./vendor/jemalloc-sys/jemalloc/build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./vendor/jemalloc-sys/jemalloc/build-aux/config.guess ++ basename ./vendor/jemalloc-sys/jemalloc/build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./vendor/jemalloc-sys/jemalloc/build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './vendor/jemalloc-sys/jemalloc/build-aux/config.guess' ++ scl enable llvm-toolset-7.0 -- llvm-config --prefix + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/opt/rh/rust-toolset-1.35/root/usr --exec-prefix=/opt/rh/rust-toolset-1.35/root/usr --bindir=/opt/rh/rust-toolset-1.35/root/usr/bin --sbindir=/opt/rh/rust-toolset-1.35/root/usr/sbin --sysconfdir=/opt/rh/rust-toolset-1.35/root/etc --datadir=/opt/rh/rust-toolset-1.35/root/usr/share --includedir=/opt/rh/rust-toolset-1.35/root/usr/include --libdir=/opt/rh/rust-toolset-1.35/root/usr/lib --libexecdir=/opt/rh/rust-toolset-1.35/root/usr/libexec --localstatedir=/opt/rh/rust-toolset-1.35/root/var --sharedstatedir=/opt/rh/rust-toolset-1.35/root/var/lib --mandir=/opt/rh/rust-toolset-1.35/root/usr/share/man --infodir=/opt/rh/rust-toolset-1.35/root/usr/share/info --disable-option-checking --libdir=/opt/rh/rust-toolset-1.35/root/usr/lib --build=armv7-unknown-linux-gnueabihf --host=armv7-unknown-linux-gnueabihf --target=armv7-unknown-linux-gnueabihf --local-rust-root=/builddir/build/BUILD/rust-1.34.2-armv7-unknown-linux-gnueabihf/usr --llvm-root=/opt/rh/llvm-toolset-7.0/root/usr --enable-llvm-link-shared --disable-rpath --disable-debuginfo --disable-debuginfo-only-std --disable-debuginfo-tools --disable-debuginfo-lines --enable-extended --enable-vendor --enable-verbose-tests --set rust.codegen-units-std=1 --release-channel=stable configure: processing command line configure: configure: rust.codegen-units-std := 1 configure: rust.rpath := False configure: install.localstatedir := /opt/rh/rust-toolset-1.35/root/var configure: install.prefix := /opt/rh/rust-toolset-1.35/root/usr configure: build.extended := True configure: install.mandir := /opt/rh/rust-toolset-1.35/root/usr/share/man configure: install.infodir := /opt/rh/rust-toolset-1.35/root/usr/share/info configure: install.libdir := /opt/rh/rust-toolset-1.35/root/usr/lib configure: install.datadir := /opt/rh/rust-toolset-1.35/root/usr/share configure: rust.debuginfo-lines := False configure: build.build := armv7-unknown-linux-gnueabihf configure: build.rustc := /builddir/build/BUILD/rust-1.34.2-armv7-unknow ... configure: build.cargo := /builddir/build/BUILD/rust-1.34.2-armv7-unknow ... configure: install.bindir := /opt/rh/rust-toolset-1.35/root/usr/bin configure: llvm.link-shared := True configure: build.vendor := True configure: rust.debuginfo := False configure: rust.debuginfo-only-std := False configure: build.host := ['armv7-unknown-linux-gnueabihf'] configure: rust.verbose-tests := True configure: target.armv7-unknown-linux-gnueabihf.llvm-config := /opt/rh/llvm-tools ... configure: build.target := ['armv7-unknown-linux-gnueabihf'] configure: rust.channel := stable configure: rust.debuginfo-tools := False configure: install.sysconfdir := /opt/rh/rust-toolset-1.35/root/etc configure: build.configure-args := ['--build=armv7hl-redhat-linux-gnu', '--host=a ... configure: configure: writing `config.toml` in current directory configure: configure: run `python /builddir/build/BUILD/rustc-1.35.0-src/x.py --help` configure: + python2 ./x.py build Compiling proc-macro2 v0.4.24 Compiling unicode-xid v0.1.0 Compiling ryu v0.2.7 Compiling serde v1.0.82 Compiling libc v0.2.51 Compiling itoa v0.4.3 Compiling fixedbitset v0.1.9 Compiling cc v1.0.28 Compiling cfg-if v0.1.6 Compiling ordermap v0.3.5 Compiling build_helper v0.1.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/build_helper) Compiling lazy_static v0.2.11 Compiling getopts v0.2.17 Compiling petgraph v0.4.13 Compiling cmake v0.1.33 Compiling filetime v0.2.4 Compiling time v0.1.40 Compiling num_cpus v1.8.0 Compiling quote v0.6.10 Compiling syn v0.15.22 Compiling serde_derive v1.0.81 Compiling toml v0.4.10 Compiling serde_json v1.0.33 Compiling bootstrap v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/bootstrap) Finished dev [unoptimized] target(s) in 2m 00s Building stage0 std artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Compiling cc v1.0.28 Compiling libc v0.2.51 Compiling core v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libcore) Compiling unwind v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libunwind) Compiling compiler_builtins v0.1.9 Compiling backtrace-sys v0.1.27 Compiling std v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libstd) Compiling rustc-std-workspace-core v1.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rustc-std-workspace-core) Compiling alloc v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/liballoc) Compiling panic_abort v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libpanic_abort) Compiling rustc-demangle v0.1.10 Compiling panic_unwind v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libpanic_unwind) Finished release [optimized] target(s) in 1m 54s Copying stage0 std from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 test artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Compiling term v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libterm) Compiling proc_macro v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libproc_macro) Compiling getopts v0.2.17 Compiling test v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libtest) Finished release [optimized] target(s) in 1m 03s Copying stage0 test from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 compiler artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Compiling semver-parser v0.7.0 Compiling libc v0.2.51 Compiling cfg-if v0.1.6 Compiling nodrop v0.1.12 Compiling rand_core v0.3.0 Compiling lazy_static v1.2.0 Compiling scopeguard v0.3.3 Compiling memoffset v0.2.1 Compiling void v1.0.2 Compiling rustc-rayon-core v0.1.2 Compiling stable_deref_trait v1.1.0 Compiling rustc-rayon v0.1.2 Compiling either v1.5.0 Compiling byteorder v1.2.7 Compiling unicode-width v0.1.5 Compiling bitflags v1.0.4 Compiling proc-macro2 v0.4.24 Compiling graphviz v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libgraphviz) Compiling unicode-xid v0.1.0 Compiling cc v1.0.28 Compiling crc32fast v1.1.2 Compiling rustc_target v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_target) Compiling scoped-tls v1.0.0 Compiling termcolor v1.0.4 Compiling lazy_static v0.2.11 Compiling syntax v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libsyntax) Compiling remove_dir_all v0.5.1 Compiling rustc v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc) Compiling datafrog v2.0.1 Compiling rustc-demangle v0.1.10 Compiling fmt_macros v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libfmt_macros) Compiling rustc_metadata v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_metadata) Compiling rustc_fs_util v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_fs_util) Compiling rustc_incremental v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_incremental) Compiling rustc-serialize v0.3.24 Compiling quick-error v1.2.2 Compiling rustc_driver v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_driver) Compiling crossbeam-utils v0.2.2 Compiling log v0.4.6 Compiling arrayvec v0.4.7 Compiling log_settings v0.1.2 Compiling rand_xorshift v0.1.0 Compiling rand_isaac v0.1.1 Compiling rand_hc v0.1.0 Compiling unreachable v1.0.0 Compiling owning_ref v0.3.3 Compiling semver v0.9.0 Compiling rustc-hash v1.0.1 Compiling itertools v0.8.0 Compiling chalk-macros v0.1.0 Compiling humantime v1.2.0 Compiling backtrace-sys v0.1.27 Compiling miniz-sys v0.1.11 Compiling rustc_cratesio_shim v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_cratesio_shim) Compiling ena v0.13.0 Compiling crossbeam-epoch v0.3.1 Compiling smallvec v0.6.7 Compiling lock_api v0.1.3 Compiling polonius-engine v0.6.2 Compiling rustc_version v0.2.3 Compiling rls-span v0.4.1 Compiling chalk-engine v0.9.0 Compiling num_cpus v1.8.0 Compiling jobserver v0.1.13 Compiling atty v0.2.11 Compiling memmap v0.6.2 Compiling serialize v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libserialize) Compiling rustc_apfloat v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_apfloat) Compiling crossbeam-deque v0.2.0 Compiling rls-data v0.18.2 Compiling rand_chacha v0.1.0 Compiling rand_pcg v0.1.1 Compiling rand v0.6.1 Compiling parking_lot_core v0.4.0 Compiling env_logger v0.5.13 Compiling quote v0.6.10 Compiling backtrace v0.3.11 Compiling flate2 v1.0.6 Compiling syn v0.15.22 Compiling tempfile v3.0.5 Compiling parking_lot v0.7.1 Compiling rustc_data_structures v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_data_structures) Compiling arena v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libarena) Compiling syntax_pos v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libsyntax_pos) Compiling rustc_errors v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_errors) Compiling synstructure v0.10.1 Compiling rustc_macros v0.1.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_macros) Compiling syntax_ext v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libsyntax_ext) Compiling rustc_mir v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_mir) Compiling rustc_typeck v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_typeck) Compiling rustc_traits v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_traits) Compiling rustc_lint v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_lint) Compiling rustc_allocator v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_allocator) Compiling rustc_plugin v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_plugin) Compiling rustc_resolve v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_resolve) Compiling rustc_privacy v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_privacy) Compiling rustc_passes v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_passes) Compiling rustc_borrowck v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_borrowck) Compiling rustc_codegen_utils v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_codegen_utils) Compiling rustc_interface v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_interface) Compiling rustc_save_analysis v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_save_analysis) Compiling rustc_codegen_ssa v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_codegen_ssa) Compiling rustc-main v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/rustc) Finished release [optimized] target(s) in 31m 25s Copying stage0 rustc from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 codegen artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf, llvm) Compiling cc v1.0.28 Compiling libc v0.2.51 Compiling build_helper v0.1.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/build_helper) Compiling rustc_codegen_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_codegen_llvm) Compiling rustc-demangle v0.1.10 Compiling memmap v0.6.2 Compiling num_cpus v1.8.0 Compiling rustc_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_llvm) Finished release [optimized] target(s) in 2m 48s Assembling stage1 compiler (armv7-unknown-linux-gnueabihf) Building stage1 std artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Compiling cc v1.0.28 Compiling libc v0.2.51 Compiling core v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libcore) Compiling unwind v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libunwind) Compiling compiler_builtins v0.1.9 Compiling backtrace-sys v0.1.27 Compiling std v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libstd) Compiling rustc-std-workspace-core v1.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rustc-std-workspace-core) Compiling alloc v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/liballoc) Compiling rustc-demangle v0.1.10 Compiling panic_abort v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libpanic_abort) Compiling panic_unwind v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libpanic_unwind) Finished release [optimized] target(s) in 2m 12s Copying stage1 std from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 test artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Compiling getopts v0.2.17 Compiling proc_macro v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libproc_macro) Compiling term v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libterm) Compiling test v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libtest) Finished release [optimized] target(s) in 1m 00s Copying stage1 test from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 compiler artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Compiling semver-parser v0.7.0 Compiling libc v0.2.51 Compiling cfg-if v0.1.6 Compiling nodrop v0.1.12 Compiling void v1.0.2 Compiling lazy_static v1.2.0 Compiling scopeguard v0.3.3 Compiling memoffset v0.2.1 Compiling rand_core v0.3.0 Compiling stable_deref_trait v1.1.0 Compiling rustc-rayon-core v0.1.2 Compiling rustc-rayon v0.1.2 Compiling proc-macro2 v0.4.24 Compiling byteorder v1.2.7 Compiling bitflags v1.0.4 Compiling unicode-width v0.1.5 Compiling either v1.5.0 Compiling graphviz v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libgraphviz) Compiling unicode-xid v0.1.0 Compiling cc v1.0.28 Compiling scoped-tls v1.0.0 Compiling rustc_target v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_target) Compiling crc32fast v1.1.2 Compiling syntax v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libsyntax) Compiling termcolor v1.0.4 Compiling lazy_static v0.2.11 Compiling rustc-demangle v0.1.10 Compiling rustc v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc) Compiling datafrog v2.0.1 Compiling remove_dir_all v0.5.1 Compiling rustc_metadata v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_metadata) Compiling rustc_fs_util v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_fs_util) Compiling fmt_macros v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libfmt_macros) Compiling rustc_incremental v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_incremental) Compiling rustc-serialize v0.3.24 Compiling quick-error v1.2.2 Compiling rustc_driver v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_driver) Compiling crossbeam-utils v0.2.2 Compiling log v0.4.6 Compiling arrayvec v0.4.7 Compiling unreachable v1.0.0 Compiling log_settings v0.1.2 Compiling rand_hc v0.1.0 Compiling rand_xorshift v0.1.0 Compiling rand_isaac v0.1.1 Compiling owning_ref v0.3.3 Compiling semver v0.9.0 Compiling rustc-hash v1.0.1 Compiling chalk-macros v0.1.0 Compiling itertools v0.8.0 Compiling humantime v1.2.0 Compiling miniz-sys v0.1.11 Compiling backtrace-sys v0.1.27 Compiling rustc_cratesio_shim v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_cratesio_shim) Compiling ena v0.13.0 Compiling crossbeam-epoch v0.3.1 Compiling smallvec v0.6.7 Compiling rls-span v0.4.1 Compiling lock_api v0.1.3 Compiling polonius-engine v0.6.2 Compiling chalk-engine v0.9.0 Compiling rustc_version v0.2.3 Compiling serialize v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libserialize) Compiling rustc_apfloat v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_apfloat) Compiling rls-data v0.18.2 Compiling num_cpus v1.8.0 Compiling jobserver v0.1.13 Compiling atty v0.2.11 Compiling memmap v0.6.2 Compiling crossbeam-deque v0.2.0 Compiling rand_chacha v0.1.0 Compiling rand_pcg v0.1.1 Compiling rand v0.6.1 Compiling parking_lot_core v0.4.0 Compiling quote v0.6.10 Compiling env_logger v0.5.13 Compiling flate2 v1.0.6 Compiling backtrace v0.3.11 Compiling syn v0.15.22 Compiling tempfile v3.0.5 Compiling parking_lot v0.7.1 Compiling rustc_data_structures v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_data_structures) Compiling arena v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libarena) Compiling syntax_pos v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libsyntax_pos) Compiling rustc_errors v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_errors) Compiling synstructure v0.10.1 Compiling rustc_macros v0.1.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_macros) Compiling syntax_ext v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libsyntax_ext) Compiling rustc_mir v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_mir) Compiling rustc_typeck v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_typeck) Compiling rustc_traits v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_traits) Compiling rustc_allocator v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_allocator) Compiling rustc_lint v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_lint) Compiling rustc_resolve v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_resolve) Compiling rustc_plugin v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_plugin) Compiling rustc_privacy v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_privacy) Compiling rustc_borrowck v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_borrowck) Compiling rustc_passes v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_passes) Compiling rustc_codegen_utils v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_codegen_utils) Compiling rustc_save_analysis v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_save_analysis) Compiling rustc_codegen_ssa v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_codegen_ssa) Compiling rustc_interface v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_interface) Compiling rustc-main v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/rustc) Finished release [optimized] target(s) in 30m 05s Copying stage1 rustc from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 codegen artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf, llvm) Compiling libc v0.2.51 Compiling cc v1.0.28 Compiling build_helper v0.1.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/build_helper) Compiling rustc_codegen_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_codegen_llvm) Compiling rustc-demangle v0.1.10 Compiling num_cpus v1.8.0 Compiling memmap v0.6.2 Compiling rustc_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_llvm) Finished release [optimized] target(s) in 2m 45s Assembling stage2 compiler (armv7-unknown-linux-gnueabihf) Uplifting stage1 std (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 std from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Uplifting stage1 test (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 test from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Uplifting stage1 rustc (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 rustc from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage2 tool cargo (armv7-unknown-linux-gnueabihf) Compiling proc-macro2 v0.4.24 Compiling unicode-xid v0.1.0 Compiling serde v1.0.82 Compiling semver-parser v0.7.0 Compiling version_check v0.1.5 Compiling libc v0.2.51 Compiling pkg-config v0.3.14 Compiling cc v1.0.28 Compiling void v1.0.2 Compiling rand_core v0.3.0 Compiling matches v0.1.8 Compiling cfg-if v0.1.6 Compiling stable_deref_trait v1.1.0 Compiling regex v1.1.0 Compiling lazy_static v1.2.0 Compiling unicode-normalization v0.1.7 Compiling ucd-util v0.1.3 Compiling failure_derive v0.1.5 Compiling ryu v0.2.7 Compiling nodrop v0.1.12 Compiling scopeguard v0.3.3 Compiling openssl v0.10.16 Compiling crc32fast v1.1.2 Compiling utf8-ranges v1.0.2 Compiling rustc-demangle v0.1.10 Compiling byteorder v1.2.7 Compiling foreign-types-shared v0.1.1 Compiling typenum v1.10.0 Compiling memoffset v0.2.1 Compiling percent-encoding v1.0.1 Compiling same-file v1.0.4 Compiling bitflags v1.0.4 Compiling openssl-probe v0.1.2 Compiling quick-error v1.2.2 Compiling unicode-width v0.1.5 Compiling itoa v0.4.3 Compiling fnv v1.0.6 Compiling vec_map v0.8.1 Compiling ansi_term v0.11.0 Compiling strsim v0.7.0 Compiling termcolor v1.0.4 Compiling hex v0.3.2 Compiling remove_dir_all v0.5.1 Compiling bytesize v1.0.0 Compiling lazycell v1.2.1 Compiling shell-escape v0.1.4 Compiling glob v0.3.0 Compiling home v0.3.3 Compiling memchr v2.1.1 Compiling unreachable v1.0.0 Compiling unicode-bidi v0.3.4 Compiling crossbeam-utils v0.6.2 Compiling log v0.4.6 Compiling owning_ref v0.3.3 Compiling thread_local v0.3.6 Compiling rand_isaac v0.1.1 Compiling rand_hc v0.1.0 Compiling rand_xorshift v0.1.0 Compiling openssl-sys v0.9.40 Compiling libnghttp2-sys v0.1.1 Compiling libz-sys v1.0.25 Compiling libssh2-sys v0.2.11 Compiling backtrace-sys v0.1.27 Compiling curl-sys v0.4.15 Compiling libgit2-sys v0.7.11 Compiling miniz-sys v0.1.11 Compiling regex-syntax v0.6.4 Compiling arrayvec v0.4.7 Compiling foreign-types v0.3.2 Compiling walkdir v2.2.7 Compiling humantime v1.2.0 Compiling textwrap v0.10.0 Compiling smallvec v0.6.7 Compiling lock_api v0.1.3 Compiling idna v0.1.5 Compiling crossbeam-epoch v0.7.0 Compiling iovec v0.1.2 Compiling socket2 v0.3.8 Compiling filetime v0.2.4 Compiling atty v0.2.11 Compiling jobserver v0.1.13 Compiling fs2 v0.4.3 Compiling num_cpus v1.8.0 Compiling quote v0.6.10 Compiling bytes v0.4.11 Compiling tar v0.4.20 Compiling clap v2.32.0 Compiling aho-corasick v0.6.9 Compiling syn v0.15.22 Compiling backtrace v0.3.11 Compiling flate2 v1.0.6 Compiling http v0.1.16 Compiling url v1.7.2 Compiling crypto-hash v0.3.1 Compiling serde_derive v1.0.81 Compiling synstructure v0.10.1 Compiling curl v0.4.19 Compiling globset v0.4.2 Compiling env_logger v0.6.0 Compiling git2 v0.8.0 Compiling failure v0.1.5 Compiling opener v0.3.2 Compiling semver v0.9.0 Compiling serde_json v1.0.33 Compiling serde_ignored v0.0.4 Compiling toml v0.5.0 Compiling url_serde v0.2.0 Compiling rustc_version v0.2.3 Compiling git2-curl v0.9.0 Compiling crates-io v0.24.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/cargo/src/crates-io) Compiling rustfix v0.4.4 Compiling rand_chacha v0.1.0 Compiling rand_pcg v0.1.1 Compiling rand v0.6.1 Compiling parking_lot_core v0.4.0 Compiling im-rc v12.3.0 Compiling tempfile v3.0.5 Compiling parking_lot v0.7.1 Compiling crossbeam-channel v0.3.4 Compiling rustc-workspace-hack v1.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rustc-workspace-hack) Compiling ignore v0.4.6 Compiling cargo v0.36.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/cargo) Finished release [optimized] target(s) in 9m 30s Building stage2 tool clippy-driver (armv7-unknown-linux-gnueabihf) Compiling rustc-demangle v0.1.10 Compiling cfg-if v0.1.6 Compiling matches v0.1.8 Compiling itoa v0.4.3 Compiling pulldown-cmark v0.2.0 Compiling unicode-normalization v0.1.7 Compiling void v1.0.2 Compiling bitflags v1.0.4 Compiling rustc_tools_util v0.1.1 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/clippy/rustc_tools_util) Compiling getopts v0.2.17 Compiling ucd-util v0.1.3 Compiling lazy_static v1.2.0 Compiling percent-encoding v1.0.1 Compiling either v1.5.0 Compiling quine-mc_cluskey v0.2.4 Compiling utf8-ranges v1.0.2 Compiling if_chain v0.1.3 Compiling libc v0.2.51 Compiling ryu v0.2.7 Compiling unicode-bidi v0.3.4 Compiling unreachable v1.0.0 Compiling clippy v0.0.212 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/clippy) Compiling regex v1.1.0 Compiling thread_local v0.3.6 Compiling itertools v0.8.0 Compiling regex-syntax v0.6.4 Compiling backtrace-sys v0.1.27 Compiling memchr v2.1.1 Compiling smallvec v0.6.7 Compiling idna v0.1.5 Compiling backtrace v0.3.11 Compiling error-chain v0.12.0 Compiling aho-corasick v0.6.9 Compiling serde_json v1.0.33 Compiling toml v0.4.10 Compiling cargo_metadata v0.7.1 Compiling url v1.7.2 Compiling clippy_lints v0.0.212 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/clippy/clippy_lints) Finished release [optimized] target(s) in 7m 14s Building stage2 tool rls (armv7-unknown-linux-gnueabihf) Compiling rustc-rayon-core v0.1.2 Compiling rustc-rayon v0.1.2 Compiling rustc-ap-graphviz v407.0.0 Compiling rustc-ap-rustc_target v407.0.0 Compiling num-traits v0.2.6 Compiling scoped-tls v1.0.0 Compiling rustc-ap-syntax v407.0.0 Compiling rayon-core v1.4.0 Compiling rustc-serialize v0.3.24 Compiling num-derive v0.2.3 Compiling rustc_tools_util v0.1.1 Compiling rustfmt-nightly v1.2.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rustfmt) Compiling futures v0.1.21 Compiling json v0.11.13 Compiling unicode-segmentation v1.2.1 Compiling unicode_categories v0.1.1 Compiling bytecount v0.5.1 Compiling diff v0.1.11 Compiling rls-blacklist v0.1.3 Compiling ordslice v0.3.0 Compiling rls-rustc v0.6.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rls/rls-rustc) Compiling crossbeam-utils v0.2.2 Compiling rustc-hash v1.0.1 Compiling term v0.5.1 Compiling fst v0.3.0 Compiling itertools v0.7.8 Compiling rls v1.35.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rls) Compiling heck v0.3.0 Compiling rustc-ap-rustc_cratesio_shim v407.0.0 Compiling ena v0.11.0 Compiling crossbeam-epoch v0.3.1 Compiling rand v0.4.3 Compiling dirs v1.0.4 Compiling rustc-ap-serialize v407.0.0 Compiling crossbeam-deque v0.2.0 Compiling derive-new v0.5.6 Compiling derive_more v0.13.0 Compiling rls-span v0.4.1 Compiling rls-data v0.18.2 Compiling rls-vfs v0.7.0 Compiling jsonrpc-core v10.0.1 Compiling lsp-types v0.55.4 Compiling rayon v1.0.1 Compiling rls-analysis v0.16.12 Compiling rustc-ap-rustc_data_structures v407.0.0 Compiling rustc-ap-arena v407.0.0 Compiling rustc-ap-syntax_pos v407.0.0 Compiling rustc-ap-rustc_errors v407.0.0 Compiling racer v2.1.21 Finished release [optimized] target(s) in 8m 43s Building rustdoc for stage2 (armv7-unknown-linux-gnueabihf) Compiling semver-parser v0.7.0 Compiling libc v0.2.51 Compiling void v1.0.2 Compiling rand_core v0.3.0 Compiling stable_deref_trait v1.1.0 Compiling scopeguard v0.3.3 Compiling pulldown-cmark v0.1.2 Compiling remove_dir_all v0.5.1 Compiling macro-utils v0.1.2 Compiling cfg-if v0.1.6 Compiling bitflags v0.9.1 Compiling unreachable v1.0.0 Compiling owning_ref v0.3.3 Compiling rand_hc v0.1.0 Compiling rand_xorshift v0.1.0 Compiling rand_isaac v0.1.1 Compiling minifier v0.0.29 Compiling smallvec v0.6.7 Compiling lock_api v0.1.3 Compiling semver v0.9.0 Compiling rustc_version v0.2.3 Compiling rand_pcg v0.1.1 Compiling rand_chacha v0.1.0 Compiling rand v0.6.1 Compiling parking_lot_core v0.4.0 Compiling tempfile v3.0.5 Compiling parking_lot v0.7.1 Compiling rustdoc v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustdoc) Compiling rustdoc-tool v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rustdoc) Finished release [optimized] target(s) in 3m 33s Building stage2 tool rustfmt (armv7-unknown-linux-gnueabihf) Compiling rustfmt-nightly v1.2.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rustfmt) Finished release [optimized] target(s) in 26.86s Building stage2 tool miri (armv7-unknown-linux-gnueabihf) Compiling num-traits v0.2.6 Compiling num-integer v0.1.39 Compiling time v0.1.40 Compiling directories v1.0.2 Compiling failure v0.1.5 Compiling rustc_version v0.2.3 Compiling cargo_metadata v0.6.2 Compiling chrono v0.4.6 Compiling vergen v3.0.4 Compiling miri v0.1.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/miri) Finished release [optimized] target(s) in 1m 53s Build completed successfully in 1:46:42 + python2 ./x.py doc Finished dev [unoptimized] target(s) in 0.53s Building stage0 std artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.51s Copying stage0 std from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 test artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.49s Copying stage0 test from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 compiler artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.66s Copying stage0 rustc from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 codegen artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf, llvm) Finished release [optimized] target(s) in 0.49s Assembling stage1 compiler (armv7-unknown-linux-gnueabihf) Building stage1 std artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.51s Copying stage1 std from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 test artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.49s Copying stage1 test from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 compiler artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.61s Copying stage1 rustc from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 codegen artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf, llvm) Finished release [optimized] target(s) in 0.50s Assembling stage2 compiler (armv7-unknown-linux-gnueabihf) Uplifting stage1 std (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 std from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Generating unstable book md files (armv7-unknown-linux-gnueabihf) Building stage0 tool unstable-book-gen (armv7-unknown-linux-gnueabihf) Compiling proc-macro2 v0.4.24 Compiling unicode-xid v0.1.0 Compiling serde v1.0.82 Compiling ryu v0.2.7 Compiling num-traits v0.2.6 Compiling itoa v0.4.3 Compiling quote v0.6.10 Compiling syn v0.15.22 Compiling serde_json v1.0.33 Compiling serde_derive v1.0.81 Compiling tidy v0.1.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/tidy) Compiling unstable-book-gen v0.1.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/unstable-book-gen) Finished release [optimized] target(s) in 1m 33s Building stage0 tool rustbook (armv7-unknown-linux-gnueabihf) Compiling libc v0.2.51 Compiling siphasher v0.2.2 Compiling cc v1.0.28 Compiling void v1.0.2 Compiling string_cache_shared v0.3.0 Compiling semver-parser v0.7.0 Compiling version_check v0.1.5 Compiling itoa v0.4.3 Compiling ucd-trie v0.1.1 Compiling mac v0.1.1 Compiling utf-8 v0.7.2 Compiling precomputed-hash v0.1.1 Compiling unicode-xid v0.0.4 Compiling maplit v1.0.1 Compiling rustc-demangle v0.1.10 Compiling cfg-if v0.1.6 Compiling matches v0.1.8 Compiling lazy_static v1.2.0 Compiling num-traits v0.2.6 Compiling regex v1.1.0 Compiling rand_core v0.3.0 Compiling ucd-util v0.1.3 Compiling quote v0.3.15 Compiling num-integer v0.1.39 Compiling unicode-segmentation v1.2.1 Compiling regex v0.2.11 Compiling unicode-normalization v0.1.7 Compiling same-file v1.0.4 Compiling percent-encoding v1.0.1 Compiling utf8-ranges v1.0.2 Compiling pulldown-cmark v0.1.2 Compiling unicode-width v0.1.5 Compiling quick-error v1.2.2 Compiling pest v1.0.6 Compiling either v1.5.0 Compiling bitflags v0.9.1 Compiling termcolor v1.0.4 Compiling strsim v0.7.0 Compiling getopts v0.2.17 Compiling vec_map v0.8.1 Compiling remove_dir_all v0.5.1 Compiling bitflags v1.0.4 Compiling ansi_term v0.11.0 Compiling is-match v0.1.0 Compiling strum v0.11.0 Compiling open v1.2.1 Compiling shlex v0.1.1 Compiling serde v1.0.82 Compiling ryu v0.2.7 Compiling unreachable v1.0.0 Compiling phf_shared v0.7.22 Compiling semver v0.9.0 Compiling memchr v2.1.1 Compiling synom v0.11.3 Compiling log v0.4.6 Compiling unicode-bidi v0.3.4 Compiling pest v2.1.0 Compiling backtrace-sys v0.1.27 Compiling thread_local v0.3.6 Compiling rand_hc v0.1.0 Compiling rand_isaac v0.1.1 Compiling rand_xorshift v0.1.0 Compiling regex-syntax v0.6.4 Compiling regex-syntax v0.5.6 Compiling heck v0.3.0 Compiling walkdir v2.2.7 Compiling textwrap v0.10.0 Compiling humantime v1.2.0 Compiling itertools v0.7.8 Compiling new_debug_unreachable v1.0.1 Compiling phf v0.7.22 Compiling syn v0.11.11 Compiling rustc_version v0.2.3 Compiling pest_meta v2.1.0 Compiling idna v0.1.5 Compiling toml v0.4.10 Compiling futf v0.1.4 Compiling rand v0.4.3 Compiling atty v0.2.11 Compiling time v0.1.40 Compiling rand_chacha v0.1.0 Compiling rand_pcg v0.1.1 Compiling rand v0.6.1 Compiling serde_json v1.0.33 Compiling pest_derive v1.0.8 Compiling syn v0.15.22 Compiling tendril v0.4.0 Compiling phf_generator v0.7.22 Compiling clap v2.32.0 Compiling aho-corasick v0.6.9 Compiling backtrace v0.3.11 Compiling url v1.7.2 Compiling chrono v0.4.6 Compiling string_cache_codegen v0.4.2 Compiling phf_codegen v0.7.22 Compiling error-chain v0.11.0 Compiling serde_derive v1.0.81 Compiling html5ever v0.22.5 Compiling pest_generator v2.1.0 Compiling strum_macros v0.11.0 Compiling error-chain v0.12.0 Compiling mdbook v0.1.7 Compiling string_cache v0.7.3 Compiling env_logger v0.5.13 Compiling handlebars v0.32.4 Compiling pest_derive v2.1.0 Compiling toml-query v0.6.0 Compiling markup5ever v0.7.2 Compiling elasticlunr-rs v2.3.4 Compiling toml-query v0.7.0 Compiling handlebars v1.1.0 Compiling tempfile v3.0.5 Compiling ammonia v1.1.0 Compiling mdbook v0.2.3 Compiling rustbook v0.1.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rustbook) Finished release [optimized] target(s) in 8m 53s Rustbook (armv7-unknown-linux-gnueabihf) - unstable-book Rustbook (armv7-unknown-linux-gnueabihf) - book Rustbook (armv7-unknown-linux-gnueabihf) - book/first-edition Rustbook (armv7-unknown-linux-gnueabihf) - book/second-edition Rustbook (armv7-unknown-linux-gnueabihf) - book/2018-edition Documenting standalone (armv7-unknown-linux-gnueabihf) Building rustdoc for stage2 (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.51s Documenting book redirect pages (armv7-unknown-linux-gnueabihf) Documenting stage2 std (armv7-unknown-linux-gnueabihf) Building rustdoc for stage1 (armv7-unknown-linux-gnueabihf) Compiling semver-parser v0.7.0 Compiling libc v0.2.51 Compiling void v1.0.2 Compiling rand_core v0.3.0 Compiling stable_deref_trait v1.1.0 Compiling pulldown-cmark v0.1.2 Compiling scopeguard v0.3.3 Compiling macro-utils v0.1.2 Compiling cfg-if v0.1.6 Compiling bitflags v0.9.1 Compiling remove_dir_all v0.5.1 Compiling unreachable v1.0.0 Compiling owning_ref v0.3.3 Compiling rand_hc v0.1.0 Compiling rand_xorshift v0.1.0 Compiling rand_isaac v0.1.1 Compiling minifier v0.0.29 Compiling smallvec v0.6.7 Compiling lock_api v0.1.3 Compiling semver v0.9.0 Compiling rustc_version v0.2.3 Compiling rand_chacha v0.1.0 Compiling rand_pcg v0.1.1 Compiling rand v0.6.1 Compiling parking_lot_core v0.4.0 Compiling tempfile v3.0.5 Compiling parking_lot v0.7.1 Compiling rustdoc v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustdoc) Compiling rustdoc-tool v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rustdoc) Finished release [optimized] target(s) in 3m 37s Checking core v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libcore) Checking rustc-std-workspace-core v1.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rustc-std-workspace-core) Checking compiler_builtins v0.1.9 Documenting alloc v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/liballoc) warning: `[Global]` cannot be resolved, ignoring it... --> src/liballoc/boxed.rs:7:56 | 7 | //! For non-zero-sized values, a [`Box`] will use the [`Global`] allocator for | ^^^^^^^^ cannot be resolved, ignoring | note: lint level defined here --> src/liballoc/lib.rs:68:9 | 68| #![warn(intra_doc_link_resolution_failure)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[Global]` cannot be resolved, ignoring it... --> src/liballoc/boxed.rs:9:37 | 9 | //! raw pointer allocated with the [`Global`] allocator, given that the | ^^^^^^^^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[Layout]` cannot be resolved, ignoring it... --> src/liballoc/boxed.rs:10:6 | 10 | //! [`Layout`] used with the allocator is correct for the type. More precisely, | ^^^^^^^^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[Global]` cannot be resolved, ignoring it... --> src/liballoc/boxed.rs:11:57 | 11 | //! a `value: *mut T` that has been allocated with the [`Global`] allocator | ^^^^^^^^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[Global]` cannot be resolved, ignoring it... --> src/liballoc/boxed.rs:15:6 | 15 | //! [`Global`] allocator with `Layout::for_value(&*value)`. | ^^^^^^^^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` Finished release [optimized] target(s) in 53.47s Documenting core v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libcore) warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:7:8 | 7 | //! - [x] __smulbb | ^ cannot be resolved, ignoring | note: lint level defined here --> src/libcore/lib.rs:63:9 | 63| #![warn(intra_doc_link_resolution_failure)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:8:8 | 8 | //! - [x] __smulbt | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:9:8 | 9 | //! - [x] __smultb | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:10:8 | 10 | //! - [x] __smultt | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:11:8 | 11 | //! - [x] __smulwb | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:12:8 | 12 | //! - [x] __smulwt | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:13:8 | 13 | //! - [x] __qadd | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:14:8 | 14 | //! - [x] __qsub | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:15:8 | 15 | //! - [x] __qdbl | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:16:8 | 16 | //! - [x] __smlabb | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:17:8 | 17 | //! - [x] __smlabt | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:18:8 | 18 | //! - [x] __smlatb | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:19:8 | 19 | //! - [x] __smlatt | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:20:8 | 20 | //! - [x] __smlawb | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:21:8 | 21 | //! - [x] __smlawt | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[0]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:102:12 | 102 | /// where [0] is the lower 16 bits and [1] is the upper 16 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[1]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:102:41 | 102 | /// where [0] is the lower 16 bits and [1] is the upper 16 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[0]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:112:12 | 112 | /// where [0] is the lower 16 bits and [1] is the upper 16 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[1]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:112:41 | 112 | /// where [0] is the lower 16 bits and [1] is the upper 16 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[0]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:174:12 | 174 | /// where [0] is the lower 16 bits and [1] is the upper 16 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[1]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:174:41 | 174 | /// where [0] is the lower 16 bits and [1] is the upper 16 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[0]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:185:12 | 185 | /// where [0] is the lower 16 bits and [1] is the upper 16 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[1]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:185:41 | 185 | /// where [0] is the lower 16 bits and [1] is the upper 16 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[0]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:196:12 | 196 | /// where [0] is the lower 16 bits and [1] is the upper 16 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[1]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:196:41 | 196 | /// where [0] is the lower 16 bits and [1] is the upper 16 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[0]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:207:12 | 207 | /// where [0] is the lower 16 bits and [1] is the upper 16 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[1]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:207:41 | 207 | /// where [0] is the lower 16 bits and [1] is the upper 16 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[0]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:217:38 | 217 | /// Returns the equivalent of (a * b[0] + (c << 16)) >> 16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[0]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:218:12 | 218 | /// where [0] is the lower 16 bits and [1] is the upper 16 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[1]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:218:41 | 218 | /// where [0] is the lower 16 bits and [1] is the upper 16 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[1]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:228:38 | 228 | /// Returns the equivalent of (a * b[1] + (c << 16)) >> 16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[0]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:229:12 | 229 | /// where [0] is the lower 16 bits and [1] is the upper 16 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[1]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/dsp.rs:229:41 | 229 | /// where [0] is the lower 16 bits and [1] is the upper 16 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:7:8 | 7 | //! - [x] __sel | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:8:8 | 8 | //! - [ ] __ssat16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:9:8 | 9 | //! - [ ] __usat16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:10:8 | 10 | //! - [ ] __sxtab16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:11:8 | 11 | //! - [ ] __sxtb16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:12:8 | 12 | //! - [ ] __uxtab16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:13:8 | 13 | //! - [ ] __uxtb16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:14:8 | 14 | //! - [x] __qadd8 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:15:8 | 15 | //! - [x] __qsub8 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:16:8 | 16 | //! - [x] __sadd8 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:17:8 | 17 | //! - [x] __shadd8 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:18:8 | 18 | //! - [x] __shsub8 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:19:8 | 19 | //! - [x] __ssub8 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:20:8 | 20 | //! - [ ] __uadd8 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:21:8 | 21 | //! - [ ] __uhadd8 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:22:8 | 22 | //! - [ ] __uhsub8 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:23:8 | 23 | //! - [ ] __uqadd8 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:24:8 | 24 | //! - [ ] __uqsub8 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:25:8 | 25 | //! - [x] __usub8 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:26:8 | 26 | //! - [x] __usad8 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:27:8 | 27 | //! - [x] __usada8 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:28:8 | 28 | //! - [x] __qadd16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:29:8 | 29 | //! - [x] __qasx | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:30:8 | 30 | //! - [x] __qsax | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:31:8 | 31 | //! - [x] __qsub16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:32:8 | 32 | //! - [x] __sadd16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:33:8 | 33 | //! - [x] __sasx | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:34:8 | 34 | //! - [x] __shadd16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:35:8 | 35 | //! - [ ] __shasx | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:36:8 | 36 | //! - [ ] __shsax | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:37:8 | 37 | //! - [x] __shsub16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:38:8 | 38 | //! - [ ] __ssax | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:39:8 | 39 | //! - [ ] __ssub16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:40:8 | 40 | //! - [ ] __uadd16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:41:8 | 41 | //! - [ ] __uasx | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:42:8 | 42 | //! - [ ] __uhadd16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:43:8 | 43 | //! - [ ] __uhasx | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:44:8 | 44 | //! - [ ] __uhsax | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:45:8 | 45 | //! - [ ] __uhsub16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:46:8 | 46 | //! - [ ] __uqadd16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:47:8 | 47 | //! - [ ] __uqasx | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:48:8 | 48 | //! - [x] __uqsax | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:49:8 | 49 | //! - [ ] __uqsub16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:50:8 | 50 | //! - [ ] __usax | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:51:8 | 51 | //! - [ ] __usub16 | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:52:8 | 52 | //! - [x] __smlad | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:53:8 | 53 | //! - [ ] __smladx | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:54:8 | 54 | //! - [ ] __smlald | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:55:8 | 55 | //! - [ ] __smlaldx | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:56:8 | 56 | //! - [x] __smlsd | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:57:8 | 57 | //! - [ ] __smlsdx | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:58:8 | 58 | //! - [ ] __smlsld | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:59:8 | 59 | //! - [ ] __smlsldx | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:60:8 | 60 | //! - [x] __smuad | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:61:8 | 61 | //! - [x] __smuadx | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:62:8 | 62 | //! - [x] __smusd | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[x]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:63:8 | 63 | //! - [x] __smusdx | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[0]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:352:12 | 352 | /// where [0] is the lower 8 bits and [3] is the upper 8 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[3]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:352:40 | 352 | /// where [0] is the lower 8 bits and [3] is the upper 8 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[0]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:369:12 | 369 | /// where [0] is the lower 8 bits and [3] is the upper 8 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` warning: `[3]` cannot be resolved, ignoring it... --> src/libcore/../stdsimd/crates/core_arch/src/acle/simd32.rs:369:40 | 369 | /// where [0] is the lower 8 bits and [3] is the upper 8 bits. | ^ cannot be resolved, ignoring | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` Finished release [optimized] target(s) in 43.72s Checking libc v0.2.51 Compiling std v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libstd) Checking alloc v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/liballoc) Checking rustc-demangle v0.1.10 Checking unwind v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libunwind) Checking backtrace-sys v0.1.27 Checking panic_abort v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libpanic_abort) Checking panic_unwind v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libpanic_unwind) Documenting std v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libstd) Finished release [optimized] target(s) in 41.88s Documenting stage2 test (armv7-unknown-linux-gnueabihf) Checking proc_macro v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libproc_macro) Checking getopts v0.2.17 Checking term v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libterm) Documenting test v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libtest) Finished release [optimized] target(s) in 12.14s Documenting stage2 whitelisted compiler (armv7-unknown-linux-gnueabihf) Documenting proc_macro v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libproc_macro) Finished release [optimized] target(s) in 6.99s Documenting stage2 compiler (armv7-unknown-linux-gnueabihf) skipping - compiler/librustdoc docs disabled Documenting stage2 rustdoc (armv7-unknown-linux-gnueabihf) skipping - compiler/librustdoc docs disabled Documenting error index (armv7-unknown-linux-gnueabihf) Uplifting stage1 test (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 test from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Uplifting stage1 rustc (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 rustc from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage2 tool error_index_generator (armv7-unknown-linux-gnueabihf) Compiling pulldown-cmark v0.1.2 Compiling scopeguard v0.3.3 Compiling bitflags v0.9.1 Compiling macro-utils v0.1.2 Compiling semver v0.9.0 Compiling minifier v0.0.29 Compiling smallvec v0.6.7 Compiling lock_api v0.1.3 Compiling rustc_version v0.2.3 Compiling rand_pcg v0.1.1 Compiling rand_chacha v0.1.0 Compiling rand v0.6.1 Compiling parking_lot_core v0.4.0 Compiling tempfile v3.0.5 Compiling parking_lot v0.7.1 Compiling rustdoc v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustdoc) Compiling error_index_generator v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/error_index_generator) Finished release [optimized] target(s) in 3m 34s Rustbook (armv7-unknown-linux-gnueabihf) - nomicon Rustbook (armv7-unknown-linux-gnueabihf) - reference Rustbook (armv7-unknown-linux-gnueabihf) - rustdoc Rustbook (armv7-unknown-linux-gnueabihf) - rust-by-example Rustbook (armv7-unknown-linux-gnueabihf) - rustc Cargo Book (armv7-unknown-linux-gnueabihf) - cargo Rustbook (armv7-unknown-linux-gnueabihf) - embedded-book Rustbook (armv7-unknown-linux-gnueabihf) - edition-guide Build completed successfully in 0:20:48 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.W2dcSs + umask 022 + cd /builddir/build/BUILD + source scl_source enable rust-toolset-1.35 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/rust-toolset-1.35 +++ cat /etc/scl/conf/rust-toolset-1.35 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled rust-toolset-1.35 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/rust-toolset-1.35/enable ++ source /opt/rh/rust-toolset-1.35/enable +++ export PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ source scl_source enable llvm-toolset-7.0 ++++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++++ '[' -z true ']' ++++ '[' -z enable ']' ++++ shift 1 ++++ '[' -z /etc/scl/conf ']' ++++ for arg in '"$@"' ++++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++++ cat /etc/scl/conf/llvm-toolset-7.0 ++++ _scl_prefix=/opt/rh ++++ '[' 0 -ne 0 ']' ++++ for scl in '${_scls[@]}' ++++ '[' llvm-toolset-7.0 == rust-toolset-1.35 ']' ++++ /usr/bin/scl_enabled llvm-toolset-7.0 ++++ '[' 1 -ne 0 ']' ++++ _scls+=($arg) ++++ _scl_prefixes+=($_scl_prefix) ++++ '[' true == false ']' ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=rust-toolset-1.35 ' ++ X_SCLS='rust-toolset-1.35 ' ++ _i=1 ++ '[' 1 -lt 2 ']' ++ _scl_scriptlet_path=/opt/rh/llvm-toolset-7.0/enable ++ source /opt/rh/llvm-toolset-7.0/enable +++ export PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ export PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ export PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages +++ PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=llvm-toolset-7.0 rust-toolset-1.35 ' ++ X_SCLS='llvm-toolset-7.0 rust-toolset-1.35 ' ++ _i=2 ++ '[' 2 -lt 2 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + '[' /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm ++ dirname /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm + cd rustc-1.35.0-src + export RUSTFLAGS=-Clink-arg=-Wl,-z,relro,-z,now + RUSTFLAGS=-Clink-arg=-Wl,-z,relro,-z,now + DESTDIR=/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm + python2 ./x.py install Finished dev [unoptimized] target(s) in 0.52s Dist docs (armv7-unknown-linux-gnueabihf) Building stage0 std artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.51s Copying stage0 std from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 test artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.48s Copying stage0 test from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 compiler artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.61s Copying stage0 rustc from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 codegen artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf, llvm) Finished release [optimized] target(s) in 0.50s Assembling stage1 compiler (armv7-unknown-linux-gnueabihf) Building stage1 std artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.52s Copying stage1 std from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 test artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.49s Copying stage1 test from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 compiler artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.60s Copying stage1 rustc from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 codegen artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf, llvm) Finished release [optimized] target(s) in 0.49s Assembling stage2 compiler (armv7-unknown-linux-gnueabihf) Uplifting stage1 std (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 std from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Generating unstable book md files (armv7-unknown-linux-gnueabihf) Building stage0 tool unstable-book-gen (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.49s Building stage0 tool rustbook (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.60s Rustbook (armv7-unknown-linux-gnueabihf) - unstable-book Documenting standalone (armv7-unknown-linux-gnueabihf) Building rustdoc for stage2 (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.51s Documenting book redirect pages (armv7-unknown-linux-gnueabihf) Documenting stage2 std (armv7-unknown-linux-gnueabihf) Building rustdoc for stage1 (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.51s Finished release [optimized] target(s) in 0.93s Finished release [optimized] target(s) in 0.93s Finished release [optimized] target(s) in 0.95s Documenting stage2 test (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.91s Documenting stage2 whitelisted compiler (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.93s Documenting stage2 compiler (armv7-unknown-linux-gnueabihf) skipping - compiler/librustdoc docs disabled Documenting stage2 rustdoc (armv7-unknown-linux-gnueabihf) skipping - compiler/librustdoc docs disabled Documenting error index (armv7-unknown-linux-gnueabihf) Uplifting stage1 test (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 test from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Uplifting stage1 rustc (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 rustc from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage2 tool error_index_generator (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.51s Cargo Book (armv7-unknown-linux-gnueabihf) - cargo Building stage0 tool fabricate (armv7-unknown-linux-gnueabihf) Compiling nodrop v0.1.12 Compiling pkg-config v0.3.14 Compiling memoffset v0.2.1 Compiling scopeguard v0.3.3 Compiling crc32fast v1.1.2 Compiling rayon-core v1.4.0 Compiling yaml-rust v0.3.5 Compiling crossbeam-utils v0.2.2 Compiling miniz-sys v0.1.11 Compiling arrayvec v0.4.7 Compiling crossbeam-epoch v0.3.1 Compiling filetime v0.2.4 Compiling rand v0.4.3 Compiling num_cpus v1.8.0 Compiling xattr v0.2.2 Compiling lzma-sys v0.1.10 Compiling crossbeam-deque v0.2.0 Compiling clap v2.32.0 Compiling flate2 v1.0.6 Compiling tar v0.4.20 Compiling rayon v1.0.1 Compiling xz2 v0.1.5 Compiling installer v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rust-installer) warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting | ::: <::error_chain::error_chain::error_chain_processing macros>:1:1 | 1 | ( | __- | |__| | || 2 | || ( { } , $ b : tt , $ c : tt , $ d : tt ) types $ content : tt $ ( $ tail : tt 3 | || ) * ) => { 4 | || error_chain_processing ! { ( $ content , $ b , $ c , $ d ) $ ( $ tail ) * } } ... || 12 | || error_chain_processing ! { ( $ a , $ b , $ content , $ d ) $ ( $ tail ) * } } | || --------------------------------------------------------------------------- in this macro invocation (#3) ... || 18 | || impl_error_chain_processed ! { | ____||__- 19 | | || types $ a links $ b foreign_links $ c errors $ d } } ; | | || - - | | ||___________________________________________________|___| | | |____________________________________________________|___in this expansion of `error_chain_processing!` (#2) | |_________________________________________________________| in this expansion of `error_chain_processing!` (#3) | in this macro invocation (#4) --> <::error_chain::error_chain::impl_error_chain_processed macros>:91:40 | 1 | ( types { } $ ( $ rest : tt ) * ) => { | ____- | |____| | ||____| | ||| 2 | ||| impl_error_chain_processed ! { | |||____- 3 | |||| types { Error , ErrorKind , ResultExt , Result ; } $ ( $ rest ) * } } ; ( | ||||______________________________________________________________________- in this macro invocation (#5) 4 | ||| types { ... ||| 7 | / ||| impl_error_chain_processed ! { 8 | | ||| types { $ error_name , $ error_kind_name , $ result_ext_name ; } $ ( $ rest ) 9 | | ||| * } /// Convenient wrapper around `std::Result`. | |_|||______- in this macro invocation (#6) ... ||| 91 | ||| ( ref foreign_err ) => { foreign_err . cause ( ) } ) * _ => None } } } } } | ||| ^^^^^ ... ||| 154 | ||| move || { $ crate :: ChainedError :: from_kind ( callback ( ) . into ( ) ) } 155 | ||| ) } } } ; | ||| - | |||____________| | ||_____________in this expansion of `impl_error_chain_processed!` (#4) | |______________in this expansion of `impl_error_chain_processed!` (#5) | in this expansion of `impl_error_chain_processed!` (#6) | ::: <::error_chain::error_chain::error_chain macros>:1:1 | 1 | / ( $ ( $ block_name : ident { $ ( $ block_content : tt ) * } ) * ) => { 2 | | error_chain_processing ! { | ______|_- 3 | | | ( { } , { } , { } , { } ) $ ( $ block_name { $ ( $ block_content ) * } ) * 4 | | | } } ; | | |_-___- in this expansion of `error_chain!` (#1) | |________| | in this macro invocation (#2) | ::: src/tools/rust-installer/src/lib.rs:21:5 | 21 | / error_chain!{ 22 | | foreign_links { 23 | | Io(::std::io::Error); 24 | | StripPrefix(::std::path::StripPrefixError); 25 | | WalkDir(::walkdir::Error); 26 | | } 27 | | } | |____________- in this macro invocation (#1) | = note: #[warn(deprecated)] on by default warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting | ::: <::error_chain::error_chain::error_chain_processing macros>:1:1 | 1 | ( | __- | |__| | || 2 | || ( { } , $ b : tt , $ c : tt , $ d : tt ) types $ content : tt $ ( $ tail : tt 3 | || ) * ) => { 4 | || error_chain_processing ! { ( $ content , $ b , $ c , $ d ) $ ( $ tail ) * } } ... || 12 | || error_chain_processing ! { ( $ a , $ b , $ content , $ d ) $ ( $ tail ) * } } | || --------------------------------------------------------------------------- in this macro invocation (#3) ... || 18 | || impl_error_chain_processed ! { | ____||__- 19 | | || types $ a links $ b foreign_links $ c errors $ d } } ; | | || - - | | ||___________________________________________________|___| | | |____________________________________________________|___in this expansion of `error_chain_processing!` (#2) | |_________________________________________________________| in this expansion of `error_chain_processing!` (#3) | in this macro invocation (#4) --> <::error_chain::error_chain::impl_error_chain_processed macros>:91:40 | 1 | ( types { } $ ( $ rest : tt ) * ) => { | ____- | |____| | ||____| | ||| 2 | ||| impl_error_chain_processed ! { | |||____- 3 | |||| types { Error , ErrorKind , ResultExt , Result ; } $ ( $ rest ) * } } ; ( | ||||______________________________________________________________________- in this macro invocation (#5) 4 | ||| types { ... ||| 7 | / ||| impl_error_chain_processed ! { 8 | | ||| types { $ error_name , $ error_kind_name , $ result_ext_name ; } $ ( $ rest ) 9 | | ||| * } /// Convenient wrapper around `std::Result`. | |_|||______- in this macro invocation (#6) ... ||| 91 | ||| ( ref foreign_err ) => { foreign_err . cause ( ) } ) * _ => None } } } } } | ||| ^^^^^ ... ||| 154 | ||| move || { $ crate :: ChainedError :: from_kind ( callback ( ) . into ( ) ) } 155 | ||| ) } } } ; | ||| - | |||____________| | ||_____________in this expansion of `impl_error_chain_processed!` (#4) | |______________in this expansion of `impl_error_chain_processed!` (#5) | in this expansion of `impl_error_chain_processed!` (#6) | ::: <::error_chain::error_chain::error_chain macros>:1:1 | 1 | / ( $ ( $ block_name : ident { $ ( $ block_content : tt ) * } ) * ) => { 2 | | error_chain_processing ! { | ______|_- 3 | | | ( { } , { } , { } , { } ) $ ( $ block_name { $ ( $ block_content ) * } ) * 4 | | | } } ; | | |_-___- in this expansion of `error_chain!` (#1) | |________| | in this macro invocation (#2) | ::: src/tools/rust-installer/src/lib.rs:21:5 | 21 | / error_chain!{ 22 | | foreign_links { 23 | | Io(::std::io::Error); 24 | | StripPrefix(::std::path::StripPrefixError); 25 | | WalkDir(::walkdir::Error); 26 | | } 27 | | } | |____________- in this macro invocation (#1) Finished release [optimized] target(s) in 1m 20s Install docs stage2 (Some("armv7-unknown-linux-gnueabihf")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/uninstall.sh install: installing component 'rust-docs' Rust documentation is installed. Dist std stage2 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Install std stage2 (Some("armv7-unknown-linux-gnueabihf")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/uninstall.sh install: installing component 'rust-std-armv7-unknown-linux-gnueabihf' std is standing at the ready. Dist cargo stage2 (armv7-unknown-linux-gnueabihf) Building stage2 tool cargo (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.63s Install cargo stage2 (Some("armv7-unknown-linux-gnueabihf")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/uninstall.sh install: installing component 'cargo' Rust is ready to roll. Dist RLS stage2 (armv7-unknown-linux-gnueabihf) Building stage2 tool clippy-driver (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.56s Building stage2 tool rls (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.70s Install rls stage2 (Some("armv7-unknown-linux-gnueabihf")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/uninstall.sh install: installing component 'rls-preview' install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-APACHE install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/README.md install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-MIT RLS ready to serve. Dist Rustfmt stage2 (armv7-unknown-linux-gnueabihf) Building stage2 tool rustfmt (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.59s Building stage2 tool cargo-fmt (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.59s Install rustfmt stage2 (Some("armv7-unknown-linux-gnueabihf")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/uninstall.sh install: installing component 'rustfmt-preview' install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-APACHE install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/README.md install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-MIT rustfmt ready to fmt. Dist clippy stage2 (armv7-unknown-linux-gnueabihf) Building stage2 tool cargo-clippy (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.56s Install clippy stage2 (Some("armv7-unknown-linux-gnueabihf")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/uninstall.sh install: installing component 'clippy-preview' install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-APACHE install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/README.md install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-MIT clippy ready to serve. Dist miri stage2 (armv7-unknown-linux-gnueabihf) Building stage2 tool miri (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.56s Building stage2 tool cargo-miri (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.56s Install miri stage2 (Some("armv7-unknown-linux-gnueabihf")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/uninstall.sh install: installing component 'miri-preview' install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-APACHE install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/README.md install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-MIT miri ready to serve. Dist analysis image_src: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage1-std/armv7-unknown-linux-gnueabihf/release/deps/save-analysis", dst: "/builddir/build/BUILD/rustc-1.35.0-src/build/tmp/dist/rust-analysis-1.35.0-armv7-unknown-linux-gnueabihf-image/lib/rustlib/armv7-unknown-linux-gnueabihf/analysis" Install analysis stage2 (Some("armv7-unknown-linux-gnueabihf")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/uninstall.sh install: installing component 'rust-analysis-armv7-unknown-linux-gnueabihf' save analysis saved. Dist src Install src stage2 (None) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/uninstall.sh install: installing component 'rust-src' Awesome Source. Dist rustc stage2 (armv7-unknown-linux-gnueabihf) Install rustc stage2 (Some("armv7-unknown-linux-gnueabihf")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/uninstall.sh install: installing component 'rustc' install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-APACHE install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/README.md install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-MIT Rust is ready to roll. Build completed successfully in 0:09:07 + find /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib -maxdepth 1 -type f -name '*.so' -exec chmod -v +x '{}' + mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_privacy-486da5b436eb58a3.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/libsyntax-b3bbb09d32f10bde.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_driver-f12f9c86aade445d.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_errors-de9400928e4c0d58.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/libgraphviz-c1c9e6c59621d92b.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/libserialize-161c136af599389f.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/libtest-7beee84ec69b80a5.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc-8a715995d78b99ea.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_save_analysis-8585027601dcc01e.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_allocator-b6c7c8bc3c65b53c.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_resolve-99ea4aced3f1ba02.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_traits-b7d6bcb97faf8a4f.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_mir-c1d8359708ee1039.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_cratesio_shim-1bd5be537ee27bba.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_typeck-5f2468de44ae59ba.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/libsyntax_pos-aaf8fc93b597a442.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_interface-33041b2fd8904e7d.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_codegen_ssa-4bcd1d2929aaff3d.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_lint-a4870aa31d41413a.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_codegen_utils-abd61fb9f931d0f4.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/libfmt_macros-e0687cd733c285af.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_plugin-399bbfd085771621.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_target-5263fb94bbf6dc7f.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_macros-f81219597462c2ef.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_incremental-1fd69e667d3664d1.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/libsyntax_ext-0abe79b259e4bf37.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_passes-e1845c832c13df83.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/libterm-d981650ccc9e05f1.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_borrowck-35ccdf9374f56e75.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_data_structures-29a6d2577ef4eab5.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_metadata-03aa2559a28e8e7a.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/libstd-ad2a08451f0ce5e9.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/libarena-f116e1741581d1db.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_fs_util-cbf9941da4ac24fd.so' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) + cd /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib + find ../../../../lib -maxdepth 1 -name '*.so' + read lib + cmp ../../../../lib/librustc_privacy-486da5b436eb58a3.so librustc_privacy-486da5b436eb58a3.so + ln -v -f -s -t . ../../../../lib/librustc_privacy-486da5b436eb58a3.so './librustc_privacy-486da5b436eb58a3.so' -> '../../../../lib/librustc_privacy-486da5b436eb58a3.so' + read lib + cmp ../../../../lib/libsyntax-b3bbb09d32f10bde.so libsyntax-b3bbb09d32f10bde.so + ln -v -f -s -t . ../../../../lib/libsyntax-b3bbb09d32f10bde.so './libsyntax-b3bbb09d32f10bde.so' -> '../../../../lib/libsyntax-b3bbb09d32f10bde.so' + read lib + cmp ../../../../lib/librustc_driver-f12f9c86aade445d.so librustc_driver-f12f9c86aade445d.so + ln -v -f -s -t . ../../../../lib/librustc_driver-f12f9c86aade445d.so './librustc_driver-f12f9c86aade445d.so' -> '../../../../lib/librustc_driver-f12f9c86aade445d.so' + read lib + cmp ../../../../lib/librustc_errors-de9400928e4c0d58.so librustc_errors-de9400928e4c0d58.so + ln -v -f -s -t . ../../../../lib/librustc_errors-de9400928e4c0d58.so './librustc_errors-de9400928e4c0d58.so' -> '../../../../lib/librustc_errors-de9400928e4c0d58.so' + read lib + cmp ../../../../lib/libgraphviz-c1c9e6c59621d92b.so libgraphviz-c1c9e6c59621d92b.so + ln -v -f -s -t . ../../../../lib/libgraphviz-c1c9e6c59621d92b.so './libgraphviz-c1c9e6c59621d92b.so' -> '../../../../lib/libgraphviz-c1c9e6c59621d92b.so' + read lib + cmp ../../../../lib/libserialize-161c136af599389f.so libserialize-161c136af599389f.so + ln -v -f -s -t . ../../../../lib/libserialize-161c136af599389f.so './libserialize-161c136af599389f.so' -> '../../../../lib/libserialize-161c136af599389f.so' + read lib + cmp ../../../../lib/libtest-7beee84ec69b80a5.so libtest-7beee84ec69b80a5.so + ln -v -f -s -t . ../../../../lib/libtest-7beee84ec69b80a5.so './libtest-7beee84ec69b80a5.so' -> '../../../../lib/libtest-7beee84ec69b80a5.so' + read lib + cmp ../../../../lib/librustc-8a715995d78b99ea.so librustc-8a715995d78b99ea.so + ln -v -f -s -t . ../../../../lib/librustc-8a715995d78b99ea.so './librustc-8a715995d78b99ea.so' -> '../../../../lib/librustc-8a715995d78b99ea.so' + read lib + cmp ../../../../lib/librustc_save_analysis-8585027601dcc01e.so librustc_save_analysis-8585027601dcc01e.so + ln -v -f -s -t . ../../../../lib/librustc_save_analysis-8585027601dcc01e.so './librustc_save_analysis-8585027601dcc01e.so' -> '../../../../lib/librustc_save_analysis-8585027601dcc01e.so' + read lib + cmp ../../../../lib/librustc_allocator-b6c7c8bc3c65b53c.so librustc_allocator-b6c7c8bc3c65b53c.so + ln -v -f -s -t . ../../../../lib/librustc_allocator-b6c7c8bc3c65b53c.so './librustc_allocator-b6c7c8bc3c65b53c.so' -> '../../../../lib/librustc_allocator-b6c7c8bc3c65b53c.so' + read lib + cmp ../../../../lib/librustc_resolve-99ea4aced3f1ba02.so librustc_resolve-99ea4aced3f1ba02.so + ln -v -f -s -t . ../../../../lib/librustc_resolve-99ea4aced3f1ba02.so './librustc_resolve-99ea4aced3f1ba02.so' -> '../../../../lib/librustc_resolve-99ea4aced3f1ba02.so' + read lib + cmp ../../../../lib/librustc_traits-b7d6bcb97faf8a4f.so librustc_traits-b7d6bcb97faf8a4f.so + ln -v -f -s -t . ../../../../lib/librustc_traits-b7d6bcb97faf8a4f.so './librustc_traits-b7d6bcb97faf8a4f.so' -> '../../../../lib/librustc_traits-b7d6bcb97faf8a4f.so' + read lib + cmp ../../../../lib/librustc_mir-c1d8359708ee1039.so librustc_mir-c1d8359708ee1039.so + ln -v -f -s -t . ../../../../lib/librustc_mir-c1d8359708ee1039.so './librustc_mir-c1d8359708ee1039.so' -> '../../../../lib/librustc_mir-c1d8359708ee1039.so' + read lib + cmp ../../../../lib/librustc_cratesio_shim-1bd5be537ee27bba.so librustc_cratesio_shim-1bd5be537ee27bba.so + ln -v -f -s -t . ../../../../lib/librustc_cratesio_shim-1bd5be537ee27bba.so './librustc_cratesio_shim-1bd5be537ee27bba.so' -> '../../../../lib/librustc_cratesio_shim-1bd5be537ee27bba.so' + read lib + cmp ../../../../lib/librustc_typeck-5f2468de44ae59ba.so librustc_typeck-5f2468de44ae59ba.so + ln -v -f -s -t . ../../../../lib/librustc_typeck-5f2468de44ae59ba.so './librustc_typeck-5f2468de44ae59ba.so' -> '../../../../lib/librustc_typeck-5f2468de44ae59ba.so' + read lib + cmp ../../../../lib/libsyntax_pos-aaf8fc93b597a442.so libsyntax_pos-aaf8fc93b597a442.so + ln -v -f -s -t . ../../../../lib/libsyntax_pos-aaf8fc93b597a442.so './libsyntax_pos-aaf8fc93b597a442.so' -> '../../../../lib/libsyntax_pos-aaf8fc93b597a442.so' + read lib + cmp ../../../../lib/librustc_interface-33041b2fd8904e7d.so librustc_interface-33041b2fd8904e7d.so + ln -v -f -s -t . ../../../../lib/librustc_interface-33041b2fd8904e7d.so './librustc_interface-33041b2fd8904e7d.so' -> '../../../../lib/librustc_interface-33041b2fd8904e7d.so' + read lib + cmp ../../../../lib/librustc_codegen_ssa-4bcd1d2929aaff3d.so librustc_codegen_ssa-4bcd1d2929aaff3d.so + ln -v -f -s -t . ../../../../lib/librustc_codegen_ssa-4bcd1d2929aaff3d.so './librustc_codegen_ssa-4bcd1d2929aaff3d.so' -> '../../../../lib/librustc_codegen_ssa-4bcd1d2929aaff3d.so' + read lib + cmp ../../../../lib/librustc_lint-a4870aa31d41413a.so librustc_lint-a4870aa31d41413a.so + ln -v -f -s -t . ../../../../lib/librustc_lint-a4870aa31d41413a.so './librustc_lint-a4870aa31d41413a.so' -> '../../../../lib/librustc_lint-a4870aa31d41413a.so' + read lib + cmp ../../../../lib/librustc_codegen_utils-abd61fb9f931d0f4.so librustc_codegen_utils-abd61fb9f931d0f4.so + ln -v -f -s -t . ../../../../lib/librustc_codegen_utils-abd61fb9f931d0f4.so './librustc_codegen_utils-abd61fb9f931d0f4.so' -> '../../../../lib/librustc_codegen_utils-abd61fb9f931d0f4.so' + read lib + cmp ../../../../lib/libfmt_macros-e0687cd733c285af.so libfmt_macros-e0687cd733c285af.so + ln -v -f -s -t . ../../../../lib/libfmt_macros-e0687cd733c285af.so './libfmt_macros-e0687cd733c285af.so' -> '../../../../lib/libfmt_macros-e0687cd733c285af.so' + read lib + cmp ../../../../lib/librustc_plugin-399bbfd085771621.so librustc_plugin-399bbfd085771621.so + ln -v -f -s -t . ../../../../lib/librustc_plugin-399bbfd085771621.so './librustc_plugin-399bbfd085771621.so' -> '../../../../lib/librustc_plugin-399bbfd085771621.so' + read lib + cmp ../../../../lib/librustc_target-5263fb94bbf6dc7f.so librustc_target-5263fb94bbf6dc7f.so + ln -v -f -s -t . ../../../../lib/librustc_target-5263fb94bbf6dc7f.so './librustc_target-5263fb94bbf6dc7f.so' -> '../../../../lib/librustc_target-5263fb94bbf6dc7f.so' + read lib + cmp ../../../../lib/librustc_macros-f81219597462c2ef.so librustc_macros-f81219597462c2ef.so + ln -v -f -s -t . ../../../../lib/librustc_macros-f81219597462c2ef.so './librustc_macros-f81219597462c2ef.so' -> '../../../../lib/librustc_macros-f81219597462c2ef.so' + read lib + cmp ../../../../lib/librustc_incremental-1fd69e667d3664d1.so librustc_incremental-1fd69e667d3664d1.so + ln -v -f -s -t . ../../../../lib/librustc_incremental-1fd69e667d3664d1.so './librustc_incremental-1fd69e667d3664d1.so' -> '../../../../lib/librustc_incremental-1fd69e667d3664d1.so' + read lib + cmp ../../../../lib/libsyntax_ext-0abe79b259e4bf37.so libsyntax_ext-0abe79b259e4bf37.so + ln -v -f -s -t . ../../../../lib/libsyntax_ext-0abe79b259e4bf37.so './libsyntax_ext-0abe79b259e4bf37.so' -> '../../../../lib/libsyntax_ext-0abe79b259e4bf37.so' + read lib + cmp ../../../../lib/librustc_passes-e1845c832c13df83.so librustc_passes-e1845c832c13df83.so + ln -v -f -s -t . ../../../../lib/librustc_passes-e1845c832c13df83.so './librustc_passes-e1845c832c13df83.so' -> '../../../../lib/librustc_passes-e1845c832c13df83.so' + read lib + cmp ../../../../lib/libterm-d981650ccc9e05f1.so libterm-d981650ccc9e05f1.so + ln -v -f -s -t . ../../../../lib/libterm-d981650ccc9e05f1.so './libterm-d981650ccc9e05f1.so' -> '../../../../lib/libterm-d981650ccc9e05f1.so' + read lib + cmp ../../../../lib/librustc_borrowck-35ccdf9374f56e75.so librustc_borrowck-35ccdf9374f56e75.so + ln -v -f -s -t . ../../../../lib/librustc_borrowck-35ccdf9374f56e75.so './librustc_borrowck-35ccdf9374f56e75.so' -> '../../../../lib/librustc_borrowck-35ccdf9374f56e75.so' + read lib + cmp ../../../../lib/librustc_data_structures-29a6d2577ef4eab5.so librustc_data_structures-29a6d2577ef4eab5.so + ln -v -f -s -t . ../../../../lib/librustc_data_structures-29a6d2577ef4eab5.so './librustc_data_structures-29a6d2577ef4eab5.so' -> '../../../../lib/librustc_data_structures-29a6d2577ef4eab5.so' + read lib + cmp ../../../../lib/librustc_metadata-03aa2559a28e8e7a.so librustc_metadata-03aa2559a28e8e7a.so + ln -v -f -s -t . ../../../../lib/librustc_metadata-03aa2559a28e8e7a.so './librustc_metadata-03aa2559a28e8e7a.so' -> '../../../../lib/librustc_metadata-03aa2559a28e8e7a.so' + read lib + cmp ../../../../lib/libstd-ad2a08451f0ce5e9.so libstd-ad2a08451f0ce5e9.so + ln -v -f -s -t . ../../../../lib/libstd-ad2a08451f0ce5e9.so './libstd-ad2a08451f0ce5e9.so' -> '../../../../lib/libstd-ad2a08451f0ce5e9.so' + read lib + cmp ../../../../lib/libarena-f116e1741581d1db.so libarena-f116e1741581d1db.so + ln -v -f -s -t . ../../../../lib/libarena-f116e1741581d1db.so './libarena-f116e1741581d1db.so' -> '../../../../lib/libarena-f116e1741581d1db.so' + read lib + cmp ../../../../lib/librustc_fs_util-cbf9941da4ac24fd.so librustc_fs_util-cbf9941da4ac24fd.so + ln -v -f -s -t . ../../../../lib/librustc_fs_util-cbf9941da4ac24fd.so './librustc_fs_util-cbf9941da4ac24fd.so' -> '../../../../lib/librustc_fs_util-cbf9941da4ac24fd.so' + read lib + find /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib -maxdepth 1 -type f -exec rm -v '{}' + removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/manifest-clippy-preview' removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/manifest-rustfmt-preview' removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/manifest-rls-preview' removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/manifest-rust-analysis-armv7-unknown-linux-gnueabihf' removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/manifest-cargo' removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/install.log' removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/uninstall.sh' removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/manifest-rust-docs' removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/manifest-rustc' removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/manifest-rust-src' removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/rust-installer-version' removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/manifest-rust-std-armv7-unknown-linux-gnueabihf' removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/components' removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/manifest-miri-preview' + find /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib -type f -name '*.orig' -exec rm -v '{}' + + find /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/src -type f -name '*.py' -exec rm -v '{}' + removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/src/rust/src/libcore/unicode/unicode.py' removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/src/rust/src/libcore/unicode/printable.py' + rm -f /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/README.md + rm -f /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/COPYRIGHT + rm -f /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE + rm -f /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-APACHE + rm -f /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-MIT + rm -f /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-THIRD-PARTY + rm -f /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-APACHE.old /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-MIT.old /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/README.md.old + find /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/html -empty -delete + find /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/html -type f -exec chmod -x '{}' + + mkdir -p /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/cargo/registry + mkdir -p /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/cargo + ln -sT ../rust/html/cargo/ /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/cargo/html + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/rust-toolset-1.35/root + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_isaac-8a7a49e1d2a1974e.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_isaac-8a7a49e1d2a1974e.rlib(rand_isaac-8a7a49e1d2a1974e.rand_isaac.8rcngopr-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_isaac-8a7a49e1d2a1974e.rlib(rand_isaac-8a7a49e1d2a1974e.rand_isaac.8rcngopr-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_isaac-8a7a49e1d2a1974e.rlib(rand_isaac-8a7a49e1d2a1974e.rand_isaac.8rcngopr-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_isaac-8a7a49e1d2a1974e.rlib(rand_isaac-8a7a49e1d2a1974e.rand_isaac.8rcngopr-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_isaac-8a7a49e1d2a1974e.rlib(rand_isaac-8a7a49e1d2a1974e.rand_isaac.8rcngopr-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_isaac-8a7a49e1d2a1974e.rlib(rand_isaac-8a7a49e1d2a1974e.rand_isaac.8rcngopr-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_isaac-8a7a49e1d2a1974e.rlib(rand_isaac-8a7a49e1d2a1974e.rand_isaac.8rcngopr-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_isaac-8a7a49e1d2a1974e.rlib(rand_isaac-8a7a49e1d2a1974e.rand_isaac.8rcngopr-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_isaac-8a7a49e1d2a1974e.rlib(rand_isaac-8a7a49e1d2a1974e.rand_isaac.8rcngopr-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_isaac-8a7a49e1d2a1974e.rlib(rand_isaac-8a7a49e1d2a1974e.rand_isaac.8rcngopr-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_isaac-8a7a49e1d2a1974e.rlib(rand_isaac-8a7a49e1d2a1974e.rand_isaac.8rcngopr-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_isaac-8a7a49e1d2a1974e.rlib(rand_isaac-8a7a49e1d2a1974e.rand_isaac.8rcngopr-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_isaac-8a7a49e1d2a1974e.rlib(rand_isaac-8a7a49e1d2a1974e.rand_isaac.8rcngopr-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_apfloat-5683098e170f9792.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_apfloat-5683098e170f9792.rlib(rustc_apfloat-5683098e170f9792.rustc_apfloat.dgzjzktd-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_apfloat-5683098e170f9792.rlib(rustc_apfloat-5683098e170f9792.rustc_apfloat.dgzjzktd-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_apfloat-5683098e170f9792.rlib(rustc_apfloat-5683098e170f9792.rustc_apfloat.dgzjzktd-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_apfloat-5683098e170f9792.rlib(rustc_apfloat-5683098e170f9792.rustc_apfloat.dgzjzktd-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_apfloat-5683098e170f9792.rlib(rustc_apfloat-5683098e170f9792.rustc_apfloat.dgzjzktd-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_apfloat-5683098e170f9792.rlib(rustc_apfloat-5683098e170f9792.rustc_apfloat.dgzjzktd-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_apfloat-5683098e170f9792.rlib(rustc_apfloat-5683098e170f9792.rustc_apfloat.dgzjzktd-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_apfloat-5683098e170f9792.rlib(rustc_apfloat-5683098e170f9792.rustc_apfloat.dgzjzktd-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_apfloat-5683098e170f9792.rlib(rustc_apfloat-5683098e170f9792.rustc_apfloat.dgzjzktd-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_apfloat-5683098e170f9792.rlib(rustc_apfloat-5683098e170f9792.rustc_apfloat.dgzjzktd-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_apfloat-5683098e170f9792.rlib(rustc_apfloat-5683098e170f9792.rustc_apfloat.dgzjzktd-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_apfloat-5683098e170f9792.rlib(rustc_apfloat-5683098e170f9792.rustc_apfloat.dgzjzktd-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_apfloat-5683098e170f9792.rlib(rustc_apfloat-5683098e170f9792.rustc_apfloat.dgzjzktd-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_apfloat-5683098e170f9792.rlib(rustc_apfloat-5683098e170f9792.rustc_apfloat.dgzjzktd-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(crossbeam_epoch-7d4d9ec4d9d49c7b.crossbeam_epoch.3t91h4xj-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(crossbeam_epoch-7d4d9ec4d9d49c7b.crossbeam_epoch.3t91h4xj-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(crossbeam_epoch-7d4d9ec4d9d49c7b.crossbeam_epoch.3t91h4xj-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(crossbeam_epoch-7d4d9ec4d9d49c7b.crossbeam_epoch.3t91h4xj-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(crossbeam_epoch-7d4d9ec4d9d49c7b.crossbeam_epoch.3t91h4xj-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(crossbeam_epoch-7d4d9ec4d9d49c7b.crossbeam_epoch.3t91h4xj-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(crossbeam_epoch-7d4d9ec4d9d49c7b.crossbeam_epoch.3t91h4xj-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(crossbeam_epoch-7d4d9ec4d9d49c7b.crossbeam_epoch.3t91h4xj-cgu.15.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(crossbeam_epoch-7d4d9ec4d9d49c7b.crossbeam_epoch.3t91h4xj-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(crossbeam_epoch-7d4d9ec4d9d49c7b.crossbeam_epoch.3t91h4xj-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(crossbeam_epoch-7d4d9ec4d9d49c7b.crossbeam_epoch.3t91h4xj-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(crossbeam_epoch-7d4d9ec4d9d49c7b.crossbeam_epoch.3t91h4xj-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(crossbeam_epoch-7d4d9ec4d9d49c7b.crossbeam_epoch.3t91h4xj-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(crossbeam_epoch-7d4d9ec4d9d49c7b.crossbeam_epoch.3t91h4xj-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(crossbeam_epoch-7d4d9ec4d9d49c7b.crossbeam_epoch.3t91h4xj-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_epoch-7d4d9ec4d9d49c7b.rlib(crossbeam_epoch-7d4d9ec4d9d49c7b.crossbeam_epoch.3t91h4xj-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcompiler_builtins-c1f62598af4b32c9.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcompiler_builtins-c1f62598af4b32c9.rlib(compiler_builtins-c1f62598af4b32c9.compiler_builtins.3tg2e0am-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_std_workspace_core-7a1c21566bf42bde.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_std_workspace_core-7a1c21566bf42bde.rlib(rustc_std_workspace_core-7a1c21566bf42bde.rustc_std_workspace_core.8zc17sk8-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace_sys-315506fc16186298.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace_sys-315506fc16186298.rlib(backtrace_sys-315506fc16186298.backtrace_sys.b3ph546c-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblibc-9dfcc19a1df06e61.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblibc-9dfcc19a1df06e61.rlib(libc-9dfcc19a1df06e61.libc.akicnk4k-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpanic_unwind-07efef4efc077a4f.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpanic_unwind-07efef4efc077a4f.rlib(panic_unwind-07efef4efc077a4f.panic_unwind.bgskdflw-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblibc-c74f4c6fafd50695.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblibc-c74f4c6fafd50695.rlib(libc-c74f4c6fafd50695.libc.1577eyzi-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblibc-c74f4c6fafd50695.rlib(libc-c74f4c6fafd50695.libc.1577eyzi-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblibc-c74f4c6fafd50695.rlib(libc-c74f4c6fafd50695.libc.1577eyzi-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblibc-c74f4c6fafd50695.rlib(libc-c74f4c6fafd50695.libc.1577eyzi-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblibc-c74f4c6fafd50695.rlib(libc-c74f4c6fafd50695.libc.1577eyzi-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblibc-c74f4c6fafd50695.rlib(libc-c74f4c6fafd50695.libc.1577eyzi-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblibc-c74f4c6fafd50695.rlib(libc-c74f4c6fafd50695.libc.1577eyzi-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblibc-c74f4c6fafd50695.rlib(libc-c74f4c6fafd50695.libc.1577eyzi-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(chalk_macros-47484af9f6990703.chalk_macros.bcebynja-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(chalk_macros-47484af9f6990703.chalk_macros.bcebynja-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(chalk_macros-47484af9f6990703.chalk_macros.bcebynja-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(chalk_macros-47484af9f6990703.chalk_macros.bcebynja-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(chalk_macros-47484af9f6990703.chalk_macros.bcebynja-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(chalk_macros-47484af9f6990703.chalk_macros.bcebynja-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(chalk_macros-47484af9f6990703.chalk_macros.bcebynja-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(chalk_macros-47484af9f6990703.chalk_macros.bcebynja-cgu.15.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(chalk_macros-47484af9f6990703.chalk_macros.bcebynja-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(chalk_macros-47484af9f6990703.chalk_macros.bcebynja-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(chalk_macros-47484af9f6990703.chalk_macros.bcebynja-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(chalk_macros-47484af9f6990703.chalk_macros.bcebynja-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(chalk_macros-47484af9f6990703.chalk_macros.bcebynja-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(chalk_macros-47484af9f6990703.chalk_macros.bcebynja-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(chalk_macros-47484af9f6990703.chalk_macros.bcebynja-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_macros-47484af9f6990703.rlib(chalk_macros-47484af9f6990703.chalk_macros.bcebynja-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libunicode_width-f24378f749c3fdbe.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libunicode_width-f24378f749c3fdbe.rlib(unicode_width-f24378f749c3fdbe.unicode_width.6cib40qh-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtest-7beee84ec69b80a5.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtest-7beee84ec69b80a5.rlib(test-7beee84ec69b80a5.test.1iybqcng-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(flate2-08e0e585f801927d.flate2.euvqk957-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(flate2-08e0e585f801927d.flate2.euvqk957-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(flate2-08e0e585f801927d.flate2.euvqk957-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(flate2-08e0e585f801927d.flate2.euvqk957-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(flate2-08e0e585f801927d.flate2.euvqk957-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(flate2-08e0e585f801927d.flate2.euvqk957-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(flate2-08e0e585f801927d.flate2.euvqk957-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(flate2-08e0e585f801927d.flate2.euvqk957-cgu.15.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(flate2-08e0e585f801927d.flate2.euvqk957-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(flate2-08e0e585f801927d.flate2.euvqk957-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(flate2-08e0e585f801927d.flate2.euvqk957-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(flate2-08e0e585f801927d.flate2.euvqk957-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(flate2-08e0e585f801927d.flate2.euvqk957-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(flate2-08e0e585f801927d.flate2.euvqk957-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(flate2-08e0e585f801927d.flate2.euvqk957-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libflate2-08e0e585f801927d.rlib(flate2-08e0e585f801927d.flate2.euvqk957-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libunreachable-b2a59893d95081c0.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libunreachable-b2a59893d95081c0.rlib(unreachable-b2a59893d95081c0.unreachable.1mebqox8-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libscopeguard-41c56f77d50a0014.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libscopeguard-41c56f77d50a0014.rlib(scopeguard-41c56f77d50a0014.scopeguard.7fpuisvb-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot-cdf230f4e8d12dea.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot-cdf230f4e8d12dea.rlib(parking_lot-cdf230f4e8d12dea.parking_lot.2ni0kosp-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot-cdf230f4e8d12dea.rlib(parking_lot-cdf230f4e8d12dea.parking_lot.2ni0kosp-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot-cdf230f4e8d12dea.rlib(parking_lot-cdf230f4e8d12dea.parking_lot.2ni0kosp-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot-cdf230f4e8d12dea.rlib(parking_lot-cdf230f4e8d12dea.parking_lot.2ni0kosp-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot-cdf230f4e8d12dea.rlib(parking_lot-cdf230f4e8d12dea.parking_lot.2ni0kosp-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot-cdf230f4e8d12dea.rlib(parking_lot-cdf230f4e8d12dea.parking_lot.2ni0kosp-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot-cdf230f4e8d12dea.rlib(parking_lot-cdf230f4e8d12dea.parking_lot.2ni0kosp-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot-cdf230f4e8d12dea.rlib(parking_lot-cdf230f4e8d12dea.parking_lot.2ni0kosp-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot-cdf230f4e8d12dea.rlib(parking_lot-cdf230f4e8d12dea.parking_lot.2ni0kosp-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot-cdf230f4e8d12dea.rlib(parking_lot-cdf230f4e8d12dea.parking_lot.2ni0kosp-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot-cdf230f4e8d12dea.rlib(parking_lot-cdf230f4e8d12dea.parking_lot.2ni0kosp-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot-cdf230f4e8d12dea.rlib(parking_lot-cdf230f4e8d12dea.parking_lot.2ni0kosp-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot-cdf230f4e8d12dea.rlib(parking_lot-cdf230f4e8d12dea.parking_lot.2ni0kosp-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot-cdf230f4e8d12dea.rlib(parking_lot-cdf230f4e8d12dea.parking_lot.2ni0kosp-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcfg_if-c4ef0a401933780a.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcfg_if-c4ef0a401933780a.rlib(cfg_if-c4ef0a401933780a.cfg_if.dhxk06d6-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_xorshift-3863ca7d41ec15a7.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_xorshift-3863ca7d41ec15a7.rlib(rand_xorshift-3863ca7d41ec15a7.rand_xorshift.66agwxu0-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_xorshift-3863ca7d41ec15a7.rlib(rand_xorshift-3863ca7d41ec15a7.rand_xorshift.66agwxu0-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_xorshift-3863ca7d41ec15a7.rlib(rand_xorshift-3863ca7d41ec15a7.rand_xorshift.66agwxu0-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_xorshift-3863ca7d41ec15a7.rlib(rand_xorshift-3863ca7d41ec15a7.rand_xorshift.66agwxu0-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_xorshift-3863ca7d41ec15a7.rlib(rand_xorshift-3863ca7d41ec15a7.rand_xorshift.66agwxu0-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libatty-bb4a51401fecb719.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libatty-bb4a51401fecb719.rlib(atty-bb4a51401fecb719.atty.ced60vbb-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbyteorder-db3d73bdaab033e8.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbyteorder-db3d73bdaab033e8.rlib(byteorder-db3d73bdaab033e8.byteorder.dnwirif4-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbyteorder-db3d73bdaab033e8.rlib(byteorder-db3d73bdaab033e8.byteorder.dnwirif4-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbyteorder-db3d73bdaab033e8.rlib(byteorder-db3d73bdaab033e8.byteorder.dnwirif4-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbyteorder-db3d73bdaab033e8.rlib(byteorder-db3d73bdaab033e8.byteorder.dnwirif4-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rustc_serialize-8af1d6de58be74c8.rustc_serialize.7qehgdbv-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rustc_serialize-8af1d6de58be74c8.rustc_serialize.7qehgdbv-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rustc_serialize-8af1d6de58be74c8.rustc_serialize.7qehgdbv-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rustc_serialize-8af1d6de58be74c8.rustc_serialize.7qehgdbv-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rustc_serialize-8af1d6de58be74c8.rustc_serialize.7qehgdbv-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rustc_serialize-8af1d6de58be74c8.rustc_serialize.7qehgdbv-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rustc_serialize-8af1d6de58be74c8.rustc_serialize.7qehgdbv-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rustc_serialize-8af1d6de58be74c8.rustc_serialize.7qehgdbv-cgu.15.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rustc_serialize-8af1d6de58be74c8.rustc_serialize.7qehgdbv-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rustc_serialize-8af1d6de58be74c8.rustc_serialize.7qehgdbv-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rustc_serialize-8af1d6de58be74c8.rustc_serialize.7qehgdbv-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rustc_serialize-8af1d6de58be74c8.rustc_serialize.7qehgdbv-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rustc_serialize-8af1d6de58be74c8.rustc_serialize.7qehgdbv-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rustc_serialize-8af1d6de58be74c8.rustc_serialize.7qehgdbv-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rustc_serialize-8af1d6de58be74c8.rustc_serialize.7qehgdbv-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_serialize-8af1d6de58be74c8.rlib(rustc_serialize-8af1d6de58be74c8.rustc_serialize.7qehgdbv-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libproc_macro-b0de8ffeb109ed72.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libproc_macro-b0de8ffeb109ed72.rlib(proc_macro-b0de8ffeb109ed72.proc_macro.2ecpcv67-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_span-03418a6d6f35cda4.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_span-03418a6d6f35cda4.rlib(rls_span-03418a6d6f35cda4.rls_span.9fs5bz8k-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_span-03418a6d6f35cda4.rlib(rls_span-03418a6d6f35cda4.rls_span.9fs5bz8k-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_span-03418a6d6f35cda4.rlib(rls_span-03418a6d6f35cda4.rls_span.9fs5bz8k-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_span-03418a6d6f35cda4.rlib(rls_span-03418a6d6f35cda4.rls_span.9fs5bz8k-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_span-03418a6d6f35cda4.rlib(rls_span-03418a6d6f35cda4.rls_span.9fs5bz8k-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_span-03418a6d6f35cda4.rlib(rls_span-03418a6d6f35cda4.rls_span.9fs5bz8k-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_span-03418a6d6f35cda4.rlib(rls_span-03418a6d6f35cda4.rls_span.9fs5bz8k-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_span-03418a6d6f35cda4.rlib(rls_span-03418a6d6f35cda4.rls_span.9fs5bz8k-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_span-03418a6d6f35cda4.rlib(rls_span-03418a6d6f35cda4.rls_span.9fs5bz8k-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_span-03418a6d6f35cda4.rlib(rls_span-03418a6d6f35cda4.rls_span.9fs5bz8k-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_span-03418a6d6f35cda4.rlib(rls_span-03418a6d6f35cda4.rls_span.9fs5bz8k-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_span-03418a6d6f35cda4.rlib(rls_span-03418a6d6f35cda4.rls_span.9fs5bz8k-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_span-03418a6d6f35cda4.rlib(rls_span-03418a6d6f35cda4.rls_span.9fs5bz8k-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_span-03418a6d6f35cda4.rlib(rls_span-03418a6d6f35cda4.rls_span.9fs5bz8k-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_span-03418a6d6f35cda4.rlib(rls_span-03418a6d6f35cda4.rls_span.9fs5bz8k-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(parking_lot_core-98bfedacbe126dcd.parking_lot_core.55lypfgv-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(parking_lot_core-98bfedacbe126dcd.parking_lot_core.55lypfgv-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(parking_lot_core-98bfedacbe126dcd.parking_lot_core.55lypfgv-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(parking_lot_core-98bfedacbe126dcd.parking_lot_core.55lypfgv-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(parking_lot_core-98bfedacbe126dcd.parking_lot_core.55lypfgv-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(parking_lot_core-98bfedacbe126dcd.parking_lot_core.55lypfgv-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(parking_lot_core-98bfedacbe126dcd.parking_lot_core.55lypfgv-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(parking_lot_core-98bfedacbe126dcd.parking_lot_core.55lypfgv-cgu.15.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(parking_lot_core-98bfedacbe126dcd.parking_lot_core.55lypfgv-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(parking_lot_core-98bfedacbe126dcd.parking_lot_core.55lypfgv-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(parking_lot_core-98bfedacbe126dcd.parking_lot_core.55lypfgv-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(parking_lot_core-98bfedacbe126dcd.parking_lot_core.55lypfgv-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(parking_lot_core-98bfedacbe126dcd.parking_lot_core.55lypfgv-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(parking_lot_core-98bfedacbe126dcd.parking_lot_core.55lypfgv-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(parking_lot_core-98bfedacbe126dcd.parking_lot_core.55lypfgv-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libparking_lot_core-98bfedacbe126dcd.rlib(parking_lot_core-98bfedacbe126dcd.parking_lot_core.55lypfgv-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_hash-3b81ee44f43b8989.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_hash-3b81ee44f43b8989.rlib(rustc_hash-3b81ee44f43b8989.rustc_hash.bqhhoymw-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libquick_error-829a58589a546947.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libquick_error-829a58589a546947.rlib(quick_error-829a58589a546947.quick_error.2wlxasri-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(num_cpus-e905f3f90fea4cb5.num_cpus.ldegkx1g-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(num_cpus-e905f3f90fea4cb5.num_cpus.ldegkx1g-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(num_cpus-e905f3f90fea4cb5.num_cpus.ldegkx1g-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(num_cpus-e905f3f90fea4cb5.num_cpus.ldegkx1g-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(num_cpus-e905f3f90fea4cb5.num_cpus.ldegkx1g-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(num_cpus-e905f3f90fea4cb5.num_cpus.ldegkx1g-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(num_cpus-e905f3f90fea4cb5.num_cpus.ldegkx1g-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(num_cpus-e905f3f90fea4cb5.num_cpus.ldegkx1g-cgu.15.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(num_cpus-e905f3f90fea4cb5.num_cpus.ldegkx1g-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(num_cpus-e905f3f90fea4cb5.num_cpus.ldegkx1g-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(num_cpus-e905f3f90fea4cb5.num_cpus.ldegkx1g-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(num_cpus-e905f3f90fea4cb5.num_cpus.ldegkx1g-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(num_cpus-e905f3f90fea4cb5.num_cpus.ldegkx1g-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(num_cpus-e905f3f90fea4cb5.num_cpus.ldegkx1g-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(num_cpus-e905f3f90fea4cb5.num_cpus.ldegkx1g-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnum_cpus-e905f3f90fea4cb5.rlib(num_cpus-e905f3f90fea4cb5.num_cpus.ldegkx1g-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rls_data-7ac982edd64c8a84.rls_data.82h7kh6w-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rls_data-7ac982edd64c8a84.rls_data.82h7kh6w-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rls_data-7ac982edd64c8a84.rls_data.82h7kh6w-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rls_data-7ac982edd64c8a84.rls_data.82h7kh6w-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rls_data-7ac982edd64c8a84.rls_data.82h7kh6w-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rls_data-7ac982edd64c8a84.rls_data.82h7kh6w-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rls_data-7ac982edd64c8a84.rls_data.82h7kh6w-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rls_data-7ac982edd64c8a84.rls_data.82h7kh6w-cgu.15.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rls_data-7ac982edd64c8a84.rls_data.82h7kh6w-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rls_data-7ac982edd64c8a84.rls_data.82h7kh6w-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rls_data-7ac982edd64c8a84.rls_data.82h7kh6w-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rls_data-7ac982edd64c8a84.rls_data.82h7kh6w-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rls_data-7ac982edd64c8a84.rls_data.82h7kh6w-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rls_data-7ac982edd64c8a84.rls_data.82h7kh6w-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rls_data-7ac982edd64c8a84.rls_data.82h7kh6w-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librls_data-7ac982edd64c8a84.rlib(rls_data-7ac982edd64c8a84.rls_data.82h7kh6w-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrc32fast-182dea01aee00c92.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrc32fast-182dea01aee00c92.rlib(crc32fast-182dea01aee00c92.crc32fast.erscezrb-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrc32fast-182dea01aee00c92.rlib(crc32fast-182dea01aee00c92.crc32fast.erscezrb-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrc32fast-182dea01aee00c92.rlib(crc32fast-182dea01aee00c92.crc32fast.erscezrb-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrc32fast-182dea01aee00c92.rlib(crc32fast-182dea01aee00c92.crc32fast.erscezrb-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrc32fast-182dea01aee00c92.rlib(crc32fast-182dea01aee00c92.crc32fast.erscezrb-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrc32fast-182dea01aee00c92.rlib(crc32fast-182dea01aee00c92.crc32fast.erscezrb-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrc32fast-182dea01aee00c92.rlib(crc32fast-182dea01aee00c92.crc32fast.erscezrb-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libdatafrog-760dbdfe9e93f5b3.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libdatafrog-760dbdfe9e93f5b3.rlib(datafrog-760dbdfe9e93f5b3.datafrog.2ebu88mk-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libdatafrog-760dbdfe9e93f5b3.rlib(datafrog-760dbdfe9e93f5b3.datafrog.2ebu88mk-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libdatafrog-760dbdfe9e93f5b3.rlib(datafrog-760dbdfe9e93f5b3.datafrog.2ebu88mk-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libdatafrog-760dbdfe9e93f5b3.rlib(datafrog-760dbdfe9e93f5b3.datafrog.2ebu88mk-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libdatafrog-760dbdfe9e93f5b3.rlib(datafrog-760dbdfe9e93f5b3.datafrog.2ebu88mk-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_pcg-3ae903878f7333fa.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_pcg-3ae903878f7333fa.rlib(rand_pcg-3ae903878f7333fa.rand_pcg.2zxyfljs-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_pcg-3ae903878f7333fa.rlib(rand_pcg-3ae903878f7333fa.rand_pcg.2zxyfljs-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_pcg-3ae903878f7333fa.rlib(rand_pcg-3ae903878f7333fa.rand_pcg.2zxyfljs-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_pcg-3ae903878f7333fa.rlib(rand_pcg-3ae903878f7333fa.rand_pcg.2zxyfljs-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rustc_rayon_core-1381d1b6a3299b04.rustc_rayon_core.8mf6wg9n-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rustc_rayon_core-1381d1b6a3299b04.rustc_rayon_core.8mf6wg9n-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rustc_rayon_core-1381d1b6a3299b04.rustc_rayon_core.8mf6wg9n-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rustc_rayon_core-1381d1b6a3299b04.rustc_rayon_core.8mf6wg9n-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rustc_rayon_core-1381d1b6a3299b04.rustc_rayon_core.8mf6wg9n-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rustc_rayon_core-1381d1b6a3299b04.rustc_rayon_core.8mf6wg9n-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rustc_rayon_core-1381d1b6a3299b04.rustc_rayon_core.8mf6wg9n-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rustc_rayon_core-1381d1b6a3299b04.rustc_rayon_core.8mf6wg9n-cgu.15.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rustc_rayon_core-1381d1b6a3299b04.rustc_rayon_core.8mf6wg9n-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rustc_rayon_core-1381d1b6a3299b04.rustc_rayon_core.8mf6wg9n-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rustc_rayon_core-1381d1b6a3299b04.rustc_rayon_core.8mf6wg9n-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rustc_rayon_core-1381d1b6a3299b04.rustc_rayon_core.8mf6wg9n-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rustc_rayon_core-1381d1b6a3299b04.rustc_rayon_core.8mf6wg9n-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rustc_rayon_core-1381d1b6a3299b04.rustc_rayon_core.8mf6wg9n-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rustc_rayon_core-1381d1b6a3299b04.rustc_rayon_core.8mf6wg9n-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon_core-1381d1b6a3299b04.rlib(rustc_rayon_core-1381d1b6a3299b04.rustc_rayon_core.8mf6wg9n-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_core-23ffccbad63294a6.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_core-23ffccbad63294a6.rlib(rand_core-23ffccbad63294a6.rand_core.93xu214i-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_core-23ffccbad63294a6.rlib(rand_core-23ffccbad63294a6.rand_core.93xu214i-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_core-23ffccbad63294a6.rlib(rand_core-23ffccbad63294a6.rand_core.93xu214i-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_core-23ffccbad63294a6.rlib(rand_core-23ffccbad63294a6.rand_core.93xu214i-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_core-23ffccbad63294a6.rlib(rand_core-23ffccbad63294a6.rand_core.93xu214i-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_core-23ffccbad63294a6.rlib(rand_core-23ffccbad63294a6.rand_core.93xu214i-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_core-23ffccbad63294a6.rlib(rand_core-23ffccbad63294a6.rand_core.93xu214i-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_core-23ffccbad63294a6.rlib(rand_core-23ffccbad63294a6.rand_core.93xu214i-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_core-23ffccbad63294a6.rlib(rand_core-23ffccbad63294a6.rand_core.93xu214i-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_core-23ffccbad63294a6.rlib(rand_core-23ffccbad63294a6.rand_core.93xu214i-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog_settings-bc757fea9426022a.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog_settings-bc757fea9426022a.rlib(log_settings-bc757fea9426022a.log_settings.9tdj1las-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog_settings-bc757fea9426022a.rlib(log_settings-bc757fea9426022a.log_settings.9tdj1las-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog_settings-bc757fea9426022a.rlib(log_settings-bc757fea9426022a.log_settings.9tdj1las-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog_settings-bc757fea9426022a.rlib(log_settings-bc757fea9426022a.log_settings.9tdj1las-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog_settings-bc757fea9426022a.rlib(log_settings-bc757fea9426022a.log_settings.9tdj1las-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog_settings-bc757fea9426022a.rlib(log_settings-bc757fea9426022a.log_settings.9tdj1las-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog_settings-bc757fea9426022a.rlib(log_settings-bc757fea9426022a.log_settings.9tdj1las-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog_settings-bc757fea9426022a.rlib(log_settings-bc757fea9426022a.log_settings.9tdj1las-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(backtrace-01ea90301e9acee7.backtrace.3r1zyjwv-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(backtrace-01ea90301e9acee7.backtrace.3r1zyjwv-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(backtrace-01ea90301e9acee7.backtrace.3r1zyjwv-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(backtrace-01ea90301e9acee7.backtrace.3r1zyjwv-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(backtrace-01ea90301e9acee7.backtrace.3r1zyjwv-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(backtrace-01ea90301e9acee7.backtrace.3r1zyjwv-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(backtrace-01ea90301e9acee7.backtrace.3r1zyjwv-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(backtrace-01ea90301e9acee7.backtrace.3r1zyjwv-cgu.15.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(backtrace-01ea90301e9acee7.backtrace.3r1zyjwv-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(backtrace-01ea90301e9acee7.backtrace.3r1zyjwv-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(backtrace-01ea90301e9acee7.backtrace.3r1zyjwv-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(backtrace-01ea90301e9acee7.backtrace.3r1zyjwv-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(backtrace-01ea90301e9acee7.backtrace.3r1zyjwv-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(backtrace-01ea90301e9acee7.backtrace.3r1zyjwv-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(backtrace-01ea90301e9acee7.backtrace.3r1zyjwv-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-01ea90301e9acee7.rlib(backtrace-01ea90301e9acee7.backtrace.3r1zyjwv-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libarrayvec-1c54e91a28b37287.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libarrayvec-1c54e91a28b37287.rlib(arrayvec-1c54e91a28b37287.arrayvec.cuk0ffrd-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(termcolor-760e19eb0005b08f.termcolor.edxeg4fp-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(termcolor-760e19eb0005b08f.termcolor.edxeg4fp-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(termcolor-760e19eb0005b08f.termcolor.edxeg4fp-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(termcolor-760e19eb0005b08f.termcolor.edxeg4fp-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(termcolor-760e19eb0005b08f.termcolor.edxeg4fp-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(termcolor-760e19eb0005b08f.termcolor.edxeg4fp-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(termcolor-760e19eb0005b08f.termcolor.edxeg4fp-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(termcolor-760e19eb0005b08f.termcolor.edxeg4fp-cgu.15.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(termcolor-760e19eb0005b08f.termcolor.edxeg4fp-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(termcolor-760e19eb0005b08f.termcolor.edxeg4fp-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(termcolor-760e19eb0005b08f.termcolor.edxeg4fp-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(termcolor-760e19eb0005b08f.termcolor.edxeg4fp-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(termcolor-760e19eb0005b08f.termcolor.edxeg4fp-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(termcolor-760e19eb0005b08f.termcolor.edxeg4fp-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(termcolor-760e19eb0005b08f.termcolor.edxeg4fp-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtermcolor-760e19eb0005b08f.rlib(termcolor-760e19eb0005b08f.termcolor.edxeg4fp-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbitflags-0c172d77feccc36f.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbitflags-0c172d77feccc36f.rlib(bitflags-0c172d77feccc36f.bitflags.6hicz7nf-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libscoped_tls-f7df62d434f13ce7.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libscoped_tls-f7df62d434f13ce7.rlib(scoped_tls-f7df62d434f13ce7.scoped_tls.emw066zt-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libscoped_tls-f7df62d434f13ce7.rlib(scoped_tls-f7df62d434f13ce7.scoped_tls.emw066zt-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libscoped_tls-f7df62d434f13ce7.rlib(scoped_tls-f7df62d434f13ce7.scoped_tls.emw066zt-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libscoped_tls-f7df62d434f13ce7.rlib(scoped_tls-f7df62d434f13ce7.scoped_tls.emw066zt-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libscoped_tls-f7df62d434f13ce7.rlib(scoped_tls-f7df62d434f13ce7.scoped_tls.emw066zt-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpolonius_engine-0a9c9a8a40990aa1.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpolonius_engine-0a9c9a8a40990aa1.rlib(polonius_engine-0a9c9a8a40990aa1.polonius_engine.7ltlixsu-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpolonius_engine-0a9c9a8a40990aa1.rlib(polonius_engine-0a9c9a8a40990aa1.polonius_engine.7ltlixsu-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpolonius_engine-0a9c9a8a40990aa1.rlib(polonius_engine-0a9c9a8a40990aa1.polonius_engine.7ltlixsu-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpolonius_engine-0a9c9a8a40990aa1.rlib(polonius_engine-0a9c9a8a40990aa1.polonius_engine.7ltlixsu-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpolonius_engine-0a9c9a8a40990aa1.rlib(polonius_engine-0a9c9a8a40990aa1.polonius_engine.7ltlixsu-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpolonius_engine-0a9c9a8a40990aa1.rlib(polonius_engine-0a9c9a8a40990aa1.polonius_engine.7ltlixsu-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpolonius_engine-0a9c9a8a40990aa1.rlib(polonius_engine-0a9c9a8a40990aa1.polonius_engine.7ltlixsu-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpolonius_engine-0a9c9a8a40990aa1.rlib(polonius_engine-0a9c9a8a40990aa1.polonius_engine.7ltlixsu-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpolonius_engine-0a9c9a8a40990aa1.rlib(polonius_engine-0a9c9a8a40990aa1.polonius_engine.7ltlixsu-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpolonius_engine-0a9c9a8a40990aa1.rlib(polonius_engine-0a9c9a8a40990aa1.polonius_engine.7ltlixsu-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libsmallvec-6435cd940eef6094.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libsmallvec-6435cd940eef6094.rlib(smallvec-6435cd940eef6094.smallvec.9dk0brnw-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libeither-a560d0fc52fdbd57.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libeither-a560d0fc52fdbd57.rlib(either-a560d0fc52fdbd57.either.d094c1xj-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(serialize-161c136af599389f.serialize.m76maex9-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(serialize-161c136af599389f.serialize.m76maex9-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(serialize-161c136af599389f.serialize.m76maex9-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(serialize-161c136af599389f.serialize.m76maex9-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(serialize-161c136af599389f.serialize.m76maex9-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(serialize-161c136af599389f.serialize.m76maex9-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(serialize-161c136af599389f.serialize.m76maex9-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(serialize-161c136af599389f.serialize.m76maex9-cgu.15.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(serialize-161c136af599389f.serialize.m76maex9-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(serialize-161c136af599389f.serialize.m76maex9-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(serialize-161c136af599389f.serialize.m76maex9-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(serialize-161c136af599389f.serialize.m76maex9-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(serialize-161c136af599389f.serialize.m76maex9-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(serialize-161c136af599389f.serialize.m76maex9-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(serialize-161c136af599389f.serialize.m76maex9-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libserialize-161c136af599389f.rlib(serialize-161c136af599389f.serialize.m76maex9-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libowning_ref-a18f849abe29f90e.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libowning_ref-a18f849abe29f90e.rlib(owning_ref-a18f849abe29f90e.owning_ref.10eyz60i-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblazy_static-64c1355553946212.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblazy_static-64c1355553946212.rlib(lazy_static-64c1355553946212.lazy_static.byzuiam8-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libgetopts-e4b6825a973e4126.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libgetopts-e4b6825a973e4126.rlib(getopts-e4b6825a973e4126.getopts.9014p3si-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog-cdc156de7747c3ba.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog-cdc156de7747c3ba.rlib(log-cdc156de7747c3ba.log.33sx4q1d-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog-cdc156de7747c3ba.rlib(log-cdc156de7747c3ba.log.33sx4q1d-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog-cdc156de7747c3ba.rlib(log-cdc156de7747c3ba.log.33sx4q1d-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog-cdc156de7747c3ba.rlib(log-cdc156de7747c3ba.log.33sx4q1d-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog-cdc156de7747c3ba.rlib(log-cdc156de7747c3ba.log.33sx4q1d-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog-cdc156de7747c3ba.rlib(log-cdc156de7747c3ba.log.33sx4q1d-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog-cdc156de7747c3ba.rlib(log-cdc156de7747c3ba.log.33sx4q1d-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog-cdc156de7747c3ba.rlib(log-cdc156de7747c3ba.log.33sx4q1d-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog-cdc156de7747c3ba.rlib(log-cdc156de7747c3ba.log.33sx4q1d-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblazy_static-725420872ca41bc5.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblazy_static-725420872ca41bc5.rlib(lazy_static-725420872ca41bc5.lazy_static.5fnosfh0-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpanic_abort-6cc31c327fb0e13f.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpanic_abort-6cc31c327fb0e13f.rlib(panic_abort-6cc31c327fb0e13f.panic_abort.4cq0vmu1-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_deque-489a76ac1688b34a.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_deque-489a76ac1688b34a.rlib(crossbeam_deque-489a76ac1688b34a.crossbeam_deque.83htajsn-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_demangle-25013aff882b16bf.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_demangle-25013aff882b16bf.rlib(rustc_demangle-25013aff882b16bf.rustc_demangle.agnfuamg-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libstd-ad2a08451f0ce5e9.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libstd-ad2a08451f0ce5e9.rlib(std-ad2a08451f0ce5e9.std.2kt26292-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(tempfile-215233554171a5c2.tempfile.71s8p14x-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(tempfile-215233554171a5c2.tempfile.71s8p14x-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(tempfile-215233554171a5c2.tempfile.71s8p14x-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(tempfile-215233554171a5c2.tempfile.71s8p14x-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(tempfile-215233554171a5c2.tempfile.71s8p14x-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(tempfile-215233554171a5c2.tempfile.71s8p14x-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(tempfile-215233554171a5c2.tempfile.71s8p14x-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(tempfile-215233554171a5c2.tempfile.71s8p14x-cgu.15.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(tempfile-215233554171a5c2.tempfile.71s8p14x-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(tempfile-215233554171a5c2.tempfile.71s8p14x-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(tempfile-215233554171a5c2.tempfile.71s8p14x-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(tempfile-215233554171a5c2.tempfile.71s8p14x-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(tempfile-215233554171a5c2.tempfile.71s8p14x-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(tempfile-215233554171a5c2.tempfile.71s8p14x-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(tempfile-215233554171a5c2.tempfile.71s8p14x-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libtempfile-215233554171a5c2.rlib(tempfile-215233554171a5c2.tempfile.71s8p14x-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon-8805b3db9e0bab99.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon-8805b3db9e0bab99.rlib(rustc_rayon-8805b3db9e0bab99.rustc_rayon.eqrr5ta7-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon-8805b3db9e0bab99.rlib(rustc_rayon-8805b3db9e0bab99.rustc_rayon.eqrr5ta7-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon-8805b3db9e0bab99.rlib(rustc_rayon-8805b3db9e0bab99.rustc_rayon.eqrr5ta7-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon-8805b3db9e0bab99.rlib(rustc_rayon-8805b3db9e0bab99.rustc_rayon.eqrr5ta7-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon-8805b3db9e0bab99.rlib(rustc_rayon-8805b3db9e0bab99.rustc_rayon.eqrr5ta7-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon-8805b3db9e0bab99.rlib(rustc_rayon-8805b3db9e0bab99.rustc_rayon.eqrr5ta7-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon-8805b3db9e0bab99.rlib(rustc_rayon-8805b3db9e0bab99.rustc_rayon.eqrr5ta7-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon-8805b3db9e0bab99.rlib(rustc_rayon-8805b3db9e0bab99.rustc_rayon.eqrr5ta7-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon-8805b3db9e0bab99.rlib(rustc_rayon-8805b3db9e0bab99.rustc_rayon.eqrr5ta7-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon-8805b3db9e0bab99.rlib(rustc_rayon-8805b3db9e0bab99.rustc_rayon.eqrr5ta7-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon-8805b3db9e0bab99.rlib(rustc_rayon-8805b3db9e0bab99.rustc_rayon.eqrr5ta7-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_rayon-8805b3db9e0bab99.rlib(rustc_rayon-8805b3db9e0bab99.rustc_rayon.eqrr5ta7-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcore-0bc92be486c1c159.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcore-0bc92be486c1c159.rlib(core-0bc92be486c1c159.core.ccpb5x5o-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libhumantime-59163a541f8601ac.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libhumantime-59163a541f8601ac.rlib(humantime-59163a541f8601ac.humantime.b96jy64v-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libhumantime-59163a541f8601ac.rlib(humantime-59163a541f8601ac.humantime.b96jy64v-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libhumantime-59163a541f8601ac.rlib(humantime-59163a541f8601ac.humantime.b96jy64v-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libhumantime-59163a541f8601ac.rlib(humantime-59163a541f8601ac.humantime.b96jy64v-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libhumantime-59163a541f8601ac.rlib(humantime-59163a541f8601ac.humantime.b96jy64v-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libhumantime-59163a541f8601ac.rlib(humantime-59163a541f8601ac.humantime.b96jy64v-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libhumantime-59163a541f8601ac.rlib(humantime-59163a541f8601ac.humantime.b96jy64v-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libhumantime-59163a541f8601ac.rlib(humantime-59163a541f8601ac.humantime.b96jy64v-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libhumantime-59163a541f8601ac.rlib(humantime-59163a541f8601ac.humantime.b96jy64v-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libhumantime-59163a541f8601ac.rlib(humantime-59163a541f8601ac.humantime.b96jy64v-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libhumantime-59163a541f8601ac.rlib(humantime-59163a541f8601ac.humantime.b96jy64v-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libhumantime-59163a541f8601ac.rlib(humantime-59163a541f8601ac.humantime.b96jy64v-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(cc-643e0a894c884b34.cc.8n1gyr4s-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(cc-643e0a894c884b34.cc.8n1gyr4s-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(cc-643e0a894c884b34.cc.8n1gyr4s-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(cc-643e0a894c884b34.cc.8n1gyr4s-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(cc-643e0a894c884b34.cc.8n1gyr4s-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(cc-643e0a894c884b34.cc.8n1gyr4s-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(cc-643e0a894c884b34.cc.8n1gyr4s-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(cc-643e0a894c884b34.cc.8n1gyr4s-cgu.15.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(cc-643e0a894c884b34.cc.8n1gyr4s-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(cc-643e0a894c884b34.cc.8n1gyr4s-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(cc-643e0a894c884b34.cc.8n1gyr4s-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(cc-643e0a894c884b34.cc.8n1gyr4s-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(cc-643e0a894c884b34.cc.8n1gyr4s-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(cc-643e0a894c884b34.cc.8n1gyr4s-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(cc-643e0a894c884b34.cc.8n1gyr4s-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcc-643e0a894c884b34.rlib(cc-643e0a894c884b34.cc.8n1gyr4s-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libminiz_sys-dc8540879ef9edbd.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libminiz_sys-dc8540879ef9edbd.rlib(miniz_sys-dc8540879ef9edbd.miniz_sys.bapcnts1-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_demangle-999c40f1e73a1120.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_demangle-999c40f1e73a1120.rlib(rustc_demangle-999c40f1e73a1120.rustc_demangle.djhy4vsg-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_demangle-999c40f1e73a1120.rlib(rustc_demangle-999c40f1e73a1120.rustc_demangle.djhy4vsg-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_demangle-999c40f1e73a1120.rlib(rustc_demangle-999c40f1e73a1120.rustc_demangle.djhy4vsg-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_demangle-999c40f1e73a1120.rlib(rustc_demangle-999c40f1e73a1120.rustc_demangle.djhy4vsg-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_demangle-999c40f1e73a1120.rlib(rustc_demangle-999c40f1e73a1120.rustc_demangle.djhy4vsg-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_demangle-999c40f1e73a1120.rlib(rustc_demangle-999c40f1e73a1120.rustc_demangle.djhy4vsg-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_demangle-999c40f1e73a1120.rlib(rustc_demangle-999c40f1e73a1120.rustc_demangle.djhy4vsg-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_demangle-999c40f1e73a1120.rlib(rustc_demangle-999c40f1e73a1120.rustc_demangle.djhy4vsg-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_demangle-999c40f1e73a1120.rlib(rustc_demangle-999c40f1e73a1120.rustc_demangle.djhy4vsg-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace_sys-0db3802bdf36f89a.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace_sys-0db3802bdf36f89a.rlib(backtrace_sys-0db3802bdf36f89a.backtrace_sys.2sbke4og-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liballoc-2073ef81f9c90d16.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liballoc-2073ef81f9c90d16.rlib(alloc-2073ef81f9c90d16.alloc.76wtt2av-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rand-d6e39dd0865a2e64.rand.2ldviuar-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rand-d6e39dd0865a2e64.rand.2ldviuar-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rand-d6e39dd0865a2e64.rand.2ldviuar-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rand-d6e39dd0865a2e64.rand.2ldviuar-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rand-d6e39dd0865a2e64.rand.2ldviuar-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rand-d6e39dd0865a2e64.rand.2ldviuar-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rand-d6e39dd0865a2e64.rand.2ldviuar-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rand-d6e39dd0865a2e64.rand.2ldviuar-cgu.15.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rand-d6e39dd0865a2e64.rand.2ldviuar-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rand-d6e39dd0865a2e64.rand.2ldviuar-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rand-d6e39dd0865a2e64.rand.2ldviuar-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rand-d6e39dd0865a2e64.rand.2ldviuar-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rand-d6e39dd0865a2e64.rand.2ldviuar-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rand-d6e39dd0865a2e64.rand.2ldviuar-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rand-d6e39dd0865a2e64.rand.2ldviuar-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand-d6e39dd0865a2e64.rlib(rand-d6e39dd0865a2e64.rand.2ldviuar-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(env_logger-ad4644fe96328abd.env_logger.19xz4m22-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(env_logger-ad4644fe96328abd.env_logger.19xz4m22-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(env_logger-ad4644fe96328abd.env_logger.19xz4m22-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(env_logger-ad4644fe96328abd.env_logger.19xz4m22-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(env_logger-ad4644fe96328abd.env_logger.19xz4m22-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(env_logger-ad4644fe96328abd.env_logger.19xz4m22-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(env_logger-ad4644fe96328abd.env_logger.19xz4m22-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(env_logger-ad4644fe96328abd.env_logger.19xz4m22-cgu.15.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(env_logger-ad4644fe96328abd.env_logger.19xz4m22-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(env_logger-ad4644fe96328abd.env_logger.19xz4m22-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(env_logger-ad4644fe96328abd.env_logger.19xz4m22-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(env_logger-ad4644fe96328abd.env_logger.19xz4m22-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(env_logger-ad4644fe96328abd.env_logger.19xz4m22-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(env_logger-ad4644fe96328abd.env_logger.19xz4m22-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(env_logger-ad4644fe96328abd.env_logger.19xz4m22-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libenv_logger-ad4644fe96328abd.rlib(env_logger-ad4644fe96328abd.env_logger.19xz4m22-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_utils-11d7e03d8ec2b400.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_utils-11d7e03d8ec2b400.rlib(crossbeam_utils-11d7e03d8ec2b400.crossbeam_utils.etld11uo-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_utils-11d7e03d8ec2b400.rlib(crossbeam_utils-11d7e03d8ec2b400.crossbeam_utils.etld11uo-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_utils-11d7e03d8ec2b400.rlib(crossbeam_utils-11d7e03d8ec2b400.crossbeam_utils.etld11uo-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_utils-11d7e03d8ec2b400.rlib(crossbeam_utils-11d7e03d8ec2b400.crossbeam_utils.etld11uo-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_utils-11d7e03d8ec2b400.rlib(crossbeam_utils-11d7e03d8ec2b400.crossbeam_utils.etld11uo-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_utils-11d7e03d8ec2b400.rlib(crossbeam_utils-11d7e03d8ec2b400.crossbeam_utils.etld11uo-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_utils-11d7e03d8ec2b400.rlib(crossbeam_utils-11d7e03d8ec2b400.crossbeam_utils.etld11uo-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_utils-11d7e03d8ec2b400.rlib(crossbeam_utils-11d7e03d8ec2b400.crossbeam_utils.etld11uo-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcrossbeam_utils-11d7e03d8ec2b400.rlib(crossbeam_utils-11d7e03d8ec2b400.crossbeam_utils.etld11uo-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libvoid-d80496239aca19ba.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libvoid-d80496239aca19ba.rlib(void-d80496239aca19ba.void.f2skksrp-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libremove_dir_all-debae235e8f22158.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libremove_dir_all-debae235e8f22158.rlib(remove_dir_all-debae235e8f22158.remove_dir_all.cphvov5v-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libstable_deref_trait-b149aeeef9aa66ec.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libstable_deref_trait-b149aeeef9aa66ec.rlib(stable_deref_trait-b149aeeef9aa66ec.stable_deref_trait.738g18e1-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libmemoffset-4583e80110e4ba41.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libmemoffset-4583e80110e4ba41.rlib(memoffset-4583e80110e4ba41.memoffset.3kssov39-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libmemmap-6e4728fc64fbef7e.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libmemmap-6e4728fc64fbef7e.rlib(memmap-6e4728fc64fbef7e.memmap.tj5vy90c-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libmemmap-6e4728fc64fbef7e.rlib(memmap-6e4728fc64fbef7e.memmap.tj5vy90c-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libmemmap-6e4728fc64fbef7e.rlib(memmap-6e4728fc64fbef7e.memmap.tj5vy90c-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libmemmap-6e4728fc64fbef7e.rlib(memmap-6e4728fc64fbef7e.memmap.tj5vy90c-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libmemmap-6e4728fc64fbef7e.rlib(memmap-6e4728fc64fbef7e.memmap.tj5vy90c-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libmemmap-6e4728fc64fbef7e.rlib(memmap-6e4728fc64fbef7e.memmap.tj5vy90c-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libmemmap-6e4728fc64fbef7e.rlib(memmap-6e4728fc64fbef7e.memmap.tj5vy90c-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnodrop-ce35cc17635a2524.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libnodrop-ce35cc17635a2524.rlib(nodrop-ce35cc17635a2524.nodrop.bkyijzt8-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_engine-bb141a48854c21f3.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_engine-bb141a48854c21f3.rlib(chalk_engine-bb141a48854c21f3.chalk_engine.2p5dea84-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_engine-bb141a48854c21f3.rlib(chalk_engine-bb141a48854c21f3.chalk_engine.2p5dea84-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_engine-bb141a48854c21f3.rlib(chalk_engine-bb141a48854c21f3.chalk_engine.2p5dea84-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_engine-bb141a48854c21f3.rlib(chalk_engine-bb141a48854c21f3.chalk_engine.2p5dea84-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_engine-bb141a48854c21f3.rlib(chalk_engine-bb141a48854c21f3.chalk_engine.2p5dea84-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_engine-bb141a48854c21f3.rlib(chalk_engine-bb141a48854c21f3.chalk_engine.2p5dea84-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_engine-bb141a48854c21f3.rlib(chalk_engine-bb141a48854c21f3.chalk_engine.2p5dea84-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_engine-bb141a48854c21f3.rlib(chalk_engine-bb141a48854c21f3.chalk_engine.2p5dea84-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_engine-bb141a48854c21f3.rlib(chalk_engine-bb141a48854c21f3.chalk_engine.2p5dea84-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_engine-bb141a48854c21f3.rlib(chalk_engine-bb141a48854c21f3.chalk_engine.2p5dea84-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_engine-bb141a48854c21f3.rlib(chalk_engine-bb141a48854c21f3.chalk_engine.2p5dea84-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_engine-bb141a48854c21f3.rlib(chalk_engine-bb141a48854c21f3.chalk_engine.2p5dea84-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_engine-bb141a48854c21f3.rlib(chalk_engine-bb141a48854c21f3.chalk_engine.2p5dea84-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_engine-bb141a48854c21f3.rlib(chalk_engine-bb141a48854c21f3.chalk_engine.2p5dea84-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libchalk_engine-bb141a48854c21f3.rlib(chalk_engine-bb141a48854c21f3.chalk_engine.2p5dea84-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libena-fd2cd63a4faaa1b3.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libena-fd2cd63a4faaa1b3.rlib(ena-fd2cd63a4faaa1b3.ena.1mizvpf2-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libena-fd2cd63a4faaa1b3.rlib(ena-fd2cd63a4faaa1b3.ena.1mizvpf2-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libena-fd2cd63a4faaa1b3.rlib(ena-fd2cd63a4faaa1b3.ena.1mizvpf2-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_chacha-7cca798704b3b7be.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_chacha-7cca798704b3b7be.rlib(rand_chacha-7cca798704b3b7be.rand_chacha.165aiwti-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_chacha-7cca798704b3b7be.rlib(rand_chacha-7cca798704b3b7be.rand_chacha.165aiwti-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_chacha-7cca798704b3b7be.rlib(rand_chacha-7cca798704b3b7be.rand_chacha.165aiwti-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_chacha-7cca798704b3b7be.rlib(rand_chacha-7cca798704b3b7be.rand_chacha.165aiwti-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_chacha-7cca798704b3b7be.rlib(rand_chacha-7cca798704b3b7be.rand_chacha.165aiwti-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_chacha-7cca798704b3b7be.rlib(rand_chacha-7cca798704b3b7be.rand_chacha.165aiwti-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_chacha-7cca798704b3b7be.rlib(rand_chacha-7cca798704b3b7be.rand_chacha.165aiwti-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_chacha-7cca798704b3b7be.rlib(rand_chacha-7cca798704b3b7be.rand_chacha.165aiwti-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_chacha-7cca798704b3b7be.rlib(rand_chacha-7cca798704b3b7be.rand_chacha.165aiwti-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_chacha-7cca798704b3b7be.rlib(rand_chacha-7cca798704b3b7be.rand_chacha.165aiwti-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_hc-89c7268e5b2fc1e5.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_hc-89c7268e5b2fc1e5.rlib(rand_hc-89c7268e5b2fc1e5.rand_hc.7qdd6njn-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_hc-89c7268e5b2fc1e5.rlib(rand_hc-89c7268e5b2fc1e5.rand_hc.7qdd6njn-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_hc-89c7268e5b2fc1e5.rlib(rand_hc-89c7268e5b2fc1e5.rand_hc.7qdd6njn-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_hc-89c7268e5b2fc1e5.rlib(rand_hc-89c7268e5b2fc1e5.rand_hc.7qdd6njn-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_hc-89c7268e5b2fc1e5.rlib(rand_hc-89c7268e5b2fc1e5.rand_hc.7qdd6njn-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_hc-89c7268e5b2fc1e5.rlib(rand_hc-89c7268e5b2fc1e5.rand_hc.7qdd6njn-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_hc-89c7268e5b2fc1e5.rlib(rand_hc-89c7268e5b2fc1e5.rand_hc.7qdd6njn-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_hc-89c7268e5b2fc1e5.rlib(rand_hc-89c7268e5b2fc1e5.rand_hc.7qdd6njn-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_hc-89c7268e5b2fc1e5.rlib(rand_hc-89c7268e5b2fc1e5.rand_hc.7qdd6njn-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librand_hc-89c7268e5b2fc1e5.rlib(rand_hc-89c7268e5b2fc1e5.rand_hc.7qdd6njn-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libterm-d981650ccc9e05f1.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libterm-d981650ccc9e05f1.rlib(term-d981650ccc9e05f1.term.6n7h56pm-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libunwind-27e01cbb84164d91.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libunwind-27e01cbb84164d91.rlib(unwind-27e01cbb84164d91.unwind.2edmfezc-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(jobserver-243ae15fc18de9fe.jobserver.d59bny4x-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(jobserver-243ae15fc18de9fe.jobserver.d59bny4x-cgu.1.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(jobserver-243ae15fc18de9fe.jobserver.d59bny4x-cgu.10.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(jobserver-243ae15fc18de9fe.jobserver.d59bny4x-cgu.11.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(jobserver-243ae15fc18de9fe.jobserver.d59bny4x-cgu.12.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(jobserver-243ae15fc18de9fe.jobserver.d59bny4x-cgu.13.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(jobserver-243ae15fc18de9fe.jobserver.d59bny4x-cgu.14.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(jobserver-243ae15fc18de9fe.jobserver.d59bny4x-cgu.15.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(jobserver-243ae15fc18de9fe.jobserver.d59bny4x-cgu.2.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(jobserver-243ae15fc18de9fe.jobserver.d59bny4x-cgu.3.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(jobserver-243ae15fc18de9fe.jobserver.d59bny4x-cgu.4.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(jobserver-243ae15fc18de9fe.jobserver.d59bny4x-cgu.5.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(jobserver-243ae15fc18de9fe.jobserver.d59bny4x-cgu.6.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(jobserver-243ae15fc18de9fe.jobserver.d59bny4x-cgu.7.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(jobserver-243ae15fc18de9fe.jobserver.d59bny4x-cgu.8.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libjobserver-243ae15fc18de9fe.rlib(jobserver-243ae15fc18de9fe.jobserver.d59bny4x-cgu.9.rcgu.bc.z): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblock_api-ba3c67954bdc1210.rlib(rust.metadata.bin): Unable to recognise the format of file: File format not recognized /usr/bin/strip:/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblock_api-ba3c67954bdc1210.rlib(lock_api-ba3c67954bdc1210.lock_api.3ada0mz1-cgu.0.rcgu.bc.z): Unable to recognise the format of file: File format not recognized + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python 1 /opt/rh/rust-toolset-1.35/root + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.wCTMhz + umask 022 + cd /builddir/build/BUILD + source scl_source enable rust-toolset-1.35 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/rust-toolset-1.35 +++ cat /etc/scl/conf/rust-toolset-1.35 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled rust-toolset-1.35 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/rust-toolset-1.35/enable ++ source /opt/rh/rust-toolset-1.35/enable +++ export PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ source scl_source enable llvm-toolset-7.0 ++++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++++ '[' -z true ']' ++++ '[' -z enable ']' ++++ shift 1 ++++ '[' -z /etc/scl/conf ']' ++++ for arg in '"$@"' ++++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++++ cat /etc/scl/conf/llvm-toolset-7.0 ++++ _scl_prefix=/opt/rh ++++ '[' 0 -ne 0 ']' ++++ for scl in '${_scls[@]}' ++++ '[' llvm-toolset-7.0 == rust-toolset-1.35 ']' ++++ /usr/bin/scl_enabled llvm-toolset-7.0 ++++ '[' 1 -ne 0 ']' ++++ _scls+=($arg) ++++ _scl_prefixes+=($_scl_prefix) ++++ '[' true == false ']' ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=rust-toolset-1.35 ' ++ X_SCLS='rust-toolset-1.35 ' ++ _i=1 ++ '[' 1 -lt 2 ']' ++ _scl_scriptlet_path=/opt/rh/llvm-toolset-7.0/enable ++ source /opt/rh/llvm-toolset-7.0/enable +++ export PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ export PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ export PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages +++ PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=llvm-toolset-7.0 rust-toolset-1.35 ' ++ X_SCLS='llvm-toolset-7.0 rust-toolset-1.35 ' ++ _i=2 ++ '[' 2 -lt 2 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + cd rustc-1.35.0-src + export RUSTFLAGS=-Clink-arg=-Wl,-z,relro,-z,now + RUSTFLAGS=-Clink-arg=-Wl,-z,relro,-z,now + python2 ./x.py test --no-fail-fast Finished dev [unoptimized] target(s) in 0.52s Building stage0 tool tidy (armv7-unknown-linux-gnueabihf) Compiling tidy v0.1.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/tidy) Finished release [optimized] target(s) in 1.86s tidy check * 569 error codes * highest error code: E0725 * lib stable 1.30.0 * aarch64_target_feature lang unstable 1.27.0 * abi_amdgpu_kernel lang unstable 1.29.0 * abi_msp430_interrupt lang unstable 1.16.0 * abi_ptx lang unstable 1.15.0 * abi_sysv64 lang stable 1.24.0 * abi_thiscall lang unstable 1.19.0 * abi_unadjusted lang unstable 1.16.0 * abi_vectorcall lang unstable 1.7.0 * abi_x86_interrupt lang unstable 1.17.0 * addr_from_into_ip lib stable 1.17.0 * addr_parse_error_error lib stable 1.4.0 * advanced_slice_patterns lang removed 1.0.0 * adx_target_feature lang unstable 1.32.0 * align_offset lib unstable None * alloc lib unstable None * alloc_error_handler lang unstable 1.29.0 * alloc_error_hook lib unstable None * alloc_internals lib unstable None * alloc_layout lib stable 1.28.0 * alloc_layout_extra lib unstable None * alloc_module lib stable 1.28.0 * alloc_prelude lib unstable None * alloc_system_type lib stable 1.28.0 * allocator lang removed 1.0.0 * allocator_api lib unstable None * allocator_internals lang unstable 1.20.0 * allow_fail lang unstable 1.19.0 * allow_internal_unsafe lang unstable 1.0.0 * allow_internal_unstable lang unstable 1.0.0 * any_send_sync_methods lib stable 1.28.0 * append lib stable 1.4.0 * arbitrary_self_types lang unstable 1.23.0 * arc_counts lib stable 1.15.0 * arc_unique lib stable 1.4.0 * arc_weak lib stable 1.4.0 * arm_target_feature lang unstable 1.27.0 * array_borrow lib stable 1.4.0 * array_default lib stable 1.4.0 * array_error_internals lib unstable None * as_c_str lib stable 1.20.0 * as_cell lib unstable None * ascii lib stable 1.9.0 * ascii_ctype_on_intrinsics lib stable 1.24.0 * ascii_methods_on_intrinsics lib stable 1.23.0 * asm lang unstable 1.0.0 * asraw_stdio lib stable 1.21.0 * asraw_stdio_locks lib stable 1.35.0 * assert_ne lib stable 1.13.0 * assoc_unix_epoch lib stable 1.28.0 * associated_consts lang stable 1.20.0 * associated_type_defaults lang unstable 1.2.0 * associated_types lang stable 1.0.0 * async_await lang unstable 1.28.0 * atomic_access lib stable 1.15.0 * atomic_bool_from lib stable 1.24.0 * atomic_debug lib stable 1.3.0 * atomic_from lib stable 1.23.0 * atomic_min_max lib unstable None * atomic_pointer lib stable 1.24.0 * attr_literals lang stable 1.30.0 * augmented_assignments lang stable 1.8.0 * avx512_target_feature lang unstable 1.27.0 * await_macro lib unstable None * binary_heap_append lib stable 1.11.0 * binary_heap_extras_15 lib stable 1.5.0 * binary_heap_peek_mut lib stable 1.12.0 * binary_heap_peek_mut_pop lib stable 1.18.0 * binaryheap_debug lib stable 1.4.0 * bind_by_move_pattern_guards lang unstable 1.30.0 * box_borrow lib stable 1.1.0 * box_default_extra lib stable 1.17.0 * box_error lib stable 1.8.0 * box_from_c_str lib stable 1.17.0 * box_from_c_string lib stable 1.20.0 * box_from_os_str lib stable 1.17.0 * box_from_os_string lib stable 1.20.0 * box_from_path lib stable 1.17.0 * box_from_path_buf lib stable 1.20.0 * box_from_slice lib stable 1.17.0 * box_from_str lib stable 1.20.0 * box_from_vec lib stable 1.20.0 * box_into_pin lib unstable None * box_into_raw_non_null lib unstable None * box_leak lib stable 1.26.0 * box_patterns lang unstable 1.0.0 * box_raw lib stable 1.4.0 * box_slice_clone lib stable 1.3.0 * box_str lib stable 1.4.0 * box_syntax lang unstable 1.0.0 * boxed_closure_impls lib stable 1.35.0 * boxed_slice_from_iter lib stable 1.32.0 * boxed_str_conv lib stable 1.19.0 * braced_empty_structs lang stable 1.8.0 * btree_append lib stable 1.11.0 * btree_drop lib stable 1.7.0 * btree_range lib stable 1.17.0 * btree_split_off lib stable 1.11.0 * bufreader_buffer lib unstable None * bufreader_seek_relative lib unstable None * build_hasher lib stable 1.7.0 * build_hasher_eq lib stable 1.29.0 * c_string_from_box lib stable 1.18.0 * c_variadic lang unstable 1.34.0 * c_variadic lib unstable None * c_void_variant lib unstable None * catch_unwind lib stable 1.9.0 * cell_as_ptr lib stable 1.12.0 * cell_eq lib stable 1.2.0 * cell_extras lib stable 1.15.0 * cell_from lib stable 1.12.0 * cell_get_mut lib stable 1.11.0 * cell_map lib stable 1.8.0 * cell_ord lib stable 1.10.0 * cell_update lib unstable None * cfg_attr_multi lang stable 1.33.0 * cfg_target_feature lang stable 1.27.0 * cfg_target_has_atomic lang unstable 1.9.0 * cfg_target_thread_local lang unstable 1.7.0 * cfg_target_vendor lang stable 1.33.0 * chain_bufread lib stable 1.9.0 * char_convert lib stable 1.13.0 * char_error_internals lib unstable None * char_escape_debug lib stable 1.20.0 * char_from_str lib stable 1.20.0 * char_from_unchecked lib stable 1.5.0 * char_struct_display lib stable 1.16.0 * checked_duration_since lib unstable , issue = * chunks_exact lib stable 1.31.0 * clamp lib unstable None * clone_closures lang stable 1.26.0 * clone_from_slice lib stable 1.7.0 * closure_to_fn_coercion lang stable 1.19.0 * cmp_os_str lib stable 1.8.0 * cmp_path lib stable 1.8.0 * cmpxchg16b_target_feature lang unstable 1.32.0 * coerce_unsized lib unstable None * collection_debug lib stable 1.17.0 * collections_bound lib stable 1.17.0 * collections_range lib stable 1.28.0 * command_envs lib stable 1.19.0 * compile_error lang stable 1.20.0 * compile_error_macro lib stable 1.20.0 * compiler_builtins lang unstable 1.13.0 * compiler_fences lib stable 1.21.0 * concat_idents lang unstable 1.0.0 * concat_idents_macro lib unstable None * condvar_default lib stable 1.10.0 * conservative_impl_trait lang stable 1.26.0 * const_compare_raw_pointers lang unstable 1.27.0 * const_cstr_unchecked lib unstable None * const_fn lang unstable 1.2.0 * const_fn_union lang unstable 1.27.0 * const_generics lang unstable 1.34.0 * const_indexing lang stable 1.26.0 * const_int_conversion lib unstable None * const_let lang stable 1.33.0 * const_needs_drop lib unstable None * const_panic lang unstable 1.30.0 * const_ptr_nonnull lib unstable None * const_raw_ptr_deref lang unstable 1.27.0 * const_raw_ptr_to_usize_cast lang unstable 1.27.0 * const_saturating_int_methods lib unstable None * const_slice_len lib unstable None * const_str_as_bytes lib unstable None * const_str_len lib unstable None * const_string_new lib unstable None * const_transmute lang unstable 1.29.0 * const_type_id lib unstable None * const_vec_new lib unstable None * convert_id lib stable 1.33.0 * convert_infallible lib stable 1.34.0 * copied lib stable 1.35.0 * copy_closures lang stable 1.26.0 * copy_from_slice lib stable 1.9.0 * copy_within lib unstable None * copysign lib stable 1.35.0 * core lib stable 1.6.0 * core_array lib stable 1.36.0 * core_ascii lib stable 1.26.0 * core_char lib stable 1.2.0 * core_hint lib stable 1.27.0 * core_impl_debug lib stable 1.9.0 * core_intrinsics lib unstable None * core_panic lib unstable None * core_panic_info lib unstable None * core_prelude lib stable 1.4.0 * core_private_bignum lib unstable None * core_private_diy_float lib unstable None * cow_add lib stable 1.14.0 * cow_box_error lib stable 1.22.0 * cow_from_cstr lib stable 1.28.0 * cow_from_osstr lib stable 1.28.0 * cow_from_path lib stable 1.6.0 * cow_from_pathbuf_ref lib stable 1.28.0 * cow_from_string_ref lib stable 1.28.0 * cow_from_vec lib stable 1.8.0 * cow_from_vec_ref lib stable 1.28.0 * cow_os_str_as_ref_path lib stable 1.8.0 * cow_str_from_iter lib stable 1.12.0 * cow_str_to_string_specialization lib stable 1.17.0 * crate_in_paths lang stable 1.30.0 * crate_visibility_modifier lang unstable 1.23.0 * cstr_borrow lib stable 1.3.0 * cstr_debug lib stable 1.3.0 * cstr_default lib stable 1.10.0 * cstr_from_bytes lib stable 1.10.0 * cstr_memory lib stable 1.4.0 * cstr_to_str lib stable 1.4.0 * cstring_asref lib stable 1.7.0 * cstring_drop lib stable 1.13.0 * cstring_from_cow_cstr lib stable 1.28.0 * cstring_into lib stable 1.7.0 * cursor_box_slice lib stable 1.5.0 * cursor_mut_vec lib stable 1.25.0 * custom_attribute lang unstable 1.0.0 * custom_derive lang removed 1.0.0 * custom_inner_attributes lang unstable 1.30.0 * custom_test_frameworks lang unstable 1.30.0 * dbg_macro lib stable 1.32.0 * deadline_api lib unstable None * debug_btree_map lib stable 1.12.0 * debug_builders lib stable 1.2.0 * debug_hash_map lib stable 1.12.0 * dec2flt lib unstable None * decl_macro lang unstable 1.17.0 * decode_utf16 lib stable 1.9.0 * dedup_by lib stable 1.16.0 * default lib stable 1.11.0 * default_box_extra lib stable 1.17.0 * default_for_pathbuf lib stable 1.17.0 * default_mut_str lib stable 1.28.0 * default_type_parameter_fallback lang unstable 1.3.0 * default_type_params lang stable 1.0.0 * deprecated lang stable 1.9.0 * deque_extras lib stable 1.16.0 * deque_extras_15 lib stable 1.5.0 * derefmut_for_string lib stable 1.3.0 * derive_clone_copy lib unstable None * derive_eq lib unstable None * dir_builder lib stable 1.6.0 * dir_entry_debug lib stable 1.13.0 * dir_entry_ext lib stable 1.1.0 * discriminant_value lib stable 1.21.0 * dispatch_from_dyn lib unstable None * doc_alias lang unstable 1.27.0 * doc_cfg lang unstable 1.21.0 * doc_keyword lang unstable 1.28.0 * doc_masked lang unstable 1.21.0 * doc_spotlight lang unstable 1.22.0 * dotdot_in_tuple_patterns lang stable 1.14.0 * dotdoteq_in_patterns lang stable 1.26.0 * double_ended_skip_iterator lib stable 1.9.0 * downgraded_weak lib stable 1.10.0 * drain lib stable 1.6.0 * drain_filter lib unstable None * drop_in_place lib stable 1.8.0 * drop_types_in_const lang stable 1.22.0 * dropck_eyepatch lang unstable 1.10.0 * dropck_parametricity lang unstable 1.3.0 * duration lib stable 1.3.0 * duration_as_u128 lib stable 1.33.0 * duration_checked_ops lib stable 1.16.0 * duration_constants lib unstable None * duration_core lib stable 1.25.0 * duration_debug_impl lib stable 1.27.0 * duration_extras lib stable 1.27.0 * duration_float lib unstable None * duration_from_micros lib stable 1.27.0 * duration_sum lib stable 1.16.0 * dyn_trait lang stable 1.27.0 * encode_utf16 lib stable 1.8.0 * entry_and_modify lib stable 1.26.0 * entry_or_default lib stable 1.28.0 * env lib stable 1.0.0 * env_iterators lib stable 1.12.0 * env_unimpl_send_sync lib stable 1.26.0 * eprint lib stable 1.19.0 * error_downcast lib stable 1.3.0 * error_iter lib unstable None * error_source lib stable 1.30.0 * error_type_id lib unstable None * euclidean_division lib unstable None * exact_size_case_mapping_iter lib stable 1.35.0 * exact_size_escape lib stable 1.11.0 * exact_size_is_empty lib unstable None * exclusive_range_pattern lang unstable 1.11.0 * exhaustive_integer_patterns lang stable 1.33.0 * exhaustive_patterns lang unstable 1.13.0 * existential_type lang unstable 1.28.0 * exit_status_from lib stable 1.12.0 * expand_open_options2 lib stable 1.9.0 * extend_for_unit lib stable 1.28.0 * extend_ref lib stable 1.2.0 * extend_string lib stable 1.4.0 * extended_compare_and_swap lib stable 1.10.0 * extern_absolute_paths lang stable 1.30.0 * extern_crate_item_prelude lang stable 1.31.0 * extern_crate_self lang stable 1.34.0 * extern_in_paths lang removed 1.33.0 * extern_prelude lang stable 1.30.0 * extern_types lang unstable 1.23.0 * external_doc lang unstable 1.22.0 * extra_log_consts lib unstable None * f32_deg_rad_conversions lib stable 1.7.0 * fd lib unstable None * fd_read lib unstable None * ffi_returns_twice lang unstable 1.34.0 * field_init_shorthand lang stable 1.17.0 * file_offset lib stable 1.15.0 * file_try_clone lib stable 1.9.0 * file_type lib stable 1.1.0 * file_type_ext lib stable 1.5.0 * fixed_size_array lib unstable None * float_bits_conv lib stable 1.20.0 * flt2dec lib unstable None * fmt_error lib stable 1.11.0 * fmt_flags lib stable 1.5.0 * fmt_flags_align lib stable 1.28.0 * fmt_internals lib unstable None * fmt_write_blanket_impl lib stable 1.4.0 * fmt_write_char lib stable 1.1.0 * fn_must_use lang stable 1.27.0 * fn_once_output lib stable 1.12.0 * fn_traits lib unstable None * fnbox lib unstable None * fnptr_impls lib stable 1.4.0 * forget_unsized lib unstable None * format_args_nl lang unstable 1.29.0 * formatter_write lib stable 1.2.0 * from_bool lib stable 1.28.0 * from_for_ptrs lib stable 1.6.0 * from_nonzero lib stable 1.31.0 * from_path_buf_for_os_string lib stable 1.14.0 * from_raw_os lib stable 1.1.0 * from_ref lib stable 1.28.0 * from_slice_v4 lib stable 1.9.0 * from_string_for_vec_u8 lib stable 1.14.0 * from_utf8_error_as_bytes lib stable 1.26.0 * frombyteswithnulerror_impls lib stable 1.17.0 * fs_canonicalize lib stable 1.5.0 * fs_ext lib stable 1.1.0 * fs_read_write lib stable 1.26.0 * fs_read_write_bytes lib stable 1.26.0 * fs_time lib stable 1.10.0 * fundamental lang unstable 1.0.0 * fused lib stable 1.26.0 * futures_api lib unstable None * gen_future lib unstable None * generator_trait lib unstable None * generators lang unstable 1.21.0 * generic_associated_types lang unstable 1.23.0 * generic_param_attrs lang stable 1.27.0 * get_type_id lib stable 1.34.0 * getpid lib stable 1.26.0 * global_alloc lib stable 1.28.0 * global_allocator lang stable 1.28.0 * global_asm lang unstable 1.18.0 * globs lang stable 1.0.0 * hash_extend_copy lib stable 1.4.0 * hash_map_remove_entry lib stable 1.27.0 * hash_raw_entry lib unstable None * hash_slice lib stable 1.3.0 * hasher_write lib stable 1.3.0 * hashmap_build_hasher lib stable 1.7.0 * hashmap_default_hasher lib stable 1.13.0 * hashmap_internals lib unstable None * hashmap_public_hasher lib stable 1.9.0 * herd_cows lib stable 1.19.0 * hexagon_target_feature lang unstable 1.27.0 * i128 lib stable 1.26.0 * i128_type lang stable 1.26.0 * if_let lang stable 1.0.0 * if_while_or_patterns lang stable 1.33.0 * impl_header_lifetime_elision lang stable 1.31.0 * impl_trait_in_bindings lang unstable 1.30.0 * import_shadowing lang removed 1.0.0 * in_band_lifetimes lang unstable 1.23.0 * inclusive_range lib stable 1.26.0 * inclusive_range_methods lib stable 1.27.0 * inclusive_range_syntax lang stable 1.26.0 * indirect_hasher_impl lib stable 1.22.0 * infer_outlives_requirements lang stable 1.30.0 * infer_static_outlives_requirements lang unstable 1.26.0 * inner_deref lib unstable None * insert_str lib stable 1.16.0 * int_error_internals lib unstable None * int_error_matching lib unstable None * int_to_from_bytes lib stable 1.32.0 * integer_atomics lib unstable None * into_boxed_c_str lib stable 1.20.0 * into_boxed_os_str lib stable 1.20.0 * into_boxed_path lib stable 1.20.0 * into_raw_os lib stable 1.4.0 * intrinsics lang unstable 1.0.0 * io_error_from_errorkind lib stable 1.14.0 * io_error_inner lib stable 1.3.0 * io_invalid_data lib stable 1.2.0 * io_take_into_inner lib stable 1.15.0 * iovec lib unstable None * ip lib unstable None * ip_17 lib stable 1.7.0 * ip_addr lib stable 1.7.0 * ip_cmp lib stable 1.16.0 * ip_constructors lib stable 1.30.0 * ip_from_ip lib stable 1.16.0 * ip_from_slice lib stable 1.17.0 * ip_shared lib stable 1.12.0 * ip_u32 lib stable 1.1.0 * ipaddr_checker lib stable 1.16.0 * ipv6_from_octets lib stable 1.9.0 * ipv6_from_segments lib stable 1.16.0 * ipv6_to_octets lib stable 1.12.0 * irrefutable_let_patterns lang stable 1.33.0 * is_char_boundary lib stable 1.9.0 * is_sorted lib unstable None * issue_5723_bootstrap lang stable 1.0.0 * item_like_imports lang stable 1.15.0 * iter_arith lib stable 1.11.0 * iter_arith_traits lib stable 1.12.0 * iter_arith_traits_result lib stable 1.16.0 * iter_cloned lib stable 1.1.0 * iter_cmp_by_key lib stable 1.6.0 * iter_copied lib unstable None * iter_empty lib stable 1.2.0 * iter_from_fn lib stable 1.34.0 * iter_max_by lib stable 1.15.0 * iter_min_by lib stable 1.15.0 * iter_nth_back lib unstable None * iter_once lib stable 1.2.0 * iter_once_with lib unstable None * iter_order lib stable 1.5.0 * iter_rfind lib stable 1.27.0 * iter_rfold lib stable 1.27.0 * iter_successors lib stable 1.34.0 * iter_to_slice lib stable 1.4.0 * iterator_find_map lib stable 1.30.0 * iterator_flatten lib stable 1.29.0 * iterator_for_each lib stable 1.21.0 * iterator_repeat_with lib stable 1.28.0 * iterator_step_by lib stable 1.28.0 * iterator_try_fold lib stable 1.27.0 * joinhandle_impl_send_sync lib stable 1.29.0 * label_break_value lang unstable 1.28.0 * lang_items lang unstable 1.0.0 * libstd_io_internals lib unstable None * libstd_sys_internals lib unstable None * libstd_thread_internals lib unstable None * link_args lang unstable 1.0.0 * link_cfg lang unstable 1.14.0 * link_llvm_intrinsics lang unstable 1.0.0 * linkage lang unstable 1.0.0 * linked_list_contains lib stable 1.12.0 * linked_list_extras lib unstable None * lint_reasons lang unstable 1.31.0 * log_syntax lang unstable 1.0.0 * loop_break_value lang stable 1.19.0 * lossless_float_conv lib stable 1.6.0 * lossless_int_conv lib stable 1.5.0 * lossless_iusize_conv lib stable 1.26.0 * macro_at_most_once_rep lang stable 1.32.0 * macro_lifetime_matcher lang stable 1.27.0 * macro_literal_matcher lang stable 1.32.0 * macro_reexport lang removed 1.0.0 * macro_rules lang stable 1.0.0 * macro_vis_matcher lang stable 1.30.0 * macros_in_extern lang unstable 1.27.0 * main lang unstable 1.0.0 * managed_boxes lang removed 1.0.0 * manually_drop lib stable 1.20.0 * manually_drop_take lib unstable None * map_entry_keys lib stable 1.10.0 * map_entry_recover_keys2 lib stable 1.12.0 * map_entry_replace lib unstable None * map_get_key_value lib unstable None * map_values_mut lib stable 1.10.0 * marker_trait_attr lang unstable 1.30.0 * match_beginning_vert lang stable 1.25.0 * match_default_bindings lang stable 1.26.0 * maybe_uninit lib unstable None * maybe_uninit_array lib unstable None * maybe_uninit_ref lib unstable None * maybe_uninit_slice lib unstable None * metadata_ext lib stable 1.1.0 * metadata_ext2 lib stable 1.8.0 * min_const_fn lang stable 1.31.0 * min_const_unsafe_fn lang stable 1.33.0 * mips_target_feature lang unstable 1.27.0 * mmx_target_feature lang unstable 1.27.0 * more_box_slice_clone lib stable 1.29.0 * more_io_inner_methods lib stable 1.20.0 * more_struct_aliases lang stable 1.16.0 * movbe_target_feature lang unstable 1.34.0 * move_cell lib stable 1.17.0 * mpsc_debug lib stable 1.8.0 * mpsc_error_conversions lib stable 1.24.0 * mpsc_recv_timeout lib stable 1.12.0 * mpsc_recv_timeout_error lib stable 1.15.0 * mpsc_select lib unstable None * mut_slice_default lib stable 1.5.0 * mutex_default lib stable 1.10.0 * mutex_from lib stable 1.24.0 * mutex_get_mut lib stable 1.6.0 * mutex_into_inner lib stable 1.6.0 * mutexguard lib stable 1.19.0 * n16 lib unstable None * naked_functions lang unstable 1.9.0 * needs_allocator lang unstable 1.4.0 * needs_drop lib stable 1.21.0 * needs_panic_runtime lang unstable 1.10.0 * negate_unsigned lang removed 1.0.0 * net2_mutators lib stable 1.9.0 * never_hash lib stable 1.29.0 * never_type lang unstable 1.13.0 * never_type lib unstable None * nll lang unstable 1.0.0 * no_core lang unstable 1.3.0 * no_debug lang unstable 1.5.0 * no_more_cas lib unstable None * no_panic_abs lib stable 1.13.0 * no_panic_pow lib stable 1.34.0 * no_std lang stable 1.6.0 * non_ascii_idents lang unstable 1.0.0 * non_exhaustive lang unstable 1.22.0 * non_modrs_mods lang stable 1.30.0 * nonnull lib stable 1.25.0 * nonnull_cast lib stable 1.27.0 * nonzero lib stable 1.28.0 * nonzero_parse lib stable 1.35.0 * num_wrapping lib stable 1.2.0 * omit_gdb_pretty_printer_section lang unstable 1.5.0 * on_unimplemented lang unstable 1.0.0 * once_is_completed lib unstable None * once_new lib stable 1.2.0 * once_poison lib unstable None * op_assign_builtins_by_ref lib stable 1.22.0 * op_assign_traits lib stable 1.8.0 * open_options_ext lib stable 1.10.0 * opt_out_copy lang removed 1.0.0 * optimize_attribute lang unstable 1.34.0 * optin_builtin_traits lang unstable 1.0.0 * option_entry lib stable 1.20.0 * option_filter lib stable 1.27.0 * option_from lib stable 1.12.0 * option_iter lib stable 1.4.0 * option_ref_from_ref_option lib stable 1.30.0 * option_ref_mut_cloned lib stable 1.26.0 * option_replace lib stable 1.31.0 * option_xor lib unstable None * ord_max_min lib stable 1.21.0 * ordering_chaining lib stable 1.17.0 * os lib stable 1.0.0 * os_str_str_ref_eq lib stable 1.29.0 * os_string_from_box lib stable 1.18.0 * osstring_default lib stable 1.9.0 * osstring_from_cow_osstr lib stable 1.28.0 * osstring_shrink_to_fit lib stable 1.19.0 * osstring_simple_functions lib stable 1.9.0 * overlapping_marker_traits lang unstable 1.18.0 * panic_abort lib unstable None * panic_col lib stable 1.25.0 * panic_handler lang stable 1.30.0 * panic_hook_display lib stable 1.26.0 * panic_hooks lib stable 1.10.0 * panic_implementation lang removed 1.28.0 * panic_info_message lib unstable None * panic_internals lib unstable None * panic_runtime lang unstable 1.10.0 * panic_unwind lib unstable None * park_timeout lib stable 1.4.0 * partialeq_path lib stable 1.6.0 * path_ancestors lib stable 1.28.0 * path_buf_capacity lib unstable None * path_buf_from_box lib stable 1.18.0 * path_component_asref lib stable 1.25.0 * path_components_debug lib stable 1.13.0 * path_ext lib stable 1.5.0 * path_from_str lib stable 1.32.0 * path_into_iter lib stable 1.6.0 * path_iter_debug lib stable 1.13.0 * path_strip_prefix lib stable 1.7.0 * pathbuf_from_cow_path lib stable 1.28.0 * pattern lib unstable None * pattern_parentheses lang stable 1.31.0 * peek lib stable 1.18.0 * pin lib stable 1.33.0 * pin_partialeq_partialord_impl_applicability lib stable 1.34.0 * platform_intrinsics lang unstable 1.4.0 * plugin lang unstable 1.0.0 * plugin_registrar lang unstable 1.0.0 * pointer_methods lib stable 1.26.0 * powerpc_target_feature lang unstable 1.27.0 * precise_pointer_size_matching lang unstable 1.32.0 * prelude_import lang unstable 1.2.0 * print_internals lib unstable None * proc_macro lang stable 1.29.0 * proc_macro_def_site lib unstable None * proc_macro_diagnostic lib unstable None * proc_macro_expr lang removed 1.27.0 * proc_macro_gen lang removed 1.27.0 * proc_macro_hygiene lang unstable 1.30.0 * proc_macro_internals lib unstable None * proc_macro_lib lib stable 1.15.0 * proc_macro_lib2 lib stable 1.29.0 * proc_macro_mod lang removed 1.27.0 * proc_macro_non_items lang removed 1.27.0 * proc_macro_path_invoc lang stable 1.30.0 * proc_macro_quote lib unstable None * proc_macro_raw_ident lib unstable None * proc_macro_span lib unstable None * process lib stable 1.0.0 * process_abort lib stable 1.17.0 * process_exec lib stable 1.15.0 * process_exec2 lib stable 1.9.0 * process_exitcode_placeholder lib unstable None * process_extensions lib stable 1.2.0 * process_id lib stable 1.3.0 * process_internals lib unstable None * process_output_debug lib stable 1.7.0 * process_pre_exec lib stable 1.34.0 * process_try_wait lib stable 1.18.0 * profiler_runtime lang unstable 1.18.0 * profiler_runtime_lib lib unstable None * pthread_t lib stable 1.8.0 * ptr_as_ref lib stable 1.9.0 * ptr_eq lib stable 1.17.0 * ptr_hash lib stable 1.35.0 * ptr_internals lib unstable None * ptr_offset_from lib unstable None * ptr_unaligned lib stable 1.17.0 * ptr_wrapping_offset lib stable 1.16.0 * ptr_wrapping_offset_from lib unstable None * pub_restricted lang stable 1.18.0 * pushpop_unsafe lang removed 1.2.0 * quad_precision_float lang removed 1.0.0 * question_mark lang stable 1.13.0 * quote lang removed 1.0.0 * range_contains lib stable 1.35.0 * range_is_empty lib unstable None * raw lib unstable None * raw_ext lib stable 1.1.0 * raw_identifiers lang stable 1.30.0 * raw_os lib stable 1.1.0 * raw_vec_internals lib unstable None * rc_counts lib stable 1.15.0 * rc_downcast lib stable 1.29.0 * rc_into_raw_non_null lib unstable None * rc_raw lib stable 1.17.0 * rc_unique lib stable 1.4.0 * rc_weak lib stable 1.4.0 * rchunks lib stable 1.31.0 * re_rebalance_coherence lang unstable 1.32.0 * read_exact lib stable 1.6.0 * read_initializer lib unstable None * receiver_into_iter lib stable 1.1.0 * receiver_trait lib unstable None * receiver_try_iter lib stable 1.15.0 * refcell_map_split lib stable 1.35.0 * refcell_replace lib stable 1.24.0 * refcell_replace_swap lib stable 1.35.0 * refcell_swap lib stable 1.24.0 * reflect lang removed 1.0.0 * relaxed_adts lang stable 1.19.0 * rename_connect_to_join lib stable 1.3.0 * renamed_spin_loop lib unstable None * repeat_generic_slice lib unstable None * repeat_str lib stable 1.16.0 * repr128 lang unstable 1.16.0 * repr_align lang stable 1.25.0 * repr_align_enum lang unstable 1.34.0 * repr_packed lang stable 1.33.0 * repr_simd lang unstable 1.4.0 * repr_transparent lang stable 1.28.0 * result_expect lib stable 1.4.0 * result_expect_err lib stable 1.17.0 * result_iter lib stable 1.4.0 * result_map_or_else lib unstable None * result_unwrap_or_default lib stable 1.16.0 * resume_unwind lib stable 1.9.0 * retain_hash_collection lib stable 1.18.0 * reverse_bits lib unstable None * reverse_cmp_key lib stable 1.19.0 * rt lib unstable None * rust1 lib stable 1.0.0 * rustc_attrs lang unstable 1.0.0 * rustc_const_unstable lang unstable 1.0.0 * rustc_diagnostic_macros lang unstable 1.0.0 * rustc_private lib unstable None * rvalue_static_promotion lang stable 1.21.0 * rw_exact_all_at lib stable 1.33.0 * rw_lock_default lib stable 1.10.0 * rw_lock_from lib stable 1.24.0 * rwlock_get_mut lib stable 1.6.0 * rwlock_guard_sync lib stable 1.23.0 * rwlock_into_inner lib stable 1.6.0 * sanitizer_runtime lang unstable 1.17.0 * sanitizer_runtime_lib lib unstable None * seek_convenience lib unstable None * self_in_typedefs lang stable 1.32.0 * self_struct_ctor lang stable 1.32.0 * set_permissions lib stable 1.1.0 * set_permissions_atomic lib stable 1.16.0 * set_recovery lib stable 1.9.0 * set_stdio lib unstable None * sgx_platform lib unstable None * shared_from_slice lib stable 1.21.0 * shared_from_slice2 lib stable 1.24.0 * shrink_to lib unstable None * signed_nonzero lib stable 1.34.0 * simd lang removed 1.0.0 * simd_arch lib stable 1.27.0 * simd_ffi lang unstable 1.0.0 * slice_align_to lib stable 1.30.0 * slice_binary_search_by_key lib stable 1.10.0 * slice_concat_ext lib unstable None * slice_get_slice lib stable 1.28.0 * slice_get_slice_impls lib stable 1.15.0 * slice_index_methods lib unstable None * slice_internals lib unstable None * slice_iter_as_ref lib stable 1.13.0 * slice_iter_mut_as_slice lib unstable None * slice_partition_at_index lib unstable None * slice_partition_dedup lib unstable None * slice_patterns lang unstable 1.0.0 * slice_rotate lib stable 1.26.0 * slice_rsplit lib stable 1.27.0 * slice_sort_by_cached_key lib stable 1.34.0 * slice_sort_by_key lib stable 1.7.0 * slice_splits lib stable 1.5.0 * slice_to_socket_addrs lib stable 1.8.0 * slicing_syntax lang stable 1.0.0 * smart_ptr_as_ref lib stable 1.5.0 * sockaddr_checker lib stable 1.16.0 * sockaddr_setters lib stable 1.9.0 * socket_addr_from_str lib stable 1.5.0 * socket_timeout lib stable 1.4.0 * sort_internals lib unstable None * sort_unstable lib stable 1.20.0 * specialization lang unstable 1.7.0 * spin_loop_hint lib stable 1.24.0 * splice lib stable 1.27.0 * split_ascii_whitespace lib stable 1.34.0 * split_off lib stable 1.4.0 * split_whitespace lib stable 1.1.0 * sse4a_target_feature lang unstable 1.27.0 * staged_api lang unstable 1.0.0 * start lang unstable 1.0.0 * static_in_const lang stable 1.17.0 * static_nobundle lang unstable 1.16.0 * static_recursion lang stable 1.17.0 * std_debug lib stable 1.16.0 * std_guard_impls lib stable 1.20.0 * std_internals lib unstable None * std_panic lib stable 1.9.0 * stdio_from lib stable 1.20.0 * stdsimd lib unstable None * step_trait lib unstable None * stmt_expr_attributes lang unstable 1.6.0 * str_as_mut_ptr lib unstable None * str_box_extras lib stable 1.20.0 * str_checked_slicing lib stable 1.20.0 * str_escape lib stable 1.34.0 * str_internals lib unstable None * str_match_indices lib stable 1.5.0 * str_matches lib stable 1.2.0 * str_mut_extras lib stable 1.20.0 * str_parse_error lib stable 1.5.0 * str_parse_error2 lib stable 1.8.0 * str_replacen lib stable 1.16.0 * str_slice_mut lib stable 1.5.0 * str_split_at lib stable 1.4.0 * str_to_string_specialization lib stable 1.9.0 * string_as_str lib stable 1.7.0 * string_box_error lib stable 1.6.0 * string_from_box lib stable 1.18.0 * string_from_cow_str lib stable 1.14.0 * string_from_iter_by_ref lib stable 1.17.0 * string_retain lib stable 1.26.0 * string_split_off lib stable 1.16.0 * string_to_socket_addrs lib stable 1.16.0 * string_to_string_specialization lib stable 1.17.0 * stringaddassign lib stable 1.12.0 * strip_prefix lib stable 1.7.0 * struct_field_attributes lang stable 1.20.0 * struct_inherit lang removed 1.0.0 * struct_variant lang stable 1.0.0 * structural_match lang unstable 1.8.0 * swap_nonoverlapping lib stable 1.27.0 * swap_with_slice lib stable 1.27.0 * symlink lib stable 1.1.0 * symlink_metadata lib stable 1.1.0 * symmetric_u32_duration_mul lib stable 1.31.0 * sync_poison lib stable 1.2.0 * take_set_limit lib stable 1.27.0 * target_feature lang stable 1.27.0 * tbm_target_feature lang unstable 1.27.0 * tcpstream_connect_timeout lib stable 1.21.0 * termination_trait lang stable 1.26.0 * termination_trait_lib lib unstable None * termination_trait_test lang stable 1.27.0 * test lib unstable None * test_2018_feature lang unstable 1.31.0 * test_accepted_feature lang stable 1.0.0 * test_removed_feature lang removed 1.0.0 * thread_extensions lib stable 1.9.0 * thread_id lib stable 1.19.0 * thread_local lang unstable 1.0.0 * thread_local_internals lib unstable None * thread_local_try_with lib stable 1.26.0 * thread_sleep lib stable 1.4.0 * thread_spawn_unchecked lib unstable None * time lib stable 1.3.0 * time2 lib stable 1.8.0 * time_augmented_assignment lib stable 1.9.0 * time_checked_add lib stable 1.34.0 * todo_macro lib unstable None * token_stream_extend lib stable 1.30.0 * tool_attributes lang stable 1.30.0 * tool_lints lang stable 1.31.0 * toowned_clone_into lib unstable None * trace_macros lang unstable 1.0.0 * trait_alias lang unstable 1.24.0 * transpose_result lib stable 1.33.0 * trim_direction lib stable 1.30.0 * trivial_bounds lang unstable 1.28.0 * trusted_len lib unstable None * try_blocks lang unstable 1.29.0 * try_borrow lib stable 1.13.0 * try_from lib stable 1.34.0 * try_reserve lib unstable None * try_trait lib unstable None * tuple_indexing lang stable 1.0.0 * type_alias_enum_variants lang unstable 1.31.0 * type_ascription lang unstable 1.6.0 * type_macros lang stable 1.13.0 * udp_peer_addr lib unstable None * unboxed_closures lang unstable 1.0.0 * underscore_const_names lang unstable 1.31.0 * underscore_imports lang stable 1.33.0 * underscore_lifetimes lang stable 1.26.0 * unicode_case_mapping lib stable 1.2.0 * unicode_encode_char lib stable 1.15.0 * unicode_internals lib unstable None * unicode_version lib unstable None * uniform_paths lang stable 1.32.0 * unit_from_iter lib stable 1.23.0 * universal_impl_trait lang stable 1.26.0 * unix_ppid lib stable 1.27.0 * unix_socket lib stable 1.10.0 * unix_socket_redox lib stable 1.29 * unmarked_api lang removed 1.0.0 * unreachable lib stable 1.27.0 * unrestricted_attribute_tokens lang stable 1.34.0 * unsafe_cell_default lib stable 1.10.0 * unsafe_no_drop_flag lang removed 1.0.0 * unsize lib unstable None * unsized_locals lang unstable 1.30.0 * unsized_tuple_coercion lang unstable 1.20.0 * untagged_unions lang unstable 1.13.0 * unwind_attributes lang unstable 1.4.0 * unwind_safe_atomic_refs lib stable 1.14.0 * unwind_safe_lock_refs lib stable 1.12.0 * update_panic_count lib unstable None * use_extern_macros lang stable 1.30.0 * use_nested_groups lang stable 1.25.0 * used lang stable 1.30.0 * utf8_error lib stable 1.5.0 * utf8_error_error_len lib stable 1.20.0 * vec_as_mut lib stable 1.5.0 * vec_as_slice lib stable 1.7.0 * vec_deque_contains lib stable 1.12.0 * vec_deque_partial_eq_slice lib stable 1.17.0 * vec_deque_retain lib stable 1.4.0 * vec_drain_as_slice lib unstable None * vec_extend_from_slice lib stable 1.6.0 * vec_from_box lib stable 1.18.0 * vec_from_cow_slice lib stable 1.14.0 * vec_from_mut lib stable 1.19.0 * vec_into_iter_as_slice lib stable 1.15.0 * vec_into_iter_clone lib stable 1.8.0 * vec_intoiter_debug lib stable 1.13.0 * vec_remove_item lib unstable None * vec_resize lib stable 1.5.0 * vec_resize_default lib unstable None * vec_resize_with lib stable 1.33.0 * vec_splice lib stable 1.21.0 * vecdeque_rotate lib unstable None * vecdeque_vec_conversions lib stable 1.10.0 * visible_private_types lang removed 1.0.0 * volatile lib stable 1.9.0 * wait_timeout lib stable 1.5.0 * wait_timeout_until lib unstable None * wait_until lib unstable None * wasi_ext lib unstable None * wasm_target_feature lang unstable 1.30.0 * weak_counts lib unstable None * weak_ptr_eq lib unstable None * while_let lang stable 1.0.0 * windows_c lib unstable None * windows_file_type_ext lib unstable None * windows_handle lib unstable None * windows_net lib unstable None * windows_process_extensions lib stable 1.16.0 * windows_stdio lib unstable None * windows_subsystem lang stable 1.18.0 * wrapping lib stable 1.7.0 * wrapping_display lib stable 1.10.0 * wrapping_div lib stable 1.3.0 * wrapping_fmt lib stable 1.11.0 * wrapping_impls lib stable 1.7.0 * wrapping_int_impl lib unstable None * wrapping_iter_arith lib stable 1.14.0 * wrapping_neg lib stable 1.10.0 * wrapping_next_power_of_two lib unstable None * wrapping_ref lib stable 1.14.0 Building stage0 std artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.52s Copying stage0 std from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 test artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.49s Copying stage0 test from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 compiler artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.61s Copying stage0 rustc from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 codegen artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf, llvm) Finished release [optimized] target(s) in 0.50s Assembling stage1 compiler (armv7-unknown-linux-gnueabihf) Building stage1 std artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.52s Copying stage1 std from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 test artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.49s Copying stage1 test from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 compiler artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.61s Copying stage1 rustc from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 codegen artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf, llvm) Finished release [optimized] target(s) in 0.49s Assembling stage2 compiler (armv7-unknown-linux-gnueabihf) Uplifting stage1 std (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 std from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Uplifting stage1 test (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 test from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building test helpers running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv7-a" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/native/rust-test-helpers/rust_test_helpers.o" "-c" "/builddir/build/BUILD/rustc-1.35.0-src/src/test/auxiliary/rust_test_helpers.c" exit code: 0 running: "ar" "crs" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/native/rust-test-helpers/librust_test_helpers.a" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/native/rust-test-helpers/rust_test_helpers.o" exit code: 0 Building stage0 tool compiletest (armv7-unknown-linux-gnueabihf) Compiling failure_derive v0.1.5 Compiling diff v0.1.11 Compiling syn v0.15.22 Compiling env_logger v0.5.13 Compiling synstructure v0.10.1 Compiling serde_derive v1.0.81 Compiling failure v0.1.5 Compiling rustfix v0.4.4 Compiling compiletest v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/compiletest) error[E0560]: struct `test::TestOpts` has no field named `exclude_should_panic` --> src/tools/compiletest/src/main.rs:525:9 | 525 | exclude_should_panic: false, | ^^^^^^^^^^^^^^^^^^^^ `test::TestOpts` does not have this field | = note: available fields are: `list`, `filter`, `filter_exact`, `run_ignored`, `run_tests` ... and 8 others error: aborting due to previous error For more information about this error, try `rustc --explain E0560`. error: Could not compile `compiletest`. To learn more, run the command again with --verbose. command did not execute successfully: "/builddir/build/BUILD/rust-1.34.2-armv7-unknown-linux-gnueabihf/usr/bin/cargo" "build" "--target" "armv7-unknown-linux-gnueabihf" "-j" "4" "--release" "--frozen" "--manifest-path" "/builddir/build/BUILD/rustc-1.35.0-src/src/tools/compiletest/Cargo.toml" "--message-format" "json" expected success, got: exit code: 101 failed to run: /builddir/build/BUILD/rustc-1.35.0-src/build/bootstrap/debug/bootstrap test --no-fail-fast Build completed unsuccessfully in 0:01:33 + : + python2 ./x.py test --no-fail-fast cargo Finished dev [unoptimized] target(s) in 0.53s Building stage0 std artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.52s Copying stage0 std from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 test artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.49s Copying stage0 test from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 compiler artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.60s Copying stage0 rustc from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 codegen artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf, llvm) Finished release [optimized] target(s) in 0.49s Assembling stage1 compiler (armv7-unknown-linux-gnueabihf) Building stage1 std artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.51s Copying stage1 std from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 test artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.49s Copying stage1 test from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 compiler artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.61s Copying stage1 rustc from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 codegen artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf, llvm) Finished release [optimized] target(s) in 0.49s Assembling stage2 compiler (armv7-unknown-linux-gnueabihf) Uplifting stage1 std (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 std from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Uplifting stage1 test (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 test from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Uplifting stage1 rustc (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 rustc from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage2 tool cargo (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.62s Building rustdoc for stage2 (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.50s Compiling num-traits v0.2.6 Compiling bit-vec v0.5.0 Compiling bufstream v0.1.4 Compiling wait-timeout v0.1.5 Compiling bit-set v0.5.0 Compiling rusty-fork v0.2.1 Compiling proptest v0.9.2 Compiling cargo v0.36.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/cargo) warning: cannot borrow `*p` as mutable because it is also borrowed as immutable --> src/tools/cargo/tests/testsuite/support/mod.rs:794:17 | 793 | if let Some(cwd) = p.get_cwd() { | - immutable borrow occurs here 794 | p.cwd(cwd.join(path.as_ref())); | ^ --- immutable borrow later used here | | | mutable borrow occurs here | = note: #[warn(mutable_borrow_reservation_conflict)] on by default = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future = note: for more information, see issue #59159 Finished release [optimized] target(s) in 2m 36s Running build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/deps/cargo-79a1e3d36dfb7557 running 25 tests test core::package_id::tests::display ... ok test core::package_id::tests::debug ... ok test core::package_id::tests::invalid_version_handled_nicely ... ok test core::package_id_spec::tests::bad_parsing ... ok test sources::git::source::test::test_canonicalize_cannot_be_a_base_urls ... ok test core::package_id_spec::tests::matching ... ok test core::source::source_id::tests::github_sources_equal ... ok test sources::git::source::test::test_canonicalize_idents_by_stripping_dot_git ... ok test sources::git::source::test::test_canonicalize_idents_by_stripping_trailing_url_slash ... ok test sources::git::source::test::test_canonicalize_idents_different_protocols ... ok test sources::git::source::test::test_canonicalize_idents_by_lowercasing_github_urls ... ok test sources::git::source::test::test_url_to_path_ident_with_path ... ok test sources::git::source::test::test_url_to_path_ident_without_path ... ok test sources::registry::escaped_cher_in_json ... ok test sources::registry::index::no_hyphen ... ok test sources::registry::index::overflow_hyphen ... ok test util::dependency_queue::test::deep_first ... ok test sources::registry::index::two_hyphen ... ok test util::network::with_retry_repeats_the_call_then_works ... ok test util::progress::test_progress_status ... ok test util::progress::test_progress_status_percentage ... ok test util::progress::test_progress_status_too_short ... ok warning: spurious network error (2 tries remaining): failed to get 200 response from `Uri`, got 502 warning: spurious network error (1 tries remaining): failed to get 200 response from `Uri`, got 501 warning: spurious network error (2 tries remaining): A second chained error warning: spurious network error (1 tries remaining): A non-spurious wrapping err test util::network::with_retry_finds_nested_spurious_errors ... ok test core::package_id_spec::tests::good_parsing ... ok test util::lev_distance::test_lev_distance ... ok test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Running build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/deps/testsuite-7cf4f60d392a2dcd running 1554 tests test aaa_trigger_cross_compile_disabled_check ... ok test alt_registry::alt_reg_metadata ... ok test alt_registry::bad_registry_name ... ok test alt_registry::cannot_publish_to_crates_io_with_registry_dependency ... ok test alt_registry::block_publish_due_to_no_token ... ok test alt_registry::alt_registry_and_crates_io_deps ... ok test alt_registry::depend_on_alt_registry_depends_on_crates_io ... ok test alt_registry::depend_on_alt_registry_depends_on_same_registry ... ok test alt_registry::passwords_in_url_forbidden ... ok test alt_registry::depend_on_alt_registry ... ok test alt_registry::depend_on_alt_registry_depends_on_same_registry_no_index ... ok test alt_registry::no_api ... ok test alt_registry::patch_alt_reg ... ok test alt_registry::publish_to_alt_registry ... ok test alt_registry::registry_incompatible_with_git ... ok test alt_registry::publish_with_crates_io_dep ... ok test alt_registry::publish_with_registry_dependency ... ok test bad_config::ambiguous_git_reference ... ok test bad_config::bad2 ... ok test bad_config::bad3 ... ok test bad_config::bad1 ... ok test bad_config::bad4 ... ok test bad_config::bad_cargo_config_jobs ... ok test bad_config::bad6 ... ok test bad_config::bad_cargo_lock ... ok test bad_config::bad_debuginfo ... ok test bad_config::bad_dependency ... ok test alt_registry::registry_and_path_dep_works ... ok test bad_config::bad_crate_type ... ok test bad_config::bad_git_dependency ... ok test bad_config::bad_opt_level ... ok test bad_config::bad_source_config1 ... ok test bad_config::bad_source_config2 ... ok test bad_config::bad_source_config3 ... ok test bad_config::bad_source_config4 ... ok test bad_config::bad_source_config5 ... ok test bad_config::bad_source_config6 ... ok test bad_config::bad_source_config7 ... ok test bad_config::bad_dependency_in_lockfile ... ok test bad_config::bad_source_in_cargo_lock ... ok test bad_config::both_git_and_path_specified ... ok test bad_config::duplicate_bench_names ... ok test bad_config::duplicate_binary_names ... ok test bad_config::duplicate_deps ... ok test bad_config::duplicate_deps_diff_sources ... ok test bad_config::duplicate_example_names ... ok test bad_config::duplicate_packages_in_cargo_lock ... ok test bad_config::default_cargo_config_jobs ... ok test alt_registry::unknown_registry ... ok test bad_config::ignored_git_revision ... ok test bad_config::invalid_global_config ... ok test bad_config::malformed_override ... ok test bad_config::good_cargo_config_jobs ... ok test bad_config::unused_keys_in_virtual_manifest ... ok test bad_config::empty_dependencies ... ok test bad_manifest_path::bench_dir_containing_cargo_toml ... ok test bad_manifest_path::bench_dir_plus_file ... ok test bad_manifest_path::bench_dir_plus_path ... ok test bad_manifest_path::bench_dir_to_nonexistent_cargo_toml ... ok test bad_config::invalid_toml_historically_allowed_is_warned ... ok test bad_manifest_path::build_dir_containing_cargo_toml ... ok test bad_manifest_path::build_dir_plus_file ... ok test bad_manifest_path::build_dir_plus_path ... ok test bad_manifest_path::build_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::clean_dir_containing_cargo_toml ... ok test bad_manifest_path::clean_dir_plus_file ... ok test bad_manifest_path::clean_dir_plus_path ... ok test bad_manifest_path::clean_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::doc_dir_containing_cargo_toml ... ok test bad_manifest_path::doc_dir_plus_file ... ok test bad_manifest_path::doc_dir_plus_path ... ok test bad_manifest_path::doc_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::fetch_dir_containing_cargo_toml ... ok test bad_manifest_path::fetch_dir_plus_file ... ok test bad_manifest_path::fetch_dir_plus_path ... ok test bad_manifest_path::fetch_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::generate_lockfile_dir_containing_cargo_toml ... ok test bad_manifest_path::generate_lockfile_dir_plus_file ... ok test bad_config::warn_semver_metadata ... ok test bad_manifest_path::generate_lockfile_dir_plus_path ... ok test bad_manifest_path::generate_lockfile_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::package_dir_containing_cargo_toml ... ok test bad_manifest_path::package_dir_plus_file ... ok test bad_manifest_path::package_dir_plus_path ... ok test bad_manifest_path::package_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::pkgid_dir_containing_cargo_toml ... ok test bad_manifest_path::pkgid_dir_plus_file ... ok test bad_manifest_path::pkgid_dir_plus_path ... ok test bad_manifest_path::pkgid_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::publish_dir_containing_cargo_toml ... ok test bad_manifest_path::publish_dir_plus_file ... ok test bad_manifest_path::publish_dir_plus_path ... ok test bad_manifest_path::publish_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::read_manifest_dir_containing_cargo_toml ... ok test bad_manifest_path::read_manifest_dir_plus_file ... ok test bad_manifest_path::read_manifest_dir_plus_path ... ok test bad_manifest_path::run_dir_containing_cargo_toml ... ok test bad_manifest_path::read_manifest_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::run_dir_plus_file ... ok test bad_manifest_path::run_dir_plus_path ... ok test bad_manifest_path::run_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::rustc_dir_containing_cargo_toml ... ok test bad_manifest_path::rustc_dir_plus_file ... ok test bad_manifest_path::rustc_dir_plus_path ... ok test bad_manifest_path::rustc_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::test_dir_containing_cargo_toml ... ok test bad_manifest_path::test_dir_plus_file ... ok test bad_manifest_path::test_dir_plus_path ... ok test bad_manifest_path::test_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::update_dir_containing_cargo_toml ... ok test bad_manifest_path::update_dir_plus_file ... ok test bad_manifest_path::update_dir_plus_path ... ok test bad_manifest_path::update_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::verify_project_dir_containing_cargo_toml ... ok test bad_manifest_path::verify_project_dir_plus_file ... ok test bad_manifest_path::verify_project_dir_plus_path ... ok test bad_manifest_path::verify_project_dir_to_nonexistent_cargo_toml ... ok test bench::bench_all_exclude ... ok test bench::bench_all_virtual_manifest ... ok test bench::bench_all_workspace ... ok test bench::bench_bench_implicit ... ok test bench::bench_autodiscover_2015 ... ok test bench::bench_bin_implicit ... ok test bad_config::unused_keys ... ok test bench::bench_multiple_targets ... ok test bench::bench_dylib ... ok test bench::bench_tarname ... ok test bench::bench_twice_with_build_cmd ... ok test bench::bench_virtual_manifest_all_implied ... ok test bench::bench_with_deep_lib_dep ... ok test bench::bench_with_examples ... ok test bench::bench_with_lib_dep ... ok test bench::cargo_bench_failing_test ... ok test bench::cargo_bench_simple ... ok test bench::cargo_bench_twice ... ok test bench::cargo_bench_verbose ... ok test bench::dont_run_examples ... ok test bench::external_bench_explicit ... ok test bench::external_bench_implicit ... ok test bench::json_artifact_includes_executable_for_benchmark ... ok test bench::legacy_bench_name ... ok test bench::lib_bin_same_name ... ok test bench::lib_with_standard_name ... ok test bench::lib_with_standard_name2 ... ok test bench::many_similar_names ... ok test bench::pass_through_command_line ... ok test bench::test_a_bench ... ok test bench::test_bench_multiple_packages ... ok test bench::test_bench_no_fail_fast ... ok test bench::test_bench_no_run ... ok test build::bad_cargo_config ... ok test build::bad_platform_specific_dependency ... ok test build::bad_cargo_toml_in_target_dir ... ok test build::all_targets_no_lib ... ok test build::avoid_dev_deps ... ok test build::build_all_exclude ... ok test build::build_all_virtual_manifest ... ok test build::build_all_member_dependency_same_name ... ok test build::build_all_virtual_manifest_implicit_examples ... ok test build::build_all_workspace ... ok test build::build_all_workspace_implicit_examples ... ok test build::build_virtual_manifest_all_implied ... ok test build::build_virtual_manifest_one_project ... ok test build::build_multiple_packages ... ok test build::cargo_build_empty_target ... ok test build::building_a_dependent_crate_witout_bin_should_fail ... ok test build::build_with_fake_libc_not_loading ... ok test build::cargo_compile_duplicate_build_targets ... ok test build::cargo_compile_manifest_path ... ok test build::cargo_compile_offline_not_try_update ... ok test build::cargo_compile_incremental ... ok test build::cargo_compile_with_bin_and_crate_type ... ok test build::cargo_compile_with_bin_and_proc ... ok test build::cargo_compile_with_dep_name_mismatch ... ok test build::cargo_compile_path_with_offline ... ok test build::cargo_compile_with_empty_package_name ... ok test build::build_filter_infer_profile ... ok test build::cargo_compile_with_forbidden_bin_target_name ... ok test build::cargo_compile_with_filename ... ok test build::cargo_compile_with_invalid_bin_target_name ... ok test build::cargo_compile_simple ... ok test build::cargo_compile_with_invalid_lib_target_name ... ok test build::cargo_compile_with_invalid_manifest ... ok test build::cargo_compile_with_invalid_manifest2 ... ok test build::cargo_compile_with_invalid_manifest3 ... ok test build::cargo_compile_with_invalid_code ... ok test build::cargo_compile_with_invalid_non_numeric_dep_version ... ok test build::cargo_compile_with_invalid_package_name ... ok test build::cargo_compile_with_invalid_code_in_deps ... ok test build::cargo_compile_with_invalid_version ... ok test build::cargo_compile_with_downloaded_dependency_with_offline ... ok test build::cargo_compile_with_nested_deps_inferred ... ok test build::cargo_compile_with_nested_deps_longhand ... ok test build::cargo_compile_with_nested_deps_correct_bin ... ok test build::cargo_compile_with_workspace_excluded ... ok test build::cargo_compile_without_manifest ... ok test build::cargo_compile_with_nested_deps_shorthand ... ok test build::cargo_fail_with_no_stderr ... ok test build::cargo_compile_with_warnings_in_the_root_package ... ok test build::cargo_compile_with_warnings_in_a_dep_package ... ok test build::cargo_default_env_metadata_env_var ... ok test build::cargo_platform_specific_dependency_wrong_platform ... ok test build::cdylib_final_outputs ... ok test build::compile_offline_while_transitive_dep_not_cached ... ok test build::cdylib_not_lifted ... ok test build::compile_path_dep_then_change_version ... ok test build::compile_then_delete ... ok test build::cargo_platform_specific_dependency ... ok test build::compile_offline_without_maxvers_cached ... ok test build::compiler_json_error_format ... ok test build::crate_library_path_env_var ... ok test build::crate_authors_env_vars ... ok test build::cyclic_deps_rejected ... ok test build::dashes_in_crate_name_bad ... ok test build::crate_env_vars ... ok test build::dashes_to_underscores ... ok test build::dep_no_libs ... ok test build::deletion_causes_failure ... ok test build::custom_target_dir_env ... ok test build::dotdir_root ... ok test build::deterministic_cfg_flags ... ok test build::example_as_lib ... ok test build::custom_target_dir_line_parameter ... ok test build::example_as_dylib ... ok test build::example_as_rlib ... ok test build::example_as_proc_macro ... ok test build::example_bin_same_name ... ok test build::explicit_bins_without_paths ... ok test build::explicit_color_config_is_propagated_to_rustc ... ok test build::filtering ... ok test build::explicit_examples ... ok test build::filtering_implicit_bins ... ok test build::filtering_implicit_examples ... ok test build::ignore_bad_directories ... ok test build::ignore_broken_symlinks ... ok test build::freshness_ignores_excluded ... ok test build::ignore_dotdirs ... ok test build::ignore_dotfile ... ok test build::incompatible_dependencies ... ok test build::incompatible_dependencies_with_multi_semver ... ok test build::ignores_carriage_return_in_lockfile ... ok test build::implicit_examples ... ok test build::inferred_bin_path ... ok test build::incremental_config ... ok test build::inferred_benchmarks ... ok test build::inferred_bins_duplicate_name ... ok test build::inferred_bins ... ok test build::inferred_examples ... ok test build::inferred_main_bin ... ok test build::invalid_jobs ... ok test build::invalid_spec ... ok test build::incremental_profile ... ok test build::inferred_tests ... ok test build::lib_with_standard_name ... ok test build::json_parse_fail ... ok test build::manifest_with_bom_is_ok ... ok test build::many_crate_types_correct ... ok test build::many_crate_types_old_style_lib_location ... ok test build::legacy_binary_paths_warnings ... ok test build::missing_lib_and_bin ... ok test build::no_bin_in_src_with_lib ... ok test build::no_warn_about_package_metadata ... ok test build::non_existing_binary ... ok test build::non_existing_example ... ok test build::message_format_json_forward_stderr ... ok test build::no_linkable_target ... ok test build::opt_out_of_bin ... ok test build::offline_missing_optional ... ok test build::offline_unused_target_dep ... ok test build::panic_abort_compiles_with_panic_abort ... ok test build::recompile_space_in_name ... ok test build::predictable_filenames ... ok test build::lto_build ... ok test build::release_build_ndebug ... ok test build::rebuild_preserves_out_dir ... ok test build::run_proper_alias_binary_from_src ... ok test build::run_proper_alias_binary_main_rs ... ok test build::rustc_env_var ... ok test build::rustc_wrapper ... ok test build::run_proper_binary ... ok test build::run_proper_binary_main_rs ... ok test build::rustc_wrapper_from_path ... ok test build::rustc_wrapper_relative ... ok test build::self_dependency ... ok test build::run_proper_binary_main_rs_as_foo ... ok test build::single_lib ... ok test build::simple_staticlib ... ok test build::signal_display ... ok test build::standard_build_no_ndebug ... ok test build::staticlib_rlib_and_bin ... ok test build::target_edition ... ok test build::target_filters_workspace_not_found ... ok test build::same_metadata_different_directory ... ok test build::target_edition_override ... ok test build::targets_selected_default ... ok test build::uplift_dsym_of_bin_on_mac ... ok test build::uplift_pdb_of_bin_on_windows ... ok test build::transitive_dependencies_not_available ... ok test build::targets_selected_all ... ok test build::target_filters_workspace ... ok test build::verbose_build ... ok test build::wrong_message_format_option ... ok test build::verbose_release_build ... ok test build_auth::https_something_happens ... ok test build_auth::ssh_something_happens ... ok test build::verbose_release_build_deps ... ok test build_lib::build_with_no_lib ... ok test build_lib::build_lib_only ... ok test build::vv_prints_rustc_env_vars ... ok test build_plan::build_plan_with_dev_dep ... ok test build_plan::cargo_build_plan_build_script ... ok test build_auth::http_auth_offered ... ok test build_plan::cargo_build_plan_simple ... ok test build_plan::cargo_build_plan_single_dep ... ok test build_lib::build_with_relative_cargo_home_path ... ok test build_script::adding_an_override_invalidates ... ok test build_script::build_deps_not_for_normal ... ok test build_script::build_script_only ... ok test build_script::assume_build_script_when_build_rs_present ... ok test build_script::build_cmd_with_a_build_cmd ... ok test build_script::build_deps_simple ... ok test build_script::build_script_with_lto ... ok test build_script::cfg_env_vars_available ... ok test build_script::cfg_feedback ... ok test build_script::build_script_with_dynamic_native_dependency ... ok test build_script::cfg_override ... ok test build_script::cfg_override_test ... ok test build_script::changing_an_override_invalidates ... ok test build_script::cfg_test ... ok test build_script::custom_build_env_var_rustc_linker ... ok test build_script::custom_build_env_vars ... ok test build_script::cfg_doc ... ok test build_script::code_generation ... ok test build_script::custom_build_script_failed ... ok test build_script::custom_build_script_wrong_rustc_flags ... ok test build_script::custom_target_dir ... ok test build_script::cfg_override_doc ... ok test build_script::deterministic_rustc_dependency_flags ... ok test build_script::diamond_passes_args_only_once ... ok test build_script::env_build ... ok test build_script::doctest_receives_build_link_args ... ok test build_script::fresh_builds_possible_with_link_libs ... ok test build_script::fresh_builds_possible_with_multiple_metadata_overrides ... ok test build_script::env_test ... ok test build_script::links_duplicates ... ok test build_script::links_duplicates_deep_dependency ... ok test build_script::links_duplicates_with_cycle ... ok test build_script::if_build_set_to_false_dont_treat_build_rs_as_build_script ... ok test build_script::links_no_build_cmd ... ok test build_script::links_with_dots ... ok test build_script::flags_go_into_tests ... ok test build_script::links_passes_env_vars ... ok test build_script::env_doc ... ok test build_script::only_rerun_build_script ... ok test build_script::non_utf8_output ... ok test build_script::output_separate_lines ... ok test build_script::out_dir_is_preserved ... ok test build_script::optional_build_dep_and_required_normal_dep ... ok test build_script::output_separate_lines_new ... ok test build_script::optional_build_script_dep ... ok test build_script::output_shows_on_vv ... ok test build_script::overrides_and_links ... ok test build_script::please_respect_the_dag ... ok test build_script::profile_and_opt_level_set_correctly ... ok test build_script::profile_debug_0 ... ok test build_script::propagation_of_l_flags ... ok test build_script::panic_abort_with_build_scripts ... ok test build_script::propagation_of_l_flags_new ... ok test build_script::rebuild_continues_to_pass_env_vars ... ok test build_script::rename_with_link_search_path_cross ... ok test build_script::release_with_build_script ... ok test build_script::rustc_and_rustdoc_set_correctly ... ok test build_script::rename_with_link_search_path ... ok test build_script::shared_dep_with_a_build_script ... ok test build_script::rebuild_only_on_explicit_paths ... ok test build_script::test_dev_dep_build_script ... ok test build_script::test_a_lib_with_a_build_command ... ok test build_script::switch_features_rerun ... ok test build_script::test_duplicate_deps ... ok test build_script::unused_overrides ... ok test build_script::warnings_emitted ... ok test build_script::transitive_dep_host ... ok test build_script::warnings_hidden_for_upstream ... ok test build_script::warnings_printed_on_vv ... ok test cargo_alias_config::alias_cannot_shadow_builtin_command ... ok test cargo_alias_config::alias_config ... ok test cargo_alias_config::alias_incorrect_config_type ... ok test build_script_env::rerun_if_env_changes ... ok test cargo_alias_config::alias_list_test ... ok test build_script::testing_and_such ... ok test cargo_alias_config::alias_override_builtin_alias ... ok test build_script_env::rerun_if_env_or_file_changes ... ok test cargo_alias_config::alias_with_flags_config ... ok test cargo_command::cargo_help ... ok test cargo_alias_config::recursive_alias ... ok test cargo_alias_config::builtin_alias_takes_options ... ok test cargo_command::displays_subcommand_on_error ... ok test cargo_command::explain ... ok test cargo_command::cargo_help_external_subcommand ... ok test cargo_command::find_closest_dont_correct_nonsense ... ok test cargo_command::list_command_looks_at_path ... ok test cargo_command::list_command_resolves_symlinks ... ok test cargo_command::cargo_subcommand_env ... ok test cargo_command::list_commands_with_descriptions ... ok test cargo_command::z_flags_help ... ok test cargo_command::cargo_subcommand_args ... ok test cargo_command::override_cargo_home ... ok test cargo_features::feature_required ... ok test cargo_features::nightly_feature_requires_nightly ... ok test cargo_features::cant_publish ... ok test cargo_command::find_closest_biuld_to_build ... ok test cargo_features::unknown_feature ... ok test cargo_features::nightly_feature_requires_nightly_in_dep ... ok test cargo_features::stable_feature_warns ... ok test cfg::bad_target_spec ... ok test cargo_features::publish_allowed ... ok test cfg::bad_target_spec2 ... ok test cfg::cfg_expr ... ok test cfg::cfg_expr_bad ... ok test cfg::cfg_matches ... ok test cfg::cfg_syntax ... ok test cfg::cfg_syntax_bad ... ok test cargo_features::z_flags_rejected ... ok test cfg::any_ok ... ok test cfg::dont_include ... ok test cfg::cfg_easy ... ok test cfg::ignore_version_from_other_platform ... ok test cfg::multiple_match_ok ... ok test cfg::works_through_the_registry ... ok test check::check_all ... ok test check::build_check ... ok test check::check_fail ... ok test check::check_build ... ok test check::check_success ... ok test check::check_virtual_all_implied ... ok test check::check_unit_test_profile ... ok test check::does_not_use_empty_rustc_wrapper ... ok test check::check_artifacts ... ok test check::custom_derive ... ok test check::check_filters ... ok test check::exclude_warns_on_non_existing_package ... ok test check::dylib_check_preserves_build_cache ... ok test check::issue_3418 ... ok test check::error_from_deep_recursion ... ok test check::issue_3419 ... ok test check::rustc_check ... ok test check::rustc_check_err ... ok test check::short_message_format ... ok test check::proc_macro ... ok test check::targets_selected_default ... ok test check::targets_selected_all ... ok test clean::cargo_clean_simple ... ok test clean::clean_multiple_packages ... ok test clean::clean_git ... ok test clean::build_script ... ok test clean::clean_verbose ... ok test clean::different_dir ... ok test clean::clean_release ... ok test collisions::collision_dylib ... ok test collisions::collision_example ... ok test collisions::collision_export ... ok test clean::registry ... ok test concurrent::concurrent_installs ... ok test clean::clean_doc ... ok test concurrent::git_same_repo_different_tags ... ok test concurrent::debug_release_ok ... ok test concurrent::git_same_branch_different_revs ... ok test concurrent::multiple_installs ... ok test concurrent::killing_cargo_releases_the_lock ... ok test concurrent::no_deadlock_with_git_dependencies ... ok test config::config_bad_toml ... ok test config::config_deserialize_any ... ok test config::config_get_integers ... ok test config::config_get_list ... ok test config::config_get_option ... ok test config::config_get_other_types ... ok test config::config_load_toml_profile ... ok test config::config_relative_path ... ok test config::config_toml_errors ... ok test config::config_unused_fields ... ok test config::get_config ... ok test config::get_errors ... ok test config::load_nested ... ok test concurrent::one_install_should_be_bad ... ok test concurrent::multiple_registry_fetches ... ok test concurrent::same_project ... ok test cross_compile::build_deps_for_the_right_arch ... ok test cross_compile::build_script_needed_for_host_and_target ... ok test cross_compile::build_script_only_host ... ok test cross_compile::build_script_with_platform_specific_dependencies ... ok test cross_compile::cross_test_dylib ... ok test cross_compile::cross_tests ... ok test cross_compile::cross_with_a_build_script ... ok test cross_compile::linker_and_ar ... ok test cross_compile::no_cross_doctests ... ok test cross_compile::platform_specific_dependencies_do_not_leak ... ok test cross_compile::platform_specific_variables_reflected_in_build_scripts ... ok test cross_compile::plugin_build_script_right_arch ... ok test cross_compile::plugin_deps ... ok test cross_compile::plugin_to_the_max ... ok test cross_compile::plugin_with_extra_dylib_dep ... ok test cross_compile::simple_cargo_run ... ok test cross_compile::simple_cross ... ok test cross_compile::simple_cross_config ... ok test cross_compile::simple_deps ... ok test cross_publish::publish_with_target ... ok test cross_publish::simple_cross_package ... ok test custom_target::custom_target_dependency ... ok test custom_target::custom_target_minimal ... ok test corrupt_git::deleting_database_files ... ok test config::read_env_vars_for_config ... ok test corrupt_git::deleting_checkout_files ... ok test death::ctrl_c_kills_everyone ... ok test dep_info::build_dep_info ... ok test dep_info::build_dep_info_dylib ... ok test dep_info::no_rewrite_if_no_change ... ok test dep_info::build_dep_info_rlib ... ok test dep_info::build_dep_info_lib ... ok test directory::bad_file_checksum ... ok test directory::git_override_requires_lockfile ... ok test directory::crates_io_then_bad_checksum ... ok test directory::crates_io_then_directory ... ok test directory::not_there ... ok test directory::git_lock_file_doesnt_change ... ok test directory::multiple ... ok test directory::install_without_feature_dep ... ok test directory::only_dot_files_ok ... ok test directory::simple_install_fail ... ok test directory::version_missing ... ok test directory::random_files_ok ... ok test directory::simple ... ok test directory::simple_install ... ok test directory::workspace_different_locations ... ok test doc::doc_cap_lints ... ok test doc::doc_all_virtual_manifest ... ok test doc::doc_all_member_dependency_same_name ... ok test doc::doc_all_workspace ... ok test doc::doc_dash_p ... ok test doc::doc_deps ... ok test doc::doc_lib_bin_same_name_documents_bins_when_requested ... ok test doc::doc_edition ... ok test doc::doc_message_format ... ok test doc::doc_lib_bin_same_name_documents_lib ... ok test doc::doc_lib_bin_same_name_documents_lib_when_requested ... ok test doc::doc_multiple_targets_same_name_bin ... ok test doc::doc_multiple_targets_same_name_lib ... ok test doc::doc_multiple_deps ... ok test doc::doc_lib_bin_same_name_documents_named_bin_when_requested ... ok test doc::doc_multiple_targets_same_name ... ok test doc::doc_no_libs ... ok test doc::doc_multiple_targets_same_name_undoced ... ok test doc::doc_no_deps ... ok test doc::doc_private_items ... ok test doc::doc_private_ws ... ok test doc::doc_only_bin ... ok test doc::doc_release ... ok test doc::doc_target ... ok test doc::doc_same_name ... ok test doc::doc_twice ... ok test doc::doc_virtual_manifest_all_implied ... ok test doc::doc_target_edition ... ok test doc::doc_workspace_open_binary ... ok test doc::doc_workspace_open_binary_and_library ... ok test doc::doc_workspace_open_different_library_and_package_names ... ok test doc::doc_workspace_open_help_message ... ok test doc::document_only_lib ... ok test doc::no_document_build_deps ... ok test doc::issue_5345 ... ok test doc::features ... ok test doc::short_message_format ... ok test doc::plugins_no_use_target ... ok test doc::output_not_captured ... ok test doc::simple ... ok test doc::target_specific_not_documented ... ok test edition::edition_works_for_build_script ... ok test features::activating_feature_activates_dep ... ok test features::all_features_all_crates ... ok test features::all_features_flag_enables_all_features ... ok test features::cyclic_feature ... ok test doc::rerun_when_dir_removed ... ok test features::combining_features_and_package ... ok test features::cyclic_feature2 ... ok test doc::target_specific_documented ... ok test features::everything_in_the_lockfile ... ok test features::empty_features ... ok test features::default_feature_pulled_in ... ok test features::invalid1 ... ok test features::dep_feature_in_cmd_line ... ok test features::invalid2 ... ok test features::invalid3 ... ok test features::invalid4 ... ok test features::invalid5 ... ok test features::invalid6 ... ok test features::invalid7 ... ok test features::feature_off_dylib ... ok test features::invalid8 ... ok test features::groups_on_groups_on_groups ... ok test features::invalid10 ... ok test features::invalid9 ... ok test features::many_cli_features ... ok test features::many_cli_features_comma_and_space_delimited ... ok test features::namespaced_implicit_non_optional ... ok test features::namespaced_invalid_dependency ... ok test features::namespaced_invalid_feature ... ok test features::many_cli_features_comma_delimited ... ok test features::namespaced_non_optional_dependency ... ok test features::namespaced_shadowed_dep ... ok test features::namespaced_shadowed_non_optional ... ok test features::namespaced_implicit_feature ... ok test features::many_features_no_rebuilds ... ok test features::no_transitive_dep_feature_requirement ... ok test features::namespaced_same_name ... ok test features::no_rebuild_when_frobbing_default_feature ... ok test features::optional_and_dev_dep ... ok test features::only_dep_is_optional ... ok test features::no_feature_doesnt_build ... ok test features::transitive_features ... ok test fetch::fetch_all_platform_dependencies_when_no_target_is_given ... ok test fetch::fetch_platform_specific_dependencies ... ok test features::unions_work_with_no_default_features ... ok test fix::both_edition_migrate_flags ... ok test fetch::no_deps ... ok test features::union_features ... ok test features::warn_if_default_features ... ok test fix::do_not_fix_non_relevant_deps ... ok test fix::does_not_crash_with_rustc_wrapper ... ok test fix::do_not_fix_broken_builds ... ok test fix::does_not_warn_about_clean_working_directory ... ok test fix::does_not_warn_about_dirty_ignored_files ... ok test fix::fix_broken_if_requested ... ok test fix::doesnt_rebuild_dependencies ... ok test fix::fix_all_targets_by_default ... ok test fix::broken_fixes_backed_out ... ok test fix::fix_deny_warnings ... ok test fix::fix_deny_warnings_but_not_others ... ok test fix::fix_idioms ... ok test fix::fix_overlapping ... ok test fix::fix_features ... ok test fix::fix_in_existing_repo_weird_ignore ... ok test fix::fix_path_deps ... ok test fix::fix_two_files ... ok test fix::fix_with_common ... ok test fix::fixes_extra_mut ... ok test fix::fixes_two_missing_ampersands ... ok test fix::idioms_2015_ok ... ok test fix::fix_to_broken_code ... ok test fix::local_paths ... ok test fix::no_changes_necessary ... ok test fix::prepare_for_and_enable ... ok test fix::only_warn_for_relevant_crates ... ok test fix::prepare_for_2018 ... ok test fix::preserve_line_endings ... ok test fix::shows_warnings ... ok test fix::shows_warnings_on_second_run_without_changes ... ok test fix::specify_rustflags ... ok test fix::fixes_missing_ampersand ... ok test fix::tricky ... ok test fix::upgrade_extern_crate ... ok test fix::warns_about_dirty_working_directory ... ok test fix::warns_about_staged_working_directory ... ok test fix::warns_if_no_vcs_detected ... ok test fix::shows_warnings_on_second_run_without_changes_on_multiple_targets ... ok test freshness::bust_patched_dep ... ok test freshness::change_panic_mode ... ok test freshness::changing_lib_features_caches_targets ... ok test freshness::changing_bin_features_caches_targets ... ok test freshness::changing_profiles_caches_targets ... ok test freshness::changing_rustflags_is_cached ... ok test freshness::edition_change_invalidates ... ok test freshness::dont_rebuild_based_on_plugins ... ok test freshness::fingerprint_cleaner_does_not_rebuild ... ok test freshness::metadata_change_invalidates ... ok test freshness::dirty_both_lib_and_test ... ok test freshness::changing_bin_paths_common_target_features_caches_targets ... ok test freshness::no_rebuild_if_build_artifacts_move_backwards_in_time ... ok test freshness::no_rebuild_when_rename_dir ... ok test freshness::modifying_and_moving ... ok test freshness::no_rebuild_transitive_target_deps ... ok test freshness::path_dev_dep_registry_updates ... ok test freshness::rebuild_if_build_artifacts_move_forward_in_time ... ok test freshness::modify_only_some_files ... ok test freshness::rebuild_if_environment_changes ... ok test freshness::rebuild_sub_package_then_while_package ... ok test freshness::rerun_if_changed_in_dep ... ok test freshness::rebuild_on_mid_build_file_modification ... ok test freshness::reuse_panic_build_dep_test ... ok test freshness::reuse_panic_pm ... ok test freshness::rebuild_tests_if_lib_changes ... ok test freshness::reuse_shared_build_dep ... ok test freshness::same_build_dir_cached_packages ... ok test freshness::reuse_workspace_lib ... ok test freshness::simple_deps_cleaner_does_not_rebuild ... ok test freshness::unused_optional_dep ... ok test generate_lockfile::adding_and_removing_packages ... ok test generate_lockfile::cargo_update_generate_lockfile ... ok test generate_lockfile::duplicate_entries_in_lockfile ... ok test generate_lockfile::no_index_update ... ok test freshness::script_fails_stay_dirty ... ok test generate_lockfile::preserve_line_endings_issue_2076 ... ok test git::cargo_compile_forbird_git_httpsrepo_offline ... ok test freshness::simulated_docker_deps_stay_cached ... ok test generate_lockfile::preserve_metadata ... ok test git::add_a_git_dep ... ok test git::cargo_compile_git_dep_branch ... ok test git::cargo_compile_git_dep_tag ... ok test git::cargo_compile_simple_git_dep ... ok test git::cargo_compile_with_malformed_nested_paths ... ok test git::cargo_compile_with_short_ssh_git ... ok test git::cargo_compile_with_meta_package ... ok test git::dep_with_bad_submodule ... ok test git::denied_lints_are_allowed ... ok test git::cargo_compile_with_nested_paths ... ok test git::dep_with_submodule ... ok test git::cargo_compile_offline_with_cached_git_dep ... ok test git::dev_deps_with_testing ... ok test git::doctest_same_name ... ok test git::failed_submodule_checkout ... ok test git::dont_require_submodules_are_checked_out ... ok test git::fetch_downloads ... ok test git::dep_with_changed_submodule ... ok test git::git_name_not_always_needed ... ok test git::git_with_cli_force ... ok test git::include_overrides_gitignore ... ignored test git::invalid_git_dependency_manifest ... ok test git::lints_are_suppressed ... ok test git::git_build_cmd_freshness ... ok test git::git_dep_build_cmd ... ok test git::git_repo_changing_no_rebuild ... ok test git::recompilation ... ok test git::switch_deps_does_not_update_transitive ... ok test git::switch_sources ... ok test git::stale_cached_version ... ok test git::two_at_rev_instead_of_tag ... ok test git::update_ambiguous ... ok test git::update_one_dep_in_repo_with_many_deps ... ok test git::templatedir_doesnt_cause_problems ... ok test git::two_deps_only_update_one ... ok test git::use_the_cli ... ok test git::two_revs_same_deps ... ok test init::auto_git ... ok test init::bin_already_exists_explicit ... ok test init::bin_already_exists_explicit_nosrc ... ok test init::bin_already_exists_implicit ... ok test init::bin_already_exists_implicit_namenosrc ... ok test init::bin_already_exists_implicit_namesrc ... ok test init::bin_already_exists_implicit_nosrc ... ok test init::both_lib_and_bin ... ok test init::cargo_lock_gitignored_if_lib1 ... ok test init::cargo_lock_gitignored_if_lib2 ... ok test init::cargo_lock_not_gitignored_if_bin1 ... ok test init::cargo_lock_not_gitignored_if_bin2 ... ok test init::confused_by_multiple_lib_files ... ok test init::git_autodetect ... ok test init::gitignore_added_newline_in_existing ... ok test init::gitignore_appended_not_replaced ... ok test git::update_one_source_updates_all_packages_in_that_git_source ... ok test init::invalid_dir_name ... ok test init::gitignore_no_newline_in_new ... ok test init::lib_already_exists_nosrc ... ok test init::lib_already_exists_src ... ok test init::mercurial_added_newline_in_existing ... ok test init::mercurial_autodetect ... ok test init::mercurial_no_newline_in_new ... ok test init::multibin_project_name_clash ... ok test init::no_filename ... ok test init::reserved_name ... ok test init::simple_git ... ok test git::warnings_in_git_dep ... ok test init::simple_git_ignore_exists ... ok test init::simple_lib ... ok test init::terminating_newline_in_existing_git_ignore ... ok test init::terminating_newline_in_existing_mercurial_ignore ... ok test init::terminating_newline_in_new_mercurial_ignore ... ok test init::terminating_newline_in_new_git_ignore ... ok test init::unknown_flags ... ok test init::with_argument ... ok test install::bad_version ... ok test install::bad_paths ... ok test init::simple_bin ... ok test install::compile_failure ... ok test install::dev_dependencies_no_check ... ok test git::update_with_shared_deps ... ok test install::dev_dependencies_lock_file_untouched ... ok test install::custom_target_dir_for_git_source ... ok test install::do_not_rebuilds_on_local_install ... ok test install::examples ... ok test install::install_empty_argument ... ok test install::git_repo ... ok test install::git_with_lockfile ... ok test install::git_repo_replace ... ok test install::install_global_cargo_config ... ok test install::install_force_bin ... ok test install::install_force ... ok test install::install_force_partial_overlap ... ok test install::install_ignores_local_cargo_config ... ok test install::install_path_config ... ok test install::install_target_foreign ... ok test install::install_path ... ok test install::install_twice ... ok test install::install_target_native ... ok test install::install_respects_lock_file ... ok test install::installs_from_cwd_with_2018_warnings ... ok test install::installs_beta_version_by_explicit_name_from_git ... ok test install::installs_from_cwd_by_default ... ok test install::legacy_version_requirement ... ok test install::list_error ... ok test install::install_location_precedence ... ok test install::missing ... ok test install::lock_file_path_deps_ok ... ok test install::multiple_crates_error ... ok test install::list ... ok test install::multiple_crates_auto_binaries ... ok test install::multiple_crates_auto_examples ... ok test install::no_binaries ... ok test install::no_binaries_or_examples ... ok test install::not_both_vers_and_version ... ok test install::multiple_crates_git_all ... ok test install::pick_max_version ... ok test install::multiple_crates_select ... ok test install::q_silences_warnings ... ok test install::multiple_pkgs ... ok test install::readonly_dir ... ok test install::test_install_git_cannot_be_a_base_url ... ok test install::reports_unsuccessful_subcommand_result ... ok test install::subcommand_works_out_of_the_box ... ok test install::uninstall_cwd_no_project ... ok test install::simple ... ok test install::uninstall_cwd_not_installed ... ok test install::uninstall_multiple_and_specifying_bin ... ok test install::uninstall_bin_does_not_exist ... ok test install::uninstall_pkg_does_not_exist ... ok test install::uninstall_cwd ... ok test install::uninstall_piecemeal ... ok test install::uninstall_multiple_and_some_pkg_does_not_exist ... ok test install::vers_precise ... ok test install::use_path_workspace ... ok test jobserver::jobserver_and_j ... ok test install::version_too ... ok test install::workspace_uses_workspace_target_dir ... ok test list_targets::bench_list_targets ... ok test list_targets::build_list_targets ... ok test list_targets::doc_list_targets ... ok test list_targets::check_list_targets ... ok test list_targets::install_list_targets ... ok test list_targets::fix_list_targets ... ok test list_targets::run_list_targets ... ok test list_targets::rustc_list_targets ... ok test list_targets::rustdoc_list_targets ... ok test list_targets::test_list_targets ... ok test jobserver::jobserver_exists ... ok test local_registry::depend_on_yanked ... ok test local_registry::different_directory_replacing_the_registry_is_bad ... ok test local_registry::invalid_dir_bad ... ok test local_registry::crates_io_registry_url_is_optional ... ok test local_registry::interdependent ... ok test local_registry::multiple_names ... ok test jobserver::makes_jobserver_used ... ok test local_registry::multiple_versions ... ok test lockfile_compat::current_lockfile_format ... ok test local_registry::path_dep_rewritten ... ok test lockfile_compat::listed_checksum_bad_if_we_cannot_compute ... ok test lockfile_compat::locked_correct_error ... ok test lockfile_compat::frozen_flag_preserves_old_lockfile ... ok test lockfile_compat::lockfile_without_root ... ok test lockfile_compat::oldest_lockfile_still_works ... ok test lockfile_compat::unlisted_checksum_is_bad_if_we_calculate ... ok test local_registry::simple ... ok test lockfile_compat::wrong_checksum_is_an_error ... ok test login::login_with_new_credentials ... ok test login::login_with_old_and_new_credentials ... ok test lockfile_compat::totally_wild_checksums_works ... ok test login::login_with_old_credentials ... ok test member_errors::member_manifest_path_io_error ... ok test login::login_without_credentials ... ok test login::new_credentials_is_used_instead_old ... ok test member_errors::toml_deserialize_manifest_error ... ok Updating `/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/cit/t801/registry` index test member_errors::member_manifest_version_error ... ok test login::registry_credentials ... ok test metabuild::metabuild_error_both ... ok test metabuild::metabuild_build_plan ... ok test metabuild::metabuild_failed_build_json ... ok test metabuild::metabuild_gated ... ok test metabuild::metabuild_basic ... ok test metabuild::metabuild_external_dependency ... ok test metabuild::metabuild_fresh ... ok test metabuild::metabuild_metadata ... ok test metabuild::metabuild_missing_dep ... ok test metabuild::metabuild_json_artifact ... ok test metabuild::metabuild_lib_name ... ok test metabuild::metabuild_override ... ok test metabuild::metabuild_links ... ok test metadata::cargo_metadata_bad_version ... ok test metadata::cargo_metadata_no_deps_cwd ... ok test metadata::cargo_metadata_no_deps_path_to_cargo_toml_absolute ... ok test metadata::cargo_metadata_no_deps_path_to_cargo_toml_parent_absolute ... ok test metadata::cargo_metadata_no_deps_path_to_cargo_toml_parent_relative ... ok test metadata::cargo_metadata_no_deps_path_to_cargo_toml_relative ... ok test metabuild::metabuild_optional_dep ... ok test metadata::cargo_metadata_simple ... ok test metadata::cargo_metadata_warns_on_implicit_version ... ok test metadata::cargo_metadata_path_to_cargo_toml_project ... ok test metadata::cargo_metadata_with_invalid_manifest ... ok test metadata::cargo_metadata_with_deps_and_version ... ok test metadata::deps_with_bin_only ... ok test metabuild::metabuild_two_versions ... ok test metadata::example_lib ... ok test metadata::example ... ok test metadata::library_with_features ... ok test metadata::library_with_several_crate_types ... ok test metadata::metadata_links ... ok test metadata::multiple_features ... ok test metadata::package_edition_2018 ... ok test metadata::package_metadata ... ok test metadata::target_edition_2018 ... ok test metadata::workspace_metadata ... ok test metadata::workspace_metadata_no_deps ... ok test net_config::net_retry_git_outputs_warning ... ok test net_config::net_retry_loads_from_config ... ok test metadata::rename_dependency ... ok test metabuild::metabuild_workspace ... ok test new::both_lib_and_bin ... ok test new::existing ... ok test new::author_prefers_cargo ... ok test new::explicit_invalid_name_not_suggested ... ok test new::explicit_project_name ... ok test new::finds_author_email ... ok test new::finds_author_priority ... ok test new::finds_author_git ... ok test new::finds_author_user ... ok test new::finds_author_username ... ok test new::finds_author_user_escaped ... ok Initialized empty Git repository in /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/cit/t858/.git/ test new::finds_git_author ... ok test new::finds_git_email ... ok test new::git_prefers_command_line ... ok test new::invalid_characters ... ok test new::keyword_name ... ok test new::finds_local_author_git ... ok test new::new_with_bad_edition ... ok test new::new_default_edition ... ok test new::new_with_blank_email ... ok test new::new_with_edition_2015 ... ok test new::no_argument ... ok test new::new_with_edition_2018 ... ok test new::reserved_binary_name ... ok test new::reserved_name ... ok test new::strip_angle_bracket_author_email ... ok test new::subpackage_git_with_gitignore ... ok test new::subpackage_git_with_vcs_arg ... ok test new::subpackage_no_git ... ok test new::unknown_flags ... ok test new::simple_lib ... ok test new::simple_git ... ok test new::simple_bin ... ok test out_dir::dynamic_library_with_debug ... ok test out_dir::binary_with_debug ... ok test out_dir::avoid_build_scripts ... ok test out_dir::out_dir_is_a_file ... ok test out_dir::include_only_the_binary_from_the_current_package ... ok test out_dir::rlib_with_debug ... ok test overrides::different_version ... ok test overrides::invalid_semver_version ... ok test out_dir::static_library_with_debug ... ok test overrides::missing_version ... ok test overrides::multiple_specs ... ok test overrides::broken_path_override_warns ... ok test overrides::locked_means_locked_yes_no_seriously_i_mean_locked ... ok test overrides::no_override_self ... ok test overrides::no_warnings_when_replace_is_used_in_another_workspace_member ... ok test overrides::override_plus_dep ... ok test out_dir::replaces_artifacts ... ok test overrides::override_adds_some_deps ... ok test overrides::override_an_override ... ok test overrides::override_with_nothing ... ok test overrides::override_simple ... ok test overrides::override_wrong_version ... ok test overrides::override_wrong_name ... ok test overrides::override_to_path_dep ... ok test overrides::paths_add_optional_bad ... ok test overrides::paths_ok_with_optional ... ok test overrides::overriding_nonexistent_no_spurious ... ok test overrides::override_with_default_feature ... ok test overrides::test_override_dep ... ok test overrides::persists_across_rebuilds ... ok test overrides::replace_registry_with_path ... ok test overrides::update ... ok test package::broken_symlink ... ok test overrides::replace_to_path_dep ... ok test package::do_not_package_if_repository_is_dirty ... ok test overrides::transitive ... ok test package::edition_with_metadata ... ok test package::exclude ... ok test package::generated_manifest ... ok test package::ignore_workspace_specifier ... ok test package::include ... ok test overrides::use_a_spec_to_select ... ok test package::lock_file_and_workspace ... ok test package::do_not_package_if_src_was_modified ... ok test package::no_lock_file_with_library ... ok test package::package_git_submodule ... ok test package::ignore_nested ... ok test package::no_duplicates_from_modified_tracked_files ... ok test package::package_lockfile_git_repo ... ok test package::package_no_default_features ... ok test package::package_two_kinds_of_deps ... ok test package::package_lib_with_bin ... ok test package::metadata_warning ... ok test package::package_weird_characters ... ok test package::package_verbose ... ok test package::package_lockfile ... ok test package::path_dependency_no_version ... ok test package::package_with_all_features ... ok test package::package_with_select_features ... ok test package::package_verification ... ok test package::test_edition_malformed ... ok test package::vcs_file_collision ... ok test package::test_edition ... ok test package::repackage_on_source_change ... ok test package::simple ... ok test patch::add_ignored_patch ... ok test patch::add_patch ... ok test patch::non_crates_io ... ok test patch::no_warn_ws_patch ... ok test patch::new_minor ... ok test patch::new_major ... ok test patch::nonexistent ... ok test patch::patch_git ... ok test patch::patch_depends_on_another_patch ... ok test patch::patch_in_virtual ... ok test patch::patch_to_git ... ok test patch::replace_with_crates_io ... ok test patch::remove_patch ... ok test patch::replace ... ok test patch::transitive_new_major ... ok test patch::replace_prerelease ... ok test patch::transitive_new_minor ... ok test patch::unused ... ok test path::cargo_compile_with_root_dev_deps ... ok test patch::unused_git ... ok test path::cargo_compile_with_root_dev_deps_with_testing ... ok test path::custom_target_no_rebuild ... ok test path::cargo_compile_with_transitive_dev_deps ... ok test path::error_message_for_missing_manifest ... ok test path::invalid_path_dep_in_workspace_with_lockfile ... ok test path::missing_path_dependency ... ok test path::dev_deps_no_rebuild_lib ... ok test path::cargo_compile_with_nested_deps_shorthand ... ok test path::no_rebuild_two_deps ... ok test path::nested_deps_recompile ... ok test path::override_and_depend ... ok test path::override_path_dep ... ok test path::no_rebuild_dependency ... ok test path::override_relative ... ok test path::override_self ... ok test path::workspace_produces_rlib ... ok test path::path_dep_build_cmd ... ok test path::deep_dependencies_trigger_rebuild ... ok test plugins::doctest_a_plugin ... ok test plugins::panic_abort_plugins ... ok test plugins::plugin_to_the_max ... ok test plugins::plugin_with_dynamic_native_dependency ... ok test plugins::native_plugin_dependency_with_custom_ar_linker ... ok test plugins::shared_panic_abort_plugins ... ok test path::thin_lto_works ... ok test proc_macro::plugin_and_proc_macro ... ok test plugins::plugin_integration ... ok test proc_macro::noop ... ok test proc_macro::proc_macro_crate_type_multiple ... ok test proc_macro::impl_and_derive ... ok test proc_macro::probe_cfg_before_crate_type_discovery ... ok test proc_macro::proc_macro_crate_type_warning ... ok test profile_config::profile_config_all_options ... ok test profile_config::profile_config_error_paths ... ok test proc_macro::proc_macro_crate_type_warning_plugin ... ok test profile_config::profile_config_gated ... ok test profile_config::profile_config_mixed_types ... ok test profile_config::profile_config_no_warn_unknown_override ... ok test profile_config::profile_config_override_spec_multiple ... ok test profile_config::profile_config_syntax_errors ... ok test profile_config::profile_config_validate_errors ... ok test profile_config::profile_config_override_precedence ... ok test proc_macro::proc_macro_doctest ... ok test profile_config::profile_config_validate_warnings ... ok test profile_overrides::profile_override_bad_settings ... ok test profile_overrides::profile_override_dev_release_only ... ok test profile_overrides::profile_override_gated ... ok test proc_macro::proc_macro_crate_type ... ok test profile_overrides::profile_override_basic ... ok test profile_overrides::profile_override_spec_multiple ... ok test profile_overrides::profile_override_spec ... ok test profile_overrides::override_proc_macro ... ok test profile_overrides::profile_override_warnings ... ok test profile_overrides::profile_override_hierarchy ... ok test profile_targets::profile_selection_build ... ok test profile_targets::profile_selection_bench ... ok test profile_targets::profile_selection_build_all_targets ... ok test profile_targets::profile_selection_build_all_targets_release ... ok test profile_targets::profile_selection_build_release ... ok test profile_targets::profile_selection_check_all_targets ... ok test profile_targets::profile_selection_check_all_targets_release ... ok test profile_targets::profile_selection_check_all_targets_test ... ok test profiles::debug_override_1 ... ok test profiles::opt_level_override_0 ... ok test profile_targets::profile_selection_test ... ok test profile_targets::profile_selection_test_release ... ok test profiles::opt_level_overrides ... ok test profiles::profile_doc_deprecated ... ok test profiles::panic_unwind_does_not_build_twice ... ok test profiles::profile_in_non_root_manifest_triggers_a_warning ... ok test profiles::profile_in_virtual_manifest_works ... ok test profiles::profile_overrides ... ok test profiles::profile_panic_test_bench ... ok test publish::block_publish_no_registry ... ok test publish::dont_publish_dirty ... ok test publish::git_deps ... ok test profiles::top_level_overrides_deps ... ok test publish::new_crate_rejected ... ok test publish::old_token_location ... ok test publish::path_dependency_no_version ... ok test publish::dry_run ... ok test publish::ignore_when_crate_ignored ... ok test publish::publish_empty_list ... ok test publish::publish_allowed_registry ... ok test publish::publish_clean ... ok test profile_targets::profile_selection_doc ... ok test publish::publish_in_sub_repo ... ok test publish::publish_with_no_default_features ... ok test publish::publish_when_ignored ... ok test publish::registry_not_in_publish_list ... ok test publish::simple ... ok test publish::publish_with_all_features ... ok test publish::simple_with_host ... ok test publish::simple_with_index_and_host ... ok test read_manifest::cargo_read_manifest_cwd ... ok test publish::unpublishable_crate ... ok test read_manifest::cargo_read_manifest_path_to_cargo_toml_absolute ... ok test read_manifest::cargo_read_manifest_path_to_cargo_toml_parent_absolute ... ok test read_manifest::cargo_read_manifest_path_to_cargo_toml_parent_relative ... ok test read_manifest::cargo_read_manifest_path_to_cargo_toml_relative ... ok test publish::publish_with_select_features ... ok test registry::bad_and_or_malicious_packages_rejected ... ok test registry::bad_cksum ... ok test registry::bad_license_file ... ok test registry::add_dep_dont_update_registry ... ok test publish::publish_with_patch ... ok test registry::bump_version_dont_update_registry ... ok test registry::disallow_network ... ok test registry::bundled_crate_in_registry ... ok test registry::fetch_downloads ... ok test registry::dev_dependency_not_used ... ok test registry::deps ... ok test registry::git_and_registry_dep ... ok test registry::login_with_differently_sized_token ... ok test registry::git_init_templatedir_missing ... ok test registry::lockfile_locks ... ok test registry::login_with_no_cargo_dir ... ok test registry::mis_hyphenated ... ok test registry::nonexistent ... ok test registry::lockfile_locks_transitively ... ok test registry::old_version_req ... ok test registry::relying_on_a_yank_is_bad ... ok test registry::old_version_req_upstream ... ok test registry::only_download_relevant ... ok test registry::package_with_path_deps ... ok test registry::resolve_and_backtracking ... ok test registry::update_backtracking_ok ... ok test registry::toml_lies_but_index_is_truth ... ok test registry::simple ... ok test registry::update_offline ... ok test registry::rename_deps_and_features ... ok test registry::update_multiple_packages ... ok test registry::update_same_prefix_oh_my_how_was_this_a_bug ... ok test registry::update_registry ... ok test registry::update_lockfile ... ok test registry::update_transitive_dependency ... ok test registry::update_publish_then_update ... ok test registry::update_with_lockfile_if_packages_missing ... ok test registry::upstream_warnings_on_extra_verbose ... ok test registry::wrong_case ... ok test registry::wrong_version ... ok test registry::use_semver ... ok test registry::vv_prints_warnings ... ok test registry::updating_a_dep ... ok test registry::yanks_are_not_used ... ok test registry::yanks_in_lockfiles_are_ok ... ok test rename_deps::features_not_working ... ok test registry::yanks_in_lockfiles_are_ok_for_other_update ... ok test rename_deps::features_still_work ... ok test registry::yanks_in_lockfiles_are_ok_with_new_dep ... ok test rename_deps::can_run_doc_tests ... ok test rename_deps::lots_of_names ... ok test rename_deps::rename_and_patch ... ok test rename_deps::rename_twice ... ok test rename_deps::rename_affects_fingerprint ... ok test required_features::bench_arg_features ... ok test rename_deps::rename_dependency ... ok test required_features::bench_default_features ... ok test required_features::bench_multiple_required_features ... ok test rename_deps::rename_with_dash ... ok test rename_deps::rename_with_different_names ... ok test required_features::build_bin_arg_features ... ok test required_features::build_example_arg_features ... ok test required_features::build_bin_default_features ... ok test required_features::build_example_default_features ... ok test required_features::build_bin_multiple_required_features ... ok test required_features::install_arg_features ... ok test required_features::build_example_multiple_required_features ... ok test required_features::install_default_features ... ok test required_features::dep_feature_in_cmd_line ... ok test required_features::run_default_multiple_required_features ... ok test required_features::install_multiple_required_features ... ok test required_features::dep_feature_in_toml ... ok test required_features::run_default ... ok test required_features::test_arg_features ... ok test resolve::basic_public_dependency ... ok test resolve::conflict_store_bug ... ok test resolve::conflict_store_more_then_one_match ... ok test resolve::hard_equality ... ok test resolve::incomplete_information_skiping ... ok test resolve::incomplete_information_skiping_2 ... ok test resolve::incomplete_information_skiping_3 ... ok test required_features::test_default_features ... ok test resolve::minimal_version_cli ... ok test required_features::test_skips_compiling_bin_with_missing_required_features ... ok test required_features::test_multiple_required_features ... ok test resolve::large_conflict_cache ... ok test resolve::prop_limited_independence_of_irrelevant_alternatives ... ok test resolve::public_dependency_filling_in ... ok test resolve::public_dependency_filling_in_and_update ... ok test resolve::public_dependency_skiping ... ok test resolve::public_dependency_skiping_in_backtracking ... ok test resolve::resolving_allows_multiple_compatible_versions ... ok test resolve::resolving_backtrack ... ok test resolve::resolving_backtrack_features ... ok test resolve::resolving_but_no_exists ... ok test resolve::resolving_cycle ... ok test resolve::resolving_incompat_versions ... ok test resolve::resolving_mis_hyphenated_from_registry ... ok test resolve::prop_passes_validation ... ok test resolve::resolving_with_constrained_sibling_backtrack_activation ... ok test resolve::resolving_with_constrained_sibling_backtrack_parent ... ok test resolve::resolving_with_constrained_sibling_transitive_dep_effects ... ok test resolve::resolving_with_deep_backtracking ... ok test resolve::resolving_with_deep_traps ... ok test resolve::prop_minimum_version_errors_the_same ... ok test resolve::resolving_with_many_versions ... ok test resolve::resolving_with_specific_version ... ok test resolve::resolving_with_sys_crates ... ok test resolve::resolving_wrong_case_from_registry ... ok test resolve::test_dependency_with_empty_name ... ok test resolve::test_resolving_common_transitive_deps ... ok test resolve::test_resolving_empty_dependency_list ... ok test resolve::test_resolving_maximum_version_with_transitive_deps ... ok test resolve::test_resolving_minimum_version_with_transitive_deps ... ok test resolve::test_resolving_multiple_deps ... ok test resolve::test_resolving_one_dep ... ok test resolve::test_resolving_only_package ... ok test resolve::test_resolving_transitive_deps ... ok test resolve::test_resolving_with_dev_deps ... ok test resolve::test_resolving_with_same_name ... ok test run::autobins_disables ... ok test run::bogus_default_run ... ok test resolve::resolving_with_constrained_cousins_backtrack ... ok test run::default_run_unstable ... ok test resolve::prop_removing_a_dep_cant_break ... ok test run::either_name_or_example ... ok test run::default_run_workspace ... ok test run::dashes_are_forwarded ... ok test run::exit_code ... ok test run::exit_code_verbose ... ok test run::example_with_release_flag ... ok test run::fail_no_extra_verbose ... ok test run::no_main_file ... ok test run::explicit_bin_with_args ... ok test run::one_bin_multiple_examples ... ok test run::quiet_and_verbose_config ... ok test run::library_paths_sorted_alphabetically ... ok test run::release_works ... ok test run::run_bins ... ok test run::run_bin_different_name ... ok test run::run_bin_example ... ok test run::run_dylib_dep ... ok test run::run_example_autodiscover_2015 ... ok test run::run_example_autodiscover_2015_with_autoexamples_disabled ... ok test run::run_example ... ok test resolve::resolving_with_many_equivalent_backtracking ... ok test run::run_library_example ... ok test run::run_example_autodiscover_2015_with_autoexamples_enabled ... ok test run::run_example_autodiscover_2018 ... ok test run::run_from_executable_folder ... ok test run::run_with_filename ... ok test run::run_workspace ... ok test run::simple ... ok test run::simple_quiet_and_verbose ... ok test run::run_with_library_paths ... ok test run::simple_quiet ... ok test run::run_multiple_packages ... ok test run::too_many_bins ... ok test run::simple_with_args ... ok test rustc::build_lib_for_foo ... ok test rustc::build_foo_with_bar_dependency ... ok test rustc::build_main_and_allow_unstable_options ... ok test run::specify_default_run ... ok test rustc::build_only_bar_dependency ... ok test run::specify_name ... ok test rustc::fail_with_multiple_packages ... ok test rustc::fails_when_trying_to_build_main_and_lib_with_args ... ok test rustc::fails_with_args_to_all_binaries ... ok test rustc::lib ... ok test rustc::rustc_fingerprint ... ok test rustc::build_with_args_to_one_of_multiple_binaries ... ok test rustc::build_with_args_to_one_of_multiple_tests ... ok test rustc::rustc_test_with_implicit_bin ... ok test rustc::targets_selected_all ... ok test rustc::rustc_with_other_profile ... ok test rustc::targets_selected_default ... ok test rustc_info_cache::rustc_info_cache ... ok test rustdoc::features ... ok test rustdoc::rustdoc_args ... ok test rustdoc::rustdoc_foo_with_bar_dependency ... ok test rustdocflags::bad_flags ... ok test rustdoc::rustdoc_only_bar_dependency ... ok test rustdoc::rustdoc_same_name_documents_lib ... ok test rustdoc::rustdoc_simple ... ok test rustdocflags::parses_config ... ok test rustdocflags::rustdocflags_passed_to_rustdoc_through_cargo_test ... ok test rustdocflags::rustdocflags_passed_to_rustdoc_through_cargo_test_only_once ... ok test rustdocflags::parses_env ... ok test rustflags::build_rustflags_build_script ... ok test rustdocflags::rustdocflags_misspelled ... ok test rustflags::build_rustflags_build_script_dep ... ok test rustflags::build_rustflags_build_script_dep_with_target ... ok test rustflags::build_rustflags_no_recompile ... ok test rustflags::build_rustflags_build_script_with_target ... ok test rustflags::build_rustflags_normal_source ... ok test rustflags::build_rustflags_plugin ... ok test rustflags::build_rustflags_plugin_dep ... ok test rustflags::build_rustflags_normal_source_with_target ... ok test rustflags::build_rustflags_plugin_dep_with_target ... ok test rustflags::build_rustflags_recompile ... ok test rustflags::build_rustflags_plugin_with_target ... ok test rustflags::build_rustflags_recompile2 ... ok test rustflags::build_rustflags_with_home_config ... ok test rustdocflags::rerun ... ok test rustflags::env_rustflags_build_script ... ok test rustflags::env_rustflags_build_script_dep ... ok test rustflags::env_rustflags_build_script_dep_with_target ... ok test rustflags::env_rustflags_build_script_with_target ... ok test rustflags::cfg_rustflags_normal_source ... ok test rustflags::cfg_rustflags_precedence ... ok test rustflags::env_rustflags_no_recompile ... ok test rustflags::env_rustflags_misspelled_build_script ... ok test rustflags::env_rustflags_normal_source ... ok test rustflags::env_rustflags_plugin ... ok test rustflags::env_rustflags_plugin_dep ... ok test rustflags::env_rustflags_normal_source_with_target ... ok test rustflags::env_rustflags_misspelled ... ok test rustflags::env_rustflags_plugin_dep_with_target ... ok test rustflags::env_rustflags_recompile ... ok test rustflags::env_rustflags_plugin_with_target ... ok test rustflags::env_rustflags_recompile2 ... ok test rustflags::target_rustflags_normal_source ... ok test rustflags::target_rustflags_string_and_array_form1 ... ok test rustflags::target_rustflags_precedence ... ok test search::multiple_query_params ... ok test search::help ... ok test rustflags::target_rustflags_string_and_array_form2 ... ok Updating `/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/cit/t1238/registry` index test search::not_update ... ok test search::replace_default ... ok test search::simple ... ok test search::simple_with_host ... ok test search::simple_with_index_and_host ... ok test shell_quoting::features_are_quoted ... ok test support::lines_match_works ... ok test support::resolver::meta_test_deep_pretty_print_registry ... ok test rustflags::two_matching_in_config ... ok test support::resolver::meta_test_multiple_versions_strategy ... ok test support::resolver::meta_test_deep_trees_from_strategy ... ok test test::bad_example ... ok test test::bench_without_name ... ok test small_fd_limits::use_git_gc ... ok test test::almost_cyclic_but_not_quite ... ok test small_fd_limits::avoid_using_git ... ok test test::bin_without_name ... ok test test::bin_there_for_integration ... ok test test::bin_is_preserved ... ok test test::can_not_no_run_doc_tests ... ok test test::bin_does_not_rebuild_tests ... ok test test::build_then_selective_test ... ok test test::cargo_test_env ... ok test test::cargo_test_failing_test_in_lib ... ok test test::cargo_test_failing_test_in_bin ... ok test test::can_not_mix_doc_tests_and_regular_tests ... ok test test::cargo_test_overflow_checks ... ok test test::cargo_test_quiet_no_harness ... ok test test::cargo_test_failing_test_in_test ... ok test test::cargo_test_quiet_with_harness ... ok test test::cargo_test_release ... ok test test::cargo_test_twice ... ok test test::cargo_test_verbose ... ok test test::cargo_test_simple ... ok test test::cfg_test_even_with_no_harness ... ok test test::cyclic_dev ... ok test test::cyclic_dev_dep_doc_test ... ok test test::dashes_to_underscores ... ok test test::dev_dep_with_build_script ... ok test test::doctest_only_with_dev_dep ... ok test test::doctest_and_registry ... ok test test::doctest_feature ... ok test test::doctest_dev_dep ... ok test test::dylib_doctest2 ... ok test test::doctest_skip_staticlib ... ok test test::dont_run_examples ... ok test test::dylib_doctest ... ok test test::example_without_name ... ok test test::example_bin_same_name ... ok test test::example_with_dev_dep ... ok test test::external_test_explicit ... ok test test::example_dev_dep ... ok test test::external_test_named_test ... ok test test::external_test_implicit ... ok test test::filter_no_doc_tests ... ok test test::json_artifact_includes_executable_for_integration_tests ... ok test test::json_artifact_includes_executable_for_library_tests ... ok test test::json_artifact_includes_test_flag ... ok test test::find_dependency_of_proc_macro_dependency_with_target ... ok test test::lib_bin_same_name ... ok test test::lib_with_standard_name2 ... ok test test::lib_with_standard_name ... ok test test::lib_without_name ... ok test test::many_similar_names ... ok test test::only_test_docs ... ok test test::no_fail_fast ... ok test test::panic_abort_multiple ... ok test test::pass_through_command_line ... ok test test::selective_test_optional_dep ... ok test test::pass_correct_cfgs_flags_to_rustdoc ... ok test test::selective_test_wonky_profile ... ok test test::selective_testing_with_docs ... ok test test::publish_a_crate_without_tests ... ok test test::test_all_exclude ... ok test test::test_all_targets_lib ... ok test test::test_all_member_dependency_same_name ... ok test test::selective_testing ... ok test test::test_dep_with_dev ... ok test test::test_all_virtual_manifest ... ok test test::test_all_workspace ... ok test test::test_build_script_links ... ok test test::test_dylib ... ok test test::test_filtered_excludes_compiling_examples ... ok test test::test_hint_workspace ... ok test test::test_hint_not_masked_by_doctest ... ok test test::test_many_with_features ... ok test test::test_multiple_packages ... ok test test::test_many_targets ... ok test test::test_no_harness ... ok test test::test_no_run ... ok test test::test_order ... ok test test::test_panic_abort_with_dep ... ok test test::test_run_implicit_bin_target ... ok test test::test_release_ignore_panic ... ok test test::test_run_implicit_bench_target ... ok test test::test_run_implicit_test_target ... ok test test::test_run_specific_bin_target ... ok test test::test_run_specific_test_target ... ok test test::test_then_build ... ok test test::test_run_implicit_example_target ... ok test test::test_virtual_manifest_all_implied ... ok test test::test_twice_with_build_cmd ... ok test test::test_without_name ... ok test test::test_with_example_twice ... ok test tool_paths::absolute_tools ... ok test test::test_with_deep_lib_dep ... ok test tool_paths::custom_runner_cfg_collision ... ok test test::test_with_lib_dep ... ok test tool_paths::custom_runner_cfg ... ok test tool_paths::pathless_tools ... ok test tool_paths::relative_tools ... ok test tool_paths::custom_runner_cfg_precedence ... ok test update::change_package_version ... ok test update::conservative ... ok test update::add_dep_deep_new_requirement ... ok test tool_paths::custom_runner ... ok test update::dry_run_update ... ok test update::preserve_top_comment ... ok test update::minor_update_two_places ... ok test update::everything_real_deep ... ok test update::update_precise ... ok test verify_project::cargo_verify_project_cwd ... ok test verify_project::cargo_verify_project_honours_unstable_features ... ok test update::transitive_minor_update ... ok test verify_project::cargo_verify_project_path_to_cargo_toml_absolute ... ok test verify_project::cargo_verify_project_path_to_cargo_toml_relative ... ok test version::version_works_with_bad_config ... ok test version::simple ... ok test version::version_works_with_bad_target_dir ... ok test version::version_works_without_rustc ... ok test update::update_via_new_member ... ok test update::update_via_new_dep ... ok test warn_on_failure::no_warning_on_bin_failure ... ok test workspaces::bare_workspace_ok ... ok test workspaces::cycle ... ok test workspaces::dangling_member ... ok test warn_on_failure::warning_on_lib_failure ... ok test workspaces::cargo_home_at_root_works ... ok test warn_on_failure::no_warning_on_success ... ok test workspaces::error_if_parent_cargo_toml_is_invalid ... ok test workspaces::exclude_members_preferred ... ok test workspaces::exclude_but_also_depend ... ok test workspaces::dont_recurse_out_of_cargo_home ... ok test workspaces::fetch_fetches_all ... ok test workspaces::excluded_simple ... ok test workspaces::glob_syntax_invalid_members ... ok test workspaces::include_virtual ... ok test workspaces::dep_used_with_separate_features ... ok test workspaces::explicit_package_argument_works_with_virtual_manifest ... ok test workspaces::invalid_members ... ok test workspaces::invalid_parent_pointer ... ok test workspaces::lock_doesnt_change_depending_on_crate ... ok test workspaces::inferred_root ... ok test workspaces::inferred_path_dep ... ok test workspaces::lockfile_can_specify_nonexistant_members ... ok test workspaces::new_warns_you_this_will_not_work ... ok test workspaces::parent_doesnt_point_to_child ... ok test workspaces::members_include_path_deps ... ok test workspaces::glob_syntax ... ok test workspaces::path_dep_outside_workspace_is_not_member ... ok test workspaces::lock_works_for_everyone ... ok test workspaces::parent_pointer_works ... ok test workspaces::relative_path_for_root_works ... ok test workspaces::same_names_in_workspace ... ok test workspaces::relative_path_for_member_works ... ok test workspaces::share_dependencies ... ok test workspaces::rebuild_please ... ok test workspaces::simple_explicit ... ok test workspaces::relative_rustc ... ok test workspaces::simple_explicit_default_members ... ok test workspaces::two_roots ... ok test workspaces::test_path_dependency_under_member ... ok test workspaces::virtual_build_no_members ... ok test workspaces::virtual_default_member_is_not_a_member ... ok test workspaces::virtual_build_all_implied ... ok test workspaces::virtual_misconfigure ... ok test workspaces::test_in_and_out_of_workspace ... ok test workspaces::virtual_default_members ... ok test workspaces::workspace_isnt_root ... ok test workspaces::virtual_works ... ok test workspaces::workspace_in_git ... ok test workspaces::ws_rustc_err ... ok test workspaces::ws_err_unused ... ok test workspaces::transitive_path_dep ... ok test workspaces::ws_warn_path ... ok test workspaces::you_cannot_generate_lockfile_for_empty_workspaces ... ok test workspaces::workspace_with_transitive_dev_deps ... ok test workspaces::ws_warn_unused ... ok test result: ok. 1553 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out Doc-tests cargo running 5 tests test src/cargo/core/compiler/layout.rs - core::compiler::layout (line 6) ... ignored test src/cargo/core/features.rs - core::features (line 24) ... ignored test src/cargo/util/network.rs - util::network::with_retry (line 75) ... ignored test src/cargo/core/source/source_id.rs - core::source::source_id::SourceId::from_url (line 105) ... ok test src/cargo/core/package_id_spec.rs - core::package_id_spec::PackageIdSpec::parse (line 34) ... ok test result: ok. 2 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out Build completed successfully in 0:09:49 + python2 ./x.py test --no-fail-fast clippy Finished dev [unoptimized] target(s) in 0.72s Building stage0 std artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.54s Copying stage0 std from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 test artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.49s Copying stage0 test from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 compiler artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.65s Copying stage0 rustc from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 codegen artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf, llvm) Finished release [optimized] target(s) in 0.50s Assembling stage1 compiler (armv7-unknown-linux-gnueabihf) Building stage1 std artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.53s Copying stage1 std from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 test artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.49s Copying stage1 test from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 compiler artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.64s Copying stage1 rustc from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 codegen artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf, llvm) Finished release [optimized] target(s) in 0.50s Assembling stage2 compiler (armv7-unknown-linux-gnueabihf) Uplifting stage1 std (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 std from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Uplifting stage1 test (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 test from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Uplifting stage1 rustc (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 rustc from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage2 tool clippy-driver (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.58s Building rustdoc for stage2 (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.52s Compiling compiletest_rs v0.3.21 Compiling clippy-mini-macro-test v0.2.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/clippy/mini-macro) Compiling log v0.4.6 Compiling rustfix v0.4.4 Compiling clippy v0.0.212 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/clippy) Finished release [optimized] target(s) in 35.38s Running build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/deps/clippy_driver-fa7f7366bf319ae3 running 1 test test test_arg_value ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Running build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/deps/compile_test-8fc12fc4c4e30e82 running 1 test running 289 tests test [ui] ui/absurd-extreme-comparisons.rs ... FAILED test [ui] ui/assertions_on_constants.rs ... FAILED test [ui] ui/approx_const.rs ... ok test [ui] ui/arithmetic.rs ... ok test [ui] ui/assign_ops2.rs ... FAILED test [ui] ui/attrs.rs ... FAILED test [ui] ui/assign_ops.rs ... ok test [ui] ui/author.rs ... ok test [ui] ui/author/matches.rs ... ok test [ui] ui/author/call.rs ... ok test [ui] ui/author/for_loop.rs ... ok test [ui] ui/bit_masks.rs ... ok test [ui] ui/blacklisted_name.rs ... ok test [ui] ui/block_in_if_condition.rs ... FAILED test [ui] ui/bool_comparison.rs ... FAILED test [ui] ui/booleans.rs ... FAILED test [ui] ui/borrow_box.rs ... FAILED test [ui] ui/box_vec.rs ... FAILED test [ui] ui/builtin-type-shadow.rs ... FAILED test [ui] ui/bytecount.rs ... ok test [ui] ui/cast.rs ... ok test [ui] ui/cast_alignment.rs ... ok test [ui] ui/cast_size.rs ... FAILED test [ui] ui/cast_ref_to_mut.rs ... ok test [ui] ui/cast_lossless_float.rs ... ok test [ui] ui/cast_lossless_integer.rs ... ok test [ui] ui/char_lit_as_u8.rs ... ok test [ui] ui/checked_unwrap.rs ... ok test [ui] ui/clone_on_copy_impl.rs ... ok test [ui] ui/clone_on_copy_mut.rs ... ok test [ui] ui/cfg_attr_rustfmt.rs ... ok test [ui] ui/cmp_nan.rs ... ok test [ui] ui/cmp_owned.rs ... FAILED test [ui] ui/cmp_null.rs ... ok test [ui] ui/cognitive_complexity.rs ... FAILED test [ui] ui/cognitive_complexity_attr_used.rs ... FAILED test [ui] ui/complex_types.rs ... FAILED test [ui] ui/collapsible_if.rs ... FAILED test [ui] ui/const_static_lifetime.rs ... FAILED test [ui] ui/copy_iterator.rs ... FAILED test [ui] ui/crashes/cc_seme.rs ... FAILED test [ui] ui/crashes/associated-constant-ice.rs ... ok test [ui] ui/crashes/enum-glob-import-crate.rs ... ok test [ui] ui/crashes/ice-1588.rs ... ok test [ui] ui/crashes/ice-1782.rs ... ok test [ui] ui/crashes/ice-2499.rs ... FAILED test [ui] ui/crashes/ice-1969.rs ... ok test [ui] ui/crashes/ice-2594.rs ... ok test [ui] ui/crashes/ice-2727.rs ... ok test [ui] ui/crashes/ice-2774.rs ... FAILED test [ui] ui/crashes/ice-2760.rs ... ok test [ui] ui/crashes/ice-2865.rs ... ok test [ui] ui/crashes/ice-3462.rs ... ok test [ui] ui/crashes/ice-3151.rs ... ok test [ui] ui/crashes/ice-3747.rs ... ok test [ui] ui/crashes/ice-700.rs ... ok test [ui] ui/crashes/ice_exacte_size.rs ... ok test [ui] ui/crashes/if_same_then_else.rs ... FAILED test [ui] ui/crashes/ice-3741.rs ... FAILED test [ui] ui/crashes/issue-825.rs ... FAILED test [ui] ui/crashes/issue-2862.rs ... ok test [ui] ui/crashes/issues_loop_mut_cond.rs ... FAILED test [ui] ui/crashes/match_same_arms_const.rs ... FAILED test [ui] ui/crashes/needless_borrow_fp.rs ... FAILED test [ui] ui/crashes/mut_mut_macro.rs ... ok test [ui] ui/crashes/procedural_macro.rs ... FAILED test [ui] ui/crashes/needless_lifetimes_impl_trait.rs ... ok test [ui] ui/crashes/regressions.rs ... ok test [ui] ui/crashes/returns.rs ... ok test [ui] ui/crashes/used_underscore_binding_macro.rs ... FAILED test [ui] ui/crashes/single-match-else.rs ... ok test [ui] ui/cstring.rs ... ok test [ui] ui/dbg_macro.rs ... FAILED test [ui] ui/crashes/whitelist/conf_whitelisted.rs ... ok test [ui] ui/decimal_literal_representation.rs ... ok test [ui] ui/default_trait_access.rs ... FAILED test [ui] ui/deprecated.rs ... ok test [ui] ui/derive.rs ... FAILED test [ui] ui/diverging_sub_expression.rs ... FAILED test [ui] ui/dlist.rs ... FAILED test [ui] ui/doc.rs ... ok test [ui] ui/double_neg.rs ... ok test [ui] ui/double_parens.rs ... FAILED test [ui] ui/drop_bounds.rs ... ok test [ui] ui/drop_forget_copy.rs ... FAILED test [ui] ui/double_comparison.rs ... ok test [ui] ui/drop_forget_ref.rs ... ok test [ui] ui/duplicate_underscore_argument.rs ... ok test [ui] ui/duration_subsec.rs ... FAILED test [ui] ui/else_if_without_else.rs ... FAILED test [ui] ui/empty_enum.rs ... ok test [ui] ui/empty_line_after_outer_attribute.rs ... FAILED test [ui] ui/entry.rs ... FAILED test [ui] ui/enum_glob_use.rs ... ok test [ui] ui/enum_variants.rs ... ok test [ui] ui/enums_clike.rs ... FAILED test [ui] ui/eq_op.rs ... FAILED test [ui] ui/erasing_op.rs ... ok test [ui] ui/escape_analysis.rs ... FAILED test [ui] ui/eta.rs ... FAILED test [ui] ui/eval_order_dependence.rs ... ok test [ui] ui/explicit_counter_loop.rs ... FAILED test [ui] ui/explicit_write.rs ... FAILED test [ui] ui/fallible_impl_from.rs ... FAILED test [ui] ui/expect_fun_call.rs ... FAILED test [ui] ui/excessive_precision.rs ... ok test [ui] ui/filter_methods.rs ... ok test [ui] ui/float_cmp.rs ... FAILED test [ui] ui/float_cmp_const.rs ... FAILED test [ui] ui/fn_to_numeric_cast.rs ... FAILED test [ui] ui/for_kv_map.rs ... ok test [ui] ui/for_loop.rs ... FAILED test [ui] ui/for_loop_over_option_result.rs ... ok test [ui] ui/formatting.rs ... ok test [ui] ui/functions.rs ... FAILED test [ui] ui/functions_maxlines.rs ... ok test [ui] ui/fxhash.rs ... ok test [ui] ui/get_unwrap.rs ... FAILED test [ui] ui/format.rs ... ok test [ui] ui/ice-2636.rs ... ok test [ui] ui/ice-3717.rs ... ok test [ui] ui/identity_conversion.rs ... ok test [ui] ui/identity_op.rs ... ok test [ui] ui/if_not_else.rs ... FAILED test [ui] ui/if_same_then_else.rs ... FAILED test [ui] ui/ifs_same_cond.rs ... FAILED test [ui] ui/impl.rs ... ok test [ui] ui/implicit_hasher.rs ... FAILED test [ui] ui/implicit_return.rs ... FAILED test [ui] ui/indexing_slicing.rs ... ok test [ui] ui/infinite_iter.rs ... FAILED test [ui] ui/inconsistent_digit_grouping.rs ... ok test [ui] ui/infinite_loop.rs ... FAILED test [ui] ui/infallible_destructuring_match.rs ... ok test [ui] ui/inline_fn_without_body.rs ... ok test [ui] ui/int_plus_one.rs ... ok test [ui] ui/invalid_ref.rs ... ok test [ui] ui/invalid_upcast_comparisons.rs ... FAILED test [ui] ui/issue-3145.rs ... ok test [ui] ui/issue_2356.rs ... FAILED test [ui] ui/issue_3849.rs ... FAILED test [ui] ui/item_after_statement.rs ... ok test [ui] ui/iter_skip_next.rs ... FAILED test [ui] ui/into_iter_on_ref.rs ... ok test [ui] ui/large_enum_variant.rs ... ok test [ui] ui/len_zero.rs ... FAILED test [ui] ui/large_digit_groups.rs ... FAILED test [ui] ui/let_if_seq.rs ... FAILED test [ui] ui/let_return.rs ... FAILED test [ui] ui/let_unit.rs ... FAILED test [ui] ui/lifetimes.rs ... FAILED test [ui] ui/literals.rs ... ok test [ui] ui/manual_memcpy.rs ... FAILED test [ui] ui/lint_without_lint_pass.rs ... FAILED test [ui] ui/map_flatten.rs ... ok test [ui] ui/map_unit_fn.rs ... ok test [ui] ui/match_bool.rs ... ok test [ui] ui/match_overlapping_arm.rs ... ok test [ui] ui/map_clone.rs ... ok test [ui] ui/match_same_arms.rs ... ok test [ui] ui/matches.rs ... FAILED test [ui] ui/mem_discriminant.rs ... ok test [ui] ui/mem_forget.rs ... ok test [ui] ui/methods.rs ... FAILED test [ui] ui/min_max.rs ... ok test [ui] ui/missing-doc-crate-missing.rs ... ok test [ui] ui/mem_replace.rs ... ok test [ui] ui/missing-doc-crate.rs ... ok test [ui] ui/missing-doc.rs ... ok test [ui] ui/missing_const_for_fn/cant_be_const.rs ... ok test [ui] ui/missing_const_for_fn/could_be_const.rs ... FAILED test [ui] ui/missing_inline.rs ... ok test [ui] ui/module_inception.rs ... ok test [ui] ui/module_name_repetitions.rs ... ok test [ui] ui/modulo_one.rs ... ok test [ui] ui/mut_from_ref.rs ... FAILED test [ui] ui/mistyped_literal_suffix.rs ... ok test [ui] ui/mut_mut.rs ... ok test [ui] ui/mut_range_bound.rs ... ok test [ui] ui/mut_reference.rs ... ok test [ui] ui/mutex_atomic.rs ... ok test [ui] ui/needless_bool.rs ... FAILED test [ui] ui/my_lint.rs ... ok test [ui] ui/needless_borrow.rs ... FAILED test [ui] ui/needless_borrowed_ref.rs ... FAILED test [ui] ui/needless_collect.rs ... ok test [ui] ui/needless_continue.rs ... ok test [ui] ui/needless_pass_by_value.rs ... FAILED test [ui] ui/needless_range_loop.rs ... FAILED test [ui] ui/needless_return.rs ... FAILED test [ui] ui/needless_update.rs ... ok test [ui] ui/needless_pass_by_value_proc_macro.rs ... ok test [ui] ui/neg_multiply.rs ... FAILED test [ui] ui/never_loop.rs ... FAILED test [ui] ui/new_ret_no_self.rs ... FAILED test [ui] ui/neg_cmp_op_on_partial_ord.rs ... ok test [ui] ui/new_without_default.rs ... FAILED test [ui] ui/non_copy_const.rs ... FAILED test [ui] ui/no_effect.rs ... FAILED test [ui] ui/non_expressive_names.rs ... FAILED test [ui] ui/ok_expect.rs ... FAILED test [ui] ui/ok_if_let.rs ... FAILED test [ui] ui/op_ref.rs ... ok test [ui] ui/open_options.rs ... ok test [ui] ui/option_map_unit_fn.rs ... FAILED test [ui] ui/option_option.rs ... FAILED test [ui] ui/panic_unimplemented.rs ... FAILED test [ui] ui/overflow_check_conditional.rs ... ok test [ui] ui/partialeq_ne_impl.rs ... FAILED test [ui] ui/patterns.rs ... ok test [ui] ui/print.rs ... FAILED test [ui] ui/print_with_newline.rs ... ok test [ui] ui/print_literal.rs ... ok test [ui] ui/precedence.rs ... ok test [ui] ui/proc_macro.rs ... ok test [ui] ui/ptr_arg.rs ... ok test [ui] ui/println_empty_string.rs ... ok test [ui] ui/question_mark.rs ... FAILED test [ui] ui/range.rs ... ok test [ui] ui/range_plus_minus_one.rs ... FAILED test [ui] ui/ptr_offset_with_cast.rs ... ok test [ui] ui/redundant_clone.rs ... FAILED test [ui] ui/redundant_closure_call.rs ... FAILED test [ui] ui/reference.rs ... FAILED test [ui] ui/redundant_pattern_matching.rs ... ok test [ui] ui/regex.rs ... ok test [ui] ui/rename.rs ... FAILED test [ui] ui/renamed_builtin_attr.rs ... ok test [ui] ui/redundant_field_names.rs ... ok test [ui] ui/result_map_unwrap_or_else.rs ... FAILED test [ui] ui/result_map_unit_fn.rs ... FAILED test [ui] ui/serde.rs ... FAILED test [ui] ui/replace_consts.rs ... ok test [ui] ui/shadow.rs ... FAILED test [ui] ui/short_circuit_statement.rs ... FAILED test [ui] ui/similar_names.rs ... FAILED test compile_test ... test compile_test has been running for over 60 seconds test [ui] ui/single_match_else.rs ... ok test [ui] ui/single_match.rs ... ok test [ui] ui/slow_vector_initialization.rs ... ok test [ui] ui/string_extend.rs ... FAILED test [ui] ui/single_char_pattern.rs ... ok test [ui] ui/strings.rs ... ok test [ui] ui/starts_ends_with.rs ... ok test [ui] ui/string_lit_as_bytes.rs ... ok test [ui] ui/suspicious_arithmetic_impl.rs ... FAILED test [ui] ui/swap.rs ... ok test [ui] ui/temporary_assignment.rs ... FAILED test [ui] ui/toplevel_ref_arg.rs ... ok test [ui] ui/trailing_zeros.rs ... ok test [ui] ui/transmute.rs ... FAILED test [ui] ui/transmute_32bit.rs ... FAILED test [ui] ui/transmute_64bit.rs ... FAILED test [ui] ui/transmuting_null.rs ... ok test [ui] ui/trivially_copy_pass_by_ref.rs ... FAILED test [ui] ui/ty_fn_sig.rs ... ok test [ui] ui/unicode.rs ... ok test [ui] ui/unit_arg.rs ... FAILED test [ui] ui/unit_cmp.rs ... FAILED test [ui] ui/types.rs ... ok test [ui] ui/unknown_attribute.rs ... ok test [ui] ui/unknown_clippy_lints.rs ... ok test [ui] ui/unnecessary_clone.rs ... FAILED test [ui] ui/unnecessary_filter_map.rs ... FAILED test [ui] ui/unnecessary_operation.rs ... FAILED test [ui] ui/unneeded_field_pattern.rs ... ok test [ui] ui/unnecessary_ref.rs ... ok test [ui] ui/unnecessary_fold.rs ... ok test [ui] ui/unsafe_removed_from_name.rs ... ok test [ui] ui/unreadable_literal.rs ... FAILED test [ui] ui/unused_io_amount.rs ... FAILED test [ui] ui/unused_labels.rs ... FAILED test [ui] ui/unused_lt.rs ... FAILED test [ui] ui/unused_unit.rs ... FAILED test [ui] ui/unwrap_or.rs ... ok test [ui] ui/use_self.rs ... FAILED test [ui] ui/used_underscore_binding.rs ... FAILED test [ui] ui/useful_asref.rs ... ok test [ui] ui/useless_asref.rs ... FAILED test [ui] ui/vec.rs ... FAILED test [ui] ui/while_loop.rs ... FAILED test [ui] ui/useless_attribute.rs ... ok test [ui] ui/wildcard_enum_match_arm.rs ... FAILED test [ui] ui/vec_box_sized.rs ... ok test [ui] ui/write_with_newline.rs ... ok test [ui] ui/write_literal.rs ... ok test [ui] ui/wrong_self_convention.rs ... FAILED test [ui] ui/zero_div_zero.rs ... ok test [ui] ui/zero_ptr.rs ... ok test [ui] ui/writeln_empty_string.rs ... ok failures: ---- [ui] ui/absurd-extreme-comparisons.rs stdout ---- normalized stderr: expected stderr: error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:14:5 | LL | u <= 0; | ^^^^^^ | = note: `-D clippy::absurd-extreme-comparisons` implied by `-D warnings` = help: because 0 is the minimum value for this type, the case where the two sides are not equal never occurs, consider using u == 0 instead error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:15:5 | LL | u <= Z; | ^^^^^^ | = help: because Z is the minimum value for this type, the case where the two sides are not equal never occurs, consider using u == Z instead error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:16:5 | LL | u < Z; | ^^^^^ | = help: because Z is the minimum value for this type, this comparison is always false error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:17:5 | LL | Z >= u; | ^^^^^^ | = help: because Z is the minimum value for this type, the case where the two sides are not equal never occurs, consider using Z == u instead error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:18:5 | LL | Z > u; | ^^^^^ | = help: because Z is the minimum value for this type, this comparison is always false error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:19:5 | LL | u > std::u32::MAX; | ^^^^^^^^^^^^^^^^^ | = help: because std::u32::MAX is the maximum value for this type, this comparison is always false error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:20:5 | LL | u >= std::u32::MAX; | ^^^^^^^^^^^^^^^^^^ | = help: because std::u32::MAX is the maximum value for this type, the case where the two sides are not equal never occurs, consider using u == std::u32::MAX instead error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:21:5 | LL | std::u32::MAX < u; | ^^^^^^^^^^^^^^^^^ | = help: because std::u32::MAX is the maximum value for this type, this comparison is always false error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:22:5 | LL | std::u32::MAX <= u; | ^^^^^^^^^^^^^^^^^^ | = help: because std::u32::MAX is the maximum value for this type, the case where the two sides are not equal never occurs, consider using std::u32::MAX == u instead error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:23:5 | LL | 1-1 > u; | ^^^^^^^ | = help: because 1-1 is the minimum value for this type, this comparison is always false error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:24:5 | LL | u >= !0; | ^^^^^^^ | = help: because !0 is the maximum value for this type, the case where the two sides are not equal never occurs, consider using u == !0 instead error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:25:5 | LL | u <= 12 - 2*6; | ^^^^^^^^^^^^^ | = help: because 12 - 2*6 is the minimum value for this type, the case where the two sides are not equal never occurs, consider using u == 12 - 2*6 instead error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:27:5 | LL | i < -127 - 1; | ^^^^^^^^^^^^ | = help: because -127 - 1 is the minimum value for this type, this comparison is always false error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:28:5 | LL | std::i8::MAX >= i; | ^^^^^^^^^^^^^^^^^ | = help: because std::i8::MAX is the maximum value for this type, this comparison is always true error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:29:5 | LL | 3-7 < std::i32::MIN; | ^^^^^^^^^^^^^^^^^^^ | = help: because std::i32::MIN is the minimum value for this type, this comparison is always false error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:31:5 | LL | b >= true; | ^^^^^^^^^ | = help: because true is the maximum value for this type, the case where the two sides are not equal never occurs, consider using b == true instead error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> $DIR/absurd-extreme-comparisons.rs:32:5 | LL | false > b; | ^^^^^^^^^ | = help: because false is the minimum value for this type, this comparison is always false error: <-comparison of unit values detected. This will always be false --> $DIR/absurd-extreme-comparisons.rs:35:5 | LL | () < {}; | ^^^^^^^ | = note: #[deny(clippy::unit_cmp)] on by default error: aborting due to 18 previous errors diff of stderr: -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:14:5 - | -LL | u <= 0; - | ^^^^^^ - | - = note: `-D clippy::absurd-extreme-comparisons` implied by `-D warnings` - = help: because 0 is the minimum value for this type, the case where the two sides are not equal never occurs, consider using u == 0 instead - -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:15:5 - | -LL | u <= Z; - | ^^^^^^ - | - = help: because Z is the minimum value for this type, the case where the two sides are not equal never occurs, consider using u == Z instead - -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:16:5 - | -LL | u < Z; - | ^^^^^ - | - = help: because Z is the minimum value for this type, this comparison is always false - -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:17:5 - | -LL | Z >= u; - | ^^^^^^ - | - = help: because Z is the minimum value for this type, the case where the two sides are not equal never occurs, consider using Z == u instead - -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:18:5 - | -LL | Z > u; - | ^^^^^ - | - = help: because Z is the minimum value for this type, this comparison is always false - -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:19:5 - | -LL | u > std::u32::MAX; - | ^^^^^^^^^^^^^^^^^ - | - = help: because std::u32::MAX is the maximum value for this type, this comparison is always false - -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:20:5 - | -LL | u >= std::u32::MAX; - | ^^^^^^^^^^^^^^^^^^ - | - = help: because std::u32::MAX is the maximum value for this type, the case where the two sides are not equal never occurs, consider using u == std::u32::MAX instead - -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:21:5 - | -LL | std::u32::MAX < u; - | ^^^^^^^^^^^^^^^^^ - | - = help: because std::u32::MAX is the maximum value for this type, this comparison is always false - -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:22:5 - | -LL | std::u32::MAX <= u; - | ^^^^^^^^^^^^^^^^^^ - | - = help: because std::u32::MAX is the maximum value for this type, the case where the two sides are not equal never occurs, consider using std::u32::MAX == u instead - -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:23:5 - | -LL | 1-1 > u; - | ^^^^^^^ - | - = help: because 1-1 is the minimum value for this type, this comparison is always false - -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:24:5 - | -LL | u >= !0; - | ^^^^^^^ - | - = help: because !0 is the maximum value for this type, the case where the two sides are not equal never occurs, consider using u == !0 instead - -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:25:5 - | -LL | u <= 12 - 2*6; - | ^^^^^^^^^^^^^ - | - = help: because 12 - 2*6 is the minimum value for this type, the case where the two sides are not equal never occurs, consider using u == 12 - 2*6 instead - -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:27:5 - | -LL | i < -127 - 1; - | ^^^^^^^^^^^^ - | - = help: because -127 - 1 is the minimum value for this type, this comparison is always false - -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:28:5 - | -LL | std::i8::MAX >= i; - | ^^^^^^^^^^^^^^^^^ - | - = help: because std::i8::MAX is the maximum value for this type, this comparison is always true - -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:29:5 - | -LL | 3-7 < std::i32::MIN; - | ^^^^^^^^^^^^^^^^^^^ - | - = help: because std::i32::MIN is the minimum value for this type, this comparison is always false - -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:31:5 - | -LL | b >= true; - | ^^^^^^^^^ - | - = help: because true is the maximum value for this type, the case where the two sides are not equal never occurs, consider using b == true instead - -error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false - --> $DIR/absurd-extreme-comparisons.rs:32:5 - | -LL | false > b; - | ^^^^^^^^^ - | - = help: because false is the minimum value for this type, this comparison is always false - -error: <-comparison of unit values detected. This will always be false - --> $DIR/absurd-extreme-comparisons.rs:35:5 - | -LL | () < {}; - | ^^^^^^^ - | - = note: #[deny(clippy::unit_cmp)] on by default - -error: aborting due to 18 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/absurd-extreme-comparisons.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'absurd-extreme-comparisons.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/absurd-extreme-comparisons.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/absurd-extreme-comparisons.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/absurd-extreme-comparisons.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/absurd-extreme-comparisons.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. ---- [ui] ui/assertions_on_constants.rs stdout ---- normalized stderr: expected stderr: error: assert!(true) will be optimized out by the compiler --> $DIR/assertions_on_constants.rs:9:5 | LL | assert!(true); | ^^^^^^^^^^^^^^ | = note: `-D clippy::assertions-on-constants` implied by `-D warnings` = help: remove it error: assert!(false) should probably be replaced --> $DIR/assertions_on_constants.rs:10:5 | LL | assert!(false); | ^^^^^^^^^^^^^^^ | = help: use panic!() or unreachable!() error: assert!(true) will be optimized out by the compiler --> $DIR/assertions_on_constants.rs:11:5 | LL | assert!(true, "true message"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: remove it error: assert!(false) should probably be replaced --> $DIR/assertions_on_constants.rs:12:5 | LL | assert!(false, "false message"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: use panic!() or unreachable!() error: assert!(const: true) will be optimized out by the compiler --> $DIR/assertions_on_constants.rs:15:5 | LL | assert!(B); | ^^^^^^^^^^^ | = help: remove it error: assert!(const: false) should probably be replaced --> $DIR/assertions_on_constants.rs:18:5 | LL | assert!(C); | ^^^^^^^^^^^ | = help: use panic!() or unreachable!() error: assert!(true) will be optimized out by the compiler --> $DIR/assertions_on_constants.rs:20:5 | LL | debug_assert!(true); | ^^^^^^^^^^^^^^^^^^^^ | = help: remove it = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: aborting due to 7 previous errors diff of stderr: -error: assert!(true) will be optimized out by the compiler - --> $DIR/assertions_on_constants.rs:9:5 - | -LL | assert!(true); - | ^^^^^^^^^^^^^^ - | - = note: `-D clippy::assertions-on-constants` implied by `-D warnings` - = help: remove it - -error: assert!(false) should probably be replaced - --> $DIR/assertions_on_constants.rs:10:5 - | -LL | assert!(false); - | ^^^^^^^^^^^^^^^ - | - = help: use panic!() or unreachable!() - -error: assert!(true) will be optimized out by the compiler - --> $DIR/assertions_on_constants.rs:11:5 - | -LL | assert!(true, "true message"); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = help: remove it - -error: assert!(false) should probably be replaced - --> $DIR/assertions_on_constants.rs:12:5 - | -LL | assert!(false, "false message"); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = help: use panic!() or unreachable!() - -error: assert!(const: true) will be optimized out by the compiler - --> $DIR/assertions_on_constants.rs:15:5 - | -LL | assert!(B); - | ^^^^^^^^^^^ - | - = help: remove it - -error: assert!(const: false) should probably be replaced - --> $DIR/assertions_on_constants.rs:18:5 - | -LL | assert!(C); - | ^^^^^^^^^^^ - | - = help: use panic!() or unreachable!() - -error: assert!(true) will be optimized out by the compiler - --> $DIR/assertions_on_constants.rs:20:5 - | -LL | debug_assert!(true); - | ^^^^^^^^^^^^^^^^^^^^ - | - = help: remove it - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: aborting due to 7 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/assertions_on_constants.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'assertions_on_constants.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/assertions_on_constants.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/assertions_on_constants.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/assertions_on_constants.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/assertions_on_constants.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/assign_ops2.rs stdout ---- normalized stderr: expected stderr: error: variable appears on both sides of an assignment operation --> $DIR/assign_ops2.rs:5:5 | LL | a += a + 1; | ^^^^^^^^^^ | = note: `-D clippy::misrefactored-assign-op` implied by `-D warnings` help: Did you mean a = a + 1 or a = a + a + 1? Consider replacing it with | LL | a += 1; | ^^^^^^ help: or | LL | a = a + a + 1; | ^^^^^^^^^^^^^ error: variable appears on both sides of an assignment operation --> $DIR/assign_ops2.rs:6:5 | LL | a += 1 + a; | ^^^^^^^^^^ help: Did you mean a = a + 1 or a = a + 1 + a? Consider replacing it with | LL | a += 1; | ^^^^^^ help: or | LL | a = a + 1 + a; | ^^^^^^^^^^^^^ error: variable appears on both sides of an assignment operation --> $DIR/assign_ops2.rs:7:5 | LL | a -= a - 1; | ^^^^^^^^^^ help: Did you mean a = a - 1 or a = a - (a - 1)? Consider replacing it with | LL | a -= 1; | ^^^^^^ help: or | LL | a = a - (a - 1); | ^^^^^^^^^^^^^^^ error: variable appears on both sides of an assignment operation --> $DIR/assign_ops2.rs:8:5 | LL | a *= a * 99; | ^^^^^^^^^^^ help: Did you mean a = a * 99 or a = a * a * 99? Consider replacing it with | LL | a *= 99; | ^^^^^^^ help: or | LL | a = a * a * 99; | ^^^^^^^^^^^^^^ error: variable appears on both sides of an assignment operation --> $DIR/assign_ops2.rs:9:5 | LL | a *= 42 * a; | ^^^^^^^^^^^ help: Did you mean a = a * 42 or a = a * 42 * a? Consider replacing it with | LL | a *= 42; | ^^^^^^^ help: or | LL | a = a * 42 * a; | ^^^^^^^^^^^^^^ error: variable appears on both sides of an assignment operation --> $DIR/assign_ops2.rs:10:5 | LL | a /= a / 2; | ^^^^^^^^^^ help: Did you mean a = a / 2 or a = a / (a / 2)? Consider replacing it with | LL | a /= 2; | ^^^^^^ help: or | LL | a = a / (a / 2); | ^^^^^^^^^^^^^^^ error: variable appears on both sides of an assignment operation --> $DIR/assign_ops2.rs:11:5 | LL | a %= a % 5; | ^^^^^^^^^^ help: Did you mean a = a % 5 or a = a % (a % 5)? Consider replacing it with | LL | a %= 5; | ^^^^^^ help: or | LL | a = a % (a % 5); | ^^^^^^^^^^^^^^^ error: variable appears on both sides of an assignment operation --> $DIR/assign_ops2.rs:12:5 | LL | a &= a & 1; | ^^^^^^^^^^ help: Did you mean a = a & 1 or a = a & a & 1? Consider replacing it with | LL | a &= 1; | ^^^^^^ help: or | LL | a = a & a & 1; | ^^^^^^^^^^^^^ error: variable appears on both sides of an assignment operation --> $DIR/assign_ops2.rs:13:5 | LL | a *= a * a; | ^^^^^^^^^^ help: Did you mean a = a * a or a = a * a * a? Consider replacing it with | LL | a *= a; | ^^^^^^ help: or | LL | a = a * a * a; | ^^^^^^^^^^^^^ error: manual implementation of an assign operation --> $DIR/assign_ops2.rs:50:5 | LL | buf = buf + cows.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `buf += cows.clone()` | = note: `-D clippy::assign-op-pattern` implied by `-D warnings` error: aborting due to 10 previous errors diff of stderr: -error: variable appears on both sides of an assignment operation - --> $DIR/assign_ops2.rs:5:5 - | -LL | a += a + 1; - | ^^^^^^^^^^ - | - = note: `-D clippy::misrefactored-assign-op` implied by `-D warnings` -help: Did you mean a = a + 1 or a = a + a + 1? Consider replacing it with - | -LL | a += 1; - | ^^^^^^ -help: or - | -LL | a = a + a + 1; - | ^^^^^^^^^^^^^ - -error: variable appears on both sides of an assignment operation - --> $DIR/assign_ops2.rs:6:5 - | -LL | a += 1 + a; - | ^^^^^^^^^^ -help: Did you mean a = a + 1 or a = a + 1 + a? Consider replacing it with - | -LL | a += 1; - | ^^^^^^ -help: or - | -LL | a = a + 1 + a; - | ^^^^^^^^^^^^^ - -error: variable appears on both sides of an assignment operation - --> $DIR/assign_ops2.rs:7:5 - | -LL | a -= a - 1; - | ^^^^^^^^^^ -help: Did you mean a = a - 1 or a = a - (a - 1)? Consider replacing it with - | -LL | a -= 1; - | ^^^^^^ -help: or - | -LL | a = a - (a - 1); - | ^^^^^^^^^^^^^^^ - -error: variable appears on both sides of an assignment operation - --> $DIR/assign_ops2.rs:8:5 - | -LL | a *= a * 99; - | ^^^^^^^^^^^ -help: Did you mean a = a * 99 or a = a * a * 99? Consider replacing it with - | -LL | a *= 99; - | ^^^^^^^ -help: or - | -LL | a = a * a * 99; - | ^^^^^^^^^^^^^^ - -error: variable appears on both sides of an assignment operation - --> $DIR/assign_ops2.rs:9:5 - | -LL | a *= 42 * a; - | ^^^^^^^^^^^ -help: Did you mean a = a * 42 or a = a * 42 * a? Consider replacing it with - | -LL | a *= 42; - | ^^^^^^^ -help: or - | -LL | a = a * 42 * a; - | ^^^^^^^^^^^^^^ - -error: variable appears on both sides of an assignment operation - --> $DIR/assign_ops2.rs:10:5 - | -LL | a /= a / 2; - | ^^^^^^^^^^ -help: Did you mean a = a / 2 or a = a / (a / 2)? Consider replacing it with - | -LL | a /= 2; - | ^^^^^^ -help: or - | -LL | a = a / (a / 2); - | ^^^^^^^^^^^^^^^ - -error: variable appears on both sides of an assignment operation - --> $DIR/assign_ops2.rs:11:5 - | -LL | a %= a % 5; - | ^^^^^^^^^^ -help: Did you mean a = a % 5 or a = a % (a % 5)? Consider replacing it with - | -LL | a %= 5; - | ^^^^^^ -help: or - | -LL | a = a % (a % 5); - | ^^^^^^^^^^^^^^^ - -error: variable appears on both sides of an assignment operation - --> $DIR/assign_ops2.rs:12:5 - | -LL | a &= a & 1; - | ^^^^^^^^^^ -help: Did you mean a = a & 1 or a = a & a & 1? Consider replacing it with - | -LL | a &= 1; - | ^^^^^^ -help: or - | -LL | a = a & a & 1; - | ^^^^^^^^^^^^^ - -error: variable appears on both sides of an assignment operation - --> $DIR/assign_ops2.rs:13:5 - | -LL | a *= a * a; - | ^^^^^^^^^^ -help: Did you mean a = a * a or a = a * a * a? Consider replacing it with - | -LL | a *= a; - | ^^^^^^ -help: or - | -LL | a = a * a * a; - | ^^^^^^^^^^^^^ - -error: manual implementation of an assign operation - --> $DIR/assign_ops2.rs:50:5 - | -LL | buf = buf + cows.clone(); - | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `buf += cows.clone()` - | - = note: `-D clippy::assign-op-pattern` implied by `-D warnings` - -error: aborting due to 10 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/assign_ops2.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'assign_ops2.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/assign_ops2.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/assign_ops2.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/assign_ops2.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/assign_ops2.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/attrs.rs stdout ---- normalized stderr: expected stderr: error: you have declared `#[inline(always)]` on `test_attr_lint`. This is usually a bad idea --> $DIR/attrs.rs:3:1 | LL | #[inline(always)] | ^^^^^^^^^^^^^^^^^ | = note: `-D clippy::inline-always` implied by `-D warnings` error: the since field must contain a semver-compliant version --> $DIR/attrs.rs:23:14 | LL | #[deprecated(since = "forever")] | ^^^^^^^^^^^^^^^^^ | = note: `-D clippy::deprecated-semver` implied by `-D warnings` error: the since field must contain a semver-compliant version --> $DIR/attrs.rs:26:14 | LL | #[deprecated(since = "1")] | ^^^^^^^^^^^ error: aborting due to 3 previous errors diff of stderr: -error: you have declared `#[inline(always)]` on `test_attr_lint`. This is usually a bad idea - --> $DIR/attrs.rs:3:1 - | -LL | #[inline(always)] - | ^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::inline-always` implied by `-D warnings` - -error: the since field must contain a semver-compliant version - --> $DIR/attrs.rs:23:14 - | -LL | #[deprecated(since = "forever")] - | ^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::deprecated-semver` implied by `-D warnings` - -error: the since field must contain a semver-compliant version - --> $DIR/attrs.rs:26:14 - | -LL | #[deprecated(since = "1")] - | ^^^^^^^^^^^ - -error: aborting due to 3 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/attrs.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'attrs.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/attrs.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/attrs.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/attrs.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/attrs.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/block_in_if_condition.rs stdout ---- normalized stderr: expected stderr: error: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' --> $DIR/block_in_if_condition.rs:26:8 | LL | if { | ________^ LL | | let x = 3; LL | | x == 3 LL | | } { | |_____^ | = note: `-D clippy::block-in-if-condition-stmt` implied by `-D warnings` = help: try let res = { let x = 3; x == 3 }; if res { 6 } ... error: omit braces around single expression condition --> $DIR/block_in_if_condition.rs:37:8 | LL | if { true } { | ^^^^^^^^ | = note: `-D clippy::block-in-if-condition-expr` implied by `-D warnings` = help: try if true { 6 } ... error: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' --> $DIR/block_in_if_condition.rs:58:17 | LL | |x| { | _________________^ LL | | let target = 3; LL | | x == target LL | | }, | |_____________^ error: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' --> $DIR/block_in_if_condition.rs:67:13 | LL | |x| { | _____________^ LL | | let target = 3; LL | | x == target LL | | }, | |_________^ error: this boolean expression can be simplified --> $DIR/block_in_if_condition.rs:77:8 | LL | if true && x == 3 { | ^^^^^^^^^^^^^^ help: try: `x == 3` | = note: `-D clippy::nonminimal-bool` implied by `-D warnings` error: aborting due to 5 previous errors diff of stderr: -error: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' - --> $DIR/block_in_if_condition.rs:26:8 - | -LL | if { - | ________^ -LL | | let x = 3; -LL | | x == 3 -LL | | } { - | |_____^ - | - = note: `-D clippy::block-in-if-condition-stmt` implied by `-D warnings` - = help: try - let res = { - let x = 3; - x == 3 - }; - if res { - 6 - } ... - -error: omit braces around single expression condition - --> $DIR/block_in_if_condition.rs:37:8 - | -LL | if { true } { - | ^^^^^^^^ - | - = note: `-D clippy::block-in-if-condition-expr` implied by `-D warnings` - = help: try - if true { - 6 - } ... - -error: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' - --> $DIR/block_in_if_condition.rs:58:17 - | -LL | |x| { - | _________________^ -LL | | let target = 3; -LL | | x == target -LL | | }, - | |_____________^ - -error: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' - --> $DIR/block_in_if_condition.rs:67:13 - | -LL | |x| { - | _____________^ -LL | | let target = 3; -LL | | x == target -LL | | }, - | |_________^ - -error: this boolean expression can be simplified - --> $DIR/block_in_if_condition.rs:77:8 - | -LL | if true && x == 3 { - | ^^^^^^^^^^^^^^ help: try: `x == 3` - | - = note: `-D clippy::nonminimal-bool` implied by `-D warnings` - -error: aborting due to 5 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/block_in_if_condition.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'block_in_if_condition.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/block_in_if_condition.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/block_in_if_condition.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/block_in_if_condition.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/block_in_if_condition.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/bool_comparison.rs stdout ---- normalized stderr: expected stderr: error: equality checks against true are unnecessary --> $DIR/bool_comparison.rs:4:8 | LL | if x == true { | ^^^^^^^^^ help: try simplifying it as shown: `x` | = note: `-D clippy::bool-comparison` implied by `-D warnings` error: equality checks against false can be replaced by a negation --> $DIR/bool_comparison.rs:9:8 | LL | if x == false { | ^^^^^^^^^^ help: try simplifying it as shown: `!x` error: equality checks against true are unnecessary --> $DIR/bool_comparison.rs:14:8 | LL | if true == x { | ^^^^^^^^^ help: try simplifying it as shown: `x` error: equality checks against false can be replaced by a negation --> $DIR/bool_comparison.rs:19:8 | LL | if false == x { | ^^^^^^^^^^ help: try simplifying it as shown: `!x` error: inequality checks against true can be replaced by a negation --> $DIR/bool_comparison.rs:24:8 | LL | if x != true { | ^^^^^^^^^ help: try simplifying it as shown: `!x` error: inequality checks against false are unnecessary --> $DIR/bool_comparison.rs:29:8 | LL | if x != false { | ^^^^^^^^^^ help: try simplifying it as shown: `x` error: inequality checks against true can be replaced by a negation --> $DIR/bool_comparison.rs:34:8 | LL | if true != x { | ^^^^^^^^^ help: try simplifying it as shown: `!x` error: inequality checks against false are unnecessary --> $DIR/bool_comparison.rs:39:8 | LL | if false != x { | ^^^^^^^^^^ help: try simplifying it as shown: `x` error: less than comparison against true can be replaced by a negation --> $DIR/bool_comparison.rs:44:8 | LL | if x < true { | ^^^^^^^^ help: try simplifying it as shown: `!x` error: greater than checks against false are unnecessary --> $DIR/bool_comparison.rs:49:8 | LL | if false < x { | ^^^^^^^^^ help: try simplifying it as shown: `x` error: greater than checks against false are unnecessary --> $DIR/bool_comparison.rs:54:8 | LL | if x > false { | ^^^^^^^^^ help: try simplifying it as shown: `x` error: less than comparison against true can be replaced by a negation --> $DIR/bool_comparison.rs:59:8 | LL | if true > x { | ^^^^^^^^ help: try simplifying it as shown: `!x` error: order comparisons between booleans can be simplified --> $DIR/bool_comparison.rs:65:8 | LL | if x < y { | ^^^^^ help: try simplifying it as shown: `!x & y` error: order comparisons between booleans can be simplified --> $DIR/bool_comparison.rs:70:8 | LL | if x > y { | ^^^^^ help: try simplifying it as shown: `x & !y` error: aborting due to 14 previous errors diff of stderr: -error: equality checks against true are unnecessary - --> $DIR/bool_comparison.rs:4:8 - | -LL | if x == true { - | ^^^^^^^^^ help: try simplifying it as shown: `x` - | - = note: `-D clippy::bool-comparison` implied by `-D warnings` - -error: equality checks against false can be replaced by a negation - --> $DIR/bool_comparison.rs:9:8 - | -LL | if x == false { - | ^^^^^^^^^^ help: try simplifying it as shown: `!x` - -error: equality checks against true are unnecessary - --> $DIR/bool_comparison.rs:14:8 - | -LL | if true == x { - | ^^^^^^^^^ help: try simplifying it as shown: `x` - -error: equality checks against false can be replaced by a negation - --> $DIR/bool_comparison.rs:19:8 - | -LL | if false == x { - | ^^^^^^^^^^ help: try simplifying it as shown: `!x` - -error: inequality checks against true can be replaced by a negation - --> $DIR/bool_comparison.rs:24:8 - | -LL | if x != true { - | ^^^^^^^^^ help: try simplifying it as shown: `!x` - -error: inequality checks against false are unnecessary - --> $DIR/bool_comparison.rs:29:8 - | -LL | if x != false { - | ^^^^^^^^^^ help: try simplifying it as shown: `x` - -error: inequality checks against true can be replaced by a negation - --> $DIR/bool_comparison.rs:34:8 - | -LL | if true != x { - | ^^^^^^^^^ help: try simplifying it as shown: `!x` - -error: inequality checks against false are unnecessary - --> $DIR/bool_comparison.rs:39:8 - | -LL | if false != x { - | ^^^^^^^^^^ help: try simplifying it as shown: `x` - -error: less than comparison against true can be replaced by a negation - --> $DIR/bool_comparison.rs:44:8 - | -LL | if x < true { - | ^^^^^^^^ help: try simplifying it as shown: `!x` - -error: greater than checks against false are unnecessary - --> $DIR/bool_comparison.rs:49:8 - | -LL | if false < x { - | ^^^^^^^^^ help: try simplifying it as shown: `x` - -error: greater than checks against false are unnecessary - --> $DIR/bool_comparison.rs:54:8 - | -LL | if x > false { - | ^^^^^^^^^ help: try simplifying it as shown: `x` - -error: less than comparison against true can be replaced by a negation - --> $DIR/bool_comparison.rs:59:8 - | -LL | if true > x { - | ^^^^^^^^ help: try simplifying it as shown: `!x` - -error: order comparisons between booleans can be simplified - --> $DIR/bool_comparison.rs:65:8 - | -LL | if x < y { - | ^^^^^ help: try simplifying it as shown: `!x & y` - -error: order comparisons between booleans can be simplified - --> $DIR/bool_comparison.rs:70:8 - | -LL | if x > y { - | ^^^^^ help: try simplifying it as shown: `x & !y` - -error: aborting due to 14 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/bool_comparison.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'bool_comparison.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/bool_comparison.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/bool_comparison.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/bool_comparison.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/bool_comparison.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/booleans.rs stdout ---- normalized stderr: expected stderr: error: this boolean expression contains a logic bug --> $DIR/booleans.rs:10:13 | LL | let _ = a && b || a; | ^^^^^^^^^^^ help: it would look like the following: `a` | = note: `-D clippy::logic-bug` implied by `-D warnings` help: this expression can be optimized out by applying boolean operations to the outer expression --> $DIR/booleans.rs:10:18 | LL | let _ = a && b || a; | ^ error: this boolean expression can be simplified --> $DIR/booleans.rs:12:13 | LL | let _ = !true; | ^^^^^ help: try: `false` | = note: `-D clippy::nonminimal-bool` implied by `-D warnings` error: this boolean expression can be simplified --> $DIR/booleans.rs:13:13 | LL | let _ = !false; | ^^^^^^ help: try: `true` error: this boolean expression can be simplified --> $DIR/booleans.rs:14:13 | LL | let _ = !!a; | ^^^ help: try: `a` error: this boolean expression contains a logic bug --> $DIR/booleans.rs:15:13 | LL | let _ = false && a; | ^^^^^^^^^^ help: it would look like the following: `false` | help: this expression can be optimized out by applying boolean operations to the outer expression --> $DIR/booleans.rs:15:22 | LL | let _ = false && a; | ^ error: this boolean expression can be simplified --> $DIR/booleans.rs:16:13 | LL | let _ = false || a; | ^^^^^^^^^^ help: try: `a` error: this boolean expression can be simplified --> $DIR/booleans.rs:21:13 | LL | let _ = !(!a && b); | ^^^^^^^^^^ help: try: `!b || a` error: this boolean expression contains a logic bug --> $DIR/booleans.rs:31:13 | LL | let _ = a == b && a != b; | ^^^^^^^^^^^^^^^^ help: it would look like the following: `false` | help: this expression can be optimized out by applying boolean operations to the outer expression --> $DIR/booleans.rs:31:13 | LL | let _ = a == b && a != b; | ^^^^^^ error: this boolean expression can be simplified --> $DIR/booleans.rs:32:13 | LL | let _ = a == b && c == 5 && a == b; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try | LL | let _ = a == b && c == 5; | ^^^^^^^^^^^^^^^^ LL | let _ = !(c != 5 || a != b); | ^^^^^^^^^^^^^^^^^^^ error: this boolean expression can be simplified --> $DIR/booleans.rs:33:13 | LL | let _ = a == b && c == 5 && b == a; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try | LL | let _ = a == b && c == 5; | ^^^^^^^^^^^^^^^^ LL | let _ = !(c != 5 || a != b); | ^^^^^^^^^^^^^^^^^^^ error: this boolean expression contains a logic bug --> $DIR/booleans.rs:34:13 | LL | let _ = a < b && a >= b; | ^^^^^^^^^^^^^^^ help: it would look like the following: `false` | help: this expression can be optimized out by applying boolean operations to the outer expression --> $DIR/booleans.rs:34:13 | LL | let _ = a < b && a >= b; | ^^^^^ error: this boolean expression contains a logic bug --> $DIR/booleans.rs:35:13 | LL | let _ = a > b && a <= b; | ^^^^^^^^^^^^^^^ help: it would look like the following: `false` | help: this expression can be optimized out by applying boolean operations to the outer expression --> $DIR/booleans.rs:35:13 | LL | let _ = a > b && a <= b; | ^^^^^ error: this boolean expression can be simplified --> $DIR/booleans.rs:37:13 | LL | let _ = a != b || !(a != b || c == d); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try | LL | let _ = c != d || a != b; | ^^^^^^^^^^^^^^^^ LL | let _ = !(a == b && c == d); | ^^^^^^^^^^^^^^^^^^^ error: this boolean expression can be simplified --> $DIR/booleans.rs:45:13 | LL | let _ = !a.is_some(); | ^^^^^^^^^^^^ help: try: `a.is_none()` error: this boolean expression can be simplified --> $DIR/booleans.rs:47:13 | LL | let _ = !a.is_none(); | ^^^^^^^^^^^^ help: try: `a.is_some()` error: this boolean expression can be simplified --> $DIR/booleans.rs:49:13 | LL | let _ = !b.is_err(); | ^^^^^^^^^^^ help: try: `b.is_ok()` error: this boolean expression can be simplified --> $DIR/booleans.rs:51:13 | LL | let _ = !b.is_ok(); | ^^^^^^^^^^ help: try: `b.is_err()` error: this boolean expression can be simplified --> $DIR/booleans.rs:53:13 | LL | let _ = !(a.is_some() && !c); | ^^^^^^^^^^^^^^^^^^^^ help: try: `c || a.is_none()` error: this boolean expression can be simplified --> $DIR/booleans.rs:54:13 | LL | let _ = !(!c ^ c) || !a.is_some(); | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `!(!c ^ c) || a.is_none()` error: this boolean expression can be simplified --> $DIR/booleans.rs:55:13 | LL | let _ = (!c ^ c) || !a.is_some(); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(!c ^ c) || a.is_none()` error: this boolean expression can be simplified --> $DIR/booleans.rs:56:13 | LL | let _ = !c ^ c || !a.is_some(); | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `!c ^ c || a.is_none()` error: this boolean expression can be simplified --> $DIR/booleans.rs:128:8 | LL | if !res.is_ok() {} | ^^^^^^^^^^^^ help: try: `res.is_err()` error: this boolean expression can be simplified --> $DIR/booleans.rs:129:8 | LL | if !res.is_err() {} | ^^^^^^^^^^^^^ help: try: `res.is_ok()` error: this boolean expression can be simplified --> $DIR/booleans.rs:132:8 | LL | if !res.is_some() {} | ^^^^^^^^^^^^^^ help: try: `res.is_none()` error: this boolean expression can be simplified --> $DIR/booleans.rs:133:8 | LL | if !res.is_none() {} | ^^^^^^^^^^^^^^ help: try: `res.is_some()` error: aborting due to 25 previous errors diff of stderr: -error: this boolean expression contains a logic bug - --> $DIR/booleans.rs:10:13 - | -LL | let _ = a && b || a; - | ^^^^^^^^^^^ help: it would look like the following: `a` - | - = note: `-D clippy::logic-bug` implied by `-D warnings` -help: this expression can be optimized out by applying boolean operations to the outer expression - --> $DIR/booleans.rs:10:18 - | -LL | let _ = a && b || a; - | ^ - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:12:13 - | -LL | let _ = !true; - | ^^^^^ help: try: `false` - | - = note: `-D clippy::nonminimal-bool` implied by `-D warnings` - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:13:13 - | -LL | let _ = !false; - | ^^^^^^ help: try: `true` - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:14:13 - | -LL | let _ = !!a; - | ^^^ help: try: `a` - -error: this boolean expression contains a logic bug - --> $DIR/booleans.rs:15:13 - | -LL | let _ = false && a; - | ^^^^^^^^^^ help: it would look like the following: `false` - | -help: this expression can be optimized out by applying boolean operations to the outer expression - --> $DIR/booleans.rs:15:22 - | -LL | let _ = false && a; - | ^ - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:16:13 - | -LL | let _ = false || a; - | ^^^^^^^^^^ help: try: `a` - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:21:13 - | -LL | let _ = !(!a && b); - | ^^^^^^^^^^ help: try: `!b || a` - -error: this boolean expression contains a logic bug - --> $DIR/booleans.rs:31:13 - | -LL | let _ = a == b && a != b; - | ^^^^^^^^^^^^^^^^ help: it would look like the following: `false` - | -help: this expression can be optimized out by applying boolean operations to the outer expression - --> $DIR/booleans.rs:31:13 - | -LL | let _ = a == b && a != b; - | ^^^^^^ - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:32:13 - | -LL | let _ = a == b && c == 5 && a == b; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ -help: try - | -LL | let _ = a == b && c == 5; - | ^^^^^^^^^^^^^^^^ -LL | let _ = !(c != 5 || a != b); - | ^^^^^^^^^^^^^^^^^^^ - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:33:13 - | -LL | let _ = a == b && c == 5 && b == a; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ -help: try - | -LL | let _ = a == b && c == 5; - | ^^^^^^^^^^^^^^^^ -LL | let _ = !(c != 5 || a != b); - | ^^^^^^^^^^^^^^^^^^^ - -error: this boolean expression contains a logic bug - --> $DIR/booleans.rs:34:13 - | -LL | let _ = a < b && a >= b; - | ^^^^^^^^^^^^^^^ help: it would look like the following: `false` - | -help: this expression can be optimized out by applying boolean operations to the outer expression - --> $DIR/booleans.rs:34:13 - | -LL | let _ = a < b && a >= b; - | ^^^^^ - -error: this boolean expression contains a logic bug - --> $DIR/booleans.rs:35:13 - | -LL | let _ = a > b && a <= b; - | ^^^^^^^^^^^^^^^ help: it would look like the following: `false` - | -help: this expression can be optimized out by applying boolean operations to the outer expression - --> $DIR/booleans.rs:35:13 - | -LL | let _ = a > b && a <= b; - | ^^^^^ - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:37:13 - | -LL | let _ = a != b || !(a != b || c == d); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -help: try - | -LL | let _ = c != d || a != b; - | ^^^^^^^^^^^^^^^^ -LL | let _ = !(a == b && c == d); - | ^^^^^^^^^^^^^^^^^^^ - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:45:13 - | -LL | let _ = !a.is_some(); - | ^^^^^^^^^^^^ help: try: `a.is_none()` - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:47:13 - | -LL | let _ = !a.is_none(); - | ^^^^^^^^^^^^ help: try: `a.is_some()` - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:49:13 - | -LL | let _ = !b.is_err(); - | ^^^^^^^^^^^ help: try: `b.is_ok()` - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:51:13 - | -LL | let _ = !b.is_ok(); - | ^^^^^^^^^^ help: try: `b.is_err()` - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:53:13 - | -LL | let _ = !(a.is_some() && !c); - | ^^^^^^^^^^^^^^^^^^^^ help: try: `c || a.is_none()` - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:54:13 - | -LL | let _ = !(!c ^ c) || !a.is_some(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `!(!c ^ c) || a.is_none()` - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:55:13 - | -LL | let _ = (!c ^ c) || !a.is_some(); - | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(!c ^ c) || a.is_none()` - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:56:13 - | -LL | let _ = !c ^ c || !a.is_some(); - | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `!c ^ c || a.is_none()` - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:128:8 - | -LL | if !res.is_ok() {} - | ^^^^^^^^^^^^ help: try: `res.is_err()` - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:129:8 - | -LL | if !res.is_err() {} - | ^^^^^^^^^^^^^ help: try: `res.is_ok()` - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:132:8 - | -LL | if !res.is_some() {} - | ^^^^^^^^^^^^^^ help: try: `res.is_none()` - -error: this boolean expression can be simplified - --> $DIR/booleans.rs:133:8 - | -LL | if !res.is_none() {} - | ^^^^^^^^^^^^^^ help: try: `res.is_some()` - -error: aborting due to 25 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/booleans.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'booleans.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/booleans.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/booleans.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/booleans.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/booleans.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/borrow_box.rs stdout ---- normalized stderr: expected stderr: error: you seem to be trying to use `&Box`. Consider using just `&T` --> $DIR/borrow_box.rs:6:19 | LL | pub fn test1(foo: &mut Box) { | ^^^^^^^^^^^^^^ help: try: `&mut bool` | note: lint level defined here --> $DIR/borrow_box.rs:1:9 | LL | #![deny(clippy::borrowed_box)] | ^^^^^^^^^^^^^^^^^^^^ error: you seem to be trying to use `&Box`. Consider using just `&T` --> $DIR/borrow_box.rs:11:14 | LL | let foo: &Box; | ^^^^^^^^^^ help: try: `&bool` error: you seem to be trying to use `&Box`. Consider using just `&T` --> $DIR/borrow_box.rs:15:10 | LL | foo: &'a Box, | ^^^^^^^^^^^^^ help: try: `&'a bool` error: you seem to be trying to use `&Box`. Consider using just `&T` --> $DIR/borrow_box.rs:19:17 | LL | fn test4(a: &Box); | ^^^^^^^^^^ help: try: `&bool` error: aborting due to 4 previous errors diff of stderr: -error: you seem to be trying to use `&Box`. Consider using just `&T` - --> $DIR/borrow_box.rs:6:19 - | -LL | pub fn test1(foo: &mut Box) { - | ^^^^^^^^^^^^^^ help: try: `&mut bool` - | -note: lint level defined here - --> $DIR/borrow_box.rs:1:9 - | -LL | #![deny(clippy::borrowed_box)] - | ^^^^^^^^^^^^^^^^^^^^ - -error: you seem to be trying to use `&Box`. Consider using just `&T` - --> $DIR/borrow_box.rs:11:14 - | -LL | let foo: &Box; - | ^^^^^^^^^^ help: try: `&bool` - -error: you seem to be trying to use `&Box`. Consider using just `&T` - --> $DIR/borrow_box.rs:15:10 - | -LL | foo: &'a Box, - | ^^^^^^^^^^^^^ help: try: `&'a bool` - -error: you seem to be trying to use `&Box`. Consider using just `&T` - --> $DIR/borrow_box.rs:19:17 - | -LL | fn test4(a: &Box); - | ^^^^^^^^^^ help: try: `&bool` - -error: aborting due to 4 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/borrow_box.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'borrow_box.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/borrow_box.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/borrow_box.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/borrow_box.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/borrow_box.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/box_vec.rs stdout ---- normalized stderr: expected stderr: error: you seem to be trying to use `Box>`. Consider using just `Vec` --> $DIR/box_vec.rs:14:18 | LL | pub fn test(foo: Box>) { | ^^^^^^^^^^^^^^ | = note: `-D clippy::box-vec` implied by `-D warnings` = help: `Vec` is already on the heap, `Box>` makes an extra allocation. error: aborting due to previous error diff of stderr: -error: you seem to be trying to use `Box>`. Consider using just `Vec` - --> $DIR/box_vec.rs:14:18 - | -LL | pub fn test(foo: Box>) { - | ^^^^^^^^^^^^^^ - | - = note: `-D clippy::box-vec` implied by `-D warnings` - = help: `Vec` is already on the heap, `Box>` makes an extra allocation. - -error: aborting due to previous error - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/box_vec.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'box_vec.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/box_vec.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/box_vec.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/box_vec.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/box_vec.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/builtin-type-shadow.rs stdout ---- normalized stderr: error: This generic shadows the built-in type `u32` --> $DIR/builtin-type-shadow.rs:4:8 | LL | fn foo(a: u32) -> u32 { | ^^^ | = note: `-D clippy::builtin-type-shadow` implied by `-D warnings` expected stderr: error: This generic shadows the built-in type `u32` --> $DIR/builtin-type-shadow.rs:4:8 | LL | fn foo(a: u32) -> u32 { | ^^^ | = note: `-D clippy::builtin-type-shadow` implied by `-D warnings` error[E0308]: mismatched types --> $DIR/builtin-type-shadow.rs:5:5 | LL | fn foo(a: u32) -> u32 { | --- expected `u32` because of return type LL | 42 | ^^ expected type parameter, found integer | = note: expected type `u32` found type `{integer}` error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0308`. diff of stderr: error: This generic shadows the built-in type `u32` --> $DIR/builtin-type-shadow.rs:4:8 | LL | fn foo(a: u32) -> u32 { | ^^^ | = note: `-D clippy::builtin-type-shadow` implied by `-D warnings` -error[E0308]: mismatched types - --> $DIR/builtin-type-shadow.rs:5:5 - | -LL | fn foo(a: u32) -> u32 { - | --- expected `u32` because of return type -LL | 42 - | ^^ expected type parameter, found integer - | - = note: expected type `u32` - found type `{integer}` - -error: aborting due to 2 previous errors - -For more information about this error, try `rustc --explain E0308`. The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/builtin-type-shadow.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'builtin-type-shadow.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/builtin-type-shadow.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/builtin-type-shadow.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/builtin-type-shadow.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"This generic shadows the built-in type `u32`","code":{"code":"clippy::builtin_type_shadow","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/builtin-type-shadow.rs","byte_start":78,"byte_end":81,"line_start":4,"line_end":4,"column_start":8,"column_end":11,"is_primary":true,"text":[{"text":"fn foo(a: u32) -> u32 {","highlight_start":8,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::builtin-type-shadow` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error: This generic shadows the built-in type `u32`\n --> tests/ui/builtin-type-shadow.rs:4:8\n |\nLL | fn foo(a: u32) -> u32 {\n | ^^^\n |\n = note: `-D clippy::builtin-type-shadow` implied by `-D warnings`\n\n"} ------------------------------------------ thread '[ui] ui/builtin-type-shadow.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/cast_size.rs stdout ---- normalized stderr: error: casting isize to i8 may truncate the value --> $DIR/cast_size.rs:11:5 | LL | 1isize as i8; | ^^^^^^^^^^^^ | = note: `-D clippy::cast-possible-truncation` implied by `-D warnings` error: casting isize to f64 causes a loss of precision on targets with 64-bit wide pointers (isize is 64 bits wide, but f64's mantissa is only 52 bits wide) --> $DIR/cast_size.rs:14:5 | LL | x0 as f64; | ^^^^^^^^^ | = note: `-D clippy::cast-precision-loss` implied by `-D warnings` error: casting isize to f64 may become silently lossy if types change --> $DIR/cast_size.rs:14:5 | LL | x0 as f64; | ^^^^^^^^^ help: try: `f64::from(x0)` | = note: `-D clippy::cast-lossless` implied by `-D warnings` error: casting usize to f64 causes a loss of precision on targets with 64-bit wide pointers (usize is 64 bits wide, but f64's mantissa is only 52 bits wide) --> $DIR/cast_size.rs:15:5 | LL | x1 as f64; | ^^^^^^^^^ error: casting usize to f64 may become silently lossy if types change --> $DIR/cast_size.rs:15:5 | LL | x1 as f64; | ^^^^^^^^^ help: try: `f64::from(x1)` error: casting isize to f32 causes a loss of precision (isize is 32 or 64 bits wide, but f32's mantissa is only 23 bits wide) --> $DIR/cast_size.rs:16:5 | LL | x0 as f32; | ^^^^^^^^^ error: casting usize to f32 causes a loss of precision (usize is 32 or 64 bits wide, but f32's mantissa is only 23 bits wide) --> $DIR/cast_size.rs:17:5 | LL | x1 as f32; | ^^^^^^^^^ error: casting isize to i32 may truncate the value on targets with 64-bit wide pointers --> $DIR/cast_size.rs:18:5 | LL | 1isize as i32; | ^^^^^^^^^^^^^ error: casting isize to u32 may truncate the value on targets with 64-bit wide pointers --> $DIR/cast_size.rs:19:5 | LL | 1isize as u32; | ^^^^^^^^^^^^^ error: casting usize to u32 may truncate the value on targets with 64-bit wide pointers --> $DIR/cast_size.rs:20:5 | LL | 1usize as u32; | ^^^^^^^^^^^^^ error: casting usize to i32 may truncate the value on targets with 64-bit wide pointers --> $DIR/cast_size.rs:21:5 | LL | 1usize as i32; | ^^^^^^^^^^^^^ error: casting usize to i32 may wrap around the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:21:5 | LL | 1usize as i32; | ^^^^^^^^^^^^^ | = note: `-D clippy::cast-possible-wrap` implied by `-D warnings` error: casting i64 to isize may truncate the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:23:5 | LL | 1i64 as isize; | ^^^^^^^^^^^^^ error: casting i64 to usize may truncate the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:24:5 | LL | 1i64 as usize; | ^^^^^^^^^^^^^ error: casting u64 to isize may truncate the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:25:5 | LL | 1u64 as isize; | ^^^^^^^^^^^^^ error: casting u64 to isize may wrap around the value on targets with 64-bit wide pointers --> $DIR/cast_size.rs:25:5 | LL | 1u64 as isize; | ^^^^^^^^^^^^^ error: casting u64 to usize may truncate the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:26:5 | LL | 1u64 as usize; | ^^^^^^^^^^^^^ error: casting u32 to isize may wrap around the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:27:5 | LL | 1u32 as isize; | ^^^^^^^^^^^^^ error: casting i32 to f32 causes a loss of precision (i32 is 32 bits wide, but f32's mantissa is only 23 bits wide) --> $DIR/cast_size.rs:32:5 | LL | 999_999_999 as f32; | ^^^^^^^^^^^^^^^^^^ error: casting usize to f64 causes a loss of precision on targets with 64-bit wide pointers (usize is 64 bits wide, but f64's mantissa is only 52 bits wide) --> $DIR/cast_size.rs:33:5 | LL | 9_999_999_999_999_999usize as f64; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: casting usize to f64 may become silently lossy if types change --> $DIR/cast_size.rs:33:5 | LL | 9_999_999_999_999_999usize as f64; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(9_999_999_999_999_999usize)` error: literal out of range for usize --> $DIR/cast_size.rs:33:5 | LL | 9_999_999_999_999_999usize as f64; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: #[deny(overflowing_literals)] on by default error: aborting due to 22 previous errors expected stderr: error: casting isize to i8 may truncate the value --> $DIR/cast_size.rs:11:5 | LL | 1isize as i8; | ^^^^^^^^^^^^ | = note: `-D clippy::cast-possible-truncation` implied by `-D warnings` error: casting isize to f64 causes a loss of precision on targets with 64-bit wide pointers (isize is 64 bits wide, but f64's mantissa is only 52 bits wide) --> $DIR/cast_size.rs:14:5 | LL | x0 as f64; | ^^^^^^^^^ | = note: `-D clippy::cast-precision-loss` implied by `-D warnings` error: casting usize to f64 causes a loss of precision on targets with 64-bit wide pointers (usize is 64 bits wide, but f64's mantissa is only 52 bits wide) --> $DIR/cast_size.rs:15:5 | LL | x1 as f64; | ^^^^^^^^^ error: casting isize to f32 causes a loss of precision (isize is 32 or 64 bits wide, but f32's mantissa is only 23 bits wide) --> $DIR/cast_size.rs:16:5 | LL | x0 as f32; | ^^^^^^^^^ error: casting usize to f32 causes a loss of precision (usize is 32 or 64 bits wide, but f32's mantissa is only 23 bits wide) --> $DIR/cast_size.rs:17:5 | LL | x1 as f32; | ^^^^^^^^^ error: casting isize to i32 may truncate the value on targets with 64-bit wide pointers --> $DIR/cast_size.rs:18:5 | LL | 1isize as i32; | ^^^^^^^^^^^^^ error: casting isize to u32 may truncate the value on targets with 64-bit wide pointers --> $DIR/cast_size.rs:19:5 | LL | 1isize as u32; | ^^^^^^^^^^^^^ error: casting usize to u32 may truncate the value on targets with 64-bit wide pointers --> $DIR/cast_size.rs:20:5 | LL | 1usize as u32; | ^^^^^^^^^^^^^ error: casting usize to i32 may truncate the value on targets with 64-bit wide pointers --> $DIR/cast_size.rs:21:5 | LL | 1usize as i32; | ^^^^^^^^^^^^^ error: casting usize to i32 may wrap around the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:21:5 | LL | 1usize as i32; | ^^^^^^^^^^^^^ | = note: `-D clippy::cast-possible-wrap` implied by `-D warnings` error: casting i64 to isize may truncate the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:23:5 | LL | 1i64 as isize; | ^^^^^^^^^^^^^ error: casting i64 to usize may truncate the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:24:5 | LL | 1i64 as usize; | ^^^^^^^^^^^^^ error: casting u64 to isize may truncate the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:25:5 | LL | 1u64 as isize; | ^^^^^^^^^^^^^ error: casting u64 to isize may wrap around the value on targets with 64-bit wide pointers --> $DIR/cast_size.rs:25:5 | LL | 1u64 as isize; | ^^^^^^^^^^^^^ error: casting u64 to usize may truncate the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:26:5 | LL | 1u64 as usize; | ^^^^^^^^^^^^^ error: casting u32 to isize may wrap around the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:27:5 | LL | 1u32 as isize; | ^^^^^^^^^^^^^ error: casting i32 to f32 causes a loss of precision (i32 is 32 bits wide, but f32's mantissa is only 23 bits wide) --> $DIR/cast_size.rs:32:5 | LL | 999_999_999 as f32; | ^^^^^^^^^^^^^^^^^^ error: casting usize to f64 causes a loss of precision on targets with 64-bit wide pointers (usize is 64 bits wide, but f64's mantissa is only 52 bits wide) --> $DIR/cast_size.rs:33:5 | LL | 9_999_999_999_999_999usize as f64; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 18 previous errors diff of stderr: error: casting isize to i8 may truncate the value --> $DIR/cast_size.rs:11:5 | LL | 1isize as i8; | ^^^^^^^^^^^^ | = note: `-D clippy::cast-possible-truncation` implied by `-D warnings` error: casting isize to f64 causes a loss of precision on targets with 64-bit wide pointers (isize is 64 bits wide, but f64's mantissa is only 52 bits wide) --> $DIR/cast_size.rs:14:5 | LL | x0 as f64; | ^^^^^^^^^ | = note: `-D clippy::cast-precision-loss` implied by `-D warnings` +error: casting isize to f64 may become silently lossy if types change + --> $DIR/cast_size.rs:14:5 + | +LL | x0 as f64; + | ^^^^^^^^^ help: try: `f64::from(x0)` + | + = note: `-D clippy::cast-lossless` implied by `-D warnings` + error: casting usize to f64 causes a loss of precision on targets with 64-bit wide pointers (usize is 64 bits wide, but f64's mantissa is only 52 bits wide) --> $DIR/cast_size.rs:15:5 | LL | x1 as f64; | ^^^^^^^^^ +error: casting usize to f64 may become silently lossy if types change + --> $DIR/cast_size.rs:15:5 + | +LL | x1 as f64; + | ^^^^^^^^^ help: try: `f64::from(x1)` + error: casting isize to f32 causes a loss of precision (isize is 32 or 64 bits wide, but f32's mantissa is only 23 bits wide) --> $DIR/cast_size.rs:16:5 | LL | x0 as f32; | ^^^^^^^^^ error: casting usize to f32 causes a loss of precision (usize is 32 or 64 bits wide, but f32's mantissa is only 23 bits wide) --> $DIR/cast_size.rs:17:5 | LL | x1 as f32; | ^^^^^^^^^ error: casting isize to i32 may truncate the value on targets with 64-bit wide pointers --> $DIR/cast_size.rs:18:5 | LL | 1isize as i32; | ^^^^^^^^^^^^^ error: casting isize to u32 may truncate the value on targets with 64-bit wide pointers --> $DIR/cast_size.rs:19:5 | LL | 1isize as u32; | ^^^^^^^^^^^^^ error: casting usize to u32 may truncate the value on targets with 64-bit wide pointers --> $DIR/cast_size.rs:20:5 | LL | 1usize as u32; | ^^^^^^^^^^^^^ error: casting usize to i32 may truncate the value on targets with 64-bit wide pointers --> $DIR/cast_size.rs:21:5 | LL | 1usize as i32; | ^^^^^^^^^^^^^ error: casting usize to i32 may wrap around the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:21:5 | LL | 1usize as i32; | ^^^^^^^^^^^^^ | = note: `-D clippy::cast-possible-wrap` implied by `-D warnings` error: casting i64 to isize may truncate the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:23:5 | LL | 1i64 as isize; | ^^^^^^^^^^^^^ error: casting i64 to usize may truncate the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:24:5 | LL | 1i64 as usize; | ^^^^^^^^^^^^^ error: casting u64 to isize may truncate the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:25:5 | LL | 1u64 as isize; | ^^^^^^^^^^^^^ error: casting u64 to isize may wrap around the value on targets with 64-bit wide pointers --> $DIR/cast_size.rs:25:5 | LL | 1u64 as isize; | ^^^^^^^^^^^^^ error: casting u64 to usize may truncate the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:26:5 | LL | 1u64 as usize; | ^^^^^^^^^^^^^ error: casting u32 to isize may wrap around the value on targets with 32-bit wide pointers --> $DIR/cast_size.rs:27:5 | LL | 1u32 as isize; | ^^^^^^^^^^^^^ error: casting i32 to f32 causes a loss of precision (i32 is 32 bits wide, but f32's mantissa is only 23 bits wide) --> $DIR/cast_size.rs:32:5 | LL | 999_999_999 as f32; | ^^^^^^^^^^^^^^^^^^ error: casting usize to f64 causes a loss of precision on targets with 64-bit wide pointers (usize is 64 bits wide, but f64's mantissa is only 52 bits wide) --> $DIR/cast_size.rs:33:5 | LL | 9_999_999_999_999_999usize as f64; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -error: aborting due to 18 previous errors +error: casting usize to f64 may become silently lossy if types change + --> $DIR/cast_size.rs:33:5 + | +LL | 9_999_999_999_999_999usize as f64; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(9_999_999_999_999_999usize)` + +error: literal out of range for usize + --> $DIR/cast_size.rs:33:5 + | +LL | 9_999_999_999_999_999usize as f64; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: #[deny(overflowing_literals)] on by default + +error: aborting due to 22 previous errors The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/cast_size.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'cast_size.rs' error: 1 errors occurred comparing output. status: exit code: 1 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/cast_size.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/cast_size.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/cast_size.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"casting isize to i8 may truncate the value","code":{"code":"clippy::cast_possible_truncation","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":269,"byte_end":281,"line_start":11,"line_end":11,"column_start":5,"column_end":17,"is_primary":true,"text":[{"text":" 1isize as i8;","highlight_start":5,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::cast-possible-truncation` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error: casting isize to i8 may truncate the value\n --> tests/ui/cast_size.rs:11:5\n |\nLL | 1isize as i8;\n | ^^^^^^^^^^^^\n |\n = note: `-D clippy::cast-possible-truncation` implied by `-D warnings`\n\n"} {"message":"casting isize to f64 causes a loss of precision on targets with 64-bit wide pointers (isize is 64 bits wide, but f64's mantissa is only 52 bits wide)","code":{"code":"clippy::cast_precision_loss","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":329,"byte_end":338,"line_start":14,"line_end":14,"column_start":5,"column_end":14,"is_primary":true,"text":[{"text":" x0 as f64;","highlight_start":5,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::cast-precision-loss` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error: casting isize to f64 causes a loss of precision on targets with 64-bit wide pointers (isize is 64 bits wide, but f64's mantissa is only 52 bits wide)\n --> tests/ui/cast_size.rs:14:5\n |\nLL | x0 as f64;\n | ^^^^^^^^^\n |\n = note: `-D clippy::cast-precision-loss` implied by `-D warnings`\n\n"} {"message":"casting isize to f64 may become silently lossy if types change","code":{"code":"clippy::cast_lossless","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":329,"byte_end":338,"line_start":14,"line_end":14,"column_start":5,"column_end":14,"is_primary":true,"text":[{"text":" x0 as f64;","highlight_start":5,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::cast-lossless` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"try","code":null,"level":"help","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":329,"byte_end":338,"line_start":14,"line_end":14,"column_start":5,"column_end":14,"is_primary":true,"text":[{"text":" x0 as f64;","highlight_start":5,"highlight_end":14}],"label":null,"suggested_replacement":"f64::from(x0)","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: casting isize to f64 may become silently lossy if types change\n --> tests/ui/cast_size.rs:14:5\n |\nLL | x0 as f64;\n | ^^^^^^^^^ help: try: `f64::from(x0)`\n |\n = note: `-D clippy::cast-lossless` implied by `-D warnings`\n\n"} {"message":"casting usize to f64 causes a loss of precision on targets with 64-bit wide pointers (usize is 64 bits wide, but f64's mantissa is only 52 bits wide)","code":{"code":"clippy::cast_precision_loss","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":344,"byte_end":353,"line_start":15,"line_end":15,"column_start":5,"column_end":14,"is_primary":true,"text":[{"text":" x1 as f64;","highlight_start":5,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: casting usize to f64 causes a loss of precision on targets with 64-bit wide pointers (usize is 64 bits wide, but f64's mantissa is only 52 bits wide)\n --> tests/ui/cast_size.rs:15:5\n |\nLL | x1 as f64;\n | ^^^^^^^^^\n\n"} {"message":"casting usize to f64 may become silently lossy if types change","code":{"code":"clippy::cast_lossless","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":344,"byte_end":353,"line_start":15,"line_end":15,"column_start":5,"column_end":14,"is_primary":true,"text":[{"text":" x1 as f64;","highlight_start":5,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"try","code":null,"level":"help","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":344,"byte_end":353,"line_start":15,"line_end":15,"column_start":5,"column_end":14,"is_primary":true,"text":[{"text":" x1 as f64;","highlight_start":5,"highlight_end":14}],"label":null,"suggested_replacement":"f64::from(x1)","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: casting usize to f64 may become silently lossy if types change\n --> tests/ui/cast_size.rs:15:5\n |\nLL | x1 as f64;\n | ^^^^^^^^^ help: try: `f64::from(x1)`\n\n"} {"message":"casting isize to f32 causes a loss of precision (isize is 32 or 64 bits wide, but f32's mantissa is only 23 bits wide)","code":{"code":"clippy::cast_precision_loss","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":359,"byte_end":368,"line_start":16,"line_end":16,"column_start":5,"column_end":14,"is_primary":true,"text":[{"text":" x0 as f32;","highlight_start":5,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: casting isize to f32 causes a loss of precision (isize is 32 or 64 bits wide, but f32's mantissa is only 23 bits wide)\n --> tests/ui/cast_size.rs:16:5\n |\nLL | x0 as f32;\n | ^^^^^^^^^\n\n"} {"message":"casting usize to f32 causes a loss of precision (usize is 32 or 64 bits wide, but f32's mantissa is only 23 bits wide)","code":{"code":"clippy::cast_precision_loss","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":374,"byte_end":383,"line_start":17,"line_end":17,"column_start":5,"column_end":14,"is_primary":true,"text":[{"text":" x1 as f32;","highlight_start":5,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: casting usize to f32 causes a loss of precision (usize is 32 or 64 bits wide, but f32's mantissa is only 23 bits wide)\n --> tests/ui/cast_size.rs:17:5\n |\nLL | x1 as f32;\n | ^^^^^^^^^\n\n"} {"message":"casting isize to i32 may truncate the value on targets with 64-bit wide pointers","code":{"code":"clippy::cast_possible_truncation","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":389,"byte_end":402,"line_start":18,"line_end":18,"column_start":5,"column_end":18,"is_primary":true,"text":[{"text":" 1isize as i32;","highlight_start":5,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: casting isize to i32 may truncate the value on targets with 64-bit wide pointers\n --> tests/ui/cast_size.rs:18:5\n |\nLL | 1isize as i32;\n | ^^^^^^^^^^^^^\n\n"} {"message":"casting isize to u32 may truncate the value on targets with 64-bit wide pointers","code":{"code":"clippy::cast_possible_truncation","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":408,"byte_end":421,"line_start":19,"line_end":19,"column_start":5,"column_end":18,"is_primary":true,"text":[{"text":" 1isize as u32;","highlight_start":5,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: casting isize to u32 may truncate the value on targets with 64-bit wide pointers\n --> tests/ui/cast_size.rs:19:5\n |\nLL | 1isize as u32;\n | ^^^^^^^^^^^^^\n\n"} {"message":"casting usize to u32 may truncate the value on targets with 64-bit wide pointers","code":{"code":"clippy::cast_possible_truncation","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":427,"byte_end":440,"line_start":20,"line_end":20,"column_start":5,"column_end":18,"is_primary":true,"text":[{"text":" 1usize as u32;","highlight_start":5,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: casting usize to u32 may truncate the value on targets with 64-bit wide pointers\n --> tests/ui/cast_size.rs:20:5\n |\nLL | 1usize as u32;\n | ^^^^^^^^^^^^^\n\n"} {"message":"casting usize to i32 may truncate the value on targets with 64-bit wide pointers","code":{"code":"clippy::cast_possible_truncation","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":446,"byte_end":459,"line_start":21,"line_end":21,"column_start":5,"column_end":18,"is_primary":true,"text":[{"text":" 1usize as i32;","highlight_start":5,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: casting usize to i32 may truncate the value on targets with 64-bit wide pointers\n --> tests/ui/cast_size.rs:21:5\n |\nLL | 1usize as i32;\n | ^^^^^^^^^^^^^\n\n"} {"message":"casting usize to i32 may wrap around the value on targets with 32-bit wide pointers","code":{"code":"clippy::cast_possible_wrap","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":446,"byte_end":459,"line_start":21,"line_end":21,"column_start":5,"column_end":18,"is_primary":true,"text":[{"text":" 1usize as i32;","highlight_start":5,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::cast-possible-wrap` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error: casting usize to i32 may wrap around the value on targets with 32-bit wide pointers\n --> tests/ui/cast_size.rs:21:5\n |\nLL | 1usize as i32;\n | ^^^^^^^^^^^^^\n |\n = note: `-D clippy::cast-possible-wrap` implied by `-D warnings`\n\n"} {"message":"casting i64 to isize may truncate the value on targets with 32-bit wide pointers","code":{"code":"clippy::cast_possible_truncation","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":489,"byte_end":502,"line_start":23,"line_end":23,"column_start":5,"column_end":18,"is_primary":true,"text":[{"text":" 1i64 as isize;","highlight_start":5,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: casting i64 to isize may truncate the value on targets with 32-bit wide pointers\n --> tests/ui/cast_size.rs:23:5\n |\nLL | 1i64 as isize;\n | ^^^^^^^^^^^^^\n\n"} {"message":"casting i64 to usize may truncate the value on targets with 32-bit wide pointers","code":{"code":"clippy::cast_possible_truncation","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":508,"byte_end":521,"line_start":24,"line_end":24,"column_start":5,"column_end":18,"is_primary":true,"text":[{"text":" 1i64 as usize;","highlight_start":5,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: casting i64 to usize may truncate the value on targets with 32-bit wide pointers\n --> tests/ui/cast_size.rs:24:5\n |\nLL | 1i64 as usize;\n | ^^^^^^^^^^^^^\n\n"} {"message":"casting u64 to isize may truncate the value on targets with 32-bit wide pointers","code":{"code":"clippy::cast_possible_truncation","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":527,"byte_end":540,"line_start":25,"line_end":25,"column_start":5,"column_end":18,"is_primary":true,"text":[{"text":" 1u64 as isize;","highlight_start":5,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: casting u64 to isize may truncate the value on targets with 32-bit wide pointers\n --> tests/ui/cast_size.rs:25:5\n |\nLL | 1u64 as isize;\n | ^^^^^^^^^^^^^\n\n"} {"message":"casting u64 to isize may wrap around the value on targets with 64-bit wide pointers","code":{"code":"clippy::cast_possible_wrap","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":527,"byte_end":540,"line_start":25,"line_end":25,"column_start":5,"column_end":18,"is_primary":true,"text":[{"text":" 1u64 as isize;","highlight_start":5,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: casting u64 to isize may wrap around the value on targets with 64-bit wide pointers\n --> tests/ui/cast_size.rs:25:5\n |\nLL | 1u64 as isize;\n | ^^^^^^^^^^^^^\n\n"} {"message":"casting u64 to usize may truncate the value on targets with 32-bit wide pointers","code":{"code":"clippy::cast_possible_truncation","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":546,"byte_end":559,"line_start":26,"line_end":26,"column_start":5,"column_end":18,"is_primary":true,"text":[{"text":" 1u64 as usize;","highlight_start":5,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: casting u64 to usize may truncate the value on targets with 32-bit wide pointers\n --> tests/ui/cast_size.rs:26:5\n |\nLL | 1u64 as usize;\n | ^^^^^^^^^^^^^\n\n"} {"message":"casting u32 to isize may wrap around the value on targets with 32-bit wide pointers","code":{"code":"clippy::cast_possible_wrap","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":565,"byte_end":578,"line_start":27,"line_end":27,"column_start":5,"column_end":18,"is_primary":true,"text":[{"text":" 1u32 as isize;","highlight_start":5,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: casting u32 to isize may wrap around the value on targets with 32-bit wide pointers\n --> tests/ui/cast_size.rs:27:5\n |\nLL | 1u32 as isize;\n | ^^^^^^^^^^^^^\n\n"} {"message":"casting i32 to f32 causes a loss of precision (i32 is 32 bits wide, but f32's mantissa is only 23 bits wide)","code":{"code":"clippy::cast_precision_loss","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":731,"byte_end":749,"line_start":32,"line_end":32,"column_start":5,"column_end":23,"is_primary":true,"text":[{"text":" 999_999_999 as f32;","highlight_start":5,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: casting i32 to f32 causes a loss of precision (i32 is 32 bits wide, but f32's mantissa is only 23 bits wide)\n --> tests/ui/cast_size.rs:32:5\n |\nLL | 999_999_999 as f32;\n | ^^^^^^^^^^^^^^^^^^\n\n"} {"message":"casting usize to f64 causes a loss of precision on targets with 64-bit wide pointers (usize is 64 bits wide, but f64's mantissa is only 52 bits wide)","code":{"code":"clippy::cast_precision_loss","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":755,"byte_end":788,"line_start":33,"line_end":33,"column_start":5,"column_end":38,"is_primary":true,"text":[{"text":" 9_999_999_999_999_999usize as f64;","highlight_start":5,"highlight_end":38}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: casting usize to f64 causes a loss of precision on targets with 64-bit wide pointers (usize is 64 bits wide, but f64's mantissa is only 52 bits wide)\n --> tests/ui/cast_size.rs:33:5\n |\nLL | 9_999_999_999_999_999usize as f64;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"} {"message":"casting usize to f64 may become silently lossy if types change","code":{"code":"clippy::cast_lossless","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":755,"byte_end":788,"line_start":33,"line_end":33,"column_start":5,"column_end":38,"is_primary":true,"text":[{"text":" 9_999_999_999_999_999usize as f64;","highlight_start":5,"highlight_end":38}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"try","code":null,"level":"help","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":755,"byte_end":788,"line_start":33,"line_end":33,"column_start":5,"column_end":38,"is_primary":true,"text":[{"text":" 9_999_999_999_999_999usize as f64;","highlight_start":5,"highlight_end":38}],"label":null,"suggested_replacement":"f64::from(9_999_999_999_999_999usize)","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: casting usize to f64 may become silently lossy if types change\n --> tests/ui/cast_size.rs:33:5\n |\nLL | 9_999_999_999_999_999usize as f64;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(9_999_999_999_999_999usize)`\n\n"} {"message":"literal out of range for usize","code":{"code":"overflowing_literals","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/cast_size.rs","byte_start":755,"byte_end":781,"line_start":33,"line_end":33,"column_start":5,"column_end":31,"is_primary":true,"text":[{"text":" 9_999_999_999_999_999usize as f64;","highlight_start":5,"highlight_end":31}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"#[deny(overflowing_literals)] on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error: literal out of range for usize\n --> tests/ui/cast_size.rs:33:5\n |\nLL | 9_999_999_999_999_999usize as f64;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: #[deny(overflowing_literals)] on by default\n\n"} {"message":"aborting due to 22 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 22 previous errors\n\n"} ------------------------------------------ thread '[ui] ui/cast_size.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/cmp_owned.rs stdout ---- normalized stderr: expected stderr: error: this creates an owned instance just for comparison --> $DIR/cmp_owned.rs:5:14 | LL | x != "foo".to_string(); | ^^^^^^^^^^^^^^^^^ help: try: `"foo"` | = note: `-D clippy::cmp-owned` implied by `-D warnings` error: this creates an owned instance just for comparison --> $DIR/cmp_owned.rs:7:9 | LL | "foo".to_string() != x; | ^^^^^^^^^^^^^^^^^ help: try: `"foo"` error: this creates an owned instance just for comparison --> $DIR/cmp_owned.rs:14:10 | LL | x != "foo".to_owned(); | ^^^^^^^^^^^^^^^^ help: try: `"foo"` error: this creates an owned instance just for comparison --> $DIR/cmp_owned.rs:16:10 | LL | x != String::from("foo"); | ^^^^^^^^^^^^^^^^^^^ help: try: `"foo"` error: this creates an owned instance just for comparison --> $DIR/cmp_owned.rs:20:5 | LL | Foo.to_owned() == Foo; | ^^^^^^^^^^^^^^ help: try: `Foo` error: this creates an owned instance just for comparison --> $DIR/cmp_owned.rs:22:30 | LL | "abc".chars().filter(|c| c.to_owned() != 'X'); | ^^^^^^^^^^^^ help: try: `*c` error: this creates an owned instance just for comparison --> $DIR/cmp_owned.rs:29:5 | LL | y.to_owned() == *x; | ^^^^^^^^^^^^^^^^^^ try implementing the comparison without allocating error: this creates an owned instance just for comparison --> $DIR/cmp_owned.rs:34:5 | LL | y.to_owned() == **x; | ^^^^^^^^^^^^^^^^^^^ try implementing the comparison without allocating error: this creates an owned instance just for comparison --> $DIR/cmp_owned.rs:41:9 | LL | self.to_owned() == *other | ^^^^^^^^^^^^^^^^^^^^^^^^^ try implementing the comparison without allocating error: aborting due to 9 previous errors diff of stderr: -error: this creates an owned instance just for comparison - --> $DIR/cmp_owned.rs:5:14 - | -LL | x != "foo".to_string(); - | ^^^^^^^^^^^^^^^^^ help: try: `"foo"` - | - = note: `-D clippy::cmp-owned` implied by `-D warnings` - -error: this creates an owned instance just for comparison - --> $DIR/cmp_owned.rs:7:9 - | -LL | "foo".to_string() != x; - | ^^^^^^^^^^^^^^^^^ help: try: `"foo"` - -error: this creates an owned instance just for comparison - --> $DIR/cmp_owned.rs:14:10 - | -LL | x != "foo".to_owned(); - | ^^^^^^^^^^^^^^^^ help: try: `"foo"` - -error: this creates an owned instance just for comparison - --> $DIR/cmp_owned.rs:16:10 - | -LL | x != String::from("foo"); - | ^^^^^^^^^^^^^^^^^^^ help: try: `"foo"` - -error: this creates an owned instance just for comparison - --> $DIR/cmp_owned.rs:20:5 - | -LL | Foo.to_owned() == Foo; - | ^^^^^^^^^^^^^^ help: try: `Foo` - -error: this creates an owned instance just for comparison - --> $DIR/cmp_owned.rs:22:30 - | -LL | "abc".chars().filter(|c| c.to_owned() != 'X'); - | ^^^^^^^^^^^^ help: try: `*c` - -error: this creates an owned instance just for comparison - --> $DIR/cmp_owned.rs:29:5 - | -LL | y.to_owned() == *x; - | ^^^^^^^^^^^^^^^^^^ try implementing the comparison without allocating - -error: this creates an owned instance just for comparison - --> $DIR/cmp_owned.rs:34:5 - | -LL | y.to_owned() == **x; - | ^^^^^^^^^^^^^^^^^^^ try implementing the comparison without allocating - -error: this creates an owned instance just for comparison - --> $DIR/cmp_owned.rs:41:9 - | -LL | self.to_owned() == *other - | ^^^^^^^^^^^^^^^^^^^^^^^^^ try implementing the comparison without allocating - -error: aborting due to 9 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/cmp_owned.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'cmp_owned.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/cmp_owned.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/cmp_owned.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/cmp_owned.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/cmp_owned.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/cognitive_complexity.rs stdout ---- normalized stderr: expected stderr: error: the function has a cognitive complexity of 28 --> $DIR/cognitive_complexity.rs:6:1 | LL | / fn main() { LL | | if true { LL | | println!("a"); LL | | } ... | LL | | } LL | | } | |_^ | = note: `-D clippy::cognitive-complexity` implied by `-D warnings` = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 7 --> $DIR/cognitive_complexity.rs:91:1 | LL | / fn kaboom() { LL | | let n = 0; LL | | 'a: for i in 0..20 { LL | | 'b: for j in i..20 { ... | LL | | } LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 1 --> $DIR/cognitive_complexity.rs:137:1 | LL | / fn lots_of_short_circuits() -> bool { LL | | true && false && true && false && true && false && true LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 1 --> $DIR/cognitive_complexity.rs:142:1 | LL | / fn lots_of_short_circuits2() -> bool { LL | | true || false || true || false || true || false || true LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 2 --> $DIR/cognitive_complexity.rs:147:1 | LL | / fn baa() { LL | | let x = || match 99 { LL | | 0 => 0, LL | | 1 => 1, ... | LL | | } LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 2 --> $DIR/cognitive_complexity.rs:148:13 | LL | let x = || match 99 { | _____________^ LL | | 0 => 0, LL | | 1 => 1, LL | | 2 => 2, ... | LL | | _ => 42, LL | | }; | |_____^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 2 --> $DIR/cognitive_complexity.rs:165:1 | LL | / fn bar() { LL | | match 99 { LL | | 0 => println!("hi"), LL | | _ => println!("bye"), LL | | } LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 2 --> $DIR/cognitive_complexity.rs:184:1 | LL | / fn barr() { LL | | match 99 { LL | | 0 => println!("hi"), LL | | 1 => println!("bla"), ... | LL | | } LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 3 --> $DIR/cognitive_complexity.rs:194:1 | LL | / fn barr2() { LL | | match 99 { LL | | 0 => println!("hi"), LL | | 1 => println!("bla"), ... | LL | | } LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 2 --> $DIR/cognitive_complexity.rs:210:1 | LL | / fn barrr() { LL | | match 99 { LL | | 0 => println!("hi"), LL | | 1 => panic!("bla"), ... | LL | | } LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 3 --> $DIR/cognitive_complexity.rs:220:1 | LL | / fn barrr2() { LL | | match 99 { LL | | 0 => println!("hi"), LL | | 1 => panic!("bla"), ... | LL | | } LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 2 --> $DIR/cognitive_complexity.rs:236:1 | LL | / fn barrrr() { LL | | match 99 { LL | | 0 => println!("hi"), LL | | 1 => println!("bla"), ... | LL | | } LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 3 --> $DIR/cognitive_complexity.rs:246:1 | LL | / fn barrrr2() { LL | | match 99 { LL | | 0 => println!("hi"), LL | | 1 => println!("bla"), ... | LL | | } LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 2 --> $DIR/cognitive_complexity.rs:262:1 | LL | / fn cake() { LL | | if 4 == 5 { LL | | println!("yea"); LL | | } else { ... | LL | | println!("whee"); LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 4 --> $DIR/cognitive_complexity.rs:272:1 | LL | / pub fn read_file(input_path: &str) -> String { LL | | use std::fs::File; LL | | use std::io::{Read, Write}; LL | | use std::path::Path; ... | LL | | } LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 1 --> $DIR/cognitive_complexity.rs:303:1 | LL | / fn void(void: Void) { LL | | if true { LL | | match void {} LL | | } LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 1 --> $DIR/cognitive_complexity.rs:316:1 | LL | / fn try() -> Result { LL | | match 5 { LL | | 5 => Ok(5), LL | | _ => return Err("bla"), LL | | } LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 1 --> $DIR/cognitive_complexity.rs:324:1 | LL | / fn try_again() -> Result { LL | | let _ = try!(Ok(42)); LL | | let _ = try!(Ok(43)); LL | | let _ = try!(Ok(44)); ... | LL | | } LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 1 --> $DIR/cognitive_complexity.rs:340:1 | LL | / fn early() -> Result { LL | | return Ok(5); LL | | return Ok(5); LL | | return Ok(5); ... | LL | | return Ok(5); LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: the function has a cognitive complexity of 8 --> $DIR/cognitive_complexity.rs:354:1 | LL | / fn early_ret() -> i32 { LL | | let a = if true { 42 } else { return 0; }; LL | | let a = if a < 99 { 42 } else { return 0; }; LL | | let a = if a < 99 { 42 } else { return 0; }; ... | LL | | } LL | | } | |_^ | = help: you could split it up into multiple smaller functions error: aborting due to 20 previous errors diff of stderr: -error: the function has a cognitive complexity of 28 - --> $DIR/cognitive_complexity.rs:6:1 - | -LL | / fn main() { -LL | | if true { -LL | | println!("a"); -LL | | } -... | -LL | | } -LL | | } - | |_^ - | - = note: `-D clippy::cognitive-complexity` implied by `-D warnings` - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 7 - --> $DIR/cognitive_complexity.rs:91:1 - | -LL | / fn kaboom() { -LL | | let n = 0; -LL | | 'a: for i in 0..20 { -LL | | 'b: for j in i..20 { -... | -LL | | } -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 1 - --> $DIR/cognitive_complexity.rs:137:1 - | -LL | / fn lots_of_short_circuits() -> bool { -LL | | true && false && true && false && true && false && true -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 1 - --> $DIR/cognitive_complexity.rs:142:1 - | -LL | / fn lots_of_short_circuits2() -> bool { -LL | | true || false || true || false || true || false || true -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 2 - --> $DIR/cognitive_complexity.rs:147:1 - | -LL | / fn baa() { -LL | | let x = || match 99 { -LL | | 0 => 0, -LL | | 1 => 1, -... | -LL | | } -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 2 - --> $DIR/cognitive_complexity.rs:148:13 - | -LL | let x = || match 99 { - | _____________^ -LL | | 0 => 0, -LL | | 1 => 1, -LL | | 2 => 2, -... | -LL | | _ => 42, -LL | | }; - | |_____^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 2 - --> $DIR/cognitive_complexity.rs:165:1 - | -LL | / fn bar() { -LL | | match 99 { -LL | | 0 => println!("hi"), -LL | | _ => println!("bye"), -LL | | } -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 2 - --> $DIR/cognitive_complexity.rs:184:1 - | -LL | / fn barr() { -LL | | match 99 { -LL | | 0 => println!("hi"), -LL | | 1 => println!("bla"), -... | -LL | | } -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 3 - --> $DIR/cognitive_complexity.rs:194:1 - | -LL | / fn barr2() { -LL | | match 99 { -LL | | 0 => println!("hi"), -LL | | 1 => println!("bla"), -... | -LL | | } -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 2 - --> $DIR/cognitive_complexity.rs:210:1 - | -LL | / fn barrr() { -LL | | match 99 { -LL | | 0 => println!("hi"), -LL | | 1 => panic!("bla"), -... | -LL | | } -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 3 - --> $DIR/cognitive_complexity.rs:220:1 - | -LL | / fn barrr2() { -LL | | match 99 { -LL | | 0 => println!("hi"), -LL | | 1 => panic!("bla"), -... | -LL | | } -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 2 - --> $DIR/cognitive_complexity.rs:236:1 - | -LL | / fn barrrr() { -LL | | match 99 { -LL | | 0 => println!("hi"), -LL | | 1 => println!("bla"), -... | -LL | | } -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 3 - --> $DIR/cognitive_complexity.rs:246:1 - | -LL | / fn barrrr2() { -LL | | match 99 { -LL | | 0 => println!("hi"), -LL | | 1 => println!("bla"), -... | -LL | | } -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 2 - --> $DIR/cognitive_complexity.rs:262:1 - | -LL | / fn cake() { -LL | | if 4 == 5 { -LL | | println!("yea"); -LL | | } else { -... | -LL | | println!("whee"); -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 4 - --> $DIR/cognitive_complexity.rs:272:1 - | -LL | / pub fn read_file(input_path: &str) -> String { -LL | | use std::fs::File; -LL | | use std::io::{Read, Write}; -LL | | use std::path::Path; -... | -LL | | } -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 1 - --> $DIR/cognitive_complexity.rs:303:1 - | -LL | / fn void(void: Void) { -LL | | if true { -LL | | match void {} -LL | | } -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 1 - --> $DIR/cognitive_complexity.rs:316:1 - | -LL | / fn try() -> Result { -LL | | match 5 { -LL | | 5 => Ok(5), -LL | | _ => return Err("bla"), -LL | | } -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 1 - --> $DIR/cognitive_complexity.rs:324:1 - | -LL | / fn try_again() -> Result { -LL | | let _ = try!(Ok(42)); -LL | | let _ = try!(Ok(43)); -LL | | let _ = try!(Ok(44)); -... | -LL | | } -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 1 - --> $DIR/cognitive_complexity.rs:340:1 - | -LL | / fn early() -> Result { -LL | | return Ok(5); -LL | | return Ok(5); -LL | | return Ok(5); -... | -LL | | return Ok(5); -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: the function has a cognitive complexity of 8 - --> $DIR/cognitive_complexity.rs:354:1 - | -LL | / fn early_ret() -> i32 { -LL | | let a = if true { 42 } else { return 0; }; -LL | | let a = if a < 99 { 42 } else { return 0; }; -LL | | let a = if a < 99 { 42 } else { return 0; }; -... | -LL | | } -LL | | } - | |_^ - | - = help: you could split it up into multiple smaller functions - -error: aborting due to 20 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/cognitive_complexity.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'cognitive_complexity.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/cognitive_complexity.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/cognitive_complexity.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/cognitive_complexity.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/cognitive_complexity.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/cognitive_complexity_attr_used.rs stdout ---- normalized stderr: expected stderr: error: the function has a cognitive complexity of 3 --> $DIR/cognitive_complexity_attr_used.rs:9:1 | LL | / fn kaboom() { LL | | if 42 == 43 { LL | | panic!(); LL | | } else if "cake" == "lie" { LL | | println!("what?"); LL | | } LL | | } | |_^ | = note: `-D clippy::cognitive-complexity` implied by `-D warnings` = help: you could split it up into multiple smaller functions error: aborting due to previous error diff of stderr: -error: the function has a cognitive complexity of 3 - --> $DIR/cognitive_complexity_attr_used.rs:9:1 - | -LL | / fn kaboom() { -LL | | if 42 == 43 { -LL | | panic!(); -LL | | } else if "cake" == "lie" { -LL | | println!("what?"); -LL | | } -LL | | } - | |_^ - | - = note: `-D clippy::cognitive-complexity` implied by `-D warnings` - = help: you could split it up into multiple smaller functions - -error: aborting due to previous error - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/cognitive_complexity_attr_used.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'cognitive_complexity_attr_used.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/cognitive_complexity_attr_used.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/cognitive_complexity_attr_used.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/cognitive_complexity_attr_used.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/cognitive_complexity_attr_used.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/complex_types.rs stdout ---- normalized stderr: expected stderr: error: very complex type used. Consider factoring parts into `type` definitions --> $DIR/complex_types.rs:7:12 | LL | const CST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0)))); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::type-complexity` implied by `-D warnings` error: very complex type used. Consider factoring parts into `type` definitions --> $DIR/complex_types.rs:8:12 | LL | static ST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0)))); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: very complex type used. Consider factoring parts into `type` definitions --> $DIR/complex_types.rs:11:8 | LL | f: Vec>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: very complex type used. Consider factoring parts into `type` definitions --> $DIR/complex_types.rs:14:11 | LL | struct TS(Vec>>); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: very complex type used. Consider factoring parts into `type` definitions --> $DIR/complex_types.rs:17:11 | LL | Tuple(Vec>>), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: very complex type used. Consider factoring parts into `type` definitions --> $DIR/complex_types.rs:18:17 | LL | Struct { f: Vec>> }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: very complex type used. Consider factoring parts into `type` definitions --> $DIR/complex_types.rs:22:14 | LL | const A: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0)))); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: very complex type used. Consider factoring parts into `type` definitions --> $DIR/complex_types.rs:23:30 | LL | fn impl_method(&self, p: Vec>>) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: very complex type used. Consider factoring parts into `type` definitions --> $DIR/complex_types.rs:27:14 | LL | const A: Vec>>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: very complex type used. Consider factoring parts into `type` definitions --> $DIR/complex_types.rs:28:14 | LL | type B = Vec>>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: very complex type used. Consider factoring parts into `type` definitions --> $DIR/complex_types.rs:29:25 | LL | fn method(&self, p: Vec>>); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: very complex type used. Consider factoring parts into `type` definitions --> $DIR/complex_types.rs:30:29 | LL | fn def_method(&self, p: Vec>>) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: very complex type used. Consider factoring parts into `type` definitions --> $DIR/complex_types.rs:33:15 | LL | fn test1() -> Vec>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: very complex type used. Consider factoring parts into `type` definitions --> $DIR/complex_types.rs:37:14 | LL | fn test2(_x: Vec>>) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: very complex type used. Consider factoring parts into `type` definitions --> $DIR/complex_types.rs:40:13 | LL | let _y: Vec>> = vec![]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 15 previous errors diff of stderr: -error: very complex type used. Consider factoring parts into `type` definitions - --> $DIR/complex_types.rs:7:12 - | -LL | const CST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0)))); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::type-complexity` implied by `-D warnings` - -error: very complex type used. Consider factoring parts into `type` definitions - --> $DIR/complex_types.rs:8:12 - | -LL | static ST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0)))); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: very complex type used. Consider factoring parts into `type` definitions - --> $DIR/complex_types.rs:11:8 - | -LL | f: Vec>>, - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: very complex type used. Consider factoring parts into `type` definitions - --> $DIR/complex_types.rs:14:11 - | -LL | struct TS(Vec>>); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: very complex type used. Consider factoring parts into `type` definitions - --> $DIR/complex_types.rs:17:11 - | -LL | Tuple(Vec>>), - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: very complex type used. Consider factoring parts into `type` definitions - --> $DIR/complex_types.rs:18:17 - | -LL | Struct { f: Vec>> }, - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: very complex type used. Consider factoring parts into `type` definitions - --> $DIR/complex_types.rs:22:14 - | -LL | const A: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0)))); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: very complex type used. Consider factoring parts into `type` definitions - --> $DIR/complex_types.rs:23:30 - | -LL | fn impl_method(&self, p: Vec>>) {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: very complex type used. Consider factoring parts into `type` definitions - --> $DIR/complex_types.rs:27:14 - | -LL | const A: Vec>>; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: very complex type used. Consider factoring parts into `type` definitions - --> $DIR/complex_types.rs:28:14 - | -LL | type B = Vec>>; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: very complex type used. Consider factoring parts into `type` definitions - --> $DIR/complex_types.rs:29:25 - | -LL | fn method(&self, p: Vec>>); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: very complex type used. Consider factoring parts into `type` definitions - --> $DIR/complex_types.rs:30:29 - | -LL | fn def_method(&self, p: Vec>>) {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: very complex type used. Consider factoring parts into `type` definitions - --> $DIR/complex_types.rs:33:15 - | -LL | fn test1() -> Vec>> { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: very complex type used. Consider factoring parts into `type` definitions - --> $DIR/complex_types.rs:37:14 - | -LL | fn test2(_x: Vec>>) {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: very complex type used. Consider factoring parts into `type` definitions - --> $DIR/complex_types.rs:40:13 - | -LL | let _y: Vec>> = vec![]; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: aborting due to 15 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/complex_types.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'complex_types.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/complex_types.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/complex_types.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/complex_types.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/complex_types.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/collapsible_if.rs stdout ---- normalized stderr: error: this if statement can be collapsed --> $DIR/collapsible_if.rs:9:5 | LL | / if x == "hello" { LL | | if y == "world" { LL | | println!("Hello world!"); LL | | } LL | | } | |_____^ | = note: `-D clippy::collapsible-if` implied by `-D warnings` help: try | LL | if x == "hello" && y == "world" { LL | println!("Hello world!"); LL | } | expected stderr: error: this if statement can be collapsed --> $DIR/collapsible_if.rs:9:5 | LL | / if x == "hello" { LL | | if y == "world" { LL | | println!("Hello world!"); LL | | } LL | | } | |_____^ | = note: `-D clippy::collapsible-if` implied by `-D warnings` help: try | LL | if x == "hello" && y == "world" { LL | println!("Hello world!"); LL | } | error: this if statement can be collapsed --> $DIR/collapsible_if.rs:15:5 | LL | / if x == "hello" || x == "world" { LL | | if y == "world" || y == "hello" { LL | | println!("Hello world!"); LL | | } LL | | } | |_____^ help: try | LL | if (x == "hello" || x == "world") && (y == "world" || y == "hello") { LL | println!("Hello world!"); LL | } | error: this if statement can be collapsed --> $DIR/collapsible_if.rs:21:5 | LL | / if x == "hello" && x == "world" { LL | | if y == "world" || y == "hello" { LL | | println!("Hello world!"); LL | | } LL | | } | |_____^ help: try | LL | if x == "hello" && x == "world" && (y == "world" || y == "hello") { LL | println!("Hello world!"); LL | } | error: this if statement can be collapsed --> $DIR/collapsible_if.rs:27:5 | LL | / if x == "hello" || x == "world" { LL | | if y == "world" && y == "hello" { LL | | println!("Hello world!"); LL | | } LL | | } | |_____^ help: try | LL | if (x == "hello" || x == "world") && y == "world" && y == "hello" { LL | println!("Hello world!"); LL | } | error: this if statement can be collapsed --> $DIR/collapsible_if.rs:33:5 | LL | / if x == "hello" && x == "world" { LL | | if y == "world" && y == "hello" { LL | | println!("Hello world!"); LL | | } LL | | } | |_____^ help: try | LL | if x == "hello" && x == "world" && y == "world" && y == "hello" { LL | println!("Hello world!"); LL | } | error: this if statement can be collapsed --> $DIR/collapsible_if.rs:39:5 | LL | / if 42 == 1337 { LL | | if 'a' != 'A' { LL | | println!("world!") LL | | } LL | | } | |_____^ help: try | LL | if 42 == 1337 && 'a' != 'A' { LL | println!("world!") LL | } | error: this `else { if .. }` block can be collapsed --> $DIR/collapsible_if.rs:48:12 | LL | } else { | ____________^ LL | | if y == "world" { LL | | println!("world!") LL | | } LL | | } | |_____^ help: try | LL | } else if y == "world" { LL | println!("world!") LL | } | error: this `else { if .. }` block can be collapsed --> $DIR/collapsible_if.rs:56:12 | LL | } else { | ____________^ LL | | if let Some(42) = Some(42) { LL | | println!("world!") LL | | } LL | | } | |_____^ help: try | LL | } else if let Some(42) = Some(42) { LL | println!("world!") LL | } | error: this `else { if .. }` block can be collapsed --> $DIR/collapsible_if.rs:64:12 | LL | } else { | ____________^ LL | | if y == "world" { LL | | println!("world") LL | | } ... | LL | | } LL | | } | |_____^ help: try | LL | } else if y == "world" { LL | println!("world") LL | } LL | else { LL | println!("!") LL | } | error: this `else { if .. }` block can be collapsed --> $DIR/collapsible_if.rs:75:12 | LL | } else { | ____________^ LL | | if let Some(42) = Some(42) { LL | | println!("world") LL | | } ... | LL | | } LL | | } | |_____^ help: try | LL | } else if let Some(42) = Some(42) { LL | println!("world") LL | } LL | else { LL | println!("!") LL | } | error: this `else { if .. }` block can be collapsed --> $DIR/collapsible_if.rs:86:12 | LL | } else { | ____________^ LL | | if let Some(42) = Some(42) { LL | | println!("world") LL | | } ... | LL | | } LL | | } | |_____^ help: try | LL | } else if let Some(42) = Some(42) { LL | println!("world") LL | } LL | else { LL | println!("!") LL | } | error: this `else { if .. }` block can be collapsed --> $DIR/collapsible_if.rs:97:12 | LL | } else { | ____________^ LL | | if x == "hello" { LL | | println!("world") LL | | } ... | LL | | } LL | | } | |_____^ help: try | LL | } else if x == "hello" { LL | println!("world") LL | } LL | else { LL | println!("!") LL | } | error: this `else { if .. }` block can be collapsed --> $DIR/collapsible_if.rs:108:12 | LL | } else { | ____________^ LL | | if let Some(42) = Some(42) { LL | | println!("world") LL | | } ... | LL | | } LL | | } | |_____^ help: try | LL | } else if let Some(42) = Some(42) { LL | println!("world") LL | } LL | else { LL | println!("!") LL | } | error: this if statement can be collapsed --> $DIR/collapsible_if.rs:167:5 | LL | / if x == "hello" { LL | | if y == "world" { // Collapsible LL | | println!("Hello world!"); LL | | } LL | | } | |_____^ help: try | LL | if x == "hello" && y == "world" { // Collapsible LL | println!("Hello world!"); LL | } | error: aborting due to 14 previous errors diff of stderr: error: this if statement can be collapsed --> $DIR/collapsible_if.rs:9:5 | LL | / if x == "hello" { LL | | if y == "world" { LL | | println!("Hello world!"); LL | | } LL | | } | |_____^ | = note: `-D clippy::collapsible-if` implied by `-D warnings` help: try | LL | if x == "hello" && y == "world" { LL | println!("Hello world!"); LL | } | -error: this if statement can be collapsed - --> $DIR/collapsible_if.rs:15:5 - | -LL | / if x == "hello" || x == "world" { -LL | | if y == "world" || y == "hello" { -LL | | println!("Hello world!"); -LL | | } -LL | | } - | |_____^ -help: try - | -LL | if (x == "hello" || x == "world") && (y == "world" || y == "hello") { -LL | println!("Hello world!"); -LL | } - | - -error: this if statement can be collapsed - --> $DIR/collapsible_if.rs:21:5 - | -LL | / if x == "hello" && x == "world" { -LL | | if y == "world" || y == "hello" { -LL | | println!("Hello world!"); -LL | | } -LL | | } - | |_____^ -help: try - | -LL | if x == "hello" && x == "world" && (y == "world" || y == "hello") { -LL | println!("Hello world!"); -LL | } - | - -error: this if statement can be collapsed - --> $DIR/collapsible_if.rs:27:5 - | -LL | / if x == "hello" || x == "world" { -LL | | if y == "world" && y == "hello" { -LL | | println!("Hello world!"); -LL | | } -LL | | } - | |_____^ -help: try - | -LL | if (x == "hello" || x == "world") && y == "world" && y == "hello" { -LL | println!("Hello world!"); -LL | } - | - -error: this if statement can be collapsed - --> $DIR/collapsible_if.rs:33:5 - | -LL | / if x == "hello" && x == "world" { -LL | | if y == "world" && y == "hello" { -LL | | println!("Hello world!"); -LL | | } -LL | | } - | |_____^ -help: try - | -LL | if x == "hello" && x == "world" && y == "world" && y == "hello" { -LL | println!("Hello world!"); -LL | } - | - -error: this if statement can be collapsed - --> $DIR/collapsible_if.rs:39:5 - | -LL | / if 42 == 1337 { -LL | | if 'a' != 'A' { -LL | | println!("world!") -LL | | } -LL | | } - | |_____^ -help: try - | -LL | if 42 == 1337 && 'a' != 'A' { -LL | println!("world!") -LL | } - | - -error: this `else { if .. }` block can be collapsed - --> $DIR/collapsible_if.rs:48:12 - | -LL | } else { - | ____________^ -LL | | if y == "world" { -LL | | println!("world!") -LL | | } -LL | | } - | |_____^ -help: try - | -LL | } else if y == "world" { -LL | println!("world!") -LL | } - | - -error: this `else { if .. }` block can be collapsed - --> $DIR/collapsible_if.rs:56:12 - | -LL | } else { - | ____________^ -LL | | if let Some(42) = Some(42) { -LL | | println!("world!") -LL | | } -LL | | } - | |_____^ -help: try - | -LL | } else if let Some(42) = Some(42) { -LL | println!("world!") -LL | } - | - -error: this `else { if .. }` block can be collapsed - --> $DIR/collapsible_if.rs:64:12 - | -LL | } else { - | ____________^ -LL | | if y == "world" { -LL | | println!("world") -LL | | } -... | -LL | | } -LL | | } - | |_____^ -help: try - | -LL | } else if y == "world" { -LL | println!("world") -LL | } -LL | else { -LL | println!("!") -LL | } - | - -error: this `else { if .. }` block can be collapsed - --> $DIR/collapsible_if.rs:75:12 - | -LL | } else { - | ____________^ -LL | | if let Some(42) = Some(42) { -LL | | println!("world") -LL | | } -... | -LL | | } -LL | | } - | |_____^ -help: try - | -LL | } else if let Some(42) = Some(42) { -LL | println!("world") -LL | } -LL | else { -LL | println!("!") -LL | } - | - -error: this `else { if .. }` block can be collapsed - --> $DIR/collapsible_if.rs:86:12 - | -LL | } else { - | ____________^ -LL | | if let Some(42) = Some(42) { -LL | | println!("world") -LL | | } -... | -LL | | } -LL | | } - | |_____^ -help: try - | -LL | } else if let Some(42) = Some(42) { -LL | println!("world") -LL | } -LL | else { -LL | println!("!") -LL | } - | - -error: this `else { if .. }` block can be collapsed - --> $DIR/collapsible_if.rs:97:12 - | -LL | } else { - | ____________^ -LL | | if x == "hello" { -LL | | println!("world") -LL | | } -... | -LL | | } -LL | | } - | |_____^ -help: try - | -LL | } else if x == "hello" { -LL | println!("world") -LL | } -LL | else { -LL | println!("!") -LL | } - | - -error: this `else { if .. }` block can be collapsed - --> $DIR/collapsible_if.rs:108:12 - | -LL | } else { - | ____________^ -LL | | if let Some(42) = Some(42) { -LL | | println!("world") -LL | | } -... | -LL | | } -LL | | } - | |_____^ -help: try - | -LL | } else if let Some(42) = Some(42) { -LL | println!("world") -LL | } -LL | else { -LL | println!("!") -LL | } - | - -error: this if statement can be collapsed - --> $DIR/collapsible_if.rs:167:5 - | -LL | / if x == "hello" { -LL | | if y == "world" { // Collapsible -LL | | println!("Hello world!"); -LL | | } -LL | | } - | |_____^ -help: try - | -LL | if x == "hello" && y == "world" { // Collapsible -LL | println!("Hello world!"); -LL | } - | - -error: aborting due to 14 previous errors - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/collapsible_if.stderr normalized fixed: // run-rustfix #![allow(clippy::cognitive_complexity, clippy::assertions_on_constants)] #[rustfmt::skip] #[warn(clippy::collapsible_if)] fn main() { let x = "hello"; let y = "world"; if x == "hello" && y == "world" { println!("Hello world!"); } if x == "hello" || x == "world" { if y == "world" || y == "hello" { println!("Hello world!"); } } if x == "hello" && x == "world" { if y == "world" || y == "hello" { println!("Hello world!"); } } if x == "hello" || x == "world" { if y == "world" && y == "hello" { println!("Hello world!"); } } if x == "hello" && x == "world" { if y == "world" && y == "hello" { println!("Hello world!"); } } if 42 == 1337 { if 'a' != 'A' { println!("world!") } } // Collapse `else { if .. }` to `else if ..` if x == "hello" { print!("Hello "); } else { if y == "world" { println!("world!") } } if x == "hello" { print!("Hello "); } else { if let Some(42) = Some(42) { println!("world!") } } if x == "hello" { print!("Hello "); } else { if y == "world" { println!("world") } else { println!("!") } } if x == "hello" { print!("Hello "); } else { if let Some(42) = Some(42) { println!("world") } else { println!("!") } } if let Some(42) = Some(42) { print!("Hello "); } else { if let Some(42) = Some(42) { println!("world") } else { println!("!") } } if let Some(42) = Some(42) { print!("Hello "); } else { if x == "hello" { println!("world") } else { println!("!") } } if let Some(42) = Some(42) { print!("Hello "); } else { if let Some(42) = Some(42) { println!("world") } else { println!("!") } } // Works because any if with an else statement cannot be collapsed. if x == "hello" { if y == "world" { println!("Hello world!"); } } else { println!("Not Hello world"); } if x == "hello" { if y == "world" { println!("Hello world!"); } else { println!("Hello something else"); } } if x == "hello" { print!("Hello "); if y == "world" { println!("world!") } } if true { } else { assert!(true); // assert! is just an `if` } // The following tests check for the fix of https://github.com/rust-lang/rust-clippy/issues/798 if x == "hello" {// Not collapsible if y == "world" { println!("Hello world!"); } } if x == "hello" { // Not collapsible if y == "world" { println!("Hello world!"); } } if x == "hello" { // Not collapsible if y == "world" { println!("Hello world!"); } } if x == "hello" { if y == "world" { // Collapsible println!("Hello world!"); } } if x == "hello" { print!("Hello "); } else { // Not collapsible if y == "world" { println!("world!") } } if x == "hello" { print!("Hello "); } else { // Not collapsible if let Some(42) = Some(42) { println!("world!") } } if x == "hello" { /* Not collapsible */ if y == "world" { println!("Hello world!"); } } if x == "hello" { /* Not collapsible */ if y == "world" { println!("Hello world!"); } } } expected fixed: // run-rustfix #![allow(clippy::cognitive_complexity, clippy::assertions_on_constants)] #[rustfmt::skip] #[warn(clippy::collapsible_if)] fn main() { let x = "hello"; let y = "world"; if x == "hello" && y == "world" { println!("Hello world!"); } if (x == "hello" || x == "world") && (y == "world" || y == "hello") { println!("Hello world!"); } if x == "hello" && x == "world" && (y == "world" || y == "hello") { println!("Hello world!"); } if (x == "hello" || x == "world") && y == "world" && y == "hello" { println!("Hello world!"); } if x == "hello" && x == "world" && y == "world" && y == "hello" { println!("Hello world!"); } if 42 == 1337 && 'a' != 'A' { println!("world!") } // Collapse `else { if .. }` to `else if ..` if x == "hello" { print!("Hello "); } else if y == "world" { println!("world!") } if x == "hello" { print!("Hello "); } else if let Some(42) = Some(42) { println!("world!") } if x == "hello" { print!("Hello "); } else if y == "world" { println!("world") } else { println!("!") } if x == "hello" { print!("Hello "); } else if let Some(42) = Some(42) { println!("world") } else { println!("!") } if let Some(42) = Some(42) { print!("Hello "); } else if let Some(42) = Some(42) { println!("world") } else { println!("!") } if let Some(42) = Some(42) { print!("Hello "); } else if x == "hello" { println!("world") } else { println!("!") } if let Some(42) = Some(42) { print!("Hello "); } else if let Some(42) = Some(42) { println!("world") } else { println!("!") } // Works because any if with an else statement cannot be collapsed. if x == "hello" { if y == "world" { println!("Hello world!"); } } else { println!("Not Hello world"); } if x == "hello" { if y == "world" { println!("Hello world!"); } else { println!("Hello something else"); } } if x == "hello" { print!("Hello "); if y == "world" { println!("world!") } } if true { } else { assert!(true); // assert! is just an `if` } // The following tests check for the fix of https://github.com/rust-lang/rust-clippy/issues/798 if x == "hello" {// Not collapsible if y == "world" { println!("Hello world!"); } } if x == "hello" { // Not collapsible if y == "world" { println!("Hello world!"); } } if x == "hello" { // Not collapsible if y == "world" { println!("Hello world!"); } } if x == "hello" && y == "world" { // Collapsible println!("Hello world!"); } if x == "hello" { print!("Hello "); } else { // Not collapsible if y == "world" { println!("world!") } } if x == "hello" { print!("Hello "); } else { // Not collapsible if let Some(42) = Some(42) { println!("world!") } } if x == "hello" { /* Not collapsible */ if y == "world" { println!("Hello world!"); } } if x == "hello" { /* Not collapsible */ if y == "world" { println!("Hello world!"); } } } diff of fixed: // run-rustfix #![allow(clippy::cognitive_complexity, clippy::assertions_on_constants)] #[rustfmt::skip] #[warn(clippy::collapsible_if)] fn main() { let x = "hello"; let y = "world"; if x == "hello" && y == "world" { println!("Hello world!"); } - if (x == "hello" || x == "world") && (y == "world" || y == "hello") { - println!("Hello world!"); -} + if x == "hello" || x == "world" { + if y == "world" || y == "hello" { + println!("Hello world!"); + } + } - if x == "hello" && x == "world" && (y == "world" || y == "hello") { - println!("Hello world!"); -} + if x == "hello" && x == "world" { + if y == "world" || y == "hello" { + println!("Hello world!"); + } + } - if (x == "hello" || x == "world") && y == "world" && y == "hello" { - println!("Hello world!"); -} + if x == "hello" || x == "world" { + if y == "world" && y == "hello" { + println!("Hello world!"); + } + } - if x == "hello" && x == "world" && y == "world" && y == "hello" { - println!("Hello world!"); -} + if x == "hello" && x == "world" { + if y == "world" && y == "hello" { + println!("Hello world!"); + } + } - if 42 == 1337 && 'a' != 'A' { - println!("world!") -} + if 42 == 1337 { + if 'a' != 'A' { + println!("world!") + } + } // Collapse `else { if .. }` to `else if ..` if x == "hello" { print!("Hello "); - } else if y == "world" { - println!("world!") -} + } else { + if y == "world" { + println!("world!") + } + } if x == "hello" { print!("Hello "); - } else if let Some(42) = Some(42) { - println!("world!") -} + } else { + if let Some(42) = Some(42) { + println!("world!") + } + } if x == "hello" { print!("Hello "); - } else if y == "world" { - println!("world") -} -else { - println!("!") -} + } else { + if y == "world" { + println!("world") + } + else { + println!("!") + } + } if x == "hello" { print!("Hello "); - } else if let Some(42) = Some(42) { - println!("world") -} -else { - println!("!") -} + } else { + if let Some(42) = Some(42) { + println!("world") + } + else { + println!("!") + } + } if let Some(42) = Some(42) { print!("Hello "); - } else if let Some(42) = Some(42) { - println!("world") -} -else { - println!("!") -} + } else { + if let Some(42) = Some(42) { + println!("world") + } + else { + println!("!") + } + } if let Some(42) = Some(42) { print!("Hello "); - } else if x == "hello" { - println!("world") -} -else { - println!("!") -} + } else { + if x == "hello" { + println!("world") + } + else { + println!("!") + } + } if let Some(42) = Some(42) { print!("Hello "); - } else if let Some(42) = Some(42) { - println!("world") -} -else { - println!("!") -} + } else { + if let Some(42) = Some(42) { + println!("world") + } + else { + println!("!") + } + } // Works because any if with an else statement cannot be collapsed. if x == "hello" { if y == "world" { println!("Hello world!"); } } else { println!("Not Hello world"); } if x == "hello" { if y == "world" { println!("Hello world!"); } else { println!("Hello something else"); } } if x == "hello" { print!("Hello "); if y == "world" { println!("world!") } } if true { } else { assert!(true); // assert! is just an `if` } // The following tests check for the fix of https://github.com/rust-lang/rust-clippy/issues/798 if x == "hello" {// Not collapsible if y == "world" { println!("Hello world!"); } } if x == "hello" { // Not collapsible if y == "world" { println!("Hello world!"); } } if x == "hello" { // Not collapsible if y == "world" { println!("Hello world!"); } } - if x == "hello" && y == "world" { // Collapsible - println!("Hello world!"); -} + if x == "hello" { + if y == "world" { // Collapsible + println!("Hello world!"); + } + } if x == "hello" { print!("Hello "); } else { // Not collapsible if y == "world" { println!("world!") } } if x == "hello" { print!("Hello "); } else { // Not collapsible if let Some(42) = Some(42) { println!("world!") } } if x == "hello" { /* Not collapsible */ if y == "world" { println!("Hello world!"); } } if x == "hello" { /* Not collapsible */ if y == "world" { println!("Hello world!"); } } } The actual fixed differed from the expected fixed. Actual fixed saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/collapsible_if.fixed To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'collapsible_if.rs' error: 2 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/collapsible_if.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/collapsible_if.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/collapsible_if.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"this if statement can be collapsed","code":{"code":"clippy::collapsible_if","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/collapsible_if.rs","byte_start":196,"byte_end":293,"line_start":9,"line_end":13,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" if x == \"hello\" {","highlight_start":5,"highlight_end":22},{"text":" if y == \"world\" {","highlight_start":1,"highlight_end":26},{"text":" println!(\"Hello world!\");","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" }","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::collapsible-if` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"try","code":null,"level":"help","spans":[{"file_name":"tests/ui/collapsible_if.rs","byte_start":196,"byte_end":293,"line_start":9,"line_end":13,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" if x == \"hello\" {","highlight_start":5,"highlight_end":22},{"text":" if y == \"world\" {","highlight_start":1,"highlight_end":26},{"text":" println!(\"Hello world!\");","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" }","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":"if x == \"hello\" && y == \"world\" {\n println!(\"Hello world!\");\n}","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: this if statement can be collapsed\n --> tests/ui/collapsible_if.rs:9:5\n |\nLL | / if x == \"hello\" {\nLL | | if y == \"world\" {\nLL | | println!(\"Hello world!\");\nLL | | }\nLL | | }\n | |_____^\n |\n = note: `-D clippy::collapsible-if` implied by `-D warnings`\nhelp: try\n |\nLL | if x == \"hello\" && y == \"world\" {\nLL | println!(\"Hello world!\");\nLL | }\n |\n\n"} ------------------------------------------ thread '[ui] ui/collapsible_if.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/const_static_lifetime.rs stdout ---- normalized stderr: expected stderr: error: Constants have by default a `'static` lifetime --> $DIR/const_static_lifetime.rs:4:17 | LL | const VAR_ONE: &'static str = "Test constant #1"; // ERROR Consider removing 'static. | -^^^^^^^---- help: consider removing `'static`: `&str` | = note: `-D clippy::const-static-lifetime` implied by `-D warnings` error: Constants have by default a `'static` lifetime --> $DIR/const_static_lifetime.rs:8:21 | LL | const VAR_THREE: &[&'static str] = &["one", "two"]; // ERROR Consider removing 'static | -^^^^^^^---- help: consider removing `'static`: `&str` error: Constants have by default a `'static` lifetime --> $DIR/const_static_lifetime.rs:10:32 | LL | const VAR_FOUR: (&str, (&str, &'static str), &'static str) = ("on", ("th", "th"), "on"); // ERROR Consider removing 'static | -^^^^^^^---- help: consider removing `'static`: `&str` error: Constants have by default a `'static` lifetime --> $DIR/const_static_lifetime.rs:10:47 | LL | const VAR_FOUR: (&str, (&str, &'static str), &'static str) = ("on", ("th", "th"), "on"); // ERROR Consider removing 'static | -^^^^^^^---- help: consider removing `'static`: `&str` error: Constants have by default a `'static` lifetime --> $DIR/const_static_lifetime.rs:12:18 | LL | const VAR_FIVE: &'static [&[&'static str]] = &[&["test"], &["other one"]]; // ERROR Consider removing 'static | -^^^^^^^------------------ help: consider removing `'static`: `&[&[&'static str]]` error: Constants have by default a `'static` lifetime --> $DIR/const_static_lifetime.rs:12:30 | LL | const VAR_FIVE: &'static [&[&'static str]] = &[&["test"], &["other one"]]; // ERROR Consider removing 'static | -^^^^^^^---- help: consider removing `'static`: `&str` error: Constants have by default a `'static` lifetime --> $DIR/const_static_lifetime.rs:14:17 | LL | const VAR_SIX: &'static u8 = &5; | -^^^^^^^--- help: consider removing `'static`: `&u8` error: Constants have by default a `'static` lifetime --> $DIR/const_static_lifetime.rs:16:29 | LL | const VAR_SEVEN: &[&(&str, &'static [&'static str])] = &[&("one", &["other one"])]; | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` error: Constants have by default a `'static` lifetime --> $DIR/const_static_lifetime.rs:16:39 | LL | const VAR_SEVEN: &[&(&str, &'static [&'static str])] = &[&("one", &["other one"])]; | -^^^^^^^---- help: consider removing `'static`: `&str` error: Constants have by default a `'static` lifetime --> $DIR/const_static_lifetime.rs:18:20 | LL | const VAR_HEIGHT: &'static Foo = &Foo {}; | -^^^^^^^---- help: consider removing `'static`: `&Foo` error: Constants have by default a `'static` lifetime --> $DIR/const_static_lifetime.rs:20:19 | LL | const VAR_SLICE: &'static [u8] = b"Test constant #1"; // ERROR Consider removing 'static. | -^^^^^^^----- help: consider removing `'static`: `&[u8]` error: Constants have by default a `'static` lifetime --> $DIR/const_static_lifetime.rs:22:19 | LL | const VAR_TUPLE: &'static (u8, u8) = &(1, 2); // ERROR Consider removing 'static. | -^^^^^^^--------- help: consider removing `'static`: `&(u8, u8)` error: Constants have by default a `'static` lifetime --> $DIR/const_static_lifetime.rs:24:19 | LL | const VAR_ARRAY: &'static [u8; 1] = b"T"; // ERROR Consider removing 'static. | -^^^^^^^-------- help: consider removing `'static`: `&[u8; 1]` error: aborting due to 13 previous errors diff of stderr: -error: Constants have by default a `'static` lifetime - --> $DIR/const_static_lifetime.rs:4:17 - | -LL | const VAR_ONE: &'static str = "Test constant #1"; // ERROR Consider removing 'static. - | -^^^^^^^---- help: consider removing `'static`: `&str` - | - = note: `-D clippy::const-static-lifetime` implied by `-D warnings` - -error: Constants have by default a `'static` lifetime - --> $DIR/const_static_lifetime.rs:8:21 - | -LL | const VAR_THREE: &[&'static str] = &["one", "two"]; // ERROR Consider removing 'static - | -^^^^^^^---- help: consider removing `'static`: `&str` - -error: Constants have by default a `'static` lifetime - --> $DIR/const_static_lifetime.rs:10:32 - | -LL | const VAR_FOUR: (&str, (&str, &'static str), &'static str) = ("on", ("th", "th"), "on"); // ERROR Consider removing 'static - | -^^^^^^^---- help: consider removing `'static`: `&str` - -error: Constants have by default a `'static` lifetime - --> $DIR/const_static_lifetime.rs:10:47 - | -LL | const VAR_FOUR: (&str, (&str, &'static str), &'static str) = ("on", ("th", "th"), "on"); // ERROR Consider removing 'static - | -^^^^^^^---- help: consider removing `'static`: `&str` - -error: Constants have by default a `'static` lifetime - --> $DIR/const_static_lifetime.rs:12:18 - | -LL | const VAR_FIVE: &'static [&[&'static str]] = &[&["test"], &["other one"]]; // ERROR Consider removing 'static - | -^^^^^^^------------------ help: consider removing `'static`: `&[&[&'static str]]` - -error: Constants have by default a `'static` lifetime - --> $DIR/const_static_lifetime.rs:12:30 - | -LL | const VAR_FIVE: &'static [&[&'static str]] = &[&["test"], &["other one"]]; // ERROR Consider removing 'static - | -^^^^^^^---- help: consider removing `'static`: `&str` - -error: Constants have by default a `'static` lifetime - --> $DIR/const_static_lifetime.rs:14:17 - | -LL | const VAR_SIX: &'static u8 = &5; - | -^^^^^^^--- help: consider removing `'static`: `&u8` - -error: Constants have by default a `'static` lifetime - --> $DIR/const_static_lifetime.rs:16:29 - | -LL | const VAR_SEVEN: &[&(&str, &'static [&'static str])] = &[&("one", &["other one"])]; - | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` - -error: Constants have by default a `'static` lifetime - --> $DIR/const_static_lifetime.rs:16:39 - | -LL | const VAR_SEVEN: &[&(&str, &'static [&'static str])] = &[&("one", &["other one"])]; - | -^^^^^^^---- help: consider removing `'static`: `&str` - -error: Constants have by default a `'static` lifetime - --> $DIR/const_static_lifetime.rs:18:20 - | -LL | const VAR_HEIGHT: &'static Foo = &Foo {}; - | -^^^^^^^---- help: consider removing `'static`: `&Foo` - -error: Constants have by default a `'static` lifetime - --> $DIR/const_static_lifetime.rs:20:19 - | -LL | const VAR_SLICE: &'static [u8] = b"Test constant #1"; // ERROR Consider removing 'static. - | -^^^^^^^----- help: consider removing `'static`: `&[u8]` - -error: Constants have by default a `'static` lifetime - --> $DIR/const_static_lifetime.rs:22:19 - | -LL | const VAR_TUPLE: &'static (u8, u8) = &(1, 2); // ERROR Consider removing 'static. - | -^^^^^^^--------- help: consider removing `'static`: `&(u8, u8)` - -error: Constants have by default a `'static` lifetime - --> $DIR/const_static_lifetime.rs:24:19 - | -LL | const VAR_ARRAY: &'static [u8; 1] = b"T"; // ERROR Consider removing 'static. - | -^^^^^^^-------- help: consider removing `'static`: `&[u8; 1]` - -error: aborting due to 13 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/const_static_lifetime.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'const_static_lifetime.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/const_static_lifetime.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/const_static_lifetime.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/const_static_lifetime.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/const_static_lifetime.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/copy_iterator.rs stdout ---- normalized stderr: expected stderr: error: you are implementing `Iterator` on a `Copy` type --> $DIR/copy_iterator.rs:6:1 | LL | / impl Iterator for Countdown { LL | | type Item = u8; LL | | LL | | fn next(&mut self) -> Option { ... | LL | | } LL | | } | |_^ | = note: `-D clippy::copy-iterator` implied by `-D warnings` = note: consider implementing `IntoIterator` instead error: aborting due to previous error diff of stderr: -error: you are implementing `Iterator` on a `Copy` type - --> $DIR/copy_iterator.rs:6:1 - | -LL | / impl Iterator for Countdown { -LL | | type Item = u8; -LL | | -LL | | fn next(&mut self) -> Option { -... | -LL | | } -LL | | } - | |_^ - | - = note: `-D clippy::copy-iterator` implied by `-D warnings` - = note: consider implementing `IntoIterator` instead - -error: aborting due to previous error - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/copy_iterator.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'copy_iterator.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/copy_iterator.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/copy_iterator.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/copy_iterator.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/copy_iterator.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/crashes/cc_seme.rs stdout ---- thread '[ui] ui/crashes/cc_seme.rs' panicked at 'failed to exec `"/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/crashes/cc_seme.stage-id"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:997:5 ---- [ui] ui/crashes/ice-2499.rs stdout ---- thread '[ui] ui/crashes/ice-2499.rs' panicked at 'failed to exec `"/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/crashes/ice-2499.stage-id"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:997:5 ---- [ui] ui/crashes/ice-2774.rs stdout ---- thread '[ui] ui/crashes/ice-2774.rs' panicked at 'failed to exec `"/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/crashes/ice-2774.stage-id"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:997:5 ---- [ui] ui/crashes/if_same_then_else.rs stdout ---- thread '[ui] ui/crashes/if_same_then_else.rs' panicked at 'failed to exec `"/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/crashes/if_same_then_else.stage-id"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:997:5 ---- [ui] ui/crashes/ice-3741.rs stdout ---- thread '[ui] ui/crashes/ice-3741.rs' panicked at 'failed to exec `"/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/crashes/ice-3741.stage-id"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:997:5 ---- [ui] ui/crashes/issue-825.rs stdout ---- thread '[ui] ui/crashes/issue-825.rs' panicked at 'failed to exec `"/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/crashes/issue-825.stage-id"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:997:5 ---- [ui] ui/crashes/issues_loop_mut_cond.rs stdout ---- thread '[ui] ui/crashes/issues_loop_mut_cond.rs' panicked at 'failed to exec `"/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/crashes/issues_loop_mut_cond.stage-id"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:997:5 ---- [ui] ui/crashes/match_same_arms_const.rs stdout ---- thread '[ui] ui/crashes/match_same_arms_const.rs' panicked at 'failed to exec `"/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/crashes/match_same_arms_const.stage-id"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:997:5 ---- [ui] ui/crashes/needless_borrow_fp.rs stdout ---- thread '[ui] ui/crashes/needless_borrow_fp.rs' panicked at 'failed to exec `"/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/crashes/needless_borrow_fp.stage-id"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:997:5 ---- [ui] ui/crashes/procedural_macro.rs stdout ---- thread '[ui] ui/crashes/procedural_macro.rs' panicked at 'failed to exec `"/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/crashes/procedural_macro.stage-id"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:997:5 ---- [ui] ui/crashes/used_underscore_binding_macro.rs stdout ---- thread '[ui] ui/crashes/used_underscore_binding_macro.rs' panicked at 'failed to exec `"/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/crashes/used_underscore_binding_macro.stage-id"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:997:5 ---- [ui] ui/dbg_macro.rs stdout ---- normalized stderr: error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:4:22 | LL | if let Some(n) = dbg!(n.checked_sub(4)) { | ^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::dbg-macro` implied by `-D warnings` help: ensure to avoid having uses of it in version control | LL | if let Some(n) = n.checked_sub(4) { | ^^^^^^^^^^^^^^^^ error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:12:8 | LL | if dbg!(n <= 1) { | ^^^^^^^^^^^^ help: ensure to avoid having uses of it in version control | LL | if n <= 1 { | ^^^^^^ error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:13:9 | LL | dbg!(1) | ^^^^^^^ help: ensure to avoid having uses of it in version control | LL | 1 | error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:15:9 | LL | dbg!(n * factorial(n - 1)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: ensure to avoid having uses of it in version control | LL | n * factorial(n - 1) | error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:20:5 | LL | dbg!(42); | ^^^^^^^^ help: ensure to avoid having uses of it in version control | LL | 42; | ^^ error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:21:5 | LL | dbg!(dbg!(dbg!(42))); | ^^^^^^^^^^^^^^^^^^^^ help: ensure to avoid having uses of it in version control | LL | dbg!(dbg!(42)); | ^^^^^^^^^^^^^^ error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:22:14 | LL | foo(3) + dbg!(factorial(4)); | ^^^^^^^^^^^^^^^^^^ help: ensure to avoid having uses of it in version control | LL | foo(3) + factorial(4); | ^^^^^^^^^^^^ expected stderr: error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:4:22 | LL | if let Some(n) = dbg!(n.checked_sub(4)) { | ^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::dbg-macro` implied by `-D warnings` help: ensure to avoid having uses of it in version control | LL | if let Some(n) = n.checked_sub(4) { | ^^^^^^^^^^^^^^^^ error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:12:8 | LL | if dbg!(n <= 1) { | ^^^^^^^^^^^^ help: ensure to avoid having uses of it in version control | LL | if n <= 1 { | ^^^^^^ error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:13:9 | LL | dbg!(1) | ^^^^^^^ help: ensure to avoid having uses of it in version control | LL | 1 | error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:15:9 | LL | dbg!(n * factorial(n - 1)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: ensure to avoid having uses of it in version control | LL | n * factorial(n - 1) | error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:20:5 | LL | dbg!(42); | ^^^^^^^^ help: ensure to avoid having uses of it in version control | LL | 42; | ^^ error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:21:5 | LL | dbg!(dbg!(dbg!(42))); | ^^^^^^^^^^^^^^^^^^^^ help: ensure to avoid having uses of it in version control | LL | dbg!(dbg!(42)); | ^^^^^^^^^^^^^^ error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:22:14 | LL | foo(3) + dbg!(factorial(4)); | ^^^^^^^^^^^^^^^^^^ help: ensure to avoid having uses of it in version control | LL | foo(3) + factorial(4); | ^^^^^^^^^^^^ error: aborting due to 7 previous errors diff of stderr: error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:4:22 | LL | if let Some(n) = dbg!(n.checked_sub(4)) { | ^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::dbg-macro` implied by `-D warnings` help: ensure to avoid having uses of it in version control | LL | if let Some(n) = n.checked_sub(4) { | ^^^^^^^^^^^^^^^^ error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:12:8 | LL | if dbg!(n <= 1) { | ^^^^^^^^^^^^ help: ensure to avoid having uses of it in version control | LL | if n <= 1 { | ^^^^^^ error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:13:9 | LL | dbg!(1) | ^^^^^^^ help: ensure to avoid having uses of it in version control | LL | 1 | error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:15:9 | LL | dbg!(n * factorial(n - 1)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: ensure to avoid having uses of it in version control | LL | n * factorial(n - 1) | error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:20:5 | LL | dbg!(42); | ^^^^^^^^ help: ensure to avoid having uses of it in version control | LL | 42; | ^^ error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:21:5 | LL | dbg!(dbg!(dbg!(42))); | ^^^^^^^^^^^^^^^^^^^^ help: ensure to avoid having uses of it in version control | LL | dbg!(dbg!(42)); | ^^^^^^^^^^^^^^ error: `dbg!` macro is intended as a debugging tool --> $DIR/dbg_macro.rs:22:14 | LL | foo(3) + dbg!(factorial(4)); | ^^^^^^^^^^^^^^^^^^ help: ensure to avoid having uses of it in version control | LL | foo(3) + factorial(4); | ^^^^^^^^^^^^ -error: aborting due to 7 previous errors - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/dbg_macro.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'dbg_macro.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/dbg_macro.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/dbg_macro.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/dbg_macro.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"`dbg!` macro is intended as a debugging tool","code":{"code":"clippy::dbg_macro","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/dbg_macro.rs","byte_start":74,"byte_end":96,"line_start":4,"line_end":4,"column_start":22,"column_end":44,"is_primary":true,"text":[{"text":" if let Some(n) = dbg!(n.checked_sub(4)) {","highlight_start":22,"highlight_end":44}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::dbg-macro` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"ensure to avoid having uses of it in version control","code":null,"level":"help","spans":[{"file_name":"tests/ui/dbg_macro.rs","byte_start":74,"byte_end":96,"line_start":4,"line_end":4,"column_start":22,"column_end":44,"is_primary":true,"text":[{"text":" if let Some(n) = dbg!(n.checked_sub(4)) {","highlight_start":22,"highlight_end":44}],"label":null,"suggested_replacement":"n.checked_sub(4)","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `dbg!` macro is intended as a debugging tool\n --> tests/ui/dbg_macro.rs:4:22\n |\nLL | if let Some(n) = dbg!(n.checked_sub(4)) {\n | ^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: `-D clippy::dbg-macro` implied by `-D warnings`\nhelp: ensure to avoid having uses of it in version control\n |\nLL | if let Some(n) = n.checked_sub(4) {\n | ^^^^^^^^^^^^^^^^\n\n"} {"message":"`dbg!` macro is intended as a debugging tool","code":{"code":"clippy::dbg_macro","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/dbg_macro.rs","byte_start":178,"byte_end":190,"line_start":12,"line_end":12,"column_start":8,"column_end":20,"is_primary":true,"text":[{"text":" if dbg!(n <= 1) {","highlight_start":8,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"ensure to avoid having uses of it in version control","code":null,"level":"help","spans":[{"file_name":"tests/ui/dbg_macro.rs","byte_start":178,"byte_end":190,"line_start":12,"line_end":12,"column_start":8,"column_end":20,"is_primary":true,"text":[{"text":" if dbg!(n <= 1) {","highlight_start":8,"highlight_end":20}],"label":null,"suggested_replacement":"n <= 1","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `dbg!` macro is intended as a debugging tool\n --> tests/ui/dbg_macro.rs:12:8\n |\nLL | if dbg!(n <= 1) {\n | ^^^^^^^^^^^^\nhelp: ensure to avoid having uses of it in version control\n |\nLL | if n <= 1 {\n | ^^^^^^\n\n"} {"message":"`dbg!` macro is intended as a debugging tool","code":{"code":"clippy::dbg_macro","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/dbg_macro.rs","byte_start":201,"byte_end":208,"line_start":13,"line_end":13,"column_start":9,"column_end":16,"is_primary":true,"text":[{"text":" dbg!(1)","highlight_start":9,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"ensure to avoid having uses of it in version control","code":null,"level":"help","spans":[{"file_name":"tests/ui/dbg_macro.rs","byte_start":201,"byte_end":208,"line_start":13,"line_end":13,"column_start":9,"column_end":16,"is_primary":true,"text":[{"text":" dbg!(1)","highlight_start":9,"highlight_end":16}],"label":null,"suggested_replacement":"1","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `dbg!` macro is intended as a debugging tool\n --> tests/ui/dbg_macro.rs:13:9\n |\nLL | dbg!(1)\n | ^^^^^^^\nhelp: ensure to avoid having uses of it in version control\n |\nLL | 1\n |\n\n"} {"message":"`dbg!` macro is intended as a debugging tool","code":{"code":"clippy::dbg_macro","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/dbg_macro.rs","byte_start":230,"byte_end":256,"line_start":15,"line_end":15,"column_start":9,"column_end":35,"is_primary":true,"text":[{"text":" dbg!(n * factorial(n - 1))","highlight_start":9,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"ensure to avoid having uses of it in version control","code":null,"level":"help","spans":[{"file_name":"tests/ui/dbg_macro.rs","byte_start":230,"byte_end":256,"line_start":15,"line_end":15,"column_start":9,"column_end":35,"is_primary":true,"text":[{"text":" dbg!(n * factorial(n - 1))","highlight_start":9,"highlight_end":35}],"label":null,"suggested_replacement":"n * factorial(n - 1)","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `dbg!` macro is intended as a debugging tool\n --> tests/ui/dbg_macro.rs:15:9\n |\nLL | dbg!(n * factorial(n - 1))\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^\nhelp: ensure to avoid having uses of it in version control\n |\nLL | n * factorial(n - 1)\n |\n\n"} {"message":"`dbg!` macro is intended as a debugging tool","code":{"code":"clippy::dbg_macro","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/dbg_macro.rs","byte_start":282,"byte_end":290,"line_start":20,"line_end":20,"column_start":5,"column_end":13,"is_primary":true,"text":[{"text":" dbg!(42);","highlight_start":5,"highlight_end":13}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"ensure to avoid having uses of it in version control","code":null,"level":"help","spans":[{"file_name":"tests/ui/dbg_macro.rs","byte_start":282,"byte_end":290,"line_start":20,"line_end":20,"column_start":5,"column_end":13,"is_primary":true,"text":[{"text":" dbg!(42);","highlight_start":5,"highlight_end":13}],"label":null,"suggested_replacement":"42","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `dbg!` macro is intended as a debugging tool\n --> tests/ui/dbg_macro.rs:20:5\n |\nLL | dbg!(42);\n | ^^^^^^^^\nhelp: ensure to avoid having uses of it in version control\n |\nLL | 42;\n | ^^\n\n"} {"message":"`dbg!` macro is intended as a debugging tool","code":{"code":"clippy::dbg_macro","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/dbg_macro.rs","byte_start":296,"byte_end":316,"line_start":21,"line_end":21,"column_start":5,"column_end":25,"is_primary":true,"text":[{"text":" dbg!(dbg!(dbg!(42)));","highlight_start":5,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"ensure to avoid having uses of it in version control","code":null,"level":"help","spans":[{"file_name":"tests/ui/dbg_macro.rs","byte_start":296,"byte_end":316,"line_start":21,"line_end":21,"column_start":5,"column_end":25,"is_primary":true,"text":[{"text":" dbg!(dbg!(dbg!(42)));","highlight_start":5,"highlight_end":25}],"label":null,"suggested_replacement":"dbg!(dbg!(42))","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `dbg!` macro is intended as a debugging tool\n --> tests/ui/dbg_macro.rs:21:5\n |\nLL | dbg!(dbg!(dbg!(42)));\n | ^^^^^^^^^^^^^^^^^^^^\nhelp: ensure to avoid having uses of it in version control\n |\nLL | dbg!(dbg!(42));\n | ^^^^^^^^^^^^^^\n\n"} {"message":"`dbg!` macro is intended as a debugging tool","code":{"code":"clippy::dbg_macro","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/dbg_macro.rs","byte_start":331,"byte_end":349,"line_start":22,"line_end":22,"column_start":14,"column_end":32,"is_primary":true,"text":[{"text":" foo(3) + dbg!(factorial(4));","highlight_start":14,"highlight_end":32}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"ensure to avoid having uses of it in version control","code":null,"level":"help","spans":[{"file_name":"tests/ui/dbg_macro.rs","byte_start":331,"byte_end":349,"line_start":22,"line_end":22,"column_start":14,"column_end":32,"is_primary":true,"text":[{"text":" foo(3) + dbg!(factorial(4));","highlight_start":14,"highlight_end":32}],"label":null,"suggested_replacement":"factorial(4)","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: `dbg!` macro is intended as a debugging tool\n --> tests/ui/dbg_macro.rs:22:14\n |\nLL | foo(3) + dbg!(factorial(4));\n | ^^^^^^^^^^^^^^^^^^\nhelp: ensure to avoid having uses of it in version control\n |\nLL | foo(3) + factorial(4);\n | ^^^^^^^^^^^^\n\n"} ------------------------------------------ thread '[ui] ui/dbg_macro.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/default_trait_access.rs stdout ---- normalized stderr: expected stderr: error: Calling std::string::String::default() is more clear than this expression --> $DIR/default_trait_access.rs:8:22 | LL | let s1: String = Default::default(); | ^^^^^^^^^^^^^^^^^^ help: try: `std::string::String::default()` | = note: `-D clippy::default-trait-access` implied by `-D warnings` error: Calling std::string::String::default() is more clear than this expression --> $DIR/default_trait_access.rs:12:22 | LL | let s3: String = D2::default(); | ^^^^^^^^^^^^^ help: try: `std::string::String::default()` error: Calling std::string::String::default() is more clear than this expression --> $DIR/default_trait_access.rs:14:22 | LL | let s4: String = std::default::Default::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::string::String::default()` error: Calling std::string::String::default() is more clear than this expression --> $DIR/default_trait_access.rs:18:22 | LL | let s6: String = default::Default::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::string::String::default()` error: Calling GenericDerivedDefault::default() is more clear than this expression --> $DIR/default_trait_access.rs:28:46 | LL | let s11: GenericDerivedDefault = Default::default(); | ^^^^^^^^^^^^^^^^^^ help: try: `GenericDerivedDefault::default()` error: Calling TupleDerivedDefault::default() is more clear than this expression --> $DIR/default_trait_access.rs:34:36 | LL | let s14: TupleDerivedDefault = Default::default(); | ^^^^^^^^^^^^^^^^^^ help: try: `TupleDerivedDefault::default()` error: Calling ArrayDerivedDefault::default() is more clear than this expression --> $DIR/default_trait_access.rs:36:36 | LL | let s15: ArrayDerivedDefault = Default::default(); | ^^^^^^^^^^^^^^^^^^ help: try: `ArrayDerivedDefault::default()` error: Calling TupleStructDerivedDefault::default() is more clear than this expression --> $DIR/default_trait_access.rs:40:42 | LL | let s17: TupleStructDerivedDefault = Default::default(); | ^^^^^^^^^^^^^^^^^^ help: try: `TupleStructDerivedDefault::default()` error: aborting due to 8 previous errors diff of stderr: -error: Calling std::string::String::default() is more clear than this expression - --> $DIR/default_trait_access.rs:8:22 - | -LL | let s1: String = Default::default(); - | ^^^^^^^^^^^^^^^^^^ help: try: `std::string::String::default()` - | - = note: `-D clippy::default-trait-access` implied by `-D warnings` - -error: Calling std::string::String::default() is more clear than this expression - --> $DIR/default_trait_access.rs:12:22 - | -LL | let s3: String = D2::default(); - | ^^^^^^^^^^^^^ help: try: `std::string::String::default()` - -error: Calling std::string::String::default() is more clear than this expression - --> $DIR/default_trait_access.rs:14:22 - | -LL | let s4: String = std::default::Default::default(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::string::String::default()` - -error: Calling std::string::String::default() is more clear than this expression - --> $DIR/default_trait_access.rs:18:22 - | -LL | let s6: String = default::Default::default(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::string::String::default()` - -error: Calling GenericDerivedDefault::default() is more clear than this expression - --> $DIR/default_trait_access.rs:28:46 - | -LL | let s11: GenericDerivedDefault = Default::default(); - | ^^^^^^^^^^^^^^^^^^ help: try: `GenericDerivedDefault::default()` - -error: Calling TupleDerivedDefault::default() is more clear than this expression - --> $DIR/default_trait_access.rs:34:36 - | -LL | let s14: TupleDerivedDefault = Default::default(); - | ^^^^^^^^^^^^^^^^^^ help: try: `TupleDerivedDefault::default()` - -error: Calling ArrayDerivedDefault::default() is more clear than this expression - --> $DIR/default_trait_access.rs:36:36 - | -LL | let s15: ArrayDerivedDefault = Default::default(); - | ^^^^^^^^^^^^^^^^^^ help: try: `ArrayDerivedDefault::default()` - -error: Calling TupleStructDerivedDefault::default() is more clear than this expression - --> $DIR/default_trait_access.rs:40:42 - | -LL | let s17: TupleStructDerivedDefault = Default::default(); - | ^^^^^^^^^^^^^^^^^^ help: try: `TupleStructDerivedDefault::default()` - -error: aborting due to 8 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/default_trait_access.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'default_trait_access.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/default_trait_access.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/default_trait_access.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/default_trait_access.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/default_trait_access.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/derive.rs stdout ---- normalized stderr: expected stderr: error: you are deriving `Hash` but have implemented `PartialEq` explicitly --> $DIR/derive.rs:16:10 | LL | #[derive(Hash)] | ^^^^ | = note: #[deny(clippy::derive_hash_xor_eq)] on by default note: `PartialEq` implemented here --> $DIR/derive.rs:19:1 | LL | / impl PartialEq for Bar { LL | | fn eq(&self, _: &Bar) -> bool { LL | | true LL | | } LL | | } | |_^ error: you are deriving `Hash` but have implemented `PartialEq` explicitly --> $DIR/derive.rs:25:10 | LL | #[derive(Hash)] | ^^^^ | note: `PartialEq` implemented here --> $DIR/derive.rs:28:1 | LL | / impl PartialEq for Baz { LL | | fn eq(&self, _: &Baz) -> bool { LL | | true LL | | } LL | | } | |_^ error: you are implementing `Hash` explicitly but have derived `PartialEq` --> $DIR/derive.rs:37:1 | LL | / impl Hash for Bah { LL | | fn hash(&self, _: &mut H) {} LL | | } | |_^ | note: `PartialEq` implemented here --> $DIR/derive.rs:34:10 | LL | #[derive(PartialEq)] | ^^^^^^^^^ error: you are implementing `Clone` explicitly on a `Copy` type --> $DIR/derive.rs:44:1 | LL | / impl Clone for Qux { LL | | fn clone(&self) -> Self { LL | | Qux LL | | } LL | | } | |_^ | = note: `-D clippy::expl-impl-clone-on-copy` implied by `-D warnings` note: consider deriving `Clone` or removing `Copy` --> $DIR/derive.rs:44:1 | LL | / impl Clone for Qux { LL | | fn clone(&self) -> Self { LL | | Qux LL | | } LL | | } | |_^ error: you are implementing `Clone` explicitly on a `Copy` type --> $DIR/derive.rs:68:1 | LL | / impl<'a> Clone for Lt<'a> { LL | | fn clone(&self) -> Self { LL | | unimplemented!() LL | | } LL | | } | |_^ | note: consider deriving `Clone` or removing `Copy` --> $DIR/derive.rs:68:1 | LL | / impl<'a> Clone for Lt<'a> { LL | | fn clone(&self) -> Self { LL | | unimplemented!() LL | | } LL | | } | |_^ error: you are implementing `Clone` explicitly on a `Copy` type --> $DIR/derive.rs:80:1 | LL | / impl Clone for BigArray { LL | | fn clone(&self) -> Self { LL | | unimplemented!() LL | | } LL | | } | |_^ | note: consider deriving `Clone` or removing `Copy` --> $DIR/derive.rs:80:1 | LL | / impl Clone for BigArray { LL | | fn clone(&self) -> Self { LL | | unimplemented!() LL | | } LL | | } | |_^ error: you are implementing `Clone` explicitly on a `Copy` type --> $DIR/derive.rs:92:1 | LL | / impl Clone for FnPtr { LL | | fn clone(&self) -> Self { LL | | unimplemented!() LL | | } LL | | } | |_^ | note: consider deriving `Clone` or removing `Copy` --> $DIR/derive.rs:92:1 | LL | / impl Clone for FnPtr { LL | | fn clone(&self) -> Self { LL | | unimplemented!() LL | | } LL | | } | |_^ error: aborting due to 7 previous errors diff of stderr: -error: you are deriving `Hash` but have implemented `PartialEq` explicitly - --> $DIR/derive.rs:16:10 - | -LL | #[derive(Hash)] - | ^^^^ - | - = note: #[deny(clippy::derive_hash_xor_eq)] on by default -note: `PartialEq` implemented here - --> $DIR/derive.rs:19:1 - | -LL | / impl PartialEq for Bar { -LL | | fn eq(&self, _: &Bar) -> bool { -LL | | true -LL | | } -LL | | } - | |_^ - -error: you are deriving `Hash` but have implemented `PartialEq` explicitly - --> $DIR/derive.rs:25:10 - | -LL | #[derive(Hash)] - | ^^^^ - | -note: `PartialEq` implemented here - --> $DIR/derive.rs:28:1 - | -LL | / impl PartialEq for Baz { -LL | | fn eq(&self, _: &Baz) -> bool { -LL | | true -LL | | } -LL | | } - | |_^ - -error: you are implementing `Hash` explicitly but have derived `PartialEq` - --> $DIR/derive.rs:37:1 - | -LL | / impl Hash for Bah { -LL | | fn hash(&self, _: &mut H) {} -LL | | } - | |_^ - | -note: `PartialEq` implemented here - --> $DIR/derive.rs:34:10 - | -LL | #[derive(PartialEq)] - | ^^^^^^^^^ - -error: you are implementing `Clone` explicitly on a `Copy` type - --> $DIR/derive.rs:44:1 - | -LL | / impl Clone for Qux { -LL | | fn clone(&self) -> Self { -LL | | Qux -LL | | } -LL | | } - | |_^ - | - = note: `-D clippy::expl-impl-clone-on-copy` implied by `-D warnings` -note: consider deriving `Clone` or removing `Copy` - --> $DIR/derive.rs:44:1 - | -LL | / impl Clone for Qux { -LL | | fn clone(&self) -> Self { -LL | | Qux -LL | | } -LL | | } - | |_^ - -error: you are implementing `Clone` explicitly on a `Copy` type - --> $DIR/derive.rs:68:1 - | -LL | / impl<'a> Clone for Lt<'a> { -LL | | fn clone(&self) -> Self { -LL | | unimplemented!() -LL | | } -LL | | } - | |_^ - | -note: consider deriving `Clone` or removing `Copy` - --> $DIR/derive.rs:68:1 - | -LL | / impl<'a> Clone for Lt<'a> { -LL | | fn clone(&self) -> Self { -LL | | unimplemented!() -LL | | } -LL | | } - | |_^ - -error: you are implementing `Clone` explicitly on a `Copy` type - --> $DIR/derive.rs:80:1 - | -LL | / impl Clone for BigArray { -LL | | fn clone(&self) -> Self { -LL | | unimplemented!() -LL | | } -LL | | } - | |_^ - | -note: consider deriving `Clone` or removing `Copy` - --> $DIR/derive.rs:80:1 - | -LL | / impl Clone for BigArray { -LL | | fn clone(&self) -> Self { -LL | | unimplemented!() -LL | | } -LL | | } - | |_^ - -error: you are implementing `Clone` explicitly on a `Copy` type - --> $DIR/derive.rs:92:1 - | -LL | / impl Clone for FnPtr { -LL | | fn clone(&self) -> Self { -LL | | unimplemented!() -LL | | } -LL | | } - | |_^ - | -note: consider deriving `Clone` or removing `Copy` - --> $DIR/derive.rs:92:1 - | -LL | / impl Clone for FnPtr { -LL | | fn clone(&self) -> Self { -LL | | unimplemented!() -LL | | } -LL | | } - | |_^ - -error: aborting due to 7 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/derive.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'derive.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/derive.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/derive.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/derive.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/derive.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/diverging_sub_expression.rs stdout ---- normalized stderr: expected stderr: error: sub-expression diverges --> $DIR/diverging_sub_expression.rs:21:10 | LL | b || diverge(); | ^^^^^^^^^ | = note: `-D clippy::diverging-sub-expression` implied by `-D warnings` error: sub-expression diverges --> $DIR/diverging_sub_expression.rs:22:10 | LL | b || A.foo(); | ^^^^^^^ error: sub-expression diverges --> $DIR/diverging_sub_expression.rs:31:26 | LL | 6 => true || return, | ^^^^^^ error: sub-expression diverges --> $DIR/diverging_sub_expression.rs:32:26 | LL | 7 => true || continue, | ^^^^^^^^ error: sub-expression diverges --> $DIR/diverging_sub_expression.rs:35:26 | LL | 3 => true || diverge(), | ^^^^^^^^^ error: sub-expression diverges --> $DIR/diverging_sub_expression.rs:40:26 | LL | _ => true || break, | ^^^^^ error: aborting due to 6 previous errors diff of stderr: -error: sub-expression diverges - --> $DIR/diverging_sub_expression.rs:21:10 - | -LL | b || diverge(); - | ^^^^^^^^^ - | - = note: `-D clippy::diverging-sub-expression` implied by `-D warnings` - -error: sub-expression diverges - --> $DIR/diverging_sub_expression.rs:22:10 - | -LL | b || A.foo(); - | ^^^^^^^ - -error: sub-expression diverges - --> $DIR/diverging_sub_expression.rs:31:26 - | -LL | 6 => true || return, - | ^^^^^^ - -error: sub-expression diverges - --> $DIR/diverging_sub_expression.rs:32:26 - | -LL | 7 => true || continue, - | ^^^^^^^^ - -error: sub-expression diverges - --> $DIR/diverging_sub_expression.rs:35:26 - | -LL | 3 => true || diverge(), - | ^^^^^^^^^ - -error: sub-expression diverges - --> $DIR/diverging_sub_expression.rs:40:26 - | -LL | _ => true || break, - | ^^^^^ - -error: aborting due to 6 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/diverging_sub_expression.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'diverging_sub_expression.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/diverging_sub_expression.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/diverging_sub_expression.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/diverging_sub_expression.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/diverging_sub_expression.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/dlist.rs stdout ---- normalized stderr: expected stderr: error: I see you're using a LinkedList! Perhaps you meant some other data structure? --> $DIR/dlist.rs:10:16 | LL | type Baz = LinkedList; | ^^^^^^^^^^^^^^ | = note: `-D clippy::linkedlist` implied by `-D warnings` = help: a VecDeque might work error: I see you're using a LinkedList! Perhaps you meant some other data structure? --> $DIR/dlist.rs:11:12 | LL | fn foo(LinkedList); | ^^^^^^^^^^^^^^ | = help: a VecDeque might work error: I see you're using a LinkedList! Perhaps you meant some other data structure? --> $DIR/dlist.rs:12:23 | LL | const BAR: Option>; | ^^^^^^^^^^^^^^ | = help: a VecDeque might work error: I see you're using a LinkedList! Perhaps you meant some other data structure? --> $DIR/dlist.rs:23:15 | LL | fn foo(_: LinkedList) {} | ^^^^^^^^^^^^^^ | = help: a VecDeque might work error: I see you're using a LinkedList! Perhaps you meant some other data structure? --> $DIR/dlist.rs:26:39 | LL | pub fn test(my_favourite_linked_list: LinkedList) { | ^^^^^^^^^^^^^^ | = help: a VecDeque might work error: I see you're using a LinkedList! Perhaps you meant some other data structure? --> $DIR/dlist.rs:30:29 | LL | pub fn test_ret() -> Option> { | ^^^^^^^^^^^^^^ | = help: a VecDeque might work error: aborting due to 6 previous errors diff of stderr: -error: I see you're using a LinkedList! Perhaps you meant some other data structure? - --> $DIR/dlist.rs:10:16 - | -LL | type Baz = LinkedList; - | ^^^^^^^^^^^^^^ - | - = note: `-D clippy::linkedlist` implied by `-D warnings` - = help: a VecDeque might work - -error: I see you're using a LinkedList! Perhaps you meant some other data structure? - --> $DIR/dlist.rs:11:12 - | -LL | fn foo(LinkedList); - | ^^^^^^^^^^^^^^ - | - = help: a VecDeque might work - -error: I see you're using a LinkedList! Perhaps you meant some other data structure? - --> $DIR/dlist.rs:12:23 - | -LL | const BAR: Option>; - | ^^^^^^^^^^^^^^ - | - = help: a VecDeque might work - -error: I see you're using a LinkedList! Perhaps you meant some other data structure? - --> $DIR/dlist.rs:23:15 - | -LL | fn foo(_: LinkedList) {} - | ^^^^^^^^^^^^^^ - | - = help: a VecDeque might work - -error: I see you're using a LinkedList! Perhaps you meant some other data structure? - --> $DIR/dlist.rs:26:39 - | -LL | pub fn test(my_favourite_linked_list: LinkedList) { - | ^^^^^^^^^^^^^^ - | - = help: a VecDeque might work - -error: I see you're using a LinkedList! Perhaps you meant some other data structure? - --> $DIR/dlist.rs:30:29 - | -LL | pub fn test_ret() -> Option> { - | ^^^^^^^^^^^^^^ - | - = help: a VecDeque might work - -error: aborting due to 6 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/dlist.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'dlist.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/dlist.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/dlist.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/dlist.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/dlist.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/double_parens.rs stdout ---- normalized stderr: error: Consider removing unnecessary double parentheses --> $DIR/double_parens.rs:15:5 | LL | ((0)) | ^^^^^ | = note: `-D clippy::double-parens` implied by `-D warnings` error: Consider removing unnecessary double parentheses --> $DIR/double_parens.rs:19:14 | LL | dummy_fn((0)); | ^^^ error: Consider removing unnecessary double parentheses --> $DIR/double_parens.rs:23:20 | LL | x.dummy_method((0)); | ^^^ expected stderr: error: Consider removing unnecessary double parentheses --> $DIR/double_parens.rs:15:5 | LL | ((0)) | ^^^^^ | = note: `-D clippy::double-parens` implied by `-D warnings` error: Consider removing unnecessary double parentheses --> $DIR/double_parens.rs:19:14 | LL | dummy_fn((0)); | ^^^ error: Consider removing unnecessary double parentheses --> $DIR/double_parens.rs:23:20 | LL | x.dummy_method((0)); | ^^^ error: Consider removing unnecessary double parentheses --> $DIR/double_parens.rs:27:5 | LL | ((1, 2)) | ^^^^^^^^ error: Consider removing unnecessary double parentheses --> $DIR/double_parens.rs:31:5 | LL | (()) | ^^^^ error: Consider removing unnecessary double parentheses --> $DIR/double_parens.rs:53:16 | LL | assert_eq!(((1, 2)), (1, 2), "Error"); | ^^^^^^^^ error: aborting due to 6 previous errors diff of stderr: error: Consider removing unnecessary double parentheses --> $DIR/double_parens.rs:15:5 | LL | ((0)) | ^^^^^ | = note: `-D clippy::double-parens` implied by `-D warnings` error: Consider removing unnecessary double parentheses --> $DIR/double_parens.rs:19:14 | LL | dummy_fn((0)); | ^^^ error: Consider removing unnecessary double parentheses --> $DIR/double_parens.rs:23:20 | LL | x.dummy_method((0)); | ^^^ -error: Consider removing unnecessary double parentheses - --> $DIR/double_parens.rs:27:5 - | -LL | ((1, 2)) - | ^^^^^^^^ - -error: Consider removing unnecessary double parentheses - --> $DIR/double_parens.rs:31:5 - | -LL | (()) - | ^^^^ - -error: Consider removing unnecessary double parentheses - --> $DIR/double_parens.rs:53:16 - | -LL | assert_eq!(((1, 2)), (1, 2), "Error"); - | ^^^^^^^^ - -error: aborting due to 6 previous errors - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/double_parens.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'double_parens.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/double_parens.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/double_parens.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/double_parens.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"Consider removing unnecessary double parentheses","code":{"code":"clippy::double_parens","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/double_parens.rs","byte_start":254,"byte_end":259,"line_start":15,"line_end":15,"column_start":5,"column_end":10,"is_primary":true,"text":[{"text":" ((0))","highlight_start":5,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::double-parens` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error: Consider removing unnecessary double parentheses\n --> tests/ui/double_parens.rs:15:5\n |\nLL | ((0))\n | ^^^^^\n |\n = note: `-D clippy::double-parens` implied by `-D warnings`\n\n"} {"message":"Consider removing unnecessary double parentheses","code":{"code":"clippy::double_parens","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/double_parens.rs","byte_start":300,"byte_end":303,"line_start":19,"line_end":19,"column_start":14,"column_end":17,"is_primary":true,"text":[{"text":" dummy_fn((0));","highlight_start":14,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: Consider removing unnecessary double parentheses\n --> tests/ui/double_parens.rs:19:14\n |\nLL | dummy_fn((0));\n | ^^^\n\n"} {"message":"Consider removing unnecessary double parentheses","code":{"code":"clippy::double_parens","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/double_parens.rs","byte_start":370,"byte_end":373,"line_start":23,"line_end":23,"column_start":20,"column_end":23,"is_primary":true,"text":[{"text":" x.dummy_method((0));","highlight_start":20,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: Consider removing unnecessary double parentheses\n --> tests/ui/double_parens.rs:23:20\n |\nLL | x.dummy_method((0));\n | ^^^\n\n"} ------------------------------------------ thread '[ui] ui/double_parens.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/drop_forget_copy.rs stdout ---- normalized stderr: expected stderr: error: calls to `std::mem::drop` with a value that implements Copy. Dropping a copy leaves the original intact. --> $DIR/drop_forget_copy.rs:33:5 | LL | drop(s1); | ^^^^^^^^ | = note: `-D clippy::drop-copy` implied by `-D warnings` note: argument has type SomeStruct --> $DIR/drop_forget_copy.rs:33:10 | LL | drop(s1); | ^^ error: calls to `std::mem::drop` with a value that implements Copy. Dropping a copy leaves the original intact. --> $DIR/drop_forget_copy.rs:34:5 | LL | drop(s2); | ^^^^^^^^ | note: argument has type SomeStruct --> $DIR/drop_forget_copy.rs:34:10 | LL | drop(s2); | ^^ error: calls to `std::mem::drop` with a value that implements Copy. Dropping a copy leaves the original intact. --> $DIR/drop_forget_copy.rs:36:5 | LL | drop(s4); | ^^^^^^^^ | note: argument has type SomeStruct --> $DIR/drop_forget_copy.rs:36:10 | LL | drop(s4); | ^^ error: calls to `std::mem::forget` with a value that implements Copy. Forgetting a copy leaves the original intact. --> $DIR/drop_forget_copy.rs:39:5 | LL | forget(s1); | ^^^^^^^^^^ | = note: `-D clippy::forget-copy` implied by `-D warnings` note: argument has type SomeStruct --> $DIR/drop_forget_copy.rs:39:12 | LL | forget(s1); | ^^ error: calls to `std::mem::forget` with a value that implements Copy. Forgetting a copy leaves the original intact. --> $DIR/drop_forget_copy.rs:40:5 | LL | forget(s2); | ^^^^^^^^^^ | note: argument has type SomeStruct --> $DIR/drop_forget_copy.rs:40:12 | LL | forget(s2); | ^^ error: calls to `std::mem::forget` with a value that implements Copy. Forgetting a copy leaves the original intact. --> $DIR/drop_forget_copy.rs:42:5 | LL | forget(s4); | ^^^^^^^^^^ | note: argument has type SomeStruct --> $DIR/drop_forget_copy.rs:42:12 | LL | forget(s4); | ^^ error: aborting due to 6 previous errors diff of stderr: -error: calls to `std::mem::drop` with a value that implements Copy. Dropping a copy leaves the original intact. - --> $DIR/drop_forget_copy.rs:33:5 - | -LL | drop(s1); - | ^^^^^^^^ - | - = note: `-D clippy::drop-copy` implied by `-D warnings` -note: argument has type SomeStruct - --> $DIR/drop_forget_copy.rs:33:10 - | -LL | drop(s1); - | ^^ - -error: calls to `std::mem::drop` with a value that implements Copy. Dropping a copy leaves the original intact. - --> $DIR/drop_forget_copy.rs:34:5 - | -LL | drop(s2); - | ^^^^^^^^ - | -note: argument has type SomeStruct - --> $DIR/drop_forget_copy.rs:34:10 - | -LL | drop(s2); - | ^^ - -error: calls to `std::mem::drop` with a value that implements Copy. Dropping a copy leaves the original intact. - --> $DIR/drop_forget_copy.rs:36:5 - | -LL | drop(s4); - | ^^^^^^^^ - | -note: argument has type SomeStruct - --> $DIR/drop_forget_copy.rs:36:10 - | -LL | drop(s4); - | ^^ - -error: calls to `std::mem::forget` with a value that implements Copy. Forgetting a copy leaves the original intact. - --> $DIR/drop_forget_copy.rs:39:5 - | -LL | forget(s1); - | ^^^^^^^^^^ - | - = note: `-D clippy::forget-copy` implied by `-D warnings` -note: argument has type SomeStruct - --> $DIR/drop_forget_copy.rs:39:12 - | -LL | forget(s1); - | ^^ - -error: calls to `std::mem::forget` with a value that implements Copy. Forgetting a copy leaves the original intact. - --> $DIR/drop_forget_copy.rs:40:5 - | -LL | forget(s2); - | ^^^^^^^^^^ - | -note: argument has type SomeStruct - --> $DIR/drop_forget_copy.rs:40:12 - | -LL | forget(s2); - | ^^ - -error: calls to `std::mem::forget` with a value that implements Copy. Forgetting a copy leaves the original intact. - --> $DIR/drop_forget_copy.rs:42:5 - | -LL | forget(s4); - | ^^^^^^^^^^ - | -note: argument has type SomeStruct - --> $DIR/drop_forget_copy.rs:42:12 - | -LL | forget(s4); - | ^^ - -error: aborting due to 6 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/drop_forget_copy.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'drop_forget_copy.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/drop_forget_copy.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/drop_forget_copy.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/drop_forget_copy.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/drop_forget_copy.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/duration_subsec.rs stdout ---- normalized stderr: expected stderr: error: Calling `subsec_millis()` is more concise than this calculation --> $DIR/duration_subsec.rs:10:24 | LL | let bad_millis_1 = dur.subsec_micros() / 1_000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `dur.subsec_millis()` | = note: `-D clippy::duration-subsec` implied by `-D warnings` error: Calling `subsec_millis()` is more concise than this calculation --> $DIR/duration_subsec.rs:11:24 | LL | let bad_millis_2 = dur.subsec_nanos() / 1_000_000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `dur.subsec_millis()` error: Calling `subsec_micros()` is more concise than this calculation --> $DIR/duration_subsec.rs:16:22 | LL | let bad_micros = dur.subsec_nanos() / 1_000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `dur.subsec_micros()` error: Calling `subsec_micros()` is more concise than this calculation --> $DIR/duration_subsec.rs:21:13 | LL | let _ = (&dur).subsec_nanos() / 1_000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(&dur).subsec_micros()` error: Calling `subsec_micros()` is more concise than this calculation --> $DIR/duration_subsec.rs:25:13 | LL | let _ = dur.subsec_nanos() / NANOS_IN_MICRO; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `dur.subsec_micros()` error: aborting due to 5 previous errors diff of stderr: -error: Calling `subsec_millis()` is more concise than this calculation - --> $DIR/duration_subsec.rs:10:24 - | -LL | let bad_millis_1 = dur.subsec_micros() / 1_000; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `dur.subsec_millis()` - | - = note: `-D clippy::duration-subsec` implied by `-D warnings` - -error: Calling `subsec_millis()` is more concise than this calculation - --> $DIR/duration_subsec.rs:11:24 - | -LL | let bad_millis_2 = dur.subsec_nanos() / 1_000_000; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `dur.subsec_millis()` - -error: Calling `subsec_micros()` is more concise than this calculation - --> $DIR/duration_subsec.rs:16:22 - | -LL | let bad_micros = dur.subsec_nanos() / 1_000; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `dur.subsec_micros()` - -error: Calling `subsec_micros()` is more concise than this calculation - --> $DIR/duration_subsec.rs:21:13 - | -LL | let _ = (&dur).subsec_nanos() / 1_000; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(&dur).subsec_micros()` - -error: Calling `subsec_micros()` is more concise than this calculation - --> $DIR/duration_subsec.rs:25:13 - | -LL | let _ = dur.subsec_nanos() / NANOS_IN_MICRO; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `dur.subsec_micros()` - -error: aborting due to 5 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/duration_subsec.stderr normalized fixed: // run-rustfix #![allow(dead_code)] #![warn(clippy::duration_subsec)] use std::time::Duration; fn main() { let dur = Duration::new(5, 0); let bad_millis_1 = dur.subsec_micros() / 1_000; let bad_millis_2 = dur.subsec_nanos() / 1_000_000; let good_millis = dur.subsec_millis(); assert_eq!(bad_millis_1, good_millis); assert_eq!(bad_millis_2, good_millis); let bad_micros = dur.subsec_nanos() / 1_000; let good_micros = dur.subsec_micros(); assert_eq!(bad_micros, good_micros); // Handle refs let _ = (&dur).subsec_nanos() / 1_000; // Handle constants const NANOS_IN_MICRO: u32 = 1_000; let _ = dur.subsec_nanos() / NANOS_IN_MICRO; // Other literals aren't linted let _ = dur.subsec_nanos() / 699; } expected fixed: // run-rustfix #![allow(dead_code)] #![warn(clippy::duration_subsec)] use std::time::Duration; fn main() { let dur = Duration::new(5, 0); let bad_millis_1 = dur.subsec_millis(); let bad_millis_2 = dur.subsec_millis(); let good_millis = dur.subsec_millis(); assert_eq!(bad_millis_1, good_millis); assert_eq!(bad_millis_2, good_millis); let bad_micros = dur.subsec_micros(); let good_micros = dur.subsec_micros(); assert_eq!(bad_micros, good_micros); // Handle refs let _ = (&dur).subsec_micros(); // Handle constants const NANOS_IN_MICRO: u32 = 1_000; let _ = dur.subsec_micros(); // Other literals aren't linted let _ = dur.subsec_nanos() / 699; } diff of fixed: // run-rustfix #![allow(dead_code)] #![warn(clippy::duration_subsec)] use std::time::Duration; fn main() { let dur = Duration::new(5, 0); - let bad_millis_1 = dur.subsec_millis(); - let bad_millis_2 = dur.subsec_millis(); + let bad_millis_1 = dur.subsec_micros() / 1_000; + let bad_millis_2 = dur.subsec_nanos() / 1_000_000; let good_millis = dur.subsec_millis(); assert_eq!(bad_millis_1, good_millis); assert_eq!(bad_millis_2, good_millis); - let bad_micros = dur.subsec_micros(); + let bad_micros = dur.subsec_nanos() / 1_000; let good_micros = dur.subsec_micros(); assert_eq!(bad_micros, good_micros); // Handle refs - let _ = (&dur).subsec_micros(); + let _ = (&dur).subsec_nanos() / 1_000; // Handle constants const NANOS_IN_MICRO: u32 = 1_000; - let _ = dur.subsec_micros(); + let _ = dur.subsec_nanos() / NANOS_IN_MICRO; // Other literals aren't linted let _ = dur.subsec_nanos() / 699; } The actual fixed differed from the expected fixed. Actual fixed saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/duration_subsec.fixed To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'duration_subsec.rs' error: 2 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/duration_subsec.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/duration_subsec.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/duration_subsec.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/duration_subsec.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/else_if_without_else.rs stdout ---- normalized stderr: expected stderr: error: if expression with an `else if`, but without a final `else` --> $DIR/else_if_without_else.rs:45:12 | LL | } else if bla2() { | ____________^ LL | | //~ ERROR else if without else LL | | println!("else if"); LL | | } | |_____^ | = note: `-D clippy::else-if-without-else` implied by `-D warnings` = help: add an `else` block here error: if expression with an `else if`, but without a final `else` --> $DIR/else_if_without_else.rs:54:12 | LL | } else if bla3() { | ____________^ LL | | //~ ERROR else if without else LL | | println!("else if 2"); LL | | } | |_____^ | = help: add an `else` block here error: aborting due to 2 previous errors diff of stderr: -error: if expression with an `else if`, but without a final `else` - --> $DIR/else_if_without_else.rs:45:12 - | -LL | } else if bla2() { - | ____________^ -LL | | //~ ERROR else if without else -LL | | println!("else if"); -LL | | } - | |_____^ - | - = note: `-D clippy::else-if-without-else` implied by `-D warnings` - = help: add an `else` block here - -error: if expression with an `else if`, but without a final `else` - --> $DIR/else_if_without_else.rs:54:12 - | -LL | } else if bla3() { - | ____________^ -LL | | //~ ERROR else if without else -LL | | println!("else if 2"); -LL | | } - | |_____^ - | - = help: add an `else` block here - -error: aborting due to 2 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/else_if_without_else.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'else_if_without_else.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/else_if_without_else.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/else_if_without_else.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/else_if_without_else.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/else_if_without_else.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/empty_line_after_outer_attribute.rs stdout ---- normalized stderr: expected stderr: error: Found an empty line after an outer attribute. Perhaps you forgot to add a '!' to make it an inner attribute? --> $DIR/empty_line_after_outer_attribute.rs:7:1 | LL | / #[crate_type = "lib"] LL | | LL | | /// some comment LL | | fn with_one_newline_and_comment() { assert!(true) } | |_ | = note: `-D clippy::empty-line-after-outer-attr` implied by `-D warnings` error: Found an empty line after an outer attribute. Perhaps you forgot to add a '!' to make it an inner attribute? --> $DIR/empty_line_after_outer_attribute.rs:19:1 | LL | / #[crate_type = "lib"] LL | | LL | | fn with_one_newline() { assert!(true) } | |_ error: Found an empty line after an outer attribute. Perhaps you forgot to add a '!' to make it an inner attribute? --> $DIR/empty_line_after_outer_attribute.rs:24:1 | LL | / #[crate_type = "lib"] LL | | LL | | LL | | fn with_two_newlines() { assert!(true) } | |_ error: Found an empty line after an outer attribute. Perhaps you forgot to add a '!' to make it an inner attribute? --> $DIR/empty_line_after_outer_attribute.rs:31:1 | LL | / #[crate_type = "lib"] LL | | LL | | enum Baz { | |_ error: Found an empty line after an outer attribute. Perhaps you forgot to add a '!' to make it an inner attribute? --> $DIR/empty_line_after_outer_attribute.rs:39:1 | LL | / #[crate_type = "lib"] LL | | LL | | struct Foo { | |_ error: Found an empty line after an outer attribute. Perhaps you forgot to add a '!' to make it an inner attribute? --> $DIR/empty_line_after_outer_attribute.rs:47:1 | LL | / #[crate_type = "lib"] LL | | LL | | mod foo { | |_ error: aborting due to 6 previous errors diff of stderr: -error: Found an empty line after an outer attribute. Perhaps you forgot to add a '!' to make it an inner attribute? - --> $DIR/empty_line_after_outer_attribute.rs:7:1 - | -LL | / #[crate_type = "lib"] -LL | | -LL | | /// some comment -LL | | fn with_one_newline_and_comment() { assert!(true) } - | |_ - | - = note: `-D clippy::empty-line-after-outer-attr` implied by `-D warnings` - -error: Found an empty line after an outer attribute. Perhaps you forgot to add a '!' to make it an inner attribute? - --> $DIR/empty_line_after_outer_attribute.rs:19:1 - | -LL | / #[crate_type = "lib"] -LL | | -LL | | fn with_one_newline() { assert!(true) } - | |_ - -error: Found an empty line after an outer attribute. Perhaps you forgot to add a '!' to make it an inner attribute? - --> $DIR/empty_line_after_outer_attribute.rs:24:1 - | -LL | / #[crate_type = "lib"] -LL | | -LL | | -LL | | fn with_two_newlines() { assert!(true) } - | |_ - -error: Found an empty line after an outer attribute. Perhaps you forgot to add a '!' to make it an inner attribute? - --> $DIR/empty_line_after_outer_attribute.rs:31:1 - | -LL | / #[crate_type = "lib"] -LL | | -LL | | enum Baz { - | |_ - -error: Found an empty line after an outer attribute. Perhaps you forgot to add a '!' to make it an inner attribute? - --> $DIR/empty_line_after_outer_attribute.rs:39:1 - | -LL | / #[crate_type = "lib"] -LL | | -LL | | struct Foo { - | |_ - -error: Found an empty line after an outer attribute. Perhaps you forgot to add a '!' to make it an inner attribute? - --> $DIR/empty_line_after_outer_attribute.rs:47:1 - | -LL | / #[crate_type = "lib"] -LL | | -LL | | mod foo { - | |_ - -error: aborting due to 6 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/empty_line_after_outer_attribute.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'empty_line_after_outer_attribute.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/empty_line_after_outer_attribute.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/empty_line_after_outer_attribute.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/empty_line_after_outer_attribute.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/empty_line_after_outer_attribute.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/entry.rs stdout ---- normalized stderr: expected stderr: error: usage of `contains_key` followed by `insert` on a `HashMap` --> $DIR/entry.rs:10:5 | LL | / if !m.contains_key(&k) { LL | | m.insert(k, v); LL | | } | |_____^ help: consider using: `m.entry(k).or_insert(v)` | = note: `-D clippy::map-entry` implied by `-D warnings` error: usage of `contains_key` followed by `insert` on a `HashMap` --> $DIR/entry.rs:16:5 | LL | / if !m.contains_key(&k) { LL | | foo(); LL | | m.insert(k, v); LL | | } | |_____^ help: consider using: `m.entry(k)` error: usage of `contains_key` followed by `insert` on a `HashMap` --> $DIR/entry.rs:23:5 | LL | / if !m.contains_key(&k) { LL | | m.insert(k, v) LL | | } else { LL | | None LL | | }; | |_____^ help: consider using: `m.entry(k)` error: usage of `contains_key` followed by `insert` on a `HashMap` --> $DIR/entry.rs:31:5 | LL | / if m.contains_key(&k) { LL | | None LL | | } else { LL | | m.insert(k, v) LL | | }; | |_____^ help: consider using: `m.entry(k)` error: usage of `contains_key` followed by `insert` on a `HashMap` --> $DIR/entry.rs:39:5 | LL | / if !m.contains_key(&k) { LL | | foo(); LL | | m.insert(k, v) LL | | } else { LL | | None LL | | }; | |_____^ help: consider using: `m.entry(k)` error: usage of `contains_key` followed by `insert` on a `HashMap` --> $DIR/entry.rs:48:5 | LL | / if m.contains_key(&k) { LL | | None LL | | } else { LL | | foo(); LL | | m.insert(k, v) LL | | }; | |_____^ help: consider using: `m.entry(k)` error: usage of `contains_key` followed by `insert` on a `BTreeMap` --> $DIR/entry.rs:57:5 | LL | / if !m.contains_key(&k) { LL | | foo(); LL | | m.insert(k, v) LL | | } else { LL | | None LL | | }; | |_____^ help: consider using: `m.entry(k)` error: aborting due to 7 previous errors diff of stderr: -error: usage of `contains_key` followed by `insert` on a `HashMap` - --> $DIR/entry.rs:10:5 - | -LL | / if !m.contains_key(&k) { -LL | | m.insert(k, v); -LL | | } - | |_____^ help: consider using: `m.entry(k).or_insert(v)` - | - = note: `-D clippy::map-entry` implied by `-D warnings` - -error: usage of `contains_key` followed by `insert` on a `HashMap` - --> $DIR/entry.rs:16:5 - | -LL | / if !m.contains_key(&k) { -LL | | foo(); -LL | | m.insert(k, v); -LL | | } - | |_____^ help: consider using: `m.entry(k)` - -error: usage of `contains_key` followed by `insert` on a `HashMap` - --> $DIR/entry.rs:23:5 - | -LL | / if !m.contains_key(&k) { -LL | | m.insert(k, v) -LL | | } else { -LL | | None -LL | | }; - | |_____^ help: consider using: `m.entry(k)` - -error: usage of `contains_key` followed by `insert` on a `HashMap` - --> $DIR/entry.rs:31:5 - | -LL | / if m.contains_key(&k) { -LL | | None -LL | | } else { -LL | | m.insert(k, v) -LL | | }; - | |_____^ help: consider using: `m.entry(k)` - -error: usage of `contains_key` followed by `insert` on a `HashMap` - --> $DIR/entry.rs:39:5 - | -LL | / if !m.contains_key(&k) { -LL | | foo(); -LL | | m.insert(k, v) -LL | | } else { -LL | | None -LL | | }; - | |_____^ help: consider using: `m.entry(k)` - -error: usage of `contains_key` followed by `insert` on a `HashMap` - --> $DIR/entry.rs:48:5 - | -LL | / if m.contains_key(&k) { -LL | | None -LL | | } else { -LL | | foo(); -LL | | m.insert(k, v) -LL | | }; - | |_____^ help: consider using: `m.entry(k)` - -error: usage of `contains_key` followed by `insert` on a `BTreeMap` - --> $DIR/entry.rs:57:5 - | -LL | / if !m.contains_key(&k) { -LL | | foo(); -LL | | m.insert(k, v) -LL | | } else { -LL | | None -LL | | }; - | |_____^ help: consider using: `m.entry(k)` - -error: aborting due to 7 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/entry.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'entry.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/entry.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/entry.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/entry.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/entry.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/enums_clike.rs stdout ---- normalized stderr: error[E0080]: evaluation of constant value failed --> $DIR/enums_clike.rs:28:9 | LL | C = (std::i32::MIN as isize) - 1, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to subtract with overflow error: aborting due to previous error For more information about this error, try `rustc --explain E0080`. expected stderr: error: Clike enum variant discriminant is not portable to 32-bit targets --> $DIR/enums_clike.rs:8:5 | LL | X = 0x1_0000_0000, | ^^^^^^^^^^^^^^^^^ | = note: `-D clippy::enum-clike-unportable-variant` implied by `-D warnings` error: Clike enum variant discriminant is not portable to 32-bit targets --> $DIR/enums_clike.rs:15:5 | LL | X = 0x1_0000_0000, | ^^^^^^^^^^^^^^^^^ error: Clike enum variant discriminant is not portable to 32-bit targets --> $DIR/enums_clike.rs:18:5 | LL | A = 0xFFFF_FFFF, | ^^^^^^^^^^^^^^^ error: Clike enum variant discriminant is not portable to 32-bit targets --> $DIR/enums_clike.rs:25:5 | LL | Z = 0xFFFF_FFFF, | ^^^^^^^^^^^^^^^ error: Clike enum variant discriminant is not portable to 32-bit targets --> $DIR/enums_clike.rs:26:5 | LL | A = 0x1_0000_0000, | ^^^^^^^^^^^^^^^^^ error: Clike enum variant discriminant is not portable to 32-bit targets --> $DIR/enums_clike.rs:28:5 | LL | C = (std::i32::MIN as isize) - 1, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: Clike enum variant discriminant is not portable to 32-bit targets --> $DIR/enums_clike.rs:34:5 | LL | Z = 0xFFFF_FFFF, | ^^^^^^^^^^^^^^^ error: Clike enum variant discriminant is not portable to 32-bit targets --> $DIR/enums_clike.rs:35:5 | LL | A = 0x1_0000_0000, | ^^^^^^^^^^^^^^^^^ error: aborting due to 8 previous errors diff of stderr: -error: Clike enum variant discriminant is not portable to 32-bit targets - --> $DIR/enums_clike.rs:8:5 +error[E0080]: evaluation of constant value failed + --> $DIR/enums_clike.rs:28:9 | -LL | X = 0x1_0000_0000, - | ^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::enum-clike-unportable-variant` implied by `-D warnings` - -error: Clike enum variant discriminant is not portable to 32-bit targets - --> $DIR/enums_clike.rs:15:5 - | -LL | X = 0x1_0000_0000, - | ^^^^^^^^^^^^^^^^^ - -error: Clike enum variant discriminant is not portable to 32-bit targets - --> $DIR/enums_clike.rs:18:5 - | -LL | A = 0xFFFF_FFFF, - | ^^^^^^^^^^^^^^^ - -error: Clike enum variant discriminant is not portable to 32-bit targets - --> $DIR/enums_clike.rs:25:5 - | -LL | Z = 0xFFFF_FFFF, - | ^^^^^^^^^^^^^^^ - -error: Clike enum variant discriminant is not portable to 32-bit targets - --> $DIR/enums_clike.rs:26:5 - | -LL | A = 0x1_0000_0000, - | ^^^^^^^^^^^^^^^^^ - -error: Clike enum variant discriminant is not portable to 32-bit targets - --> $DIR/enums_clike.rs:28:5 - | LL | C = (std::i32::MIN as isize) - 1, - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to subtract with overflow -error: Clike enum variant discriminant is not portable to 32-bit targets - --> $DIR/enums_clike.rs:34:5 - | -LL | Z = 0xFFFF_FFFF, - | ^^^^^^^^^^^^^^^ +error: aborting due to previous error -error: Clike enum variant discriminant is not portable to 32-bit targets - --> $DIR/enums_clike.rs:35:5 - | -LL | A = 0x1_0000_0000, - | ^^^^^^^^^^^^^^^^^ - -error: aborting due to 8 previous errors - +For more information about this error, try `rustc --explain E0080`. The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/enums_clike.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'enums_clike.rs' error: 1 errors occurred comparing output. status: exit code: 1 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/enums_clike.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/enums_clike.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/enums_clike.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"evaluation of constant value failed","code":{"code":"E0080","explanation":"\nThis error indicates that the compiler was unable to sensibly evaluate an\nconstant expression that had to be evaluated. Attempting to divide by 0\nor causing integer overflow are two ways to induce this error. For example:\n\n```compile_fail,E0080\nenum Enum {\n X = (1 << 500),\n Y = (1 / 0)\n}\n```\n\nEnsure that the expressions given can be evaluated as the desired integer type.\nSee the FFI section of the Reference for more information about using a custom\ninteger type:\n\nhttps://doc.rust-lang.org/reference.html#ffi-attributes\n"},"level":"error","spans":[{"file_name":"tests/ui/enums_clike.rs","byte_start":430,"byte_end":458,"line_start":28,"line_end":28,"column_start":9,"column_end":37,"is_primary":true,"text":[{"text":" C = (std::i32::MIN as isize) - 1,","highlight_start":9,"highlight_end":37}],"label":"attempt to subtract with overflow","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0080]: evaluation of constant value failed\n --> tests/ui/enums_clike.rs:28:9\n |\nLL | C = (std::i32::MIN as isize) - 1,\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to subtract with overflow\n\n"} {"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error\n\n"} {"message":"For more information about this error, try `rustc --explain E0080`.","code":null,"level":"","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0080`.\n"} ------------------------------------------ thread '[ui] ui/enums_clike.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/eq_op.rs stdout ---- normalized stderr: expected stderr: error: this boolean expression can be simplified --> $DIR/eq_op.rs:35:5 | LL | true && true; | ^^^^^^^^^^^^ help: try: `true` | = note: `-D clippy::nonminimal-bool` implied by `-D warnings` error: this boolean expression can be simplified --> $DIR/eq_op.rs:37:5 | LL | true || true; | ^^^^^^^^^^^^ help: try: `true` error: this boolean expression can be simplified --> $DIR/eq_op.rs:43:5 | LL | a == b && b == a; | ^^^^^^^^^^^^^^^^ help: try: `a == b` error: this boolean expression can be simplified --> $DIR/eq_op.rs:44:5 | LL | a != b && b != a; | ^^^^^^^^^^^^^^^^ help: try: `a != b` error: this boolean expression can be simplified --> $DIR/eq_op.rs:45:5 | LL | a < b && b > a; | ^^^^^^^^^^^^^^ help: try: `a < b` error: this boolean expression can be simplified --> $DIR/eq_op.rs:46:5 | LL | a <= b && b >= a; | ^^^^^^^^^^^^^^^^ help: try: `a <= b` error: equal expressions as operands to `==` --> $DIR/eq_op.rs:8:5 | LL | 1 == 1; | ^^^^^^ | = note: `-D clippy::eq-op` implied by `-D warnings` error: equal expressions as operands to `==` --> $DIR/eq_op.rs:9:5 | LL | "no" == "no"; | ^^^^^^^^^^^^ error: equal expressions as operands to `!=` --> $DIR/eq_op.rs:11:5 | LL | false != false; | ^^^^^^^^^^^^^^ error: equal expressions as operands to `<` --> $DIR/eq_op.rs:12:5 | LL | 1.5 < 1.5; | ^^^^^^^^^ error: equal expressions as operands to `>=` --> $DIR/eq_op.rs:13:5 | LL | 1u64 >= 1u64; | ^^^^^^^^^^^^ error: equal expressions as operands to `&` --> $DIR/eq_op.rs:16:5 | LL | (1 as u64) & (1 as u64); | ^^^^^^^^^^^^^^^^^^^^^^^ error: equal expressions as operands to `^` --> $DIR/eq_op.rs:17:5 | LL | 1 ^ ((((((1)))))); | ^^^^^^^^^^^^^^^^^ error: equal expressions as operands to `<` --> $DIR/eq_op.rs:20:5 | LL | (-(2) < -(2)); | ^^^^^^^^^^^^^ error: equal expressions as operands to `==` --> $DIR/eq_op.rs:21:5 | LL | ((1 + 1) & (1 + 1) == (1 + 1) & (1 + 1)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: equal expressions as operands to `&` --> $DIR/eq_op.rs:21:6 | LL | ((1 + 1) & (1 + 1) == (1 + 1) & (1 + 1)); | ^^^^^^^^^^^^^^^^^ error: equal expressions as operands to `&` --> $DIR/eq_op.rs:21:27 | LL | ((1 + 1) & (1 + 1) == (1 + 1) & (1 + 1)); | ^^^^^^^^^^^^^^^^^ error: equal expressions as operands to `==` --> $DIR/eq_op.rs:22:5 | LL | (1 * 2) + (3 * 4) == 1 * 2 + 3 * 4; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: equal expressions as operands to `!=` --> $DIR/eq_op.rs:25:5 | LL | ([1] != [1]); | ^^^^^^^^^^^^ error: equal expressions as operands to `!=` --> $DIR/eq_op.rs:26:5 | LL | ((1, 2) != (1, 2)); | ^^^^^^^^^^^^^^^^^^ error: equal expressions as operands to `==` --> $DIR/eq_op.rs:30:5 | LL | 1 + 1 == 2; | ^^^^^^^^^^ error: equal expressions as operands to `==` --> $DIR/eq_op.rs:31:5 | LL | 1 - 1 == 0; | ^^^^^^^^^^ error: equal expressions as operands to `-` --> $DIR/eq_op.rs:31:5 | LL | 1 - 1 == 0; | ^^^^^ error: equal expressions as operands to `-` --> $DIR/eq_op.rs:33:5 | LL | 1 - 1; | ^^^^^ error: equal expressions as operands to `/` --> $DIR/eq_op.rs:34:5 | LL | 1 / 1; | ^^^^^ error: equal expressions as operands to `&&` --> $DIR/eq_op.rs:35:5 | LL | true && true; | ^^^^^^^^^^^^ error: equal expressions as operands to `||` --> $DIR/eq_op.rs:37:5 | LL | true || true; | ^^^^^^^^^^^^ error: equal expressions as operands to `&&` --> $DIR/eq_op.rs:43:5 | LL | a == b && b == a; | ^^^^^^^^^^^^^^^^ error: equal expressions as operands to `&&` --> $DIR/eq_op.rs:44:5 | LL | a != b && b != a; | ^^^^^^^^^^^^^^^^ error: equal expressions as operands to `&&` --> $DIR/eq_op.rs:45:5 | LL | a < b && b > a; | ^^^^^^^^^^^^^^ error: equal expressions as operands to `&&` --> $DIR/eq_op.rs:46:5 | LL | a <= b && b >= a; | ^^^^^^^^^^^^^^^^ error: equal expressions as operands to `==` --> $DIR/eq_op.rs:49:5 | LL | a == a; | ^^^^^^ error: taken reference of right operand --> $DIR/eq_op.rs:87:13 | LL | let z = x & &y; | ^^^^-- | | | help: use the right value directly: `y` | = note: `-D clippy::op-ref` implied by `-D warnings` error: equal expressions as operands to `/` --> $DIR/eq_op.rs:95:20 | LL | const D: u32 = A / A; | ^^^^^ error: aborting due to 34 previous errors diff of stderr: -error: this boolean expression can be simplified - --> $DIR/eq_op.rs:35:5 - | -LL | true && true; - | ^^^^^^^^^^^^ help: try: `true` - | - = note: `-D clippy::nonminimal-bool` implied by `-D warnings` - -error: this boolean expression can be simplified - --> $DIR/eq_op.rs:37:5 - | -LL | true || true; - | ^^^^^^^^^^^^ help: try: `true` - -error: this boolean expression can be simplified - --> $DIR/eq_op.rs:43:5 - | -LL | a == b && b == a; - | ^^^^^^^^^^^^^^^^ help: try: `a == b` - -error: this boolean expression can be simplified - --> $DIR/eq_op.rs:44:5 - | -LL | a != b && b != a; - | ^^^^^^^^^^^^^^^^ help: try: `a != b` - -error: this boolean expression can be simplified - --> $DIR/eq_op.rs:45:5 - | -LL | a < b && b > a; - | ^^^^^^^^^^^^^^ help: try: `a < b` - -error: this boolean expression can be simplified - --> $DIR/eq_op.rs:46:5 - | -LL | a <= b && b >= a; - | ^^^^^^^^^^^^^^^^ help: try: `a <= b` - -error: equal expressions as operands to `==` - --> $DIR/eq_op.rs:8:5 - | -LL | 1 == 1; - | ^^^^^^ - | - = note: `-D clippy::eq-op` implied by `-D warnings` - -error: equal expressions as operands to `==` - --> $DIR/eq_op.rs:9:5 - | -LL | "no" == "no"; - | ^^^^^^^^^^^^ - -error: equal expressions as operands to `!=` - --> $DIR/eq_op.rs:11:5 - | -LL | false != false; - | ^^^^^^^^^^^^^^ - -error: equal expressions as operands to `<` - --> $DIR/eq_op.rs:12:5 - | -LL | 1.5 < 1.5; - | ^^^^^^^^^ - -error: equal expressions as operands to `>=` - --> $DIR/eq_op.rs:13:5 - | -LL | 1u64 >= 1u64; - | ^^^^^^^^^^^^ - -error: equal expressions as operands to `&` - --> $DIR/eq_op.rs:16:5 - | -LL | (1 as u64) & (1 as u64); - | ^^^^^^^^^^^^^^^^^^^^^^^ - -error: equal expressions as operands to `^` - --> $DIR/eq_op.rs:17:5 - | -LL | 1 ^ ((((((1)))))); - | ^^^^^^^^^^^^^^^^^ - -error: equal expressions as operands to `<` - --> $DIR/eq_op.rs:20:5 - | -LL | (-(2) < -(2)); - | ^^^^^^^^^^^^^ - -error: equal expressions as operands to `==` - --> $DIR/eq_op.rs:21:5 - | -LL | ((1 + 1) & (1 + 1) == (1 + 1) & (1 + 1)); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: equal expressions as operands to `&` - --> $DIR/eq_op.rs:21:6 - | -LL | ((1 + 1) & (1 + 1) == (1 + 1) & (1 + 1)); - | ^^^^^^^^^^^^^^^^^ - -error: equal expressions as operands to `&` - --> $DIR/eq_op.rs:21:27 - | -LL | ((1 + 1) & (1 + 1) == (1 + 1) & (1 + 1)); - | ^^^^^^^^^^^^^^^^^ - -error: equal expressions as operands to `==` - --> $DIR/eq_op.rs:22:5 - | -LL | (1 * 2) + (3 * 4) == 1 * 2 + 3 * 4; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: equal expressions as operands to `!=` - --> $DIR/eq_op.rs:25:5 - | -LL | ([1] != [1]); - | ^^^^^^^^^^^^ - -error: equal expressions as operands to `!=` - --> $DIR/eq_op.rs:26:5 - | -LL | ((1, 2) != (1, 2)); - | ^^^^^^^^^^^^^^^^^^ - -error: equal expressions as operands to `==` - --> $DIR/eq_op.rs:30:5 - | -LL | 1 + 1 == 2; - | ^^^^^^^^^^ - -error: equal expressions as operands to `==` - --> $DIR/eq_op.rs:31:5 - | -LL | 1 - 1 == 0; - | ^^^^^^^^^^ - -error: equal expressions as operands to `-` - --> $DIR/eq_op.rs:31:5 - | -LL | 1 - 1 == 0; - | ^^^^^ - -error: equal expressions as operands to `-` - --> $DIR/eq_op.rs:33:5 - | -LL | 1 - 1; - | ^^^^^ - -error: equal expressions as operands to `/` - --> $DIR/eq_op.rs:34:5 - | -LL | 1 / 1; - | ^^^^^ - -error: equal expressions as operands to `&&` - --> $DIR/eq_op.rs:35:5 - | -LL | true && true; - | ^^^^^^^^^^^^ - -error: equal expressions as operands to `||` - --> $DIR/eq_op.rs:37:5 - | -LL | true || true; - | ^^^^^^^^^^^^ - -error: equal expressions as operands to `&&` - --> $DIR/eq_op.rs:43:5 - | -LL | a == b && b == a; - | ^^^^^^^^^^^^^^^^ - -error: equal expressions as operands to `&&` - --> $DIR/eq_op.rs:44:5 - | -LL | a != b && b != a; - | ^^^^^^^^^^^^^^^^ - -error: equal expressions as operands to `&&` - --> $DIR/eq_op.rs:45:5 - | -LL | a < b && b > a; - | ^^^^^^^^^^^^^^ - -error: equal expressions as operands to `&&` - --> $DIR/eq_op.rs:46:5 - | -LL | a <= b && b >= a; - | ^^^^^^^^^^^^^^^^ - -error: equal expressions as operands to `==` - --> $DIR/eq_op.rs:49:5 - | -LL | a == a; - | ^^^^^^ - -error: taken reference of right operand - --> $DIR/eq_op.rs:87:13 - | -LL | let z = x & &y; - | ^^^^-- - | | - | help: use the right value directly: `y` - | - = note: `-D clippy::op-ref` implied by `-D warnings` - -error: equal expressions as operands to `/` - --> $DIR/eq_op.rs:95:20 - | -LL | const D: u32 = A / A; - | ^^^^^ - -error: aborting due to 34 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/eq_op.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'eq_op.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/eq_op.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/eq_op.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/eq_op.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/eq_op.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/escape_analysis.rs stdout ---- normalized stderr: expected stderr: error: local variable doesn't need to be boxed here --> $DIR/escape_analysis.rs:34:13 | LL | fn warn_arg(x: Box) { | ^ | = note: `-D clippy::boxed-local` implied by `-D warnings` error: local variable doesn't need to be boxed here --> $DIR/escape_analysis.rs:125:12 | LL | pub fn new(_needs_name: Box>) -> () {} | ^^^^^^^^^^^ error: local variable doesn't need to be boxed here --> $DIR/escape_analysis.rs:165:23 | LL | fn closure_borrow(x: Box) { | ^ error: aborting due to 3 previous errors diff of stderr: -error: local variable doesn't need to be boxed here - --> $DIR/escape_analysis.rs:34:13 - | -LL | fn warn_arg(x: Box) { - | ^ - | - = note: `-D clippy::boxed-local` implied by `-D warnings` - -error: local variable doesn't need to be boxed here - --> $DIR/escape_analysis.rs:125:12 - | -LL | pub fn new(_needs_name: Box>) -> () {} - | ^^^^^^^^^^^ - -error: local variable doesn't need to be boxed here - --> $DIR/escape_analysis.rs:165:23 - | -LL | fn closure_borrow(x: Box) { - | ^ - -error: aborting due to 3 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/escape_analysis.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'escape_analysis.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/escape_analysis.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/escape_analysis.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/escape_analysis.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/escape_analysis.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/eta.rs stdout ---- normalized stderr: expected stderr: error: redundant closure found --> $DIR/eta.rs:19:27 | LL | let a = Some(1u8).map(|a| foo(a)); | ^^^^^^^^^^ help: remove closure as shown: `foo` | = note: `-D clippy::redundant-closure` implied by `-D warnings` error: redundant closure found --> $DIR/eta.rs:20:10 | LL | meta(|a| foo(a)); | ^^^^^^^^^^ help: remove closure as shown: `foo` error: redundant closure found --> $DIR/eta.rs:21:27 | LL | let c = Some(1u8).map(|a| {1+2; foo}(a)); | ^^^^^^^^^^^^^^^^^ help: remove closure as shown: `{1+2; foo}` error: this expression borrows a reference that is immediately dereferenced by the compiler --> $DIR/eta.rs:23:21 | LL | all(&[1, 2, 3], &&2, |x, y| below(x, y)); //is adjusted | ^^^ help: change this to: `&2` | = note: `-D clippy::needless-borrow` implied by `-D warnings` error: redundant closure found --> $DIR/eta.rs:30:27 | LL | let e = Some(1u8).map(|a| generic(a)); | ^^^^^^^^^^^^^^ help: remove closure as shown: `generic` error: redundant closure found --> $DIR/eta.rs:73:51 | LL | let e = Some(TestStruct { some_ref: &i }).map(|a| a.foo()); | ^^^^^^^^^^^ help: remove closure as shown: `TestStruct::foo` | = note: `-D clippy::redundant-closure-for-method-calls` implied by `-D warnings` error: redundant closure found --> $DIR/eta.rs:75:51 | LL | let e = Some(TestStruct { some_ref: &i }).map(|a| a.trait_foo()); | ^^^^^^^^^^^^^^^^^ help: remove closure as shown: `TestTrait::trait_foo` error: redundant closure found --> $DIR/eta.rs:78:42 | LL | let e = Some(&mut vec![1, 2, 3]).map(|v| v.clear()); | ^^^^^^^^^^^^^ help: remove closure as shown: `std::vec::Vec::clear` error: redundant closure found --> $DIR/eta.rs:83:29 | LL | let e = Some("str").map(|s| s.to_string()); | ^^^^^^^^^^^^^^^^^ help: remove closure as shown: `std::string::ToString::to_string` error: redundant closure found --> $DIR/eta.rs:85:27 | LL | let e = Some('a').map(|s| s.to_uppercase()); | ^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `char::to_uppercase` error: redundant closure found --> $DIR/eta.rs:88:65 | LL | let e: std::vec::Vec = vec!['a', 'b', 'c'].iter().map(|c| c.to_ascii_uppercase()).collect(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `char::to_ascii_uppercase` error: aborting due to 11 previous errors diff of stderr: -error: redundant closure found - --> $DIR/eta.rs:19:27 - | -LL | let a = Some(1u8).map(|a| foo(a)); - | ^^^^^^^^^^ help: remove closure as shown: `foo` - | - = note: `-D clippy::redundant-closure` implied by `-D warnings` - -error: redundant closure found - --> $DIR/eta.rs:20:10 - | -LL | meta(|a| foo(a)); - | ^^^^^^^^^^ help: remove closure as shown: `foo` - -error: redundant closure found - --> $DIR/eta.rs:21:27 - | -LL | let c = Some(1u8).map(|a| {1+2; foo}(a)); - | ^^^^^^^^^^^^^^^^^ help: remove closure as shown: `{1+2; foo}` - -error: this expression borrows a reference that is immediately dereferenced by the compiler - --> $DIR/eta.rs:23:21 - | -LL | all(&[1, 2, 3], &&2, |x, y| below(x, y)); //is adjusted - | ^^^ help: change this to: `&2` - | - = note: `-D clippy::needless-borrow` implied by `-D warnings` - -error: redundant closure found - --> $DIR/eta.rs:30:27 - | -LL | let e = Some(1u8).map(|a| generic(a)); - | ^^^^^^^^^^^^^^ help: remove closure as shown: `generic` - -error: redundant closure found - --> $DIR/eta.rs:73:51 - | -LL | let e = Some(TestStruct { some_ref: &i }).map(|a| a.foo()); - | ^^^^^^^^^^^ help: remove closure as shown: `TestStruct::foo` - | - = note: `-D clippy::redundant-closure-for-method-calls` implied by `-D warnings` - -error: redundant closure found - --> $DIR/eta.rs:75:51 - | -LL | let e = Some(TestStruct { some_ref: &i }).map(|a| a.trait_foo()); - | ^^^^^^^^^^^^^^^^^ help: remove closure as shown: `TestTrait::trait_foo` - -error: redundant closure found - --> $DIR/eta.rs:78:42 - | -LL | let e = Some(&mut vec![1, 2, 3]).map(|v| v.clear()); - | ^^^^^^^^^^^^^ help: remove closure as shown: `std::vec::Vec::clear` - -error: redundant closure found - --> $DIR/eta.rs:83:29 - | -LL | let e = Some("str").map(|s| s.to_string()); - | ^^^^^^^^^^^^^^^^^ help: remove closure as shown: `std::string::ToString::to_string` - -error: redundant closure found - --> $DIR/eta.rs:85:27 - | -LL | let e = Some('a').map(|s| s.to_uppercase()); - | ^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `char::to_uppercase` - -error: redundant closure found - --> $DIR/eta.rs:88:65 - | -LL | let e: std::vec::Vec = vec!['a', 'b', 'c'].iter().map(|c| c.to_ascii_uppercase()).collect(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `char::to_ascii_uppercase` - -error: aborting due to 11 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/eta.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'eta.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/eta.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/eta.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/eta.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/eta.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/explicit_counter_loop.rs stdout ---- normalized stderr: expected stderr: error: the variable `_index` is used as a loop counter. --> $DIR/explicit_counter_loop.rs:6:15 | LL | for _v in &vec { | ^^^^ help: consider using: `for (_index, _v) in (&vec).enumerate()` | = note: `-D clippy::explicit-counter-loop` implied by `-D warnings` error: the variable `_index` is used as a loop counter. --> $DIR/explicit_counter_loop.rs:12:15 | LL | for _v in &vec { | ^^^^ help: consider using: `for (_index, _v) in (&vec).enumerate()` error: the variable `count` is used as a loop counter. --> $DIR/explicit_counter_loop.rs:51:19 | LL | for ch in text.chars() { | ^^^^^^^^^^^^ help: consider using: `for (count, ch) in text.chars().enumerate()` error: the variable `count` is used as a loop counter. --> $DIR/explicit_counter_loop.rs:62:19 | LL | for ch in text.chars() { | ^^^^^^^^^^^^ help: consider using: `for (count, ch) in text.chars().enumerate()` error: the variable `count` is used as a loop counter. --> $DIR/explicit_counter_loop.rs:120:19 | LL | for _i in 3..10 { | ^^^^^ help: consider using: `for (count, _i) in (3..10).enumerate()` error: aborting due to 5 previous errors diff of stderr: -error: the variable `_index` is used as a loop counter. - --> $DIR/explicit_counter_loop.rs:6:15 - | -LL | for _v in &vec { - | ^^^^ help: consider using: `for (_index, _v) in (&vec).enumerate()` - | - = note: `-D clippy::explicit-counter-loop` implied by `-D warnings` - -error: the variable `_index` is used as a loop counter. - --> $DIR/explicit_counter_loop.rs:12:15 - | -LL | for _v in &vec { - | ^^^^ help: consider using: `for (_index, _v) in (&vec).enumerate()` - -error: the variable `count` is used as a loop counter. - --> $DIR/explicit_counter_loop.rs:51:19 - | -LL | for ch in text.chars() { - | ^^^^^^^^^^^^ help: consider using: `for (count, ch) in text.chars().enumerate()` - -error: the variable `count` is used as a loop counter. - --> $DIR/explicit_counter_loop.rs:62:19 - | -LL | for ch in text.chars() { - | ^^^^^^^^^^^^ help: consider using: `for (count, ch) in text.chars().enumerate()` - -error: the variable `count` is used as a loop counter. - --> $DIR/explicit_counter_loop.rs:120:19 - | -LL | for _i in 3..10 { - | ^^^^^ help: consider using: `for (count, _i) in (3..10).enumerate()` - -error: aborting due to 5 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/explicit_counter_loop.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'explicit_counter_loop.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/explicit_counter_loop.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/explicit_counter_loop.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/explicit_counter_loop.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/explicit_counter_loop.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/explicit_write.rs stdout ---- normalized stderr: expected stderr: error: use of `write!(stdout(), ...).unwrap()` --> $DIR/explicit_write.rs:17:9 | LL | write!(std::io::stdout(), "test").unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `print!("test")` | = note: `-D clippy::explicit-write` implied by `-D warnings` error: use of `write!(stderr(), ...).unwrap()` --> $DIR/explicit_write.rs:18:9 | LL | write!(std::io::stderr(), "test").unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprint!("test")` error: use of `writeln!(stdout(), ...).unwrap()` --> $DIR/explicit_write.rs:19:9 | LL | writeln!(std::io::stdout(), "test").unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `println!("test")` error: use of `writeln!(stderr(), ...).unwrap()` --> $DIR/explicit_write.rs:20:9 | LL | writeln!(std::io::stderr(), "test").unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("test")` error: use of `stdout().write_fmt(...).unwrap()` --> $DIR/explicit_write.rs:21:9 | LL | std::io::stdout().write_fmt(format_args!("test")).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `print!("test")` error: use of `stderr().write_fmt(...).unwrap()` --> $DIR/explicit_write.rs:22:9 | LL | std::io::stderr().write_fmt(format_args!("test")).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprint!("test")` error: use of `writeln!(stdout(), ...).unwrap()` --> $DIR/explicit_write.rs:25:9 | LL | writeln!(std::io::stdout(), "test/ntest").unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `println!("test/ntest")` error: use of `writeln!(stderr(), ...).unwrap()` --> $DIR/explicit_write.rs:26:9 | LL | writeln!(std::io::stderr(), "test/ntest").unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("test/ntest")` error: aborting due to 8 previous errors diff of stderr: -error: use of `write!(stdout(), ...).unwrap()` - --> $DIR/explicit_write.rs:17:9 - | -LL | write!(std::io::stdout(), "test").unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `print!("test")` - | - = note: `-D clippy::explicit-write` implied by `-D warnings` - -error: use of `write!(stderr(), ...).unwrap()` - --> $DIR/explicit_write.rs:18:9 - | -LL | write!(std::io::stderr(), "test").unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprint!("test")` - -error: use of `writeln!(stdout(), ...).unwrap()` - --> $DIR/explicit_write.rs:19:9 - | -LL | writeln!(std::io::stdout(), "test").unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `println!("test")` - -error: use of `writeln!(stderr(), ...).unwrap()` - --> $DIR/explicit_write.rs:20:9 - | -LL | writeln!(std::io::stderr(), "test").unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("test")` - -error: use of `stdout().write_fmt(...).unwrap()` - --> $DIR/explicit_write.rs:21:9 - | -LL | std::io::stdout().write_fmt(format_args!("test")).unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `print!("test")` - -error: use of `stderr().write_fmt(...).unwrap()` - --> $DIR/explicit_write.rs:22:9 - | -LL | std::io::stderr().write_fmt(format_args!("test")).unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprint!("test")` - -error: use of `writeln!(stdout(), ...).unwrap()` - --> $DIR/explicit_write.rs:25:9 - | -LL | writeln!(std::io::stdout(), "test/ntest").unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `println!("test/ntest")` - -error: use of `writeln!(stderr(), ...).unwrap()` - --> $DIR/explicit_write.rs:26:9 - | -LL | writeln!(std::io::stderr(), "test/ntest").unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("test/ntest")` - -error: aborting due to 8 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/explicit_write.stderr normalized fixed: // run-rustfix #![allow(unused_imports)] #![warn(clippy::explicit_write)] fn stdout() -> String { String::new() } fn stderr() -> String { String::new() } fn main() { // these should warn { use std::io::Write; write!(std::io::stdout(), "test").unwrap(); write!(std::io::stderr(), "test").unwrap(); writeln!(std::io::stdout(), "test").unwrap(); writeln!(std::io::stderr(), "test").unwrap(); std::io::stdout().write_fmt(format_args!("test")).unwrap(); std::io::stderr().write_fmt(format_args!("test")).unwrap(); // including newlines writeln!(std::io::stdout(), "test\ntest").unwrap(); writeln!(std::io::stderr(), "test\ntest").unwrap(); } // these should not warn, different destination { use std::fmt::Write; let mut s = String::new(); write!(s, "test").unwrap(); write!(s, "test").unwrap(); writeln!(s, "test").unwrap(); writeln!(s, "test").unwrap(); s.write_fmt(format_args!("test")).unwrap(); s.write_fmt(format_args!("test")).unwrap(); write!(stdout(), "test").unwrap(); write!(stderr(), "test").unwrap(); writeln!(stdout(), "test").unwrap(); writeln!(stderr(), "test").unwrap(); stdout().write_fmt(format_args!("test")).unwrap(); stderr().write_fmt(format_args!("test")).unwrap(); } // these should not warn, no unwrap { use std::io::Write; std::io::stdout().write_fmt(format_args!("test")).expect("no stdout"); std::io::stderr().write_fmt(format_args!("test")).expect("no stderr"); } } expected fixed: // run-rustfix #![allow(unused_imports)] #![warn(clippy::explicit_write)] fn stdout() -> String { String::new() } fn stderr() -> String { String::new() } fn main() { // these should warn { use std::io::Write; print!("test"); eprint!("test"); println!("test"); eprintln!("test"); print!("test"); eprint!("test"); // including newlines println!("test\ntest"); eprintln!("test\ntest"); } // these should not warn, different destination { use std::fmt::Write; let mut s = String::new(); write!(s, "test").unwrap(); write!(s, "test").unwrap(); writeln!(s, "test").unwrap(); writeln!(s, "test").unwrap(); s.write_fmt(format_args!("test")).unwrap(); s.write_fmt(format_args!("test")).unwrap(); write!(stdout(), "test").unwrap(); write!(stderr(), "test").unwrap(); writeln!(stdout(), "test").unwrap(); writeln!(stderr(), "test").unwrap(); stdout().write_fmt(format_args!("test")).unwrap(); stderr().write_fmt(format_args!("test")).unwrap(); } // these should not warn, no unwrap { use std::io::Write; std::io::stdout().write_fmt(format_args!("test")).expect("no stdout"); std::io::stderr().write_fmt(format_args!("test")).expect("no stderr"); } } diff of fixed: // run-rustfix #![allow(unused_imports)] #![warn(clippy::explicit_write)] fn stdout() -> String { String::new() } fn stderr() -> String { String::new() } fn main() { // these should warn { use std::io::Write; - print!("test"); - eprint!("test"); - println!("test"); - eprintln!("test"); - print!("test"); - eprint!("test"); + write!(std::io::stdout(), "test").unwrap(); + write!(std::io::stderr(), "test").unwrap(); + writeln!(std::io::stdout(), "test").unwrap(); + writeln!(std::io::stderr(), "test").unwrap(); + std::io::stdout().write_fmt(format_args!("test")).unwrap(); + std::io::stderr().write_fmt(format_args!("test")).unwrap(); // including newlines - println!("test\ntest"); - eprintln!("test\ntest"); + writeln!(std::io::stdout(), "test\ntest").unwrap(); + writeln!(std::io::stderr(), "test\ntest").unwrap(); } // these should not warn, different destination { use std::fmt::Write; let mut s = String::new(); write!(s, "test").unwrap(); write!(s, "test").unwrap(); writeln!(s, "test").unwrap(); writeln!(s, "test").unwrap(); s.write_fmt(format_args!("test")).unwrap(); s.write_fmt(format_args!("test")).unwrap(); write!(stdout(), "test").unwrap(); write!(stderr(), "test").unwrap(); writeln!(stdout(), "test").unwrap(); writeln!(stderr(), "test").unwrap(); stdout().write_fmt(format_args!("test")).unwrap(); stderr().write_fmt(format_args!("test")).unwrap(); } // these should not warn, no unwrap { use std::io::Write; std::io::stdout().write_fmt(format_args!("test")).expect("no stdout"); std::io::stderr().write_fmt(format_args!("test")).expect("no stderr"); } } The actual fixed differed from the expected fixed. Actual fixed saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/explicit_write.fixed To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'explicit_write.rs' error: 2 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/explicit_write.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/explicit_write.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/explicit_write.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/explicit_write.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/fallible_impl_from.rs stdout ---- normalized stderr: expected stderr: error: consider implementing `TryFrom` instead --> $DIR/fallible_impl_from.rs:5:1 | LL | / impl From for Foo { LL | | fn from(s: String) -> Self { LL | | Foo(s.parse().unwrap()) LL | | } LL | | } | |_^ | note: lint level defined here --> $DIR/fallible_impl_from.rs:1:9 | LL | #![deny(clippy::fallible_impl_from)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: `From` is intended for infallible conversions only. Use `TryFrom` if there's a possibility for the conversion to fail. note: potential failure(s) --> $DIR/fallible_impl_from.rs:7:13 | LL | Foo(s.parse().unwrap()) | ^^^^^^^^^^^^^^^^^^ error: consider implementing `TryFrom` instead --> $DIR/fallible_impl_from.rs:26:1 | LL | / impl From for Invalid { LL | | fn from(i: usize) -> Invalid { LL | | if i != 42 { LL | | panic!(); ... | LL | | } LL | | } | |_^ | = help: `From` is intended for infallible conversions only. Use `TryFrom` if there's a possibility for the conversion to fail. note: potential failure(s) --> $DIR/fallible_impl_from.rs:29:13 | LL | panic!(); | ^^^^^^^^^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: consider implementing `TryFrom` instead --> $DIR/fallible_impl_from.rs:35:1 | LL | / impl From> for Invalid { LL | | fn from(s: Option) -> Invalid { LL | | let s = s.unwrap(); LL | | if !s.is_empty() { ... | LL | | } LL | | } | |_^ | = help: `From` is intended for infallible conversions only. Use `TryFrom` if there's a possibility for the conversion to fail. note: potential failure(s) --> $DIR/fallible_impl_from.rs:37:17 | LL | let s = s.unwrap(); | ^^^^^^^^^^ LL | if !s.is_empty() { LL | panic!(42); | ^^^^^^^^^^^ LL | } else if s.parse::().unwrap() != 42 { | ^^^^^^^^^^^^^^^^^^^^^^^^^ LL | panic!("{:?}", s); | ^^^^^^^^^^^^^^^^^^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: consider implementing `TryFrom` instead --> $DIR/fallible_impl_from.rs:53:1 | LL | / impl<'a> From<&'a mut as ProjStrTrait>::ProjString> for Invalid { LL | | fn from(s: &'a mut as ProjStrTrait>::ProjString) -> Invalid { LL | | if s.parse::().ok().unwrap() != 42 { LL | | panic!("{:?}", s); ... | LL | | } LL | | } | |_^ | = help: `From` is intended for infallible conversions only. Use `TryFrom` if there's a possibility for the conversion to fail. note: potential failure(s) --> $DIR/fallible_impl_from.rs:55:12 | LL | if s.parse::().ok().unwrap() != 42 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ LL | panic!("{:?}", s); | ^^^^^^^^^^^^^^^^^^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: aborting due to 4 previous errors diff of stderr: -error: consider implementing `TryFrom` instead - --> $DIR/fallible_impl_from.rs:5:1 - | -LL | / impl From for Foo { -LL | | fn from(s: String) -> Self { -LL | | Foo(s.parse().unwrap()) -LL | | } -LL | | } - | |_^ - | -note: lint level defined here - --> $DIR/fallible_impl_from.rs:1:9 - | -LL | #![deny(clippy::fallible_impl_from)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - = help: `From` is intended for infallible conversions only. Use `TryFrom` if there's a possibility for the conversion to fail. -note: potential failure(s) - --> $DIR/fallible_impl_from.rs:7:13 - | -LL | Foo(s.parse().unwrap()) - | ^^^^^^^^^^^^^^^^^^ - -error: consider implementing `TryFrom` instead - --> $DIR/fallible_impl_from.rs:26:1 - | -LL | / impl From for Invalid { -LL | | fn from(i: usize) -> Invalid { -LL | | if i != 42 { -LL | | panic!(); -... | -LL | | } -LL | | } - | |_^ - | - = help: `From` is intended for infallible conversions only. Use `TryFrom` if there's a possibility for the conversion to fail. -note: potential failure(s) - --> $DIR/fallible_impl_from.rs:29:13 - | -LL | panic!(); - | ^^^^^^^^^ - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: consider implementing `TryFrom` instead - --> $DIR/fallible_impl_from.rs:35:1 - | -LL | / impl From> for Invalid { -LL | | fn from(s: Option) -> Invalid { -LL | | let s = s.unwrap(); -LL | | if !s.is_empty() { -... | -LL | | } -LL | | } - | |_^ - | - = help: `From` is intended for infallible conversions only. Use `TryFrom` if there's a possibility for the conversion to fail. -note: potential failure(s) - --> $DIR/fallible_impl_from.rs:37:17 - | -LL | let s = s.unwrap(); - | ^^^^^^^^^^ -LL | if !s.is_empty() { -LL | panic!(42); - | ^^^^^^^^^^^ -LL | } else if s.parse::().unwrap() != 42 { - | ^^^^^^^^^^^^^^^^^^^^^^^^^ -LL | panic!("{:?}", s); - | ^^^^^^^^^^^^^^^^^^ - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: consider implementing `TryFrom` instead - --> $DIR/fallible_impl_from.rs:53:1 - | -LL | / impl<'a> From<&'a mut as ProjStrTrait>::ProjString> for Invalid { -LL | | fn from(s: &'a mut as ProjStrTrait>::ProjString) -> Invalid { -LL | | if s.parse::().ok().unwrap() != 42 { -LL | | panic!("{:?}", s); -... | -LL | | } -LL | | } - | |_^ - | - = help: `From` is intended for infallible conversions only. Use `TryFrom` if there's a possibility for the conversion to fail. -note: potential failure(s) - --> $DIR/fallible_impl_from.rs:55:12 - | -LL | if s.parse::().ok().unwrap() != 42 { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -LL | panic!("{:?}", s); - | ^^^^^^^^^^^^^^^^^^ - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: aborting due to 4 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/fallible_impl_from.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'fallible_impl_from.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/fallible_impl_from.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/fallible_impl_from.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/fallible_impl_from.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/fallible_impl_from.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/expect_fun_call.rs stdout ---- error: failed to compile fixed code status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/expect_fun_call.fixed" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/expect_fun_call.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/expect_fun_call.stage-id.aux" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/expect_fun_call.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/float_cmp.rs stdout ---- normalized stderr: expected stderr: error: strict comparison of f32 or f64 --> $DIR/float_cmp.rs:60:5 | LL | ONE as f64 != 2.0; | ^^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(ONE as f64 - 2.0).abs() < error` | = note: `-D clippy::float-cmp` implied by `-D warnings` note: std::f32::EPSILON and std::f64::EPSILON are available. --> $DIR/float_cmp.rs:60:5 | LL | ONE as f64 != 2.0; | ^^^^^^^^^^^^^^^^^ error: strict comparison of f32 or f64 --> $DIR/float_cmp.rs:65:5 | LL | x == 1.0; | ^^^^^^^^ help: consider comparing them within some error: `(x - 1.0).abs() < error` | note: std::f32::EPSILON and std::f64::EPSILON are available. --> $DIR/float_cmp.rs:65:5 | LL | x == 1.0; | ^^^^^^^^ error: strict comparison of f32 or f64 --> $DIR/float_cmp.rs:68:5 | LL | twice(x) != twice(ONE as f64); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(twice(x) - twice(ONE as f64)).abs() < error` | note: std::f32::EPSILON and std::f64::EPSILON are available. --> $DIR/float_cmp.rs:68:5 | LL | twice(x) != twice(ONE as f64); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 3 previous errors diff of stderr: -error: strict comparison of f32 or f64 - --> $DIR/float_cmp.rs:60:5 - | -LL | ONE as f64 != 2.0; - | ^^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(ONE as f64 - 2.0).abs() < error` - | - = note: `-D clippy::float-cmp` implied by `-D warnings` -note: std::f32::EPSILON and std::f64::EPSILON are available. - --> $DIR/float_cmp.rs:60:5 - | -LL | ONE as f64 != 2.0; - | ^^^^^^^^^^^^^^^^^ - -error: strict comparison of f32 or f64 - --> $DIR/float_cmp.rs:65:5 - | -LL | x == 1.0; - | ^^^^^^^^ help: consider comparing them within some error: `(x - 1.0).abs() < error` - | -note: std::f32::EPSILON and std::f64::EPSILON are available. - --> $DIR/float_cmp.rs:65:5 - | -LL | x == 1.0; - | ^^^^^^^^ - -error: strict comparison of f32 or f64 - --> $DIR/float_cmp.rs:68:5 - | -LL | twice(x) != twice(ONE as f64); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(twice(x) - twice(ONE as f64)).abs() < error` - | -note: std::f32::EPSILON and std::f64::EPSILON are available. - --> $DIR/float_cmp.rs:68:5 - | -LL | twice(x) != twice(ONE as f64); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: aborting due to 3 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/float_cmp.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'float_cmp.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/float_cmp.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/float_cmp.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/float_cmp.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/float_cmp.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/float_cmp_const.rs stdout ---- normalized stderr: expected stderr: error: strict comparison of f32 or f64 constant --> $DIR/float_cmp_const.rs:18:5 | LL | 1f32 == ONE; | ^^^^^^^^^^^ help: consider comparing them within some error: `(1f32 - ONE).abs() < error` | = note: `-D clippy::float-cmp-const` implied by `-D warnings` note: std::f32::EPSILON and std::f64::EPSILON are available. --> $DIR/float_cmp_const.rs:18:5 | LL | 1f32 == ONE; | ^^^^^^^^^^^ error: strict comparison of f32 or f64 constant --> $DIR/float_cmp_const.rs:19:5 | LL | TWO == ONE; | ^^^^^^^^^^ help: consider comparing them within some error: `(TWO - ONE).abs() < error` | note: std::f32::EPSILON and std::f64::EPSILON are available. --> $DIR/float_cmp_const.rs:19:5 | LL | TWO == ONE; | ^^^^^^^^^^ error: strict comparison of f32 or f64 constant --> $DIR/float_cmp_const.rs:20:5 | LL | TWO != ONE; | ^^^^^^^^^^ help: consider comparing them within some error: `(TWO - ONE).abs() < error` | note: std::f32::EPSILON and std::f64::EPSILON are available. --> $DIR/float_cmp_const.rs:20:5 | LL | TWO != ONE; | ^^^^^^^^^^ error: strict comparison of f32 or f64 constant --> $DIR/float_cmp_const.rs:21:5 | LL | ONE + ONE == TWO; | ^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(ONE + ONE - TWO).abs() < error` | note: std::f32::EPSILON and std::f64::EPSILON are available. --> $DIR/float_cmp_const.rs:21:5 | LL | ONE + ONE == TWO; | ^^^^^^^^^^^^^^^^ error: strict comparison of f32 or f64 constant --> $DIR/float_cmp_const.rs:23:5 | LL | x as f32 == ONE; | ^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(x as f32 - ONE).abs() < error` | note: std::f32::EPSILON and std::f64::EPSILON are available. --> $DIR/float_cmp_const.rs:23:5 | LL | x as f32 == ONE; | ^^^^^^^^^^^^^^^ error: strict comparison of f32 or f64 constant --> $DIR/float_cmp_const.rs:26:5 | LL | v == ONE; | ^^^^^^^^ help: consider comparing them within some error: `(v - ONE).abs() < error` | note: std::f32::EPSILON and std::f64::EPSILON are available. --> $DIR/float_cmp_const.rs:26:5 | LL | v == ONE; | ^^^^^^^^ error: strict comparison of f32 or f64 constant --> $DIR/float_cmp_const.rs:27:5 | LL | v != ONE; | ^^^^^^^^ help: consider comparing them within some error: `(v - ONE).abs() < error` | note: std::f32::EPSILON and std::f64::EPSILON are available. --> $DIR/float_cmp_const.rs:27:5 | LL | v != ONE; | ^^^^^^^^ error: aborting due to 7 previous errors diff of stderr: -error: strict comparison of f32 or f64 constant - --> $DIR/float_cmp_const.rs:18:5 - | -LL | 1f32 == ONE; - | ^^^^^^^^^^^ help: consider comparing them within some error: `(1f32 - ONE).abs() < error` - | - = note: `-D clippy::float-cmp-const` implied by `-D warnings` -note: std::f32::EPSILON and std::f64::EPSILON are available. - --> $DIR/float_cmp_const.rs:18:5 - | -LL | 1f32 == ONE; - | ^^^^^^^^^^^ - -error: strict comparison of f32 or f64 constant - --> $DIR/float_cmp_const.rs:19:5 - | -LL | TWO == ONE; - | ^^^^^^^^^^ help: consider comparing them within some error: `(TWO - ONE).abs() < error` - | -note: std::f32::EPSILON and std::f64::EPSILON are available. - --> $DIR/float_cmp_const.rs:19:5 - | -LL | TWO == ONE; - | ^^^^^^^^^^ - -error: strict comparison of f32 or f64 constant - --> $DIR/float_cmp_const.rs:20:5 - | -LL | TWO != ONE; - | ^^^^^^^^^^ help: consider comparing them within some error: `(TWO - ONE).abs() < error` - | -note: std::f32::EPSILON and std::f64::EPSILON are available. - --> $DIR/float_cmp_const.rs:20:5 - | -LL | TWO != ONE; - | ^^^^^^^^^^ - -error: strict comparison of f32 or f64 constant - --> $DIR/float_cmp_const.rs:21:5 - | -LL | ONE + ONE == TWO; - | ^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(ONE + ONE - TWO).abs() < error` - | -note: std::f32::EPSILON and std::f64::EPSILON are available. - --> $DIR/float_cmp_const.rs:21:5 - | -LL | ONE + ONE == TWO; - | ^^^^^^^^^^^^^^^^ - -error: strict comparison of f32 or f64 constant - --> $DIR/float_cmp_const.rs:23:5 - | -LL | x as f32 == ONE; - | ^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(x as f32 - ONE).abs() < error` - | -note: std::f32::EPSILON and std::f64::EPSILON are available. - --> $DIR/float_cmp_const.rs:23:5 - | -LL | x as f32 == ONE; - | ^^^^^^^^^^^^^^^ - -error: strict comparison of f32 or f64 constant - --> $DIR/float_cmp_const.rs:26:5 - | -LL | v == ONE; - | ^^^^^^^^ help: consider comparing them within some error: `(v - ONE).abs() < error` - | -note: std::f32::EPSILON and std::f64::EPSILON are available. - --> $DIR/float_cmp_const.rs:26:5 - | -LL | v == ONE; - | ^^^^^^^^ - -error: strict comparison of f32 or f64 constant - --> $DIR/float_cmp_const.rs:27:5 - | -LL | v != ONE; - | ^^^^^^^^ help: consider comparing them within some error: `(v - ONE).abs() < error` - | -note: std::f32::EPSILON and std::f64::EPSILON are available. - --> $DIR/float_cmp_const.rs:27:5 - | -LL | v != ONE; - | ^^^^^^^^ - -error: aborting due to 7 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/float_cmp_const.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'float_cmp_const.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/float_cmp_const.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/float_cmp_const.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/float_cmp_const.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/float_cmp_const.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/fn_to_numeric_cast.rs stdout ---- normalized stderr: expected stderr: error: casting function pointer `foo` to `i8`, which truncates the value --> $DIR/fn_to_numeric_cast.rs:10:13 | LL | let _ = foo as i8; | ^^^^^^^^^ help: try: `foo as usize` | = note: `-D clippy::fn-to-numeric-cast-with-truncation` implied by `-D warnings` error: casting function pointer `foo` to `i16`, which truncates the value --> $DIR/fn_to_numeric_cast.rs:11:13 | LL | let _ = foo as i16; | ^^^^^^^^^^ help: try: `foo as usize` error: casting function pointer `foo` to `i32`, which truncates the value --> $DIR/fn_to_numeric_cast.rs:12:13 | LL | let _ = foo as i32; | ^^^^^^^^^^ help: try: `foo as usize` error: casting function pointer `foo` to `i64` --> $DIR/fn_to_numeric_cast.rs:13:13 | LL | let _ = foo as i64; | ^^^^^^^^^^ help: try: `foo as usize` | = note: `-D clippy::fn-to-numeric-cast` implied by `-D warnings` error: casting function pointer `foo` to `i128` --> $DIR/fn_to_numeric_cast.rs:14:13 | LL | let _ = foo as i128; | ^^^^^^^^^^^ help: try: `foo as usize` error: casting function pointer `foo` to `isize` --> $DIR/fn_to_numeric_cast.rs:15:13 | LL | let _ = foo as isize; | ^^^^^^^^^^^^ help: try: `foo as usize` error: casting function pointer `foo` to `u8`, which truncates the value --> $DIR/fn_to_numeric_cast.rs:17:13 | LL | let _ = foo as u8; | ^^^^^^^^^ help: try: `foo as usize` error: casting function pointer `foo` to `u16`, which truncates the value --> $DIR/fn_to_numeric_cast.rs:18:13 | LL | let _ = foo as u16; | ^^^^^^^^^^ help: try: `foo as usize` error: casting function pointer `foo` to `u32`, which truncates the value --> $DIR/fn_to_numeric_cast.rs:19:13 | LL | let _ = foo as u32; | ^^^^^^^^^^ help: try: `foo as usize` error: casting function pointer `foo` to `u64` --> $DIR/fn_to_numeric_cast.rs:20:13 | LL | let _ = foo as u64; | ^^^^^^^^^^ help: try: `foo as usize` error: casting function pointer `foo` to `u128` --> $DIR/fn_to_numeric_cast.rs:21:13 | LL | let _ = foo as u128; | ^^^^^^^^^^^ help: try: `foo as usize` error: casting function pointer `abc` to `i8`, which truncates the value --> $DIR/fn_to_numeric_cast.rs:34:13 | LL | let _ = abc as i8; | ^^^^^^^^^ help: try: `abc as usize` error: casting function pointer `abc` to `i16`, which truncates the value --> $DIR/fn_to_numeric_cast.rs:35:13 | LL | let _ = abc as i16; | ^^^^^^^^^^ help: try: `abc as usize` error: casting function pointer `abc` to `i32`, which truncates the value --> $DIR/fn_to_numeric_cast.rs:36:13 | LL | let _ = abc as i32; | ^^^^^^^^^^ help: try: `abc as usize` error: casting function pointer `abc` to `i64` --> $DIR/fn_to_numeric_cast.rs:37:13 | LL | let _ = abc as i64; | ^^^^^^^^^^ help: try: `abc as usize` error: casting function pointer `abc` to `i128` --> $DIR/fn_to_numeric_cast.rs:38:13 | LL | let _ = abc as i128; | ^^^^^^^^^^^ help: try: `abc as usize` error: casting function pointer `abc` to `isize` --> $DIR/fn_to_numeric_cast.rs:39:13 | LL | let _ = abc as isize; | ^^^^^^^^^^^^ help: try: `abc as usize` error: casting function pointer `abc` to `u8`, which truncates the value --> $DIR/fn_to_numeric_cast.rs:41:13 | LL | let _ = abc as u8; | ^^^^^^^^^ help: try: `abc as usize` error: casting function pointer `abc` to `u16`, which truncates the value --> $DIR/fn_to_numeric_cast.rs:42:13 | LL | let _ = abc as u16; | ^^^^^^^^^^ help: try: `abc as usize` error: casting function pointer `abc` to `u32`, which truncates the value --> $DIR/fn_to_numeric_cast.rs:43:13 | LL | let _ = abc as u32; | ^^^^^^^^^^ help: try: `abc as usize` error: casting function pointer `abc` to `u64` --> $DIR/fn_to_numeric_cast.rs:44:13 | LL | let _ = abc as u64; | ^^^^^^^^^^ help: try: `abc as usize` error: casting function pointer `abc` to `u128` --> $DIR/fn_to_numeric_cast.rs:45:13 | LL | let _ = abc as u128; | ^^^^^^^^^^^ help: try: `abc as usize` error: casting function pointer `f` to `i32`, which truncates the value --> $DIR/fn_to_numeric_cast.rs:52:5 | LL | f as i32 | ^^^^^^^^ help: try: `f as usize` error: aborting due to 23 previous errors diff of stderr: -error: casting function pointer `foo` to `i8`, which truncates the value - --> $DIR/fn_to_numeric_cast.rs:10:13 - | -LL | let _ = foo as i8; - | ^^^^^^^^^ help: try: `foo as usize` - | - = note: `-D clippy::fn-to-numeric-cast-with-truncation` implied by `-D warnings` - -error: casting function pointer `foo` to `i16`, which truncates the value - --> $DIR/fn_to_numeric_cast.rs:11:13 - | -LL | let _ = foo as i16; - | ^^^^^^^^^^ help: try: `foo as usize` - -error: casting function pointer `foo` to `i32`, which truncates the value - --> $DIR/fn_to_numeric_cast.rs:12:13 - | -LL | let _ = foo as i32; - | ^^^^^^^^^^ help: try: `foo as usize` - -error: casting function pointer `foo` to `i64` - --> $DIR/fn_to_numeric_cast.rs:13:13 - | -LL | let _ = foo as i64; - | ^^^^^^^^^^ help: try: `foo as usize` - | - = note: `-D clippy::fn-to-numeric-cast` implied by `-D warnings` - -error: casting function pointer `foo` to `i128` - --> $DIR/fn_to_numeric_cast.rs:14:13 - | -LL | let _ = foo as i128; - | ^^^^^^^^^^^ help: try: `foo as usize` - -error: casting function pointer `foo` to `isize` - --> $DIR/fn_to_numeric_cast.rs:15:13 - | -LL | let _ = foo as isize; - | ^^^^^^^^^^^^ help: try: `foo as usize` - -error: casting function pointer `foo` to `u8`, which truncates the value - --> $DIR/fn_to_numeric_cast.rs:17:13 - | -LL | let _ = foo as u8; - | ^^^^^^^^^ help: try: `foo as usize` - -error: casting function pointer `foo` to `u16`, which truncates the value - --> $DIR/fn_to_numeric_cast.rs:18:13 - | -LL | let _ = foo as u16; - | ^^^^^^^^^^ help: try: `foo as usize` - -error: casting function pointer `foo` to `u32`, which truncates the value - --> $DIR/fn_to_numeric_cast.rs:19:13 - | -LL | let _ = foo as u32; - | ^^^^^^^^^^ help: try: `foo as usize` - -error: casting function pointer `foo` to `u64` - --> $DIR/fn_to_numeric_cast.rs:20:13 - | -LL | let _ = foo as u64; - | ^^^^^^^^^^ help: try: `foo as usize` - -error: casting function pointer `foo` to `u128` - --> $DIR/fn_to_numeric_cast.rs:21:13 - | -LL | let _ = foo as u128; - | ^^^^^^^^^^^ help: try: `foo as usize` - -error: casting function pointer `abc` to `i8`, which truncates the value - --> $DIR/fn_to_numeric_cast.rs:34:13 - | -LL | let _ = abc as i8; - | ^^^^^^^^^ help: try: `abc as usize` - -error: casting function pointer `abc` to `i16`, which truncates the value - --> $DIR/fn_to_numeric_cast.rs:35:13 - | -LL | let _ = abc as i16; - | ^^^^^^^^^^ help: try: `abc as usize` - -error: casting function pointer `abc` to `i32`, which truncates the value - --> $DIR/fn_to_numeric_cast.rs:36:13 - | -LL | let _ = abc as i32; - | ^^^^^^^^^^ help: try: `abc as usize` - -error: casting function pointer `abc` to `i64` - --> $DIR/fn_to_numeric_cast.rs:37:13 - | -LL | let _ = abc as i64; - | ^^^^^^^^^^ help: try: `abc as usize` - -error: casting function pointer `abc` to `i128` - --> $DIR/fn_to_numeric_cast.rs:38:13 - | -LL | let _ = abc as i128; - | ^^^^^^^^^^^ help: try: `abc as usize` - -error: casting function pointer `abc` to `isize` - --> $DIR/fn_to_numeric_cast.rs:39:13 - | -LL | let _ = abc as isize; - | ^^^^^^^^^^^^ help: try: `abc as usize` - -error: casting function pointer `abc` to `u8`, which truncates the value - --> $DIR/fn_to_numeric_cast.rs:41:13 - | -LL | let _ = abc as u8; - | ^^^^^^^^^ help: try: `abc as usize` - -error: casting function pointer `abc` to `u16`, which truncates the value - --> $DIR/fn_to_numeric_cast.rs:42:13 - | -LL | let _ = abc as u16; - | ^^^^^^^^^^ help: try: `abc as usize` - -error: casting function pointer `abc` to `u32`, which truncates the value - --> $DIR/fn_to_numeric_cast.rs:43:13 - | -LL | let _ = abc as u32; - | ^^^^^^^^^^ help: try: `abc as usize` - -error: casting function pointer `abc` to `u64` - --> $DIR/fn_to_numeric_cast.rs:44:13 - | -LL | let _ = abc as u64; - | ^^^^^^^^^^ help: try: `abc as usize` - -error: casting function pointer `abc` to `u128` - --> $DIR/fn_to_numeric_cast.rs:45:13 - | -LL | let _ = abc as u128; - | ^^^^^^^^^^^ help: try: `abc as usize` - -error: casting function pointer `f` to `i32`, which truncates the value - --> $DIR/fn_to_numeric_cast.rs:52:5 - | -LL | f as i32 - | ^^^^^^^^ help: try: `f as usize` - -error: aborting due to 23 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/fn_to_numeric_cast.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'fn_to_numeric_cast.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/fn_to_numeric_cast.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/fn_to_numeric_cast.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/fn_to_numeric_cast.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/fn_to_numeric_cast.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/for_loop.rs stdout ---- normalized stderr: expected stderr: error: the loop variable `i` is only used to index `vec`. --> $DIR/for_loop.rs:41:14 | LL | for i in 0..vec.len() { | ^^^^^^^^^^^^ | = note: `-D clippy::needless-range-loop` implied by `-D warnings` help: consider using an iterator | LL | for in &vec { | ^^^^^^ ^^^^ error: the loop variable `i` is only used to index `vec`. --> $DIR/for_loop.rs:50:14 | LL | for i in 0..vec.len() { | ^^^^^^^^^^^^ help: consider using an iterator | LL | for in &vec { | ^^^^^^ ^^^^ error: the loop variable `j` is only used to index `STATIC`. --> $DIR/for_loop.rs:55:14 | LL | for j in 0..4 { | ^^^^ help: consider using an iterator | LL | for in &STATIC { | ^^^^^^ ^^^^^^^ error: the loop variable `j` is only used to index `CONST`. --> $DIR/for_loop.rs:59:14 | LL | for j in 0..4 { | ^^^^ help: consider using an iterator | LL | for in &CONST { | ^^^^^^ ^^^^^^ error: the loop variable `i` is used to index `vec` --> $DIR/for_loop.rs:63:14 | LL | for i in 0..vec.len() { | ^^^^^^^^^^^^ help: consider using an iterator | LL | for (i, ) in vec.iter().enumerate() { | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ error: the loop variable `i` is only used to index `vec2`. --> $DIR/for_loop.rs:71:14 | LL | for i in 0..vec.len() { | ^^^^^^^^^^^^ help: consider using an iterator | LL | for in vec2.iter().take(vec.len()) { | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: the loop variable `i` is only used to index `vec`. --> $DIR/for_loop.rs:75:14 | LL | for i in 5..vec.len() { | ^^^^^^^^^^^^ help: consider using an iterator | LL | for in vec.iter().skip(5) { | ^^^^^^ ^^^^^^^^^^^^^^^^^^ error: the loop variable `i` is only used to index `vec`. --> $DIR/for_loop.rs:79:14 | LL | for i in 0..MAX_LEN { | ^^^^^^^^^^ help: consider using an iterator | LL | for in vec.iter().take(MAX_LEN) { | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ error: the loop variable `i` is only used to index `vec`. --> $DIR/for_loop.rs:83:14 | LL | for i in 0..=MAX_LEN { | ^^^^^^^^^^^ help: consider using an iterator | LL | for in vec.iter().take(MAX_LEN + 1) { | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: the loop variable `i` is only used to index `vec`. --> $DIR/for_loop.rs:87:14 | LL | for i in 5..10 { | ^^^^^ help: consider using an iterator | LL | for in vec.iter().take(10).skip(5) { | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: the loop variable `i` is only used to index `vec`. --> $DIR/for_loop.rs:91:14 | LL | for i in 5..=10 { | ^^^^^^ help: consider using an iterator | LL | for in vec.iter().take(10 + 1).skip(5) { | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: the loop variable `i` is used to index `vec` --> $DIR/for_loop.rs:95:14 | LL | for i in 5..vec.len() { | ^^^^^^^^^^^^ help: consider using an iterator | LL | for (i, ) in vec.iter().enumerate().skip(5) { | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: the loop variable `i` is used to index `vec` --> $DIR/for_loop.rs:99:14 | LL | for i in 5..10 { | ^^^^^ help: consider using an iterator | LL | for (i, ) in vec.iter().enumerate().take(10).skip(5) { | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: this range is empty so this for loop will never run --> $DIR/for_loop.rs:103:14 | LL | for i in 10..0 { | ^^^^^ | = note: `-D clippy::reverse-range-loop` implied by `-D warnings` help: consider using the following if you are attempting to iterate over this range in reverse | LL | for i in (0..10).rev() { | ^^^^^^^^^^^^^ error: this range is empty so this for loop will never run --> $DIR/for_loop.rs:107:14 | LL | for i in 10..=0 { | ^^^^^^ help: consider using the following if you are attempting to iterate over this range in reverse | LL | for i in (0...10).rev() { | ^^^^^^^^^^^^^^ error: this range is empty so this for loop will never run --> $DIR/for_loop.rs:111:14 | LL | for i in MAX_LEN..0 { | ^^^^^^^^^^ help: consider using the following if you are attempting to iterate over this range in reverse | LL | for i in (0..MAX_LEN).rev() { | ^^^^^^^^^^^^^^^^^^ error: this range is empty so this for loop will never run --> $DIR/for_loop.rs:115:14 | LL | for i in 5..5 { | ^^^^ error: this range is empty so this for loop will never run --> $DIR/for_loop.rs:140:14 | LL | for i in 10..5 + 4 { | ^^^^^^^^^ help: consider using the following if you are attempting to iterate over this range in reverse | LL | for i in (5 + 4..10).rev() { | ^^^^^^^^^^^^^^^^^ error: this range is empty so this for loop will never run --> $DIR/for_loop.rs:144:14 | LL | for i in (5 + 2)..(3 - 1) { | ^^^^^^^^^^^^^^^^ help: consider using the following if you are attempting to iterate over this range in reverse | LL | for i in ((3 - 1)..(5 + 2)).rev() { | ^^^^^^^^^^^^^^^^^^^^^^^^ error: this range is empty so this for loop will never run --> $DIR/for_loop.rs:148:14 | LL | for i in (5 + 2)..(8 - 1) { | ^^^^^^^^^^^^^^^^ error: it is more concise to loop over references to containers instead of using explicit iteration methods --> $DIR/for_loop.rs:170:15 | LL | for _v in vec.iter() {} | ^^^^^^^^^^ | = note: `-D clippy::explicit-iter-loop` implied by `-D warnings` error: it is more concise to loop over references to containers instead of using explicit iteration methods --> $DIR/for_loop.rs:172:15 | LL | for _v in vec.iter_mut() {} | ^^^^^^^^^^^^^^ error: it is more concise to loop over containers instead of using explicit iteration methods` --> $DIR/for_loop.rs:175:15 | LL | for _v in out_vec.into_iter() {} | ^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::explicit-into-iter-loop` implied by `-D warnings` error: it is more concise to loop over references to containers instead of using explicit iteration methods --> $DIR/for_loop.rs:178:15 | LL | for _v in array.into_iter() {} | ^^^^^^^^^^^^^^^^^ error: it is more concise to loop over references to containers instead of using explicit iteration methods --> $DIR/for_loop.rs:183:15 | LL | for _v in [1, 2, 3].iter() {} | ^^^^^^^^^^^^^^^^ error: it is more concise to loop over references to containers instead of using explicit iteration methods --> $DIR/for_loop.rs:187:15 | LL | for _v in [0; 32].iter() {} | ^^^^^^^^^^^^^^ error: it is more concise to loop over references to containers instead of using explicit iteration methods --> $DIR/for_loop.rs:192:15 | LL | for _v in ll.iter() {} | ^^^^^^^^^ error: it is more concise to loop over references to containers instead of using explicit iteration methods --> $DIR/for_loop.rs:195:15 | LL | for _v in vd.iter() {} | ^^^^^^^^^ error: it is more concise to loop over references to containers instead of using explicit iteration methods --> $DIR/for_loop.rs:198:15 | LL | for _v in bh.iter() {} | ^^^^^^^^^ error: it is more concise to loop over references to containers instead of using explicit iteration methods --> $DIR/for_loop.rs:201:15 | LL | for _v in hm.iter() {} | ^^^^^^^^^ error: it is more concise to loop over references to containers instead of using explicit iteration methods --> $DIR/for_loop.rs:204:15 | LL | for _v in bt.iter() {} | ^^^^^^^^^ error: it is more concise to loop over references to containers instead of using explicit iteration methods --> $DIR/for_loop.rs:207:15 | LL | for _v in hs.iter() {} | ^^^^^^^^^ error: it is more concise to loop over references to containers instead of using explicit iteration methods --> $DIR/for_loop.rs:210:15 | LL | for _v in bs.iter() {} | ^^^^^^^^^ error: you are iterating over `Iterator::next()` which is an Option; this will compile but is probably not what you want --> $DIR/for_loop.rs:212:15 | LL | for _v in vec.iter().next() {} | ^^^^^^^^^^^^^^^^^ | = note: `-D clippy::iter-next-loop` implied by `-D warnings` error: you are collect()ing an iterator and throwing away the result. Consider using an explicit for loop to exhaust the iterator --> $DIR/for_loop.rs:219:5 | LL | vec.iter().cloned().map(|x| out.push(x)).collect::>(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::unused-collect` implied by `-D warnings` error: aborting due to 35 previous errors diff of stderr: -error: the loop variable `i` is only used to index `vec`. - --> $DIR/for_loop.rs:41:14 - | -LL | for i in 0..vec.len() { - | ^^^^^^^^^^^^ - | - = note: `-D clippy::needless-range-loop` implied by `-D warnings` -help: consider using an iterator - | -LL | for in &vec { - | ^^^^^^ ^^^^ - -error: the loop variable `i` is only used to index `vec`. - --> $DIR/for_loop.rs:50:14 - | -LL | for i in 0..vec.len() { - | ^^^^^^^^^^^^ -help: consider using an iterator - | -LL | for in &vec { - | ^^^^^^ ^^^^ - -error: the loop variable `j` is only used to index `STATIC`. - --> $DIR/for_loop.rs:55:14 - | -LL | for j in 0..4 { - | ^^^^ -help: consider using an iterator - | -LL | for in &STATIC { - | ^^^^^^ ^^^^^^^ - -error: the loop variable `j` is only used to index `CONST`. - --> $DIR/for_loop.rs:59:14 - | -LL | for j in 0..4 { - | ^^^^ -help: consider using an iterator - | -LL | for in &CONST { - | ^^^^^^ ^^^^^^ - -error: the loop variable `i` is used to index `vec` - --> $DIR/for_loop.rs:63:14 - | -LL | for i in 0..vec.len() { - | ^^^^^^^^^^^^ -help: consider using an iterator - | -LL | for (i, ) in vec.iter().enumerate() { - | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ - -error: the loop variable `i` is only used to index `vec2`. - --> $DIR/for_loop.rs:71:14 - | -LL | for i in 0..vec.len() { - | ^^^^^^^^^^^^ -help: consider using an iterator - | -LL | for in vec2.iter().take(vec.len()) { - | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: the loop variable `i` is only used to index `vec`. - --> $DIR/for_loop.rs:75:14 - | -LL | for i in 5..vec.len() { - | ^^^^^^^^^^^^ -help: consider using an iterator - | -LL | for in vec.iter().skip(5) { - | ^^^^^^ ^^^^^^^^^^^^^^^^^^ - -error: the loop variable `i` is only used to index `vec`. - --> $DIR/for_loop.rs:79:14 - | -LL | for i in 0..MAX_LEN { - | ^^^^^^^^^^ -help: consider using an iterator - | -LL | for in vec.iter().take(MAX_LEN) { - | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ - -error: the loop variable `i` is only used to index `vec`. - --> $DIR/for_loop.rs:83:14 - | -LL | for i in 0..=MAX_LEN { - | ^^^^^^^^^^^ -help: consider using an iterator - | -LL | for in vec.iter().take(MAX_LEN + 1) { - | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: the loop variable `i` is only used to index `vec`. - --> $DIR/for_loop.rs:87:14 - | -LL | for i in 5..10 { - | ^^^^^ -help: consider using an iterator - | -LL | for in vec.iter().take(10).skip(5) { - | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: the loop variable `i` is only used to index `vec`. - --> $DIR/for_loop.rs:91:14 - | -LL | for i in 5..=10 { - | ^^^^^^ -help: consider using an iterator - | -LL | for in vec.iter().take(10 + 1).skip(5) { - | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: the loop variable `i` is used to index `vec` - --> $DIR/for_loop.rs:95:14 - | -LL | for i in 5..vec.len() { - | ^^^^^^^^^^^^ -help: consider using an iterator - | -LL | for (i, ) in vec.iter().enumerate().skip(5) { - | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: the loop variable `i` is used to index `vec` - --> $DIR/for_loop.rs:99:14 - | -LL | for i in 5..10 { - | ^^^^^ -help: consider using an iterator - | -LL | for (i, ) in vec.iter().enumerate().take(10).skip(5) { - | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: this range is empty so this for loop will never run - --> $DIR/for_loop.rs:103:14 - | -LL | for i in 10..0 { - | ^^^^^ - | - = note: `-D clippy::reverse-range-loop` implied by `-D warnings` -help: consider using the following if you are attempting to iterate over this range in reverse - | -LL | for i in (0..10).rev() { - | ^^^^^^^^^^^^^ - -error: this range is empty so this for loop will never run - --> $DIR/for_loop.rs:107:14 - | -LL | for i in 10..=0 { - | ^^^^^^ -help: consider using the following if you are attempting to iterate over this range in reverse - | -LL | for i in (0...10).rev() { - | ^^^^^^^^^^^^^^ - -error: this range is empty so this for loop will never run - --> $DIR/for_loop.rs:111:14 - | -LL | for i in MAX_LEN..0 { - | ^^^^^^^^^^ -help: consider using the following if you are attempting to iterate over this range in reverse - | -LL | for i in (0..MAX_LEN).rev() { - | ^^^^^^^^^^^^^^^^^^ - -error: this range is empty so this for loop will never run - --> $DIR/for_loop.rs:115:14 - | -LL | for i in 5..5 { - | ^^^^ - -error: this range is empty so this for loop will never run - --> $DIR/for_loop.rs:140:14 - | -LL | for i in 10..5 + 4 { - | ^^^^^^^^^ -help: consider using the following if you are attempting to iterate over this range in reverse - | -LL | for i in (5 + 4..10).rev() { - | ^^^^^^^^^^^^^^^^^ - -error: this range is empty so this for loop will never run - --> $DIR/for_loop.rs:144:14 - | -LL | for i in (5 + 2)..(3 - 1) { - | ^^^^^^^^^^^^^^^^ -help: consider using the following if you are attempting to iterate over this range in reverse - | -LL | for i in ((3 - 1)..(5 + 2)).rev() { - | ^^^^^^^^^^^^^^^^^^^^^^^^ - -error: this range is empty so this for loop will never run - --> $DIR/for_loop.rs:148:14 - | -LL | for i in (5 + 2)..(8 - 1) { - | ^^^^^^^^^^^^^^^^ - -error: it is more concise to loop over references to containers instead of using explicit iteration methods - --> $DIR/for_loop.rs:170:15 - | -LL | for _v in vec.iter() {} - | ^^^^^^^^^^ - | - = note: `-D clippy::explicit-iter-loop` implied by `-D warnings` - -error: it is more concise to loop over references to containers instead of using explicit iteration methods - --> $DIR/for_loop.rs:172:15 - | -LL | for _v in vec.iter_mut() {} - | ^^^^^^^^^^^^^^ - -error: it is more concise to loop over containers instead of using explicit iteration methods` - --> $DIR/for_loop.rs:175:15 - | -LL | for _v in out_vec.into_iter() {} - | ^^^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::explicit-into-iter-loop` implied by `-D warnings` - -error: it is more concise to loop over references to containers instead of using explicit iteration methods - --> $DIR/for_loop.rs:178:15 - | -LL | for _v in array.into_iter() {} - | ^^^^^^^^^^^^^^^^^ - -error: it is more concise to loop over references to containers instead of using explicit iteration methods - --> $DIR/for_loop.rs:183:15 - | -LL | for _v in [1, 2, 3].iter() {} - | ^^^^^^^^^^^^^^^^ - -error: it is more concise to loop over references to containers instead of using explicit iteration methods - --> $DIR/for_loop.rs:187:15 - | -LL | for _v in [0; 32].iter() {} - | ^^^^^^^^^^^^^^ - -error: it is more concise to loop over references to containers instead of using explicit iteration methods - --> $DIR/for_loop.rs:192:15 - | -LL | for _v in ll.iter() {} - | ^^^^^^^^^ - -error: it is more concise to loop over references to containers instead of using explicit iteration methods - --> $DIR/for_loop.rs:195:15 - | -LL | for _v in vd.iter() {} - | ^^^^^^^^^ - -error: it is more concise to loop over references to containers instead of using explicit iteration methods - --> $DIR/for_loop.rs:198:15 - | -LL | for _v in bh.iter() {} - | ^^^^^^^^^ - -error: it is more concise to loop over references to containers instead of using explicit iteration methods - --> $DIR/for_loop.rs:201:15 - | -LL | for _v in hm.iter() {} - | ^^^^^^^^^ - -error: it is more concise to loop over references to containers instead of using explicit iteration methods - --> $DIR/for_loop.rs:204:15 - | -LL | for _v in bt.iter() {} - | ^^^^^^^^^ - -error: it is more concise to loop over references to containers instead of using explicit iteration methods - --> $DIR/for_loop.rs:207:15 - | -LL | for _v in hs.iter() {} - | ^^^^^^^^^ - -error: it is more concise to loop over references to containers instead of using explicit iteration methods - --> $DIR/for_loop.rs:210:15 - | -LL | for _v in bs.iter() {} - | ^^^^^^^^^ - -error: you are iterating over `Iterator::next()` which is an Option; this will compile but is probably not what you want - --> $DIR/for_loop.rs:212:15 - | -LL | for _v in vec.iter().next() {} - | ^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::iter-next-loop` implied by `-D warnings` - -error: you are collect()ing an iterator and throwing away the result. Consider using an explicit for loop to exhaust the iterator - --> $DIR/for_loop.rs:219:5 - | -LL | vec.iter().cloned().map(|x| out.push(x)).collect::>(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::unused-collect` implied by `-D warnings` - -error: aborting due to 35 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/for_loop.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'for_loop.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/for_loop.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/for_loop.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/for_loop.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/for_loop.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/functions.rs stdout ---- normalized stderr: expected stderr: error: this function has too many arguments (8/7) --> $DIR/functions.rs:8:1 | LL | fn bad(_one: u32, _two: u32, _three: &str, _four: bool, _five: f32, _six: f32, _seven: bool, _eight: ()) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::too-many-arguments` implied by `-D warnings` error: this function has too many arguments (8/7) --> $DIR/functions.rs:25:5 | LL | fn bad(_one: u32, _two: u32, _three: &str, _four: bool, _five: f32, _six: f32, _seven: bool, _eight: ()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: this function has too many arguments (8/7) --> $DIR/functions.rs:34:5 | LL | fn bad_method(_one: u32, _two: u32, _three: &str, _four: bool, _five: f32, _six: f32, _seven: bool, _eight: ()) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: this public function dereferences a raw pointer but is not marked `unsafe` --> $DIR/functions.rs:43:34 | LL | println!("{}", unsafe { *p }); | ^ | = note: `-D clippy::not-unsafe-ptr-arg-deref` implied by `-D warnings` error: this public function dereferences a raw pointer but is not marked `unsafe` --> $DIR/functions.rs:44:35 | LL | println!("{:?}", unsafe { p.as_ref() }); | ^ error: this public function dereferences a raw pointer but is not marked `unsafe` --> $DIR/functions.rs:45:33 | LL | unsafe { std::ptr::read(p) }; | ^ error: this public function dereferences a raw pointer but is not marked `unsafe` --> $DIR/functions.rs:56:30 | LL | println!("{}", unsafe { *p }); | ^ error: this public function dereferences a raw pointer but is not marked `unsafe` --> $DIR/functions.rs:57:31 | LL | println!("{:?}", unsafe { p.as_ref() }); | ^ error: this public function dereferences a raw pointer but is not marked `unsafe` --> $DIR/functions.rs:58:29 | LL | unsafe { std::ptr::read(p) }; | ^ error: this public function dereferences a raw pointer but is not marked `unsafe` --> $DIR/functions.rs:67:34 | LL | println!("{}", unsafe { *p }); | ^ error: this public function dereferences a raw pointer but is not marked `unsafe` --> $DIR/functions.rs:68:35 | LL | println!("{:?}", unsafe { p.as_ref() }); | ^ error: this public function dereferences a raw pointer but is not marked `unsafe` --> $DIR/functions.rs:69:33 | LL | unsafe { std::ptr::read(p) }; | ^ error: aborting due to 12 previous errors diff of stderr: -error: this function has too many arguments (8/7) - --> $DIR/functions.rs:8:1 - | -LL | fn bad(_one: u32, _two: u32, _three: &str, _four: bool, _five: f32, _six: f32, _seven: bool, _eight: ()) {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::too-many-arguments` implied by `-D warnings` - -error: this function has too many arguments (8/7) - --> $DIR/functions.rs:25:5 - | -LL | fn bad(_one: u32, _two: u32, _three: &str, _four: bool, _five: f32, _six: f32, _seven: bool, _eight: ()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: this function has too many arguments (8/7) - --> $DIR/functions.rs:34:5 - | -LL | fn bad_method(_one: u32, _two: u32, _three: &str, _four: bool, _five: f32, _six: f32, _seven: bool, _eight: ()) {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: this public function dereferences a raw pointer but is not marked `unsafe` - --> $DIR/functions.rs:43:34 - | -LL | println!("{}", unsafe { *p }); - | ^ - | - = note: `-D clippy::not-unsafe-ptr-arg-deref` implied by `-D warnings` - -error: this public function dereferences a raw pointer but is not marked `unsafe` - --> $DIR/functions.rs:44:35 - | -LL | println!("{:?}", unsafe { p.as_ref() }); - | ^ - -error: this public function dereferences a raw pointer but is not marked `unsafe` - --> $DIR/functions.rs:45:33 - | -LL | unsafe { std::ptr::read(p) }; - | ^ - -error: this public function dereferences a raw pointer but is not marked `unsafe` - --> $DIR/functions.rs:56:30 - | -LL | println!("{}", unsafe { *p }); - | ^ - -error: this public function dereferences a raw pointer but is not marked `unsafe` - --> $DIR/functions.rs:57:31 - | -LL | println!("{:?}", unsafe { p.as_ref() }); - | ^ - -error: this public function dereferences a raw pointer but is not marked `unsafe` - --> $DIR/functions.rs:58:29 - | -LL | unsafe { std::ptr::read(p) }; - | ^ - -error: this public function dereferences a raw pointer but is not marked `unsafe` - --> $DIR/functions.rs:67:34 - | -LL | println!("{}", unsafe { *p }); - | ^ - -error: this public function dereferences a raw pointer but is not marked `unsafe` - --> $DIR/functions.rs:68:35 - | -LL | println!("{:?}", unsafe { p.as_ref() }); - | ^ - -error: this public function dereferences a raw pointer but is not marked `unsafe` - --> $DIR/functions.rs:69:33 - | -LL | unsafe { std::ptr::read(p) }; - | ^ - -error: aborting due to 12 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/functions.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'functions.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/functions.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/functions.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/functions.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/functions.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/get_unwrap.rs stdout ---- normalized stderr: expected stderr: error: called `.get().unwrap()` on a slice. Using `[]` is more clear and more concise --> $DIR/get_unwrap.rs:34:17 | LL | let _ = boxed_slice.get(1).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&boxed_slice[1]` | note: lint level defined here --> $DIR/get_unwrap.rs:3:9 | LL | #![deny(clippy::get_unwrap)] | ^^^^^^^^^^^^^^^^^^ error: called `.get().unwrap()` on a slice. Using `[]` is more clear and more concise --> $DIR/get_unwrap.rs:35:17 | LL | let _ = some_slice.get(0).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&some_slice[0]` error: called `.get().unwrap()` on a Vec. Using `[]` is more clear and more concise --> $DIR/get_unwrap.rs:36:17 | LL | let _ = some_vec.get(0).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&some_vec[0]` error: called `.get().unwrap()` on a VecDeque. Using `[]` is more clear and more concise --> $DIR/get_unwrap.rs:37:17 | LL | let _ = some_vecdeque.get(0).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&some_vecdeque[0]` error: called `.get().unwrap()` on a HashMap. Using `[]` is more clear and more concise --> $DIR/get_unwrap.rs:38:17 | LL | let _ = some_hashmap.get(&1).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&some_hashmap[&1]` error: called `.get().unwrap()` on a BTreeMap. Using `[]` is more clear and more concise --> $DIR/get_unwrap.rs:39:17 | LL | let _ = some_btreemap.get(&1).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&some_btreemap[&1]` error: called `.get().unwrap()` on a slice. Using `[]` is more clear and more concise --> $DIR/get_unwrap.rs:42:21 | LL | let _: u8 = *boxed_slice.get(1).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `boxed_slice[1]` error: called `.get_mut().unwrap()` on a slice. Using `[]` is more clear and more concise --> $DIR/get_unwrap.rs:47:9 | LL | *boxed_slice.get_mut(0).unwrap() = 1; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `boxed_slice[0]` error: called `.get_mut().unwrap()` on a slice. Using `[]` is more clear and more concise --> $DIR/get_unwrap.rs:48:9 | LL | *some_slice.get_mut(0).unwrap() = 1; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `some_slice[0]` error: called `.get_mut().unwrap()` on a Vec. Using `[]` is more clear and more concise --> $DIR/get_unwrap.rs:49:9 | LL | *some_vec.get_mut(0).unwrap() = 1; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `some_vec[0]` error: called `.get_mut().unwrap()` on a VecDeque. Using `[]` is more clear and more concise --> $DIR/get_unwrap.rs:50:9 | LL | *some_vecdeque.get_mut(0).unwrap() = 1; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `some_vecdeque[0]` error: called `.get().unwrap()` on a Vec. Using `[]` is more clear and more concise --> $DIR/get_unwrap.rs:59:17 | LL | let _ = some_vec.get(0..1).unwrap().to_vec(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `some_vec[0..1]` error: called `.get_mut().unwrap()` on a Vec. Using `[]` is more clear and more concise --> $DIR/get_unwrap.rs:60:17 | LL | let _ = some_vec.get_mut(0..1).unwrap().to_vec(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `some_vec[0..1]` error: aborting due to 13 previous errors diff of stderr: -error: called `.get().unwrap()` on a slice. Using `[]` is more clear and more concise - --> $DIR/get_unwrap.rs:34:17 - | -LL | let _ = boxed_slice.get(1).unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&boxed_slice[1]` - | -note: lint level defined here - --> $DIR/get_unwrap.rs:3:9 - | -LL | #![deny(clippy::get_unwrap)] - | ^^^^^^^^^^^^^^^^^^ - -error: called `.get().unwrap()` on a slice. Using `[]` is more clear and more concise - --> $DIR/get_unwrap.rs:35:17 - | -LL | let _ = some_slice.get(0).unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&some_slice[0]` - -error: called `.get().unwrap()` on a Vec. Using `[]` is more clear and more concise - --> $DIR/get_unwrap.rs:36:17 - | -LL | let _ = some_vec.get(0).unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&some_vec[0]` - -error: called `.get().unwrap()` on a VecDeque. Using `[]` is more clear and more concise - --> $DIR/get_unwrap.rs:37:17 - | -LL | let _ = some_vecdeque.get(0).unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&some_vecdeque[0]` - -error: called `.get().unwrap()` on a HashMap. Using `[]` is more clear and more concise - --> $DIR/get_unwrap.rs:38:17 - | -LL | let _ = some_hashmap.get(&1).unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&some_hashmap[&1]` - -error: called `.get().unwrap()` on a BTreeMap. Using `[]` is more clear and more concise - --> $DIR/get_unwrap.rs:39:17 - | -LL | let _ = some_btreemap.get(&1).unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&some_btreemap[&1]` - -error: called `.get().unwrap()` on a slice. Using `[]` is more clear and more concise - --> $DIR/get_unwrap.rs:42:21 - | -LL | let _: u8 = *boxed_slice.get(1).unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `boxed_slice[1]` - -error: called `.get_mut().unwrap()` on a slice. Using `[]` is more clear and more concise - --> $DIR/get_unwrap.rs:47:9 - | -LL | *boxed_slice.get_mut(0).unwrap() = 1; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `boxed_slice[0]` - -error: called `.get_mut().unwrap()` on a slice. Using `[]` is more clear and more concise - --> $DIR/get_unwrap.rs:48:9 - | -LL | *some_slice.get_mut(0).unwrap() = 1; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `some_slice[0]` - -error: called `.get_mut().unwrap()` on a Vec. Using `[]` is more clear and more concise - --> $DIR/get_unwrap.rs:49:9 - | -LL | *some_vec.get_mut(0).unwrap() = 1; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `some_vec[0]` - -error: called `.get_mut().unwrap()` on a VecDeque. Using `[]` is more clear and more concise - --> $DIR/get_unwrap.rs:50:9 - | -LL | *some_vecdeque.get_mut(0).unwrap() = 1; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `some_vecdeque[0]` - -error: called `.get().unwrap()` on a Vec. Using `[]` is more clear and more concise - --> $DIR/get_unwrap.rs:59:17 - | -LL | let _ = some_vec.get(0..1).unwrap().to_vec(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `some_vec[0..1]` - -error: called `.get_mut().unwrap()` on a Vec. Using `[]` is more clear and more concise - --> $DIR/get_unwrap.rs:60:17 - | -LL | let _ = some_vec.get_mut(0..1).unwrap().to_vec(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `some_vec[0..1]` - -error: aborting due to 13 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/get_unwrap.stderr normalized fixed: // run-rustfix #![allow(unused_mut)] #![deny(clippy::get_unwrap)] use std::collections::BTreeMap; use std::collections::HashMap; use std::collections::VecDeque; use std::iter::FromIterator; struct GetFalsePositive { arr: [u32; 3], } impl GetFalsePositive { fn get(&self, pos: usize) -> Option<&u32> { self.arr.get(pos) } fn get_mut(&mut self, pos: usize) -> Option<&mut u32> { self.arr.get_mut(pos) } } fn main() { let mut boxed_slice: Box<[u8]> = Box::new([0, 1, 2, 3]); let mut some_slice = &mut [0, 1, 2, 3]; let mut some_vec = vec![0, 1, 2, 3]; let mut some_vecdeque: VecDeque<_> = some_vec.iter().cloned().collect(); let mut some_hashmap: HashMap = HashMap::from_iter(vec![(1, 'a'), (2, 'b')]); let mut some_btreemap: BTreeMap = BTreeMap::from_iter(vec![(1, 'a'), (2, 'b')]); let mut false_positive = GetFalsePositive { arr: [0, 1, 2] }; { // Test `get().unwrap()` let _ = boxed_slice.get(1).unwrap(); let _ = some_slice.get(0).unwrap(); let _ = some_vec.get(0).unwrap(); let _ = some_vecdeque.get(0).unwrap(); let _ = some_hashmap.get(&1).unwrap(); let _ = some_btreemap.get(&1).unwrap(); let _ = false_positive.get(0).unwrap(); // Test with deref let _: u8 = *boxed_slice.get(1).unwrap(); } { // Test `get_mut().unwrap()` *boxed_slice.get_mut(0).unwrap() = 1; *some_slice.get_mut(0).unwrap() = 1; *some_vec.get_mut(0).unwrap() = 1; *some_vecdeque.get_mut(0).unwrap() = 1; // Check false positives *some_hashmap.get_mut(&1).unwrap() = 'b'; *some_btreemap.get_mut(&1).unwrap() = 'b'; *false_positive.get_mut(0).unwrap() = 1; } { // Test `get().unwrap().foo()` and `get_mut().unwrap().bar()` let _ = some_vec.get(0..1).unwrap().to_vec(); let _ = some_vec.get_mut(0..1).unwrap().to_vec(); } } expected fixed: // run-rustfix #![allow(unused_mut)] #![deny(clippy::get_unwrap)] use std::collections::BTreeMap; use std::collections::HashMap; use std::collections::VecDeque; use std::iter::FromIterator; struct GetFalsePositive { arr: [u32; 3], } impl GetFalsePositive { fn get(&self, pos: usize) -> Option<&u32> { self.arr.get(pos) } fn get_mut(&mut self, pos: usize) -> Option<&mut u32> { self.arr.get_mut(pos) } } fn main() { let mut boxed_slice: Box<[u8]> = Box::new([0, 1, 2, 3]); let mut some_slice = &mut [0, 1, 2, 3]; let mut some_vec = vec![0, 1, 2, 3]; let mut some_vecdeque: VecDeque<_> = some_vec.iter().cloned().collect(); let mut some_hashmap: HashMap = HashMap::from_iter(vec![(1, 'a'), (2, 'b')]); let mut some_btreemap: BTreeMap = BTreeMap::from_iter(vec![(1, 'a'), (2, 'b')]); let mut false_positive = GetFalsePositive { arr: [0, 1, 2] }; { // Test `get().unwrap()` let _ = &boxed_slice[1]; let _ = &some_slice[0]; let _ = &some_vec[0]; let _ = &some_vecdeque[0]; let _ = &some_hashmap[&1]; let _ = &some_btreemap[&1]; let _ = false_positive.get(0).unwrap(); // Test with deref let _: u8 = boxed_slice[1]; } { // Test `get_mut().unwrap()` boxed_slice[0] = 1; some_slice[0] = 1; some_vec[0] = 1; some_vecdeque[0] = 1; // Check false positives *some_hashmap.get_mut(&1).unwrap() = 'b'; *some_btreemap.get_mut(&1).unwrap() = 'b'; *false_positive.get_mut(0).unwrap() = 1; } { // Test `get().unwrap().foo()` and `get_mut().unwrap().bar()` let _ = some_vec[0..1].to_vec(); let _ = some_vec[0..1].to_vec(); } } diff of fixed: // run-rustfix #![allow(unused_mut)] #![deny(clippy::get_unwrap)] use std::collections::BTreeMap; use std::collections::HashMap; use std::collections::VecDeque; use std::iter::FromIterator; struct GetFalsePositive { arr: [u32; 3], } impl GetFalsePositive { fn get(&self, pos: usize) -> Option<&u32> { self.arr.get(pos) } fn get_mut(&mut self, pos: usize) -> Option<&mut u32> { self.arr.get_mut(pos) } } fn main() { let mut boxed_slice: Box<[u8]> = Box::new([0, 1, 2, 3]); let mut some_slice = &mut [0, 1, 2, 3]; let mut some_vec = vec![0, 1, 2, 3]; let mut some_vecdeque: VecDeque<_> = some_vec.iter().cloned().collect(); let mut some_hashmap: HashMap = HashMap::from_iter(vec![(1, 'a'), (2, 'b')]); let mut some_btreemap: BTreeMap = BTreeMap::from_iter(vec![(1, 'a'), (2, 'b')]); let mut false_positive = GetFalsePositive { arr: [0, 1, 2] }; { // Test `get().unwrap()` - let _ = &boxed_slice[1]; - let _ = &some_slice[0]; - let _ = &some_vec[0]; - let _ = &some_vecdeque[0]; - let _ = &some_hashmap[&1]; - let _ = &some_btreemap[&1]; + let _ = boxed_slice.get(1).unwrap(); + let _ = some_slice.get(0).unwrap(); + let _ = some_vec.get(0).unwrap(); + let _ = some_vecdeque.get(0).unwrap(); + let _ = some_hashmap.get(&1).unwrap(); + let _ = some_btreemap.get(&1).unwrap(); let _ = false_positive.get(0).unwrap(); // Test with deref - let _: u8 = boxed_slice[1]; + let _: u8 = *boxed_slice.get(1).unwrap(); } { // Test `get_mut().unwrap()` - boxed_slice[0] = 1; - some_slice[0] = 1; - some_vec[0] = 1; - some_vecdeque[0] = 1; + *boxed_slice.get_mut(0).unwrap() = 1; + *some_slice.get_mut(0).unwrap() = 1; + *some_vec.get_mut(0).unwrap() = 1; + *some_vecdeque.get_mut(0).unwrap() = 1; // Check false positives *some_hashmap.get_mut(&1).unwrap() = 'b'; *some_btreemap.get_mut(&1).unwrap() = 'b'; *false_positive.get_mut(0).unwrap() = 1; } { // Test `get().unwrap().foo()` and `get_mut().unwrap().bar()` - let _ = some_vec[0..1].to_vec(); - let _ = some_vec[0..1].to_vec(); + let _ = some_vec.get(0..1).unwrap().to_vec(); + let _ = some_vec.get_mut(0..1).unwrap().to_vec(); } } The actual fixed differed from the expected fixed. Actual fixed saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/get_unwrap.fixed To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'get_unwrap.rs' error: 2 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/get_unwrap.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/get_unwrap.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/get_unwrap.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/get_unwrap.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/if_not_else.rs stdout ---- normalized stderr: expected stderr: error: Unnecessary boolean `not` operation --> $DIR/if_not_else.rs:9:5 | LL | / if !bla() { LL | | println!("Bugs"); LL | | } else { LL | | println!("Bunny"); LL | | } | |_____^ | = note: `-D clippy::if-not-else` implied by `-D warnings` = help: remove the `!` and swap the blocks of the if/else error: Unnecessary `!=` operation --> $DIR/if_not_else.rs:14:5 | LL | / if 4 != 5 { LL | | println!("Bugs"); LL | | } else { LL | | println!("Bunny"); LL | | } | |_____^ | = help: change to `==` and swap the blocks of the if/else error: aborting due to 2 previous errors diff of stderr: -error: Unnecessary boolean `not` operation - --> $DIR/if_not_else.rs:9:5 - | -LL | / if !bla() { -LL | | println!("Bugs"); -LL | | } else { -LL | | println!("Bunny"); -LL | | } - | |_____^ - | - = note: `-D clippy::if-not-else` implied by `-D warnings` - = help: remove the `!` and swap the blocks of the if/else - -error: Unnecessary `!=` operation - --> $DIR/if_not_else.rs:14:5 - | -LL | / if 4 != 5 { -LL | | println!("Bugs"); -LL | | } else { -LL | | println!("Bunny"); -LL | | } - | |_____^ - | - = help: change to `==` and swap the blocks of the if/else - -error: aborting due to 2 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/if_not_else.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'if_not_else.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/if_not_else.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/if_not_else.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/if_not_else.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/if_not_else.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/if_same_then_else.rs stdout ---- normalized stderr: expected stderr: error: this `if` has identical blocks --> $DIR/if_same_then_else.rs:31:12 | LL | } else { | ____________^ LL | | //~ ERROR same body as `if` block LL | | Foo { bar: 42 }; LL | | 0..10; ... | LL | | foo(); LL | | } | |_____^ | = note: `-D clippy::if-same-then-else` implied by `-D warnings` note: same as this --> $DIR/if_same_then_else.rs:23:13 | LL | if true { | _____________^ LL | | Foo { bar: 42 }; LL | | 0..10; LL | | ..; ... | LL | | foo(); LL | | } else { | |_____^ error: this `if` has identical blocks --> $DIR/if_same_then_else.rs:69:12 | LL | } else { | ____________^ LL | | //~ ERROR same body as `if` block LL | | 0.0 LL | | }; | |_____^ | note: same as this --> $DIR/if_same_then_else.rs:67:21 | LL | let _ = if true { | _____________________^ LL | | 0.0 LL | | } else { | |_____^ error: this `if` has identical blocks --> $DIR/if_same_then_else.rs:76:12 | LL | } else { | ____________^ LL | | //~ ERROR same body as `if` block LL | | -0.0 LL | | }; | |_____^ | note: same as this --> $DIR/if_same_then_else.rs:74:21 | LL | let _ = if true { | _____________________^ LL | | -0.0 LL | | } else { | |_____^ error: this `if` has identical blocks --> $DIR/if_same_then_else.rs:92:12 | LL | } else { | ____________^ LL | | //~ ERROR same body as `if` block LL | | 42 LL | | }; | |_____^ | note: same as this --> $DIR/if_same_then_else.rs:90:21 | LL | let _ = if true { | _____________________^ LL | | 42 LL | | } else { | |_____^ error: this `if` has identical blocks --> $DIR/if_same_then_else.rs:106:12 | LL | } else { | ____________^ LL | | //~ ERROR same body as `if` block LL | | for _ in &[42] { LL | | let foo: &Option<_> = &Some::(42); ... | LL | | } LL | | } | |_____^ | note: same as this --> $DIR/if_same_then_else.rs:97:13 | LL | if true { | _____________^ LL | | for _ in &[42] { LL | | let foo: &Option<_> = &Some::(42); LL | | if true { ... | LL | | } LL | | } else { | |_____^ error: this `if` has identical blocks --> $DIR/if_same_then_else.rs:125:12 | LL | } else { | ____________^ LL | | //~ ERROR same body as `if` block LL | | let bar = if true { 42 } else { 43 }; LL | | ... | LL | | bar + 1; LL | | } | |_____^ | note: same as this --> $DIR/if_same_then_else.rs:118:13 | LL | if true { | _____________^ LL | | let bar = if true { 42 } else { 43 }; LL | | LL | | while foo() { ... | LL | | bar + 1; LL | | } else { | |_____^ error: this `if` has identical blocks --> $DIR/if_same_then_else.rs:155:12 | LL | } else { | ____________^ LL | | //~ ERROR same body as `if` block LL | | if let Some(a) = Some(42) {} LL | | } | |_____^ | note: same as this --> $DIR/if_same_then_else.rs:153:13 | LL | if true { | _____________^ LL | | if let Some(a) = Some(42) {} LL | | } else { | |_____^ error: this `if` has identical blocks --> $DIR/if_same_then_else.rs:162:12 | LL | } else { | ____________^ LL | | //~ ERROR same body as `if` block LL | | if let (1, .., 3) = (1, 2, 3) {} LL | | } | |_____^ | note: same as this --> $DIR/if_same_then_else.rs:160:13 | LL | if true { | _____________^ LL | | if let (1, .., 3) = (1, 2, 3) {} LL | | } else { | |_____^ error: this `if` has identical blocks --> $DIR/if_same_then_else.rs:212:12 | LL | } else { | ____________^ LL | | //~ ERROR same body as `if` block LL | | std::f32::NAN LL | | }; | |_____^ | note: same as this --> $DIR/if_same_then_else.rs:210:21 | LL | let _ = if true { | _____________________^ LL | | std::f32::NAN LL | | } else { | |_____^ error: this `if` has identical blocks --> $DIR/if_same_then_else.rs:219:12 | LL | } else { | ____________^ LL | | //~ ERROR same body as `if` block LL | | try!(Ok("foo")); LL | | } | |_____^ | note: same as this --> $DIR/if_same_then_else.rs:217:13 | LL | if true { | _____________^ LL | | try!(Ok("foo")); LL | | } else { | |_____^ error: aborting due to 10 previous errors diff of stderr: -error: this `if` has identical blocks - --> $DIR/if_same_then_else.rs:31:12 - | -LL | } else { - | ____________^ -LL | | //~ ERROR same body as `if` block -LL | | Foo { bar: 42 }; -LL | | 0..10; -... | -LL | | foo(); -LL | | } - | |_____^ - | - = note: `-D clippy::if-same-then-else` implied by `-D warnings` -note: same as this - --> $DIR/if_same_then_else.rs:23:13 - | -LL | if true { - | _____________^ -LL | | Foo { bar: 42 }; -LL | | 0..10; -LL | | ..; -... | -LL | | foo(); -LL | | } else { - | |_____^ - -error: this `if` has identical blocks - --> $DIR/if_same_then_else.rs:69:12 - | -LL | } else { - | ____________^ -LL | | //~ ERROR same body as `if` block -LL | | 0.0 -LL | | }; - | |_____^ - | -note: same as this - --> $DIR/if_same_then_else.rs:67:21 - | -LL | let _ = if true { - | _____________________^ -LL | | 0.0 -LL | | } else { - | |_____^ - -error: this `if` has identical blocks - --> $DIR/if_same_then_else.rs:76:12 - | -LL | } else { - | ____________^ -LL | | //~ ERROR same body as `if` block -LL | | -0.0 -LL | | }; - | |_____^ - | -note: same as this - --> $DIR/if_same_then_else.rs:74:21 - | -LL | let _ = if true { - | _____________________^ -LL | | -0.0 -LL | | } else { - | |_____^ - -error: this `if` has identical blocks - --> $DIR/if_same_then_else.rs:92:12 - | -LL | } else { - | ____________^ -LL | | //~ ERROR same body as `if` block -LL | | 42 -LL | | }; - | |_____^ - | -note: same as this - --> $DIR/if_same_then_else.rs:90:21 - | -LL | let _ = if true { - | _____________________^ -LL | | 42 -LL | | } else { - | |_____^ - -error: this `if` has identical blocks - --> $DIR/if_same_then_else.rs:106:12 - | -LL | } else { - | ____________^ -LL | | //~ ERROR same body as `if` block -LL | | for _ in &[42] { -LL | | let foo: &Option<_> = &Some::(42); -... | -LL | | } -LL | | } - | |_____^ - | -note: same as this - --> $DIR/if_same_then_else.rs:97:13 - | -LL | if true { - | _____________^ -LL | | for _ in &[42] { -LL | | let foo: &Option<_> = &Some::(42); -LL | | if true { -... | -LL | | } -LL | | } else { - | |_____^ - -error: this `if` has identical blocks - --> $DIR/if_same_then_else.rs:125:12 - | -LL | } else { - | ____________^ -LL | | //~ ERROR same body as `if` block -LL | | let bar = if true { 42 } else { 43 }; -LL | | -... | -LL | | bar + 1; -LL | | } - | |_____^ - | -note: same as this - --> $DIR/if_same_then_else.rs:118:13 - | -LL | if true { - | _____________^ -LL | | let bar = if true { 42 } else { 43 }; -LL | | -LL | | while foo() { -... | -LL | | bar + 1; -LL | | } else { - | |_____^ - -error: this `if` has identical blocks - --> $DIR/if_same_then_else.rs:155:12 - | -LL | } else { - | ____________^ -LL | | //~ ERROR same body as `if` block -LL | | if let Some(a) = Some(42) {} -LL | | } - | |_____^ - | -note: same as this - --> $DIR/if_same_then_else.rs:153:13 - | -LL | if true { - | _____________^ -LL | | if let Some(a) = Some(42) {} -LL | | } else { - | |_____^ - -error: this `if` has identical blocks - --> $DIR/if_same_then_else.rs:162:12 - | -LL | } else { - | ____________^ -LL | | //~ ERROR same body as `if` block -LL | | if let (1, .., 3) = (1, 2, 3) {} -LL | | } - | |_____^ - | -note: same as this - --> $DIR/if_same_then_else.rs:160:13 - | -LL | if true { - | _____________^ -LL | | if let (1, .., 3) = (1, 2, 3) {} -LL | | } else { - | |_____^ - -error: this `if` has identical blocks - --> $DIR/if_same_then_else.rs:212:12 - | -LL | } else { - | ____________^ -LL | | //~ ERROR same body as `if` block -LL | | std::f32::NAN -LL | | }; - | |_____^ - | -note: same as this - --> $DIR/if_same_then_else.rs:210:21 - | -LL | let _ = if true { - | _____________________^ -LL | | std::f32::NAN -LL | | } else { - | |_____^ - -error: this `if` has identical blocks - --> $DIR/if_same_then_else.rs:219:12 - | -LL | } else { - | ____________^ -LL | | //~ ERROR same body as `if` block -LL | | try!(Ok("foo")); -LL | | } - | |_____^ - | -note: same as this - --> $DIR/if_same_then_else.rs:217:13 - | -LL | if true { - | _____________^ -LL | | try!(Ok("foo")); -LL | | } else { - | |_____^ - -error: aborting due to 10 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/if_same_then_else.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'if_same_then_else.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/if_same_then_else.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/if_same_then_else.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/if_same_then_else.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/if_same_then_else.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/ifs_same_cond.rs stdout ---- normalized stderr: expected stderr: error: this `if` has the same condition as a previous if --> $DIR/ifs_same_cond.rs:9:15 | LL | } else if b { | ^ | = note: `-D clippy::ifs-same-cond` implied by `-D warnings` note: same as this --> $DIR/ifs_same_cond.rs:8:8 | LL | if b { | ^ error: this `if` has the same condition as a previous if --> $DIR/ifs_same_cond.rs:14:15 | LL | } else if a == 1 { | ^^^^^^ | note: same as this --> $DIR/ifs_same_cond.rs:13:8 | LL | if a == 1 { | ^^^^^^ error: this `if` has the same condition as a previous if --> $DIR/ifs_same_cond.rs:20:15 | LL | } else if 2 * a == 1 { | ^^^^^^^^^^ | note: same as this --> $DIR/ifs_same_cond.rs:18:8 | LL | if 2 * a == 1 { | ^^^^^^^^^^ error: aborting due to 3 previous errors diff of stderr: -error: this `if` has the same condition as a previous if - --> $DIR/ifs_same_cond.rs:9:15 - | -LL | } else if b { - | ^ - | - = note: `-D clippy::ifs-same-cond` implied by `-D warnings` -note: same as this - --> $DIR/ifs_same_cond.rs:8:8 - | -LL | if b { - | ^ - -error: this `if` has the same condition as a previous if - --> $DIR/ifs_same_cond.rs:14:15 - | -LL | } else if a == 1 { - | ^^^^^^ - | -note: same as this - --> $DIR/ifs_same_cond.rs:13:8 - | -LL | if a == 1 { - | ^^^^^^ - -error: this `if` has the same condition as a previous if - --> $DIR/ifs_same_cond.rs:20:15 - | -LL | } else if 2 * a == 1 { - | ^^^^^^^^^^ - | -note: same as this - --> $DIR/ifs_same_cond.rs:18:8 - | -LL | if 2 * a == 1 { - | ^^^^^^^^^^ - -error: aborting due to 3 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/ifs_same_cond.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'ifs_same_cond.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/ifs_same_cond.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/ifs_same_cond.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/ifs_same_cond.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/ifs_same_cond.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/implicit_hasher.rs stdout ---- normalized stderr: expected stderr: error: impl for `HashMap` should be generalized over different hashers --> $DIR/implicit_hasher.rs:11:35 | LL | impl Foo for HashMap { | ^^^^^^^^^^^^^ | = note: `-D clippy::implicit-hasher` implied by `-D warnings` help: consider adding a type parameter | LL | impl Foo for HashMap { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ help: ...and use generic constructor | LL | (HashMap::default(), HashMap::with_capacity_and_hasher(10, Default::default())) | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: impl for `HashMap` should be generalized over different hashers --> $DIR/implicit_hasher.rs:20:36 | LL | impl Foo for (HashMap,) { | ^^^^^^^^^^^^^ help: consider adding a type parameter | LL | impl Foo for (HashMap,) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ help: ...and use generic constructor | LL | ((HashMap::default(),), (HashMap::with_capacity_and_hasher(10, Default::default()),)) | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: impl for `HashMap` should be generalized over different hashers --> $DIR/implicit_hasher.rs:25:19 | LL | impl Foo for HashMap { | ^^^^^^^^^^^^^^^^^^^^^^^ help: consider adding a type parameter | LL | impl Foo for HashMap { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: ...and use generic constructor | LL | (HashMap::default(), HashMap::with_capacity_and_hasher(10, Default::default())) | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: impl for `HashSet` should be generalized over different hashers --> $DIR/implicit_hasher.rs:42:32 | LL | impl Foo for HashSet { | ^^^^^^^^^^ help: consider adding a type parameter | LL | impl Foo for HashSet { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ help: ...and use generic constructor | LL | (HashSet::default(), HashSet::with_capacity_and_hasher(10, Default::default())) | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: impl for `HashSet` should be generalized over different hashers --> $DIR/implicit_hasher.rs:47:19 | LL | impl Foo for HashSet { | ^^^^^^^^^^^^^^^ help: consider adding a type parameter | LL | impl Foo for HashSet { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ help: ...and use generic constructor | LL | (HashSet::default(), HashSet::with_capacity_and_hasher(10, Default::default())) | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: parameter of type `HashMap` should be generalized over different hashers --> $DIR/implicit_hasher.rs:64:23 | LL | pub fn foo(_map: &mut HashMap, _set: &mut HashSet) {} | ^^^^^^^^^^^^^^^^^ help: consider adding a type parameter | LL | pub fn foo(_map: &mut HashMap, _set: &mut HashSet) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ error: parameter of type `HashSet` should be generalized over different hashers --> $DIR/implicit_hasher.rs:64:53 | LL | pub fn foo(_map: &mut HashMap, _set: &mut HashSet) {} | ^^^^^^^^^^^^ help: consider adding a type parameter | LL | pub fn foo(_map: &mut HashMap, _set: &mut HashSet) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ error: impl for `HashMap` should be generalized over different hashers --> $DIR/implicit_hasher.rs:68:43 | LL | impl Foo for HashMap { | ^^^^^^^^^^^^^ ... LL | gen!(impl); | ----------- in this macro invocation help: consider adding a type parameter | LL | impl Foo for HashMap { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ help: ...and use generic constructor | LL | (HashMap::default(), HashMap::with_capacity_and_hasher(10, Default::default())) | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: parameter of type `HashMap` should be generalized over different hashers --> $DIR/implicit_hasher.rs:76:33 | LL | pub fn $name(_map: &mut HashMap, _set: &mut HashSet) {} | ^^^^^^^^^^^^^^^^^ ... LL | gen!(fn bar); | ------------- in this macro invocation help: consider adding a type parameter | LL | pub fn $name(_map: &mut HashMap, _set: &mut HashSet) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ error: parameter of type `HashSet` should be generalized over different hashers --> $DIR/implicit_hasher.rs:76:63 | LL | pub fn $name(_map: &mut HashMap, _set: &mut HashSet) {} | ^^^^^^^^^^^^ ... LL | gen!(fn bar); | ------------- in this macro invocation help: consider adding a type parameter | LL | pub fn $name(_map: &mut HashMap, _set: &mut HashSet) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ error: aborting due to 10 previous errors diff of stderr: -error: impl for `HashMap` should be generalized over different hashers - --> $DIR/implicit_hasher.rs:11:35 - | -LL | impl Foo for HashMap { - | ^^^^^^^^^^^^^ - | - = note: `-D clippy::implicit-hasher` implied by `-D warnings` -help: consider adding a type parameter - | -LL | impl Foo for HashMap { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ -help: ...and use generic constructor - | -LL | (HashMap::default(), HashMap::with_capacity_and_hasher(10, Default::default())) - | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: impl for `HashMap` should be generalized over different hashers - --> $DIR/implicit_hasher.rs:20:36 - | -LL | impl Foo for (HashMap,) { - | ^^^^^^^^^^^^^ -help: consider adding a type parameter - | -LL | impl Foo for (HashMap,) { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ -help: ...and use generic constructor - | -LL | ((HashMap::default(),), (HashMap::with_capacity_and_hasher(10, Default::default()),)) - | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: impl for `HashMap` should be generalized over different hashers - --> $DIR/implicit_hasher.rs:25:19 - | -LL | impl Foo for HashMap { - | ^^^^^^^^^^^^^^^^^^^^^^^ -help: consider adding a type parameter - | -LL | impl Foo for HashMap { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ -help: ...and use generic constructor - | -LL | (HashMap::default(), HashMap::with_capacity_and_hasher(10, Default::default())) - | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: impl for `HashSet` should be generalized over different hashers - --> $DIR/implicit_hasher.rs:42:32 - | -LL | impl Foo for HashSet { - | ^^^^^^^^^^ -help: consider adding a type parameter - | -LL | impl Foo for HashSet { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ -help: ...and use generic constructor - | -LL | (HashSet::default(), HashSet::with_capacity_and_hasher(10, Default::default())) - | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: impl for `HashSet` should be generalized over different hashers - --> $DIR/implicit_hasher.rs:47:19 - | -LL | impl Foo for HashSet { - | ^^^^^^^^^^^^^^^ -help: consider adding a type parameter - | -LL | impl Foo for HashSet { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ -help: ...and use generic constructor - | -LL | (HashSet::default(), HashSet::with_capacity_and_hasher(10, Default::default())) - | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: parameter of type `HashMap` should be generalized over different hashers - --> $DIR/implicit_hasher.rs:64:23 - | -LL | pub fn foo(_map: &mut HashMap, _set: &mut HashSet) {} - | ^^^^^^^^^^^^^^^^^ -help: consider adding a type parameter - | -LL | pub fn foo(_map: &mut HashMap, _set: &mut HashSet) {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ - -error: parameter of type `HashSet` should be generalized over different hashers - --> $DIR/implicit_hasher.rs:64:53 - | -LL | pub fn foo(_map: &mut HashMap, _set: &mut HashSet) {} - | ^^^^^^^^^^^^ -help: consider adding a type parameter - | -LL | pub fn foo(_map: &mut HashMap, _set: &mut HashSet) {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ - -error: impl for `HashMap` should be generalized over different hashers - --> $DIR/implicit_hasher.rs:68:43 - | -LL | impl Foo for HashMap { - | ^^^^^^^^^^^^^ -... -LL | gen!(impl); - | ----------- in this macro invocation -help: consider adding a type parameter - | -LL | impl Foo for HashMap { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ -help: ...and use generic constructor - | -LL | (HashMap::default(), HashMap::with_capacity_and_hasher(10, Default::default())) - | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: parameter of type `HashMap` should be generalized over different hashers - --> $DIR/implicit_hasher.rs:76:33 - | -LL | pub fn $name(_map: &mut HashMap, _set: &mut HashSet) {} - | ^^^^^^^^^^^^^^^^^ -... -LL | gen!(fn bar); - | ------------- in this macro invocation -help: consider adding a type parameter - | -LL | pub fn $name(_map: &mut HashMap, _set: &mut HashSet) {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ - -error: parameter of type `HashSet` should be generalized over different hashers - --> $DIR/implicit_hasher.rs:76:63 - | -LL | pub fn $name(_map: &mut HashMap, _set: &mut HashSet) {} - | ^^^^^^^^^^^^ -... -LL | gen!(fn bar); - | ------------- in this macro invocation -help: consider adding a type parameter - | -LL | pub fn $name(_map: &mut HashMap, _set: &mut HashSet) {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ - -error: aborting due to 10 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/implicit_hasher.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'implicit_hasher.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/implicit_hasher.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/implicit_hasher.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/implicit_hasher.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/implicit_hasher.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/implicit_return.rs stdout ---- normalized stderr: expected stderr: error: missing return statement --> $DIR/implicit_return.rs:8:5 | LL | true | ^^^^ help: add `return` as shown: `return true` | = note: `-D clippy::implicit-return` implied by `-D warnings` error: missing return statement --> $DIR/implicit_return.rs:14:9 | LL | true | ^^^^ help: add `return` as shown: `return true` error: missing return statement --> $DIR/implicit_return.rs:16:9 | LL | false | ^^^^^ help: add `return` as shown: `return false` error: missing return statement --> $DIR/implicit_return.rs:24:17 | LL | true => false, | ^^^^^ help: add `return` as shown: `return false` error: missing return statement --> $DIR/implicit_return.rs:25:20 | LL | false => { true }, | ^^^^ help: add `return` as shown: `return true` error: missing return statement --> $DIR/implicit_return.rs:40:9 | LL | break true; | ^^^^^^^^^^ help: change `break` to `return` as shown: `return true` error: missing return statement --> $DIR/implicit_return.rs:48:13 | LL | break true; | ^^^^^^^^^^ help: change `break` to `return` as shown: `return true` error: missing return statement --> $DIR/implicit_return.rs:57:13 | LL | break true; | ^^^^^^^^^^ help: change `break` to `return` as shown: `return true` error: missing return statement --> $DIR/implicit_return.rs:75:18 | LL | let _ = || { true }; | ^^^^ help: add `return` as shown: `return true` error: missing return statement --> $DIR/implicit_return.rs:76:16 | LL | let _ = || true; | ^^^^ help: add `return` as shown: `return true` error: aborting due to 10 previous errors diff of stderr: -error: missing return statement - --> $DIR/implicit_return.rs:8:5 - | -LL | true - | ^^^^ help: add `return` as shown: `return true` - | - = note: `-D clippy::implicit-return` implied by `-D warnings` - -error: missing return statement - --> $DIR/implicit_return.rs:14:9 - | -LL | true - | ^^^^ help: add `return` as shown: `return true` - -error: missing return statement - --> $DIR/implicit_return.rs:16:9 - | -LL | false - | ^^^^^ help: add `return` as shown: `return false` - -error: missing return statement - --> $DIR/implicit_return.rs:24:17 - | -LL | true => false, - | ^^^^^ help: add `return` as shown: `return false` - -error: missing return statement - --> $DIR/implicit_return.rs:25:20 - | -LL | false => { true }, - | ^^^^ help: add `return` as shown: `return true` - -error: missing return statement - --> $DIR/implicit_return.rs:40:9 - | -LL | break true; - | ^^^^^^^^^^ help: change `break` to `return` as shown: `return true` - -error: missing return statement - --> $DIR/implicit_return.rs:48:13 - | -LL | break true; - | ^^^^^^^^^^ help: change `break` to `return` as shown: `return true` - -error: missing return statement - --> $DIR/implicit_return.rs:57:13 - | -LL | break true; - | ^^^^^^^^^^ help: change `break` to `return` as shown: `return true` - -error: missing return statement - --> $DIR/implicit_return.rs:75:18 - | -LL | let _ = || { true }; - | ^^^^ help: add `return` as shown: `return true` - -error: missing return statement - --> $DIR/implicit_return.rs:76:16 - | -LL | let _ = || true; - | ^^^^ help: add `return` as shown: `return true` - -error: aborting due to 10 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/implicit_return.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'implicit_return.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/implicit_return.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/implicit_return.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/implicit_return.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/implicit_return.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/infinite_iter.rs stdout ---- normalized stderr: expected stderr: error: you are collect()ing an iterator and throwing away the result. Consider using an explicit for loop to exhaust the iterator --> $DIR/infinite_iter.rs:10:5 | LL | repeat(0_u8).collect::>(); // infinite iter | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::unused-collect` implied by `-D warnings` error: infinite iteration detected --> $DIR/infinite_iter.rs:10:5 | LL | repeat(0_u8).collect::>(); // infinite iter | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: lint level defined here --> $DIR/infinite_iter.rs:8:8 | LL | #[deny(clippy::infinite_iter)] | ^^^^^^^^^^^^^^^^^^^^^ error: infinite iteration detected --> $DIR/infinite_iter.rs:11:5 | LL | (0..8_u32).take_while(square_is_lower_64).cycle().count(); // infinite iter | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: infinite iteration detected --> $DIR/infinite_iter.rs:12:5 | LL | (0..8_u64).chain(0..).max(); // infinite iter | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: infinite iteration detected --> $DIR/infinite_iter.rs:17:5 | LL | / (0..8_u32) LL | | .rev() LL | | .cycle() LL | | .map(|x| x + 1_u32) LL | | .for_each(|x| println!("{}", x)); // infinite iter | |________________________________________^ error: infinite iteration detected --> $DIR/infinite_iter.rs:23:5 | LL | (0_usize..).flat_map(|x| 0..x).product::(); // infinite iter | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: infinite iteration detected --> $DIR/infinite_iter.rs:24:5 | LL | (0_u64..).filter(|x| x % 2 == 0).last(); // infinite iter | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: possible infinite iteration detected --> $DIR/infinite_iter.rs:31:5 | LL | (0..).zip((0..).take_while(square_is_lower_64)).count(); // maybe infinite iter | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: lint level defined here --> $DIR/infinite_iter.rs:29:8 | LL | #[deny(clippy::maybe_infinite_iter)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: possible infinite iteration detected --> $DIR/infinite_iter.rs:32:5 | LL | repeat(42).take_while(|x| *x == 42).chain(0..42).max(); // maybe infinite iter | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: possible infinite iteration detected --> $DIR/infinite_iter.rs:33:5 | LL | / (1..) LL | | .scan(0, |state, x| { LL | | *state += x; LL | | Some(*state) LL | | }) LL | | .min(); // maybe infinite iter | |______________^ error: possible infinite iteration detected --> $DIR/infinite_iter.rs:39:5 | LL | (0..).find(|x| *x == 24); // maybe infinite iter | ^^^^^^^^^^^^^^^^^^^^^^^^ error: possible infinite iteration detected --> $DIR/infinite_iter.rs:40:5 | LL | (0..).position(|x| x == 24); // maybe infinite iter | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: possible infinite iteration detected --> $DIR/infinite_iter.rs:41:5 | LL | (0..).any(|x| x == 24); // maybe infinite iter | ^^^^^^^^^^^^^^^^^^^^^^ error: possible infinite iteration detected --> $DIR/infinite_iter.rs:42:5 | LL | (0..).all(|x| x == 24); // maybe infinite iter | ^^^^^^^^^^^^^^^^^^^^^^ error: infinite iteration detected --> $DIR/infinite_iter.rs:65:31 | LL | let _: HashSet = (0..).collect(); // Infinite iter | ^^^^^^^^^^^^^^^ | = note: #[deny(clippy::infinite_iter)] on by default error: aborting due to 15 previous errors diff of stderr: -error: you are collect()ing an iterator and throwing away the result. Consider using an explicit for loop to exhaust the iterator - --> $DIR/infinite_iter.rs:10:5 - | -LL | repeat(0_u8).collect::>(); // infinite iter - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::unused-collect` implied by `-D warnings` - -error: infinite iteration detected - --> $DIR/infinite_iter.rs:10:5 - | -LL | repeat(0_u8).collect::>(); // infinite iter - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | -note: lint level defined here - --> $DIR/infinite_iter.rs:8:8 - | -LL | #[deny(clippy::infinite_iter)] - | ^^^^^^^^^^^^^^^^^^^^^ - -error: infinite iteration detected - --> $DIR/infinite_iter.rs:11:5 - | -LL | (0..8_u32).take_while(square_is_lower_64).cycle().count(); // infinite iter - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: infinite iteration detected - --> $DIR/infinite_iter.rs:12:5 - | -LL | (0..8_u64).chain(0..).max(); // infinite iter - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: infinite iteration detected - --> $DIR/infinite_iter.rs:17:5 - | -LL | / (0..8_u32) -LL | | .rev() -LL | | .cycle() -LL | | .map(|x| x + 1_u32) -LL | | .for_each(|x| println!("{}", x)); // infinite iter - | |________________________________________^ - -error: infinite iteration detected - --> $DIR/infinite_iter.rs:23:5 - | -LL | (0_usize..).flat_map(|x| 0..x).product::(); // infinite iter - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: infinite iteration detected - --> $DIR/infinite_iter.rs:24:5 - | -LL | (0_u64..).filter(|x| x % 2 == 0).last(); // infinite iter - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: possible infinite iteration detected - --> $DIR/infinite_iter.rs:31:5 - | -LL | (0..).zip((0..).take_while(square_is_lower_64)).count(); // maybe infinite iter - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | -note: lint level defined here - --> $DIR/infinite_iter.rs:29:8 - | -LL | #[deny(clippy::maybe_infinite_iter)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: possible infinite iteration detected - --> $DIR/infinite_iter.rs:32:5 - | -LL | repeat(42).take_while(|x| *x == 42).chain(0..42).max(); // maybe infinite iter - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: possible infinite iteration detected - --> $DIR/infinite_iter.rs:33:5 - | -LL | / (1..) -LL | | .scan(0, |state, x| { -LL | | *state += x; -LL | | Some(*state) -LL | | }) -LL | | .min(); // maybe infinite iter - | |______________^ - -error: possible infinite iteration detected - --> $DIR/infinite_iter.rs:39:5 - | -LL | (0..).find(|x| *x == 24); // maybe infinite iter - | ^^^^^^^^^^^^^^^^^^^^^^^^ - -error: possible infinite iteration detected - --> $DIR/infinite_iter.rs:40:5 - | -LL | (0..).position(|x| x == 24); // maybe infinite iter - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: possible infinite iteration detected - --> $DIR/infinite_iter.rs:41:5 - | -LL | (0..).any(|x| x == 24); // maybe infinite iter - | ^^^^^^^^^^^^^^^^^^^^^^ - -error: possible infinite iteration detected - --> $DIR/infinite_iter.rs:42:5 - | -LL | (0..).all(|x| x == 24); // maybe infinite iter - | ^^^^^^^^^^^^^^^^^^^^^^ - -error: infinite iteration detected - --> $DIR/infinite_iter.rs:65:31 - | -LL | let _: HashSet = (0..).collect(); // Infinite iter - | ^^^^^^^^^^^^^^^ - | - = note: #[deny(clippy::infinite_iter)] on by default - -error: aborting due to 15 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/infinite_iter.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'infinite_iter.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/infinite_iter.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/infinite_iter.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/infinite_iter.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/infinite_iter.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/infinite_loop.rs stdout ---- normalized stderr: expected stderr: error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. --> $DIR/infinite_loop.rs:23:11 | LL | while y < 10 { | ^^^^^^ | = note: #[deny(clippy::while_immutable_condition)] on by default error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. --> $DIR/infinite_loop.rs:28:11 | LL | while y < 10 && x < 3 { | ^^^^^^^^^^^^^^^ error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. --> $DIR/infinite_loop.rs:35:11 | LL | while !cond { | ^^^^^ error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. --> $DIR/infinite_loop.rs:79:11 | LL | while i < 3 { | ^^^^^ error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. --> $DIR/infinite_loop.rs:84:11 | LL | while i < 3 && j > 0 { | ^^^^^^^^^^^^^^ error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. --> $DIR/infinite_loop.rs:88:11 | LL | while i < 3 { | ^^^^^ error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. --> $DIR/infinite_loop.rs:103:11 | LL | while i < 3 { | ^^^^^ error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. --> $DIR/infinite_loop.rs:108:11 | LL | while i < 3 { | ^^^^^ error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. --> $DIR/infinite_loop.rs:174:15 | LL | while self.count < n { | ^^^^^^^^^^^^^^ error: aborting due to 9 previous errors diff of stderr: -error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. - --> $DIR/infinite_loop.rs:23:11 - | -LL | while y < 10 { - | ^^^^^^ - | - = note: #[deny(clippy::while_immutable_condition)] on by default - -error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. - --> $DIR/infinite_loop.rs:28:11 - | -LL | while y < 10 && x < 3 { - | ^^^^^^^^^^^^^^^ - -error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. - --> $DIR/infinite_loop.rs:35:11 - | -LL | while !cond { - | ^^^^^ - -error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. - --> $DIR/infinite_loop.rs:79:11 - | -LL | while i < 3 { - | ^^^^^ - -error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. - --> $DIR/infinite_loop.rs:84:11 - | -LL | while i < 3 && j > 0 { - | ^^^^^^^^^^^^^^ - -error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. - --> $DIR/infinite_loop.rs:88:11 - | -LL | while i < 3 { - | ^^^^^ - -error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. - --> $DIR/infinite_loop.rs:103:11 - | -LL | while i < 3 { - | ^^^^^ - -error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. - --> $DIR/infinite_loop.rs:108:11 - | -LL | while i < 3 { - | ^^^^^ - -error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop. - --> $DIR/infinite_loop.rs:174:15 - | -LL | while self.count < n { - | ^^^^^^^^^^^^^^ - -error: aborting due to 9 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/infinite_loop.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'infinite_loop.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/infinite_loop.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/infinite_loop.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/infinite_loop.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/infinite_loop.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/invalid_upcast_comparisons.rs stdout ---- normalized stderr: expected stderr: error: because of the numeric bounds on `u8` prior to casting, this expression is always false --> $DIR/invalid_upcast_comparisons.rs:21:5 | LL | (u8 as u32) > 300; | ^^^^^^^^^^^^^^^^^ | = note: `-D clippy::invalid-upcast-comparisons` implied by `-D warnings` error: because of the numeric bounds on `u8` prior to casting, this expression is always false --> $DIR/invalid_upcast_comparisons.rs:22:5 | LL | (u8 as i32) > 300; | ^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always false --> $DIR/invalid_upcast_comparisons.rs:23:5 | LL | (u8 as u32) == 300; | ^^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always false --> $DIR/invalid_upcast_comparisons.rs:24:5 | LL | (u8 as i32) == 300; | ^^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always false --> $DIR/invalid_upcast_comparisons.rs:25:5 | LL | 300 < (u8 as u32); | ^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always false --> $DIR/invalid_upcast_comparisons.rs:26:5 | LL | 300 < (u8 as i32); | ^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always false --> $DIR/invalid_upcast_comparisons.rs:27:5 | LL | 300 == (u8 as u32); | ^^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always false --> $DIR/invalid_upcast_comparisons.rs:28:5 | LL | 300 == (u8 as i32); | ^^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always true --> $DIR/invalid_upcast_comparisons.rs:30:5 | LL | (u8 as u32) <= 300; | ^^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always true --> $DIR/invalid_upcast_comparisons.rs:31:5 | LL | (u8 as i32) <= 300; | ^^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always true --> $DIR/invalid_upcast_comparisons.rs:32:5 | LL | (u8 as u32) != 300; | ^^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always true --> $DIR/invalid_upcast_comparisons.rs:33:5 | LL | (u8 as i32) != 300; | ^^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always true --> $DIR/invalid_upcast_comparisons.rs:34:5 | LL | 300 >= (u8 as u32); | ^^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always true --> $DIR/invalid_upcast_comparisons.rs:35:5 | LL | 300 >= (u8 as i32); | ^^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always true --> $DIR/invalid_upcast_comparisons.rs:36:5 | LL | 300 != (u8 as u32); | ^^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always true --> $DIR/invalid_upcast_comparisons.rs:37:5 | LL | 300 != (u8 as i32); | ^^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always false --> $DIR/invalid_upcast_comparisons.rs:40:5 | LL | (u8 as i32) < 0; | ^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always true --> $DIR/invalid_upcast_comparisons.rs:41:5 | LL | -5 != (u8 as i32); | ^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always true --> $DIR/invalid_upcast_comparisons.rs:43:5 | LL | (u8 as i32) >= 0; | ^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always false --> $DIR/invalid_upcast_comparisons.rs:44:5 | LL | -5 == (u8 as i32); | ^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always false --> $DIR/invalid_upcast_comparisons.rs:47:5 | LL | 1337 == (u8 as i32); | ^^^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always false --> $DIR/invalid_upcast_comparisons.rs:48:5 | LL | 1337 == (u8 as u32); | ^^^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always true --> $DIR/invalid_upcast_comparisons.rs:50:5 | LL | 1337 != (u8 as i32); | ^^^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always true --> $DIR/invalid_upcast_comparisons.rs:51:5 | LL | 1337 != (u8 as u32); | ^^^^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always true --> $DIR/invalid_upcast_comparisons.rs:65:5 | LL | (u8 as i32) > -1; | ^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always false --> $DIR/invalid_upcast_comparisons.rs:66:5 | LL | (u8 as i32) < -1; | ^^^^^^^^^^^^^^^^ error: because of the numeric bounds on `u8` prior to casting, this expression is always false --> $DIR/invalid_upcast_comparisons.rs:82:5 | LL | -5 >= (u8 as i32); | ^^^^^^^^^^^^^^^^^ error: aborting due to 27 previous errors diff of stderr: -error: because of the numeric bounds on `u8` prior to casting, this expression is always false - --> $DIR/invalid_upcast_comparisons.rs:21:5 - | -LL | (u8 as u32) > 300; - | ^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::invalid-upcast-comparisons` implied by `-D warnings` - -error: because of the numeric bounds on `u8` prior to casting, this expression is always false - --> $DIR/invalid_upcast_comparisons.rs:22:5 - | -LL | (u8 as i32) > 300; - | ^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always false - --> $DIR/invalid_upcast_comparisons.rs:23:5 - | -LL | (u8 as u32) == 300; - | ^^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always false - --> $DIR/invalid_upcast_comparisons.rs:24:5 - | -LL | (u8 as i32) == 300; - | ^^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always false - --> $DIR/invalid_upcast_comparisons.rs:25:5 - | -LL | 300 < (u8 as u32); - | ^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always false - --> $DIR/invalid_upcast_comparisons.rs:26:5 - | -LL | 300 < (u8 as i32); - | ^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always false - --> $DIR/invalid_upcast_comparisons.rs:27:5 - | -LL | 300 == (u8 as u32); - | ^^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always false - --> $DIR/invalid_upcast_comparisons.rs:28:5 - | -LL | 300 == (u8 as i32); - | ^^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always true - --> $DIR/invalid_upcast_comparisons.rs:30:5 - | -LL | (u8 as u32) <= 300; - | ^^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always true - --> $DIR/invalid_upcast_comparisons.rs:31:5 - | -LL | (u8 as i32) <= 300; - | ^^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always true - --> $DIR/invalid_upcast_comparisons.rs:32:5 - | -LL | (u8 as u32) != 300; - | ^^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always true - --> $DIR/invalid_upcast_comparisons.rs:33:5 - | -LL | (u8 as i32) != 300; - | ^^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always true - --> $DIR/invalid_upcast_comparisons.rs:34:5 - | -LL | 300 >= (u8 as u32); - | ^^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always true - --> $DIR/invalid_upcast_comparisons.rs:35:5 - | -LL | 300 >= (u8 as i32); - | ^^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always true - --> $DIR/invalid_upcast_comparisons.rs:36:5 - | -LL | 300 != (u8 as u32); - | ^^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always true - --> $DIR/invalid_upcast_comparisons.rs:37:5 - | -LL | 300 != (u8 as i32); - | ^^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always false - --> $DIR/invalid_upcast_comparisons.rs:40:5 - | -LL | (u8 as i32) < 0; - | ^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always true - --> $DIR/invalid_upcast_comparisons.rs:41:5 - | -LL | -5 != (u8 as i32); - | ^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always true - --> $DIR/invalid_upcast_comparisons.rs:43:5 - | -LL | (u8 as i32) >= 0; - | ^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always false - --> $DIR/invalid_upcast_comparisons.rs:44:5 - | -LL | -5 == (u8 as i32); - | ^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always false - --> $DIR/invalid_upcast_comparisons.rs:47:5 - | -LL | 1337 == (u8 as i32); - | ^^^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always false - --> $DIR/invalid_upcast_comparisons.rs:48:5 - | -LL | 1337 == (u8 as u32); - | ^^^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always true - --> $DIR/invalid_upcast_comparisons.rs:50:5 - | -LL | 1337 != (u8 as i32); - | ^^^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always true - --> $DIR/invalid_upcast_comparisons.rs:51:5 - | -LL | 1337 != (u8 as u32); - | ^^^^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always true - --> $DIR/invalid_upcast_comparisons.rs:65:5 - | -LL | (u8 as i32) > -1; - | ^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always false - --> $DIR/invalid_upcast_comparisons.rs:66:5 - | -LL | (u8 as i32) < -1; - | ^^^^^^^^^^^^^^^^ - -error: because of the numeric bounds on `u8` prior to casting, this expression is always false - --> $DIR/invalid_upcast_comparisons.rs:82:5 - | -LL | -5 >= (u8 as i32); - | ^^^^^^^^^^^^^^^^^ - -error: aborting due to 27 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/invalid_upcast_comparisons.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'invalid_upcast_comparisons.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/invalid_upcast_comparisons.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/invalid_upcast_comparisons.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/invalid_upcast_comparisons.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/invalid_upcast_comparisons.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/issue_2356.rs stdout ---- normalized stderr: expected stderr: error: this loop could be written as a `for` loop --> $DIR/issue_2356.rs:15:29 | LL | while let Some(e) = it.next() { | ^^^^^^^^^ help: try: `for e in it { .. }` | note: lint level defined here --> $DIR/issue_2356.rs:1:9 | LL | #![deny(clippy::while_let_on_iterator)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to previous error diff of stderr: -error: this loop could be written as a `for` loop - --> $DIR/issue_2356.rs:15:29 - | -LL | while let Some(e) = it.next() { - | ^^^^^^^^^ help: try: `for e in it { .. }` - | -note: lint level defined here - --> $DIR/issue_2356.rs:1:9 - | -LL | #![deny(clippy::while_let_on_iterator)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: aborting due to previous error - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/issue_2356.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'issue_2356.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/issue_2356.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/issue_2356.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/issue_2356.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/issue_2356.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/issue_3849.rs stdout ---- normalized stdout: expected stdout: if_chain! { if let StmtKind::Local(ref local) = stmt.node; if let Some(ref init) = local.init; if let ExprKind::Call(ref func, ref args) = init.node; if let ExprKind::Path(ref path) = func.node; if match_qpath(path, &["std", "mem", "transmute"]); if args.len() == 1; if let ExprKind::Path(ref path1) = args[0].node; if match_qpath(path1, &["ZPTR"]); if let PatKind::Wild = local.pat.node; then { // report your lint here } } diff of stdout: -if_chain! { - if let StmtKind::Local(ref local) = stmt.node; - if let Some(ref init) = local.init; - if let ExprKind::Call(ref func, ref args) = init.node; - if let ExprKind::Path(ref path) = func.node; - if match_qpath(path, &["std", "mem", "transmute"]); - if args.len() == 1; - if let ExprKind::Path(ref path1) = args[0].node; - if match_qpath(path1, &["ZPTR"]); - if let PatKind::Wild = local.pat.node; - then { - // report your lint here - } -} - The actual stdout differed from the expected stdout. Actual stdout saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/issue_3849.stdout To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'issue_3849.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/issue_3849.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/issue_3849.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/issue_3849.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/issue_3849.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/iter_skip_next.rs stdout ---- error: auxiliary build of "tests/ui/auxiliary/option_helpers.rs" failed to compile: status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/auxiliary/option_helpers.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "--out-dir" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/iter_skip_next.stage-id.aux" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "--crate-type" "dylib" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/iter_skip_next.stage-id.aux" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/iter_skip_next.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/len_zero.rs stdout ---- normalized stderr: expected stderr: error: item `PubOne` has a public `len` method but no corresponding `is_empty` method --> $DIR/len_zero.rs:6:1 | LL | / impl PubOne { LL | | pub fn len(self: &Self) -> isize { LL | | 1 LL | | } LL | | } | |_^ | = note: `-D clippy::len-without-is-empty` implied by `-D warnings` error: trait `PubTraitsToo` has a `len` method but no (possibly inherited) `is_empty` method --> $DIR/len_zero.rs:55:1 | LL | / pub trait PubTraitsToo { LL | | fn len(self: &Self) -> isize; LL | | } | |_^ error: item `HasIsEmpty` has a public `len` method but a private `is_empty` method --> $DIR/len_zero.rs:90:1 | LL | / impl HasIsEmpty { LL | | pub fn len(self: &Self) -> isize { LL | | 1 LL | | } ... | LL | | } LL | | } | |_^ error: item `HasWrongIsEmpty` has a public `len` method but no corresponding `is_empty` method --> $DIR/len_zero.rs:119:1 | LL | / impl HasWrongIsEmpty { LL | | pub fn len(self: &Self) -> isize { LL | | 1 LL | | } ... | LL | | } LL | | } | |_^ error: length comparison to zero --> $DIR/len_zero.rs:140:8 | LL | if x.len() == 0 { | ^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `x.is_empty()` | = note: `-D clippy::len-zero` implied by `-D warnings` error: length comparison to zero --> $DIR/len_zero.rs:144:8 | LL | if "".len() == 0 {} | ^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `"".is_empty()` error: length comparison to zero --> $DIR/len_zero.rs:159:8 | LL | if has_is_empty.len() == 0 { | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `has_is_empty.is_empty()` error: length comparison to zero --> $DIR/len_zero.rs:162:8 | LL | if has_is_empty.len() != 0 { | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()` error: length comparison to zero --> $DIR/len_zero.rs:165:8 | LL | if has_is_empty.len() > 0 { | ^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()` error: length comparison to one --> $DIR/len_zero.rs:168:8 | LL | if has_is_empty.len() < 1 { | ^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `has_is_empty.is_empty()` error: length comparison to one --> $DIR/len_zero.rs:171:8 | LL | if has_is_empty.len() >= 1 { | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()` error: length comparison to zero --> $DIR/len_zero.rs:182:8 | LL | if 0 == has_is_empty.len() { | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `has_is_empty.is_empty()` error: length comparison to zero --> $DIR/len_zero.rs:185:8 | LL | if 0 != has_is_empty.len() { | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()` error: length comparison to zero --> $DIR/len_zero.rs:188:8 | LL | if 0 < has_is_empty.len() { | ^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()` error: length comparison to one --> $DIR/len_zero.rs:191:8 | LL | if 1 <= has_is_empty.len() { | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()` error: length comparison to one --> $DIR/len_zero.rs:194:8 | LL | if 1 > has_is_empty.len() { | ^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `has_is_empty.is_empty()` error: length comparison to zero --> $DIR/len_zero.rs:208:8 | LL | if with_is_empty.len() == 0 { | ^^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `with_is_empty.is_empty()` error: length comparison to zero --> $DIR/len_zero.rs:221:8 | LL | if b.len() != 0 {} | ^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!b.is_empty()` error: trait `DependsOnFoo` has a `len` method but no (possibly inherited) `is_empty` method --> $DIR/len_zero.rs:227:1 | LL | / pub trait DependsOnFoo: Foo { LL | | fn len(&mut self) -> usize; LL | | } | |_^ error: aborting due to 19 previous errors diff of stderr: -error: item `PubOne` has a public `len` method but no corresponding `is_empty` method - --> $DIR/len_zero.rs:6:1 - | -LL | / impl PubOne { -LL | | pub fn len(self: &Self) -> isize { -LL | | 1 -LL | | } -LL | | } - | |_^ - | - = note: `-D clippy::len-without-is-empty` implied by `-D warnings` - -error: trait `PubTraitsToo` has a `len` method but no (possibly inherited) `is_empty` method - --> $DIR/len_zero.rs:55:1 - | -LL | / pub trait PubTraitsToo { -LL | | fn len(self: &Self) -> isize; -LL | | } - | |_^ - -error: item `HasIsEmpty` has a public `len` method but a private `is_empty` method - --> $DIR/len_zero.rs:90:1 - | -LL | / impl HasIsEmpty { -LL | | pub fn len(self: &Self) -> isize { -LL | | 1 -LL | | } -... | -LL | | } -LL | | } - | |_^ - -error: item `HasWrongIsEmpty` has a public `len` method but no corresponding `is_empty` method - --> $DIR/len_zero.rs:119:1 - | -LL | / impl HasWrongIsEmpty { -LL | | pub fn len(self: &Self) -> isize { -LL | | 1 -LL | | } -... | -LL | | } -LL | | } - | |_^ - -error: length comparison to zero - --> $DIR/len_zero.rs:140:8 - | -LL | if x.len() == 0 { - | ^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `x.is_empty()` - | - = note: `-D clippy::len-zero` implied by `-D warnings` - -error: length comparison to zero - --> $DIR/len_zero.rs:144:8 - | -LL | if "".len() == 0 {} - | ^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `"".is_empty()` - -error: length comparison to zero - --> $DIR/len_zero.rs:159:8 - | -LL | if has_is_empty.len() == 0 { - | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `has_is_empty.is_empty()` - -error: length comparison to zero - --> $DIR/len_zero.rs:162:8 - | -LL | if has_is_empty.len() != 0 { - | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()` - -error: length comparison to zero - --> $DIR/len_zero.rs:165:8 - | -LL | if has_is_empty.len() > 0 { - | ^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()` - -error: length comparison to one - --> $DIR/len_zero.rs:168:8 - | -LL | if has_is_empty.len() < 1 { - | ^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `has_is_empty.is_empty()` - -error: length comparison to one - --> $DIR/len_zero.rs:171:8 - | -LL | if has_is_empty.len() >= 1 { - | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()` - -error: length comparison to zero - --> $DIR/len_zero.rs:182:8 - | -LL | if 0 == has_is_empty.len() { - | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `has_is_empty.is_empty()` - -error: length comparison to zero - --> $DIR/len_zero.rs:185:8 - | -LL | if 0 != has_is_empty.len() { - | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()` - -error: length comparison to zero - --> $DIR/len_zero.rs:188:8 - | -LL | if 0 < has_is_empty.len() { - | ^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()` - -error: length comparison to one - --> $DIR/len_zero.rs:191:8 - | -LL | if 1 <= has_is_empty.len() { - | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()` - -error: length comparison to one - --> $DIR/len_zero.rs:194:8 - | -LL | if 1 > has_is_empty.len() { - | ^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `has_is_empty.is_empty()` - -error: length comparison to zero - --> $DIR/len_zero.rs:208:8 - | -LL | if with_is_empty.len() == 0 { - | ^^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `with_is_empty.is_empty()` - -error: length comparison to zero - --> $DIR/len_zero.rs:221:8 - | -LL | if b.len() != 0 {} - | ^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!b.is_empty()` - -error: trait `DependsOnFoo` has a `len` method but no (possibly inherited) `is_empty` method - --> $DIR/len_zero.rs:227:1 - | -LL | / pub trait DependsOnFoo: Foo { -LL | | fn len(&mut self) -> usize; -LL | | } - | |_^ - -error: aborting due to 19 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/len_zero.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'len_zero.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/len_zero.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/len_zero.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/len_zero.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/len_zero.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/large_digit_groups.rs stdout ---- error: failed to compile fixed code status: exit code: 1 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/large_digit_groups.fixed" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/large_digit_groups.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/large_digit_groups.stage-id.aux" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"literal out of range for usize","code":{"code":"overflowing_literals","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/large_digit_groups.fixed","byte_start":328,"byte_end":350,"line_start":17,"line_end":17,"column_start":9,"column_end":31,"is_primary":true,"text":[{"text":" 0x0123_4567_8901_usize,","highlight_start":9,"highlight_end":31}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"#[deny(overflowing_literals)] on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"the literal `0x0123_4567_8901_usize` (decimal `1250999896321`) does not fit into an `usize` and will become `1164413185usize`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error: literal out of range for usize\n --> tests/ui/large_digit_groups.fixed:17:9\n |\nLL | 0x0123_4567_8901_usize,\n | ^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: #[deny(overflowing_literals)] on by default\n = note: the literal `0x0123_4567_8901_usize` (decimal `1250999896321`) does not fit into an `usize` and will become `1164413185usize`\n\n"} {"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error\n\n"} ------------------------------------------ thread '[ui] ui/large_digit_groups.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/let_if_seq.rs stdout ---- normalized stderr: expected stderr: error: `if _ { .. } else { .. }` is an expression --> $DIR/let_if_seq.rs:63:5 | LL | / let mut foo = 0; LL | | if f() { LL | | foo = 42; LL | | } | |_____^ help: it is more idiomatic to write: `let foo = if f() { 42 } else { 0 };` | = note: `-D clippy::useless-let-if-seq` implied by `-D warnings` = note: you might not need `mut` at all error: `if _ { .. } else { .. }` is an expression --> $DIR/let_if_seq.rs:68:5 | LL | / let mut bar = 0; LL | | if f() { LL | | f(); LL | | bar = 42; LL | | } else { LL | | f(); LL | | } | |_____^ help: it is more idiomatic to write: `let bar = if f() { ..; 42 } else { ..; 0 };` | = note: you might not need `mut` at all error: `if _ { .. } else { .. }` is an expression --> $DIR/let_if_seq.rs:76:5 | LL | / let quz; LL | | if f() { LL | | quz = 42; LL | | } else { LL | | quz = 0; LL | | } | |_____^ help: it is more idiomatic to write: `let quz = if f() { 42 } else { 0 };` error: `if _ { .. } else { .. }` is an expression --> $DIR/let_if_seq.rs:105:5 | LL | / let mut baz = 0; LL | | if f() { LL | | baz = 42; LL | | } | |_____^ help: it is more idiomatic to write: `let baz = if f() { 42 } else { 0 };` | = note: you might not need `mut` at all error: aborting due to 4 previous errors diff of stderr: -error: `if _ { .. } else { .. }` is an expression - --> $DIR/let_if_seq.rs:63:5 - | -LL | / let mut foo = 0; -LL | | if f() { -LL | | foo = 42; -LL | | } - | |_____^ help: it is more idiomatic to write: `let foo = if f() { 42 } else { 0 };` - | - = note: `-D clippy::useless-let-if-seq` implied by `-D warnings` - = note: you might not need `mut` at all - -error: `if _ { .. } else { .. }` is an expression - --> $DIR/let_if_seq.rs:68:5 - | -LL | / let mut bar = 0; -LL | | if f() { -LL | | f(); -LL | | bar = 42; -LL | | } else { -LL | | f(); -LL | | } - | |_____^ help: it is more idiomatic to write: `let bar = if f() { ..; 42 } else { ..; 0 };` - | - = note: you might not need `mut` at all - -error: `if _ { .. } else { .. }` is an expression - --> $DIR/let_if_seq.rs:76:5 - | -LL | / let quz; -LL | | if f() { -LL | | quz = 42; -LL | | } else { -LL | | quz = 0; -LL | | } - | |_____^ help: it is more idiomatic to write: `let quz = if f() { 42 } else { 0 };` - -error: `if _ { .. } else { .. }` is an expression - --> $DIR/let_if_seq.rs:105:5 - | -LL | / let mut baz = 0; -LL | | if f() { -LL | | baz = 42; -LL | | } - | |_____^ help: it is more idiomatic to write: `let baz = if f() { 42 } else { 0 };` - | - = note: you might not need `mut` at all - -error: aborting due to 4 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/let_if_seq.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'let_if_seq.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/let_if_seq.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/let_if_seq.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/let_if_seq.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/let_if_seq.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/let_return.rs stdout ---- normalized stderr: error: returning the result of a let binding from a block. Consider returning the expression directly. --> $DIR/let_return.rs:7:5 | LL | x | ^ | = note: `-D clippy::let-and-return` implied by `-D warnings` note: this expression can be directly returned --> $DIR/let_return.rs:6:13 | LL | let x = 5; | ^ expected stderr: error: returning the result of a let binding from a block. Consider returning the expression directly. --> $DIR/let_return.rs:7:5 | LL | x | ^ | = note: `-D clippy::let-and-return` implied by `-D warnings` note: this expression can be directly returned --> $DIR/let_return.rs:6:13 | LL | let x = 5; | ^ error: returning the result of a let binding from a block. Consider returning the expression directly. --> $DIR/let_return.rs:13:9 | LL | x | ^ | note: this expression can be directly returned --> $DIR/let_return.rs:12:17 | LL | let x = 5; | ^ error: aborting due to 2 previous errors diff of stderr: error: returning the result of a let binding from a block. Consider returning the expression directly. --> $DIR/let_return.rs:7:5 | LL | x | ^ | = note: `-D clippy::let-and-return` implied by `-D warnings` note: this expression can be directly returned --> $DIR/let_return.rs:6:13 | LL | let x = 5; | ^ -error: returning the result of a let binding from a block. Consider returning the expression directly. - --> $DIR/let_return.rs:13:9 - | -LL | x - | ^ - | -note: this expression can be directly returned - --> $DIR/let_return.rs:12:17 - | -LL | let x = 5; - | ^ - -error: aborting due to 2 previous errors - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/let_return.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'let_return.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/let_return.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/let_return.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/let_return.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"returning the result of a let binding from a block. Consider returning the expression directly.","code":{"code":"clippy::let_and_return","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/let_return.rs","byte_start":120,"byte_end":121,"line_start":7,"line_end":7,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" x","highlight_start":5,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::let-and-return` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"this expression can be directly returned","code":null,"level":"note","spans":[{"file_name":"tests/ui/let_return.rs","byte_start":113,"byte_end":114,"line_start":6,"line_end":6,"column_start":13,"column_end":14,"is_primary":true,"text":[{"text":" let x = 5;","highlight_start":13,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error: returning the result of a let binding from a block. Consider returning the expression directly.\n --> tests/ui/let_return.rs:7:5\n |\nLL | x\n | ^\n |\n = note: `-D clippy::let-and-return` implied by `-D warnings`\nnote: this expression can be directly returned\n --> tests/ui/let_return.rs:6:13\n |\nLL | let x = 5;\n | ^\n\n"} ------------------------------------------ thread '[ui] ui/let_return.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/let_unit.rs stdout ---- normalized stderr: expected stderr: error: this let-binding has unit value. Consider omitting `let _x =` --> $DIR/let_unit.rs:11:5 | LL | let _x = println!("x"); | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::let-unit-value` implied by `-D warnings` error: this let-binding has unit value. Consider omitting `let _a =` --> $DIR/let_unit.rs:15:9 | LL | let _a = (); | ^^^^^^^^^^^^ error: aborting due to 2 previous errors diff of stderr: -error: this let-binding has unit value. Consider omitting `let _x =` - --> $DIR/let_unit.rs:11:5 - | -LL | let _x = println!("x"); - | ^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::let-unit-value` implied by `-D warnings` - -error: this let-binding has unit value. Consider omitting `let _a =` - --> $DIR/let_unit.rs:15:9 - | -LL | let _a = (); - | ^^^^^^^^^^^^ - -error: aborting due to 2 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/let_unit.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'let_unit.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/let_unit.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/let_unit.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/let_unit.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/let_unit.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/lifetimes.rs stdout ---- normalized stderr: expected stderr: error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) --> $DIR/lifetimes.rs:4:1 | LL | fn distinct_lifetimes<'a, 'b>(_x: &'a u8, _y: &'b u8, _z: u8) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::needless-lifetimes` implied by `-D warnings` error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) --> $DIR/lifetimes.rs:6:1 | LL | fn distinct_and_static<'a, 'b>(_x: &'a u8, _y: &'b u8, _z: &'static u8) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) --> $DIR/lifetimes.rs:16:1 | LL | / fn in_and_out<'a>(x: &'a u8, _y: u8) -> &'a u8 { LL | | x LL | | } | |_^ error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) --> $DIR/lifetimes.rs:45:1 | LL | / fn deep_reference_3<'a>(x: &'a u8, _y: u8) -> Result<&'a u8, ()> { LL | | Ok(x) LL | | } | |_^ error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) --> $DIR/lifetimes.rs:50:1 | LL | / fn where_clause_without_lt<'a, T>(x: &'a u8, _y: u8) -> Result<&'a u8, ()> LL | | where LL | | T: Copy, LL | | { LL | | Ok(x) LL | | } | |_^ error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) --> $DIR/lifetimes.rs:62:1 | LL | fn lifetime_param_2<'a, 'b>(_x: Ref<'a>, _y: &'b u8) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) --> $DIR/lifetimes.rs:86:1 | LL | / fn fn_bound_2<'a, F, I>(_m: Lt<'a, I>, _f: F) -> Lt<'a, I> LL | | where LL | | for<'x> F: Fn(Lt<'x, I>) -> Lt<'x, I>, LL | | { LL | | unreachable!() LL | | } | |_^ error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) --> $DIR/lifetimes.rs:120:5 | LL | / fn self_and_out<'s>(&'s self) -> &'s u8 { LL | | &self.x LL | | } | |_____^ error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) --> $DIR/lifetimes.rs:129:5 | LL | fn distinct_self_and_in<'s, 't>(&'s self, _x: &'t u8) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) --> $DIR/lifetimes.rs:148:1 | LL | / fn struct_with_lt<'a>(_foo: Foo<'a>) -> &'a str { LL | | unimplemented!() LL | | } | |_^ error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) --> $DIR/lifetimes.rs:178:1 | LL | / fn trait_obj_elided2<'a>(_arg: &'a Drop) -> &'a str { LL | | unimplemented!() LL | | } | |_^ error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) --> $DIR/lifetimes.rs:184:1 | LL | / fn alias_with_lt<'a>(_foo: FooAlias<'a>) -> &'a str { LL | | unimplemented!() LL | | } | |_^ error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) --> $DIR/lifetimes.rs:203:1 | LL | / fn named_input_elided_output<'a>(_arg: &'a str) -> &str { LL | | unimplemented!() LL | | } | |_^ error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) --> $DIR/lifetimes.rs:211:1 | LL | / fn trait_bound_ok<'a, T: WithLifetime<'static>>(_: &'a u8, _: T) { LL | | unimplemented!() LL | | } | |_^ error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) --> $DIR/lifetimes.rs:247:1 | LL | / fn out_return_type_lts<'a>(e: &'a str) -> Cow<'a> { LL | | unimplemented!() LL | | } | |_^ error: aborting due to 15 previous errors diff of stderr: -error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) - --> $DIR/lifetimes.rs:4:1 - | -LL | fn distinct_lifetimes<'a, 'b>(_x: &'a u8, _y: &'b u8, _z: u8) {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::needless-lifetimes` implied by `-D warnings` - -error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) - --> $DIR/lifetimes.rs:6:1 - | -LL | fn distinct_and_static<'a, 'b>(_x: &'a u8, _y: &'b u8, _z: &'static u8) {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) - --> $DIR/lifetimes.rs:16:1 - | -LL | / fn in_and_out<'a>(x: &'a u8, _y: u8) -> &'a u8 { -LL | | x -LL | | } - | |_^ - -error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) - --> $DIR/lifetimes.rs:45:1 - | -LL | / fn deep_reference_3<'a>(x: &'a u8, _y: u8) -> Result<&'a u8, ()> { -LL | | Ok(x) -LL | | } - | |_^ - -error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) - --> $DIR/lifetimes.rs:50:1 - | -LL | / fn where_clause_without_lt<'a, T>(x: &'a u8, _y: u8) -> Result<&'a u8, ()> -LL | | where -LL | | T: Copy, -LL | | { -LL | | Ok(x) -LL | | } - | |_^ - -error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) - --> $DIR/lifetimes.rs:62:1 - | -LL | fn lifetime_param_2<'a, 'b>(_x: Ref<'a>, _y: &'b u8) {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) - --> $DIR/lifetimes.rs:86:1 - | -LL | / fn fn_bound_2<'a, F, I>(_m: Lt<'a, I>, _f: F) -> Lt<'a, I> -LL | | where -LL | | for<'x> F: Fn(Lt<'x, I>) -> Lt<'x, I>, -LL | | { -LL | | unreachable!() -LL | | } - | |_^ - -error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) - --> $DIR/lifetimes.rs:120:5 - | -LL | / fn self_and_out<'s>(&'s self) -> &'s u8 { -LL | | &self.x -LL | | } - | |_____^ - -error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) - --> $DIR/lifetimes.rs:129:5 - | -LL | fn distinct_self_and_in<'s, 't>(&'s self, _x: &'t u8) {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) - --> $DIR/lifetimes.rs:148:1 - | -LL | / fn struct_with_lt<'a>(_foo: Foo<'a>) -> &'a str { -LL | | unimplemented!() -LL | | } - | |_^ - -error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) - --> $DIR/lifetimes.rs:178:1 - | -LL | / fn trait_obj_elided2<'a>(_arg: &'a Drop) -> &'a str { -LL | | unimplemented!() -LL | | } - | |_^ - -error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) - --> $DIR/lifetimes.rs:184:1 - | -LL | / fn alias_with_lt<'a>(_foo: FooAlias<'a>) -> &'a str { -LL | | unimplemented!() -LL | | } - | |_^ - -error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) - --> $DIR/lifetimes.rs:203:1 - | -LL | / fn named_input_elided_output<'a>(_arg: &'a str) -> &str { -LL | | unimplemented!() -LL | | } - | |_^ - -error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) - --> $DIR/lifetimes.rs:211:1 - | -LL | / fn trait_bound_ok<'a, T: WithLifetime<'static>>(_: &'a u8, _: T) { -LL | | unimplemented!() -LL | | } - | |_^ - -error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) - --> $DIR/lifetimes.rs:247:1 - | -LL | / fn out_return_type_lts<'a>(e: &'a str) -> Cow<'a> { -LL | | unimplemented!() -LL | | } - | |_^ - -error: aborting due to 15 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/lifetimes.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'lifetimes.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/lifetimes.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/lifetimes.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/lifetimes.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/lifetimes.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/manual_memcpy.rs stdout ---- normalized stderr: expected stderr: error: it looks like you're manually copying between slices --> $DIR/manual_memcpy.rs:7:14 | LL | for i in 0..src.len() { | ^^^^^^^^^^^^ help: try replacing the loop by: `dst[..src.len()].clone_from_slice(&src[..])` | = note: `-D clippy::manual-memcpy` implied by `-D warnings` error: it looks like you're manually copying between slices --> $DIR/manual_memcpy.rs:12:14 | LL | for i in 0..src.len() { | ^^^^^^^^^^^^ help: try replacing the loop by: `dst[10..(src.len() + 10)].clone_from_slice(&src[..])` error: it looks like you're manually copying between slices --> $DIR/manual_memcpy.rs:17:14 | LL | for i in 0..src.len() { | ^^^^^^^^^^^^ help: try replacing the loop by: `dst[..src.len()].clone_from_slice(&src[10..])` error: it looks like you're manually copying between slices --> $DIR/manual_memcpy.rs:22:14 | LL | for i in 11..src.len() { | ^^^^^^^^^^^^^ help: try replacing the loop by: `dst[11..src.len()].clone_from_slice(&src[(11 - 10)..(src.len() - 10)])` error: it looks like you're manually copying between slices --> $DIR/manual_memcpy.rs:27:14 | LL | for i in 0..dst.len() { | ^^^^^^^^^^^^ help: try replacing the loop by: `dst.clone_from_slice(&src[..dst.len()])` error: it looks like you're manually copying between slices --> $DIR/manual_memcpy.rs:40:14 | LL | for i in 10..256 { | ^^^^^^^ help: try replacing the loop by | LL | for i in dst[10..256].clone_from_slice(&src[(10 - 5)..(256 - 5)]) LL | dst2[(10 + 500)..(256 + 500)].clone_from_slice(&src[10..256]) { | error: it looks like you're manually copying between slices --> $DIR/manual_memcpy.rs:52:14 | LL | for i in 10..LOOP_OFFSET { | ^^^^^^^^^^^^^^^ help: try replacing the loop by: `dst[(10 + LOOP_OFFSET)..(LOOP_OFFSET + LOOP_OFFSET)].clone_from_slice(&src[(10 - some_var)..(LOOP_OFFSET - some_var)])` error: it looks like you're manually copying between slices --> $DIR/manual_memcpy.rs:65:14 | LL | for i in 0..src_vec.len() { | ^^^^^^^^^^^^^^^^ help: try replacing the loop by: `dst_vec[..src_vec.len()].clone_from_slice(&src_vec[..])` error: it looks like you're manually copying between slices --> $DIR/manual_memcpy.rs:94:14 | LL | for i in from..from + src.len() { | ^^^^^^^^^^^^^^^^^^^^^^ help: try replacing the loop by: `dst[from..from + src.len()].clone_from_slice(&src[0..(from + src.len() - from)])` error: it looks like you're manually copying between slices --> $DIR/manual_memcpy.rs:98:14 | LL | for i in from..from + 3 { | ^^^^^^^^^^^^^^ help: try replacing the loop by: `dst[from..from + 3].clone_from_slice(&src[0..(from + 3 - from)])` error: it looks like you're manually copying between slices --> $DIR/manual_memcpy.rs:105:14 | LL | for i in 0..src.len() { | ^^^^^^^^^^^^ help: try replacing the loop by: `dst[..src.len()].clone_from_slice(&src[..])` error: aborting due to 11 previous errors diff of stderr: -error: it looks like you're manually copying between slices - --> $DIR/manual_memcpy.rs:7:14 - | -LL | for i in 0..src.len() { - | ^^^^^^^^^^^^ help: try replacing the loop by: `dst[..src.len()].clone_from_slice(&src[..])` - | - = note: `-D clippy::manual-memcpy` implied by `-D warnings` - -error: it looks like you're manually copying between slices - --> $DIR/manual_memcpy.rs:12:14 - | -LL | for i in 0..src.len() { - | ^^^^^^^^^^^^ help: try replacing the loop by: `dst[10..(src.len() + 10)].clone_from_slice(&src[..])` - -error: it looks like you're manually copying between slices - --> $DIR/manual_memcpy.rs:17:14 - | -LL | for i in 0..src.len() { - | ^^^^^^^^^^^^ help: try replacing the loop by: `dst[..src.len()].clone_from_slice(&src[10..])` - -error: it looks like you're manually copying between slices - --> $DIR/manual_memcpy.rs:22:14 - | -LL | for i in 11..src.len() { - | ^^^^^^^^^^^^^ help: try replacing the loop by: `dst[11..src.len()].clone_from_slice(&src[(11 - 10)..(src.len() - 10)])` - -error: it looks like you're manually copying between slices - --> $DIR/manual_memcpy.rs:27:14 - | -LL | for i in 0..dst.len() { - | ^^^^^^^^^^^^ help: try replacing the loop by: `dst.clone_from_slice(&src[..dst.len()])` - -error: it looks like you're manually copying between slices - --> $DIR/manual_memcpy.rs:40:14 - | -LL | for i in 10..256 { - | ^^^^^^^ -help: try replacing the loop by - | -LL | for i in dst[10..256].clone_from_slice(&src[(10 - 5)..(256 - 5)]) -LL | dst2[(10 + 500)..(256 + 500)].clone_from_slice(&src[10..256]) { - | - -error: it looks like you're manually copying between slices - --> $DIR/manual_memcpy.rs:52:14 - | -LL | for i in 10..LOOP_OFFSET { - | ^^^^^^^^^^^^^^^ help: try replacing the loop by: `dst[(10 + LOOP_OFFSET)..(LOOP_OFFSET + LOOP_OFFSET)].clone_from_slice(&src[(10 - some_var)..(LOOP_OFFSET - some_var)])` - -error: it looks like you're manually copying between slices - --> $DIR/manual_memcpy.rs:65:14 - | -LL | for i in 0..src_vec.len() { - | ^^^^^^^^^^^^^^^^ help: try replacing the loop by: `dst_vec[..src_vec.len()].clone_from_slice(&src_vec[..])` - -error: it looks like you're manually copying between slices - --> $DIR/manual_memcpy.rs:94:14 - | -LL | for i in from..from + src.len() { - | ^^^^^^^^^^^^^^^^^^^^^^ help: try replacing the loop by: `dst[from..from + src.len()].clone_from_slice(&src[0..(from + src.len() - from)])` - -error: it looks like you're manually copying between slices - --> $DIR/manual_memcpy.rs:98:14 - | -LL | for i in from..from + 3 { - | ^^^^^^^^^^^^^^ help: try replacing the loop by: `dst[from..from + 3].clone_from_slice(&src[0..(from + 3 - from)])` - -error: it looks like you're manually copying between slices - --> $DIR/manual_memcpy.rs:105:14 - | -LL | for i in 0..src.len() { - | ^^^^^^^^^^^^ help: try replacing the loop by: `dst[..src.len()].clone_from_slice(&src[..])` - -error: aborting due to 11 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/manual_memcpy.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'manual_memcpy.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/manual_memcpy.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/manual_memcpy.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/manual_memcpy.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/manual_memcpy.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/lint_without_lint_pass.rs stdout ---- normalized stderr: expected stderr: error: the lint `TEST_LINT` is not added to any `LintPass` --> $DIR/lint_without_lint_pass.rs:11:1 | LL | / declare_clippy_lint! { LL | | pub TEST_LINT, LL | | correctness, LL | | "" LL | | } | |_^ | note: lint level defined here --> $DIR/lint_without_lint_pass.rs:1:9 | LL | #![deny(clippy::internal)] | ^^^^^^^^^^^^^^^^ = note: #[deny(clippy::lint_without_lint_pass)] implied by #[deny(clippy::internal)] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: aborting due to previous error diff of stderr: -error: the lint `TEST_LINT` is not added to any `LintPass` - --> $DIR/lint_without_lint_pass.rs:11:1 - | -LL | / declare_clippy_lint! { -LL | | pub TEST_LINT, -LL | | correctness, -LL | | "" -LL | | } - | |_^ - | -note: lint level defined here - --> $DIR/lint_without_lint_pass.rs:1:9 - | -LL | #![deny(clippy::internal)] - | ^^^^^^^^^^^^^^^^ - = note: #[deny(clippy::lint_without_lint_pass)] implied by #[deny(clippy::internal)] - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: aborting due to previous error - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/lint_without_lint_pass.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'lint_without_lint_pass.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/lint_without_lint_pass.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/lint_without_lint_pass.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/lint_without_lint_pass.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/lint_without_lint_pass.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/matches.rs stdout ---- normalized stderr: expected stderr: error: you don't need to add `&` to all patterns --> $DIR/matches.rs:11:9 | LL | / match v { LL | | &Some(v) => println!("{:?}", v), LL | | &None => println!("none"), LL | | } | |_________^ | = note: `-D clippy::match-ref-pats` implied by `-D warnings` help: instead of prefixing all patterns with `&`, you can dereference the expression | LL | match *v { LL | Some(v) => println!("{:?}", v), LL | None => println!("none"), | error: you don't need to add `&` to all patterns --> $DIR/matches.rs:22:5 | LL | / match tup { LL | | &(v, 1) => println!("{}", v), LL | | _ => println!("none"), LL | | } | |_____^ help: instead of prefixing all patterns with `&`, you can dereference the expression | LL | match *tup { LL | (v, 1) => println!("{}", v), | error: you don't need to add `&` to both the expression and the patterns --> $DIR/matches.rs:28:5 | LL | / match &w { LL | | &Some(v) => println!("{:?}", v), LL | | &None => println!("none"), LL | | } | |_____^ help: try | LL | match w { LL | Some(v) => println!("{:?}", v), LL | None => println!("none"), | error: you don't need to add `&` to all patterns --> $DIR/matches.rs:39:5 | LL | / if let &None = a { LL | | println!("none"); LL | | } | |_____^ help: instead of prefixing all patterns with `&`, you can dereference the expression | LL | if let None = *a { | ^^^^ ^^ error: you don't need to add `&` to both the expression and the patterns --> $DIR/matches.rs:44:5 | LL | / if let &None = &b { LL | | println!("none"); LL | | } | |_____^ help: try | LL | if let None = b { | ^^^^ ^ error: Err(_) will match all errors, maybe not a good idea --> $DIR/matches.rs:55:9 | LL | Err(_) => panic!("err"), | ^^^^^^ | = note: `-D clippy::match-wild-err-arm` implied by `-D warnings` = note: to remove this warning, match each error separately or use unreachable macro error: this `match` has identical arm bodies --> $DIR/matches.rs:54:18 | LL | Ok(_) => println!("ok"), | ^^^^^^^^^^^^^^ | = note: `-D clippy::match-same-arms` implied by `-D warnings` note: same as this --> $DIR/matches.rs:53:18 | LL | Ok(3) => println!("ok"), | ^^^^^^^^^^^^^^ note: consider refactoring into `Ok(3) | Ok(_)` --> $DIR/matches.rs:53:18 | LL | Ok(3) => println!("ok"), | ^^^^^^^^^^^^^^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: Err(_) will match all errors, maybe not a good idea --> $DIR/matches.rs:61:9 | LL | Err(_) => panic!(), | ^^^^^^ | = note: to remove this warning, match each error separately or use unreachable macro error: this `match` has identical arm bodies --> $DIR/matches.rs:60:18 | LL | Ok(_) => println!("ok"), | ^^^^^^^^^^^^^^ | note: same as this --> $DIR/matches.rs:59:18 | LL | Ok(3) => println!("ok"), | ^^^^^^^^^^^^^^ note: consider refactoring into `Ok(3) | Ok(_)` --> $DIR/matches.rs:59:18 | LL | Ok(3) => println!("ok"), | ^^^^^^^^^^^^^^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: Err(_) will match all errors, maybe not a good idea --> $DIR/matches.rs:67:9 | LL | Err(_) => { | ^^^^^^ | = note: to remove this warning, match each error separately or use unreachable macro error: this `match` has identical arm bodies --> $DIR/matches.rs:66:18 | LL | Ok(_) => println!("ok"), | ^^^^^^^^^^^^^^ | note: same as this --> $DIR/matches.rs:65:18 | LL | Ok(3) => println!("ok"), | ^^^^^^^^^^^^^^ note: consider refactoring into `Ok(3) | Ok(_)` --> $DIR/matches.rs:65:18 | LL | Ok(3) => println!("ok"), | ^^^^^^^^^^^^^^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: this `match` has identical arm bodies --> $DIR/matches.rs:75:18 | LL | Ok(_) => println!("ok"), | ^^^^^^^^^^^^^^ | note: same as this --> $DIR/matches.rs:74:18 | LL | Ok(3) => println!("ok"), | ^^^^^^^^^^^^^^ note: consider refactoring into `Ok(3) | Ok(_)` --> $DIR/matches.rs:74:18 | LL | Ok(3) => println!("ok"), | ^^^^^^^^^^^^^^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: this `match` has identical arm bodies --> $DIR/matches.rs:82:18 | LL | Ok(_) => println!("ok"), | ^^^^^^^^^^^^^^ | note: same as this --> $DIR/matches.rs:81:18 | LL | Ok(3) => println!("ok"), | ^^^^^^^^^^^^^^ note: consider refactoring into `Ok(3) | Ok(_)` --> $DIR/matches.rs:81:18 | LL | Ok(3) => println!("ok"), | ^^^^^^^^^^^^^^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: this `match` has identical arm bodies --> $DIR/matches.rs:88:18 | LL | Ok(_) => println!("ok"), | ^^^^^^^^^^^^^^ | note: same as this --> $DIR/matches.rs:87:18 | LL | Ok(3) => println!("ok"), | ^^^^^^^^^^^^^^ note: consider refactoring into `Ok(3) | Ok(_)` --> $DIR/matches.rs:87:18 | LL | Ok(3) => println!("ok"), | ^^^^^^^^^^^^^^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: this `match` has identical arm bodies --> $DIR/matches.rs:94:18 | LL | Ok(_) => println!("ok"), | ^^^^^^^^^^^^^^ | note: same as this --> $DIR/matches.rs:93:18 | LL | Ok(3) => println!("ok"), | ^^^^^^^^^^^^^^ note: consider refactoring into `Ok(3) | Ok(_)` --> $DIR/matches.rs:93:18 | LL | Ok(3) => println!("ok"), | ^^^^^^^^^^^^^^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: this `match` has identical arm bodies --> $DIR/matches.rs:117:29 | LL | (Ok(_), Some(x)) => println!("ok {}", x), | ^^^^^^^^^^^^^^^^^^^^ | note: same as this --> $DIR/matches.rs:116:29 | LL | (Ok(x), Some(_)) => println!("ok {}", x), | ^^^^^^^^^^^^^^^^^^^^ note: consider refactoring into `(Ok(x), Some(_)) | (Ok(_), Some(x))` --> $DIR/matches.rs:116:29 | LL | (Ok(x), Some(_)) => println!("ok {}", x), | ^^^^^^^^^^^^^^^^^^^^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: this `match` has identical arm bodies --> $DIR/matches.rs:132:18 | LL | Ok(_) => println!("ok"), | ^^^^^^^^^^^^^^ | note: same as this --> $DIR/matches.rs:131:18 | LL | Ok(3) => println!("ok"), | ^^^^^^^^^^^^^^ note: consider refactoring into `Ok(3) | Ok(_)` --> $DIR/matches.rs:131:18 | LL | Ok(3) => println!("ok"), | ^^^^^^^^^^^^^^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: use as_ref() instead --> $DIR/matches.rs:141:33 | LL | let borrowed: Option<&()> = match owned { | _________________________________^ LL | | None => None, LL | | Some(ref v) => Some(v), LL | | }; | |_____^ help: try this: `owned.as_ref()` | = note: `-D clippy::match-as-ref` implied by `-D warnings` error: use as_mut() instead --> $DIR/matches.rs:147:39 | LL | let borrow_mut: Option<&mut ()> = match mut_owned { | _______________________________________^ LL | | None => None, LL | | Some(ref mut v) => Some(v), LL | | }; | |_____^ help: try this: `mut_owned.as_mut()` error: you don't need to add `&` to all patterns --> $DIR/matches.rs:174:5 | LL | / match foo_variant!(0) { LL | | &Foo::A => println!("A"), LL | | _ => println!("Wild"), LL | | } | |_____^ help: instead of prefixing all patterns with `&`, you can dereference the expression | LL | match *foo_variant!(0) { LL | Foo::A => println!("A"), | error: aborting due to 20 previous errors diff of stderr: -error: you don't need to add `&` to all patterns - --> $DIR/matches.rs:11:9 - | -LL | / match v { -LL | | &Some(v) => println!("{:?}", v), -LL | | &None => println!("none"), -LL | | } - | |_________^ - | - = note: `-D clippy::match-ref-pats` implied by `-D warnings` -help: instead of prefixing all patterns with `&`, you can dereference the expression - | -LL | match *v { -LL | Some(v) => println!("{:?}", v), -LL | None => println!("none"), - | - -error: you don't need to add `&` to all patterns - --> $DIR/matches.rs:22:5 - | -LL | / match tup { -LL | | &(v, 1) => println!("{}", v), -LL | | _ => println!("none"), -LL | | } - | |_____^ -help: instead of prefixing all patterns with `&`, you can dereference the expression - | -LL | match *tup { -LL | (v, 1) => println!("{}", v), - | - -error: you don't need to add `&` to both the expression and the patterns - --> $DIR/matches.rs:28:5 - | -LL | / match &w { -LL | | &Some(v) => println!("{:?}", v), -LL | | &None => println!("none"), -LL | | } - | |_____^ -help: try - | -LL | match w { -LL | Some(v) => println!("{:?}", v), -LL | None => println!("none"), - | - -error: you don't need to add `&` to all patterns - --> $DIR/matches.rs:39:5 - | -LL | / if let &None = a { -LL | | println!("none"); -LL | | } - | |_____^ -help: instead of prefixing all patterns with `&`, you can dereference the expression - | -LL | if let None = *a { - | ^^^^ ^^ - -error: you don't need to add `&` to both the expression and the patterns - --> $DIR/matches.rs:44:5 - | -LL | / if let &None = &b { -LL | | println!("none"); -LL | | } - | |_____^ -help: try - | -LL | if let None = b { - | ^^^^ ^ - -error: Err(_) will match all errors, maybe not a good idea - --> $DIR/matches.rs:55:9 - | -LL | Err(_) => panic!("err"), - | ^^^^^^ - | - = note: `-D clippy::match-wild-err-arm` implied by `-D warnings` - = note: to remove this warning, match each error separately or use unreachable macro - -error: this `match` has identical arm bodies - --> $DIR/matches.rs:54:18 - | -LL | Ok(_) => println!("ok"), - | ^^^^^^^^^^^^^^ - | - = note: `-D clippy::match-same-arms` implied by `-D warnings` -note: same as this - --> $DIR/matches.rs:53:18 - | -LL | Ok(3) => println!("ok"), - | ^^^^^^^^^^^^^^ -note: consider refactoring into `Ok(3) | Ok(_)` - --> $DIR/matches.rs:53:18 - | -LL | Ok(3) => println!("ok"), - | ^^^^^^^^^^^^^^ - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: Err(_) will match all errors, maybe not a good idea - --> $DIR/matches.rs:61:9 - | -LL | Err(_) => panic!(), - | ^^^^^^ - | - = note: to remove this warning, match each error separately or use unreachable macro - -error: this `match` has identical arm bodies - --> $DIR/matches.rs:60:18 - | -LL | Ok(_) => println!("ok"), - | ^^^^^^^^^^^^^^ - | -note: same as this - --> $DIR/matches.rs:59:18 - | -LL | Ok(3) => println!("ok"), - | ^^^^^^^^^^^^^^ -note: consider refactoring into `Ok(3) | Ok(_)` - --> $DIR/matches.rs:59:18 - | -LL | Ok(3) => println!("ok"), - | ^^^^^^^^^^^^^^ - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: Err(_) will match all errors, maybe not a good idea - --> $DIR/matches.rs:67:9 - | -LL | Err(_) => { - | ^^^^^^ - | - = note: to remove this warning, match each error separately or use unreachable macro - -error: this `match` has identical arm bodies - --> $DIR/matches.rs:66:18 - | -LL | Ok(_) => println!("ok"), - | ^^^^^^^^^^^^^^ - | -note: same as this - --> $DIR/matches.rs:65:18 - | -LL | Ok(3) => println!("ok"), - | ^^^^^^^^^^^^^^ -note: consider refactoring into `Ok(3) | Ok(_)` - --> $DIR/matches.rs:65:18 - | -LL | Ok(3) => println!("ok"), - | ^^^^^^^^^^^^^^ - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: this `match` has identical arm bodies - --> $DIR/matches.rs:75:18 - | -LL | Ok(_) => println!("ok"), - | ^^^^^^^^^^^^^^ - | -note: same as this - --> $DIR/matches.rs:74:18 - | -LL | Ok(3) => println!("ok"), - | ^^^^^^^^^^^^^^ -note: consider refactoring into `Ok(3) | Ok(_)` - --> $DIR/matches.rs:74:18 - | -LL | Ok(3) => println!("ok"), - | ^^^^^^^^^^^^^^ - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: this `match` has identical arm bodies - --> $DIR/matches.rs:82:18 - | -LL | Ok(_) => println!("ok"), - | ^^^^^^^^^^^^^^ - | -note: same as this - --> $DIR/matches.rs:81:18 - | -LL | Ok(3) => println!("ok"), - | ^^^^^^^^^^^^^^ -note: consider refactoring into `Ok(3) | Ok(_)` - --> $DIR/matches.rs:81:18 - | -LL | Ok(3) => println!("ok"), - | ^^^^^^^^^^^^^^ - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: this `match` has identical arm bodies - --> $DIR/matches.rs:88:18 - | -LL | Ok(_) => println!("ok"), - | ^^^^^^^^^^^^^^ - | -note: same as this - --> $DIR/matches.rs:87:18 - | -LL | Ok(3) => println!("ok"), - | ^^^^^^^^^^^^^^ -note: consider refactoring into `Ok(3) | Ok(_)` - --> $DIR/matches.rs:87:18 - | -LL | Ok(3) => println!("ok"), - | ^^^^^^^^^^^^^^ - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: this `match` has identical arm bodies - --> $DIR/matches.rs:94:18 - | -LL | Ok(_) => println!("ok"), - | ^^^^^^^^^^^^^^ - | -note: same as this - --> $DIR/matches.rs:93:18 - | -LL | Ok(3) => println!("ok"), - | ^^^^^^^^^^^^^^ -note: consider refactoring into `Ok(3) | Ok(_)` - --> $DIR/matches.rs:93:18 - | -LL | Ok(3) => println!("ok"), - | ^^^^^^^^^^^^^^ - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: this `match` has identical arm bodies - --> $DIR/matches.rs:117:29 - | -LL | (Ok(_), Some(x)) => println!("ok {}", x), - | ^^^^^^^^^^^^^^^^^^^^ - | -note: same as this - --> $DIR/matches.rs:116:29 - | -LL | (Ok(x), Some(_)) => println!("ok {}", x), - | ^^^^^^^^^^^^^^^^^^^^ -note: consider refactoring into `(Ok(x), Some(_)) | (Ok(_), Some(x))` - --> $DIR/matches.rs:116:29 - | -LL | (Ok(x), Some(_)) => println!("ok {}", x), - | ^^^^^^^^^^^^^^^^^^^^ - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: this `match` has identical arm bodies - --> $DIR/matches.rs:132:18 - | -LL | Ok(_) => println!("ok"), - | ^^^^^^^^^^^^^^ - | -note: same as this - --> $DIR/matches.rs:131:18 - | -LL | Ok(3) => println!("ok"), - | ^^^^^^^^^^^^^^ -note: consider refactoring into `Ok(3) | Ok(_)` - --> $DIR/matches.rs:131:18 - | -LL | Ok(3) => println!("ok"), - | ^^^^^^^^^^^^^^ - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: use as_ref() instead - --> $DIR/matches.rs:141:33 - | -LL | let borrowed: Option<&()> = match owned { - | _________________________________^ -LL | | None => None, -LL | | Some(ref v) => Some(v), -LL | | }; - | |_____^ help: try this: `owned.as_ref()` - | - = note: `-D clippy::match-as-ref` implied by `-D warnings` - -error: use as_mut() instead - --> $DIR/matches.rs:147:39 - | -LL | let borrow_mut: Option<&mut ()> = match mut_owned { - | _______________________________________^ -LL | | None => None, -LL | | Some(ref mut v) => Some(v), -LL | | }; - | |_____^ help: try this: `mut_owned.as_mut()` - -error: you don't need to add `&` to all patterns - --> $DIR/matches.rs:174:5 - | -LL | / match foo_variant!(0) { -LL | | &Foo::A => println!("A"), -LL | | _ => println!("Wild"), -LL | | } - | |_____^ -help: instead of prefixing all patterns with `&`, you can dereference the expression - | -LL | match *foo_variant!(0) { -LL | Foo::A => println!("A"), - | - -error: aborting due to 20 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/matches.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'matches.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/matches.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/matches.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/matches.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/matches.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/methods.rs stdout ---- error: auxiliary build of "tests/ui/auxiliary/option_helpers.rs" failed to compile: status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/auxiliary/option_helpers.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "--out-dir" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/methods.stage-id.aux" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "--crate-type" "dylib" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/methods.stage-id.aux" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/methods.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/missing_const_for_fn/could_be_const.rs stdout ---- normalized stderr: expected stderr: error: this could be a const_fn --> $DIR/could_be_const.rs:12:5 | LL | / pub fn new() -> Self { LL | | Self { guess: 42 } LL | | } | |_____^ | = note: `-D clippy::missing-const-for-fn` implied by `-D warnings` error: this could be a const_fn --> $DIR/could_be_const.rs:18:1 | LL | / fn one() -> i32 { LL | | 1 LL | | } | |_^ error: this could be a const_fn --> $DIR/could_be_const.rs:23:1 | LL | / fn two() -> i32 { LL | | let abc = 2; LL | | abc LL | | } | |_^ error: this could be a const_fn --> $DIR/could_be_const.rs:30:1 | LL | / fn string() -> String { LL | | String::new() LL | | } | |_^ error: this could be a const_fn --> $DIR/could_be_const.rs:35:1 | LL | / unsafe fn four() -> i32 { LL | | 4 LL | | } | |_^ error: this could be a const_fn --> $DIR/could_be_const.rs:40:1 | LL | / fn generic(t: T) -> T { LL | | t LL | | } | |_^ error: aborting due to 6 previous errors diff of stderr: -error: this could be a const_fn - --> $DIR/could_be_const.rs:12:5 - | -LL | / pub fn new() -> Self { -LL | | Self { guess: 42 } -LL | | } - | |_____^ - | - = note: `-D clippy::missing-const-for-fn` implied by `-D warnings` - -error: this could be a const_fn - --> $DIR/could_be_const.rs:18:1 - | -LL | / fn one() -> i32 { -LL | | 1 -LL | | } - | |_^ - -error: this could be a const_fn - --> $DIR/could_be_const.rs:23:1 - | -LL | / fn two() -> i32 { -LL | | let abc = 2; -LL | | abc -LL | | } - | |_^ - -error: this could be a const_fn - --> $DIR/could_be_const.rs:30:1 - | -LL | / fn string() -> String { -LL | | String::new() -LL | | } - | |_^ - -error: this could be a const_fn - --> $DIR/could_be_const.rs:35:1 - | -LL | / unsafe fn four() -> i32 { -LL | | 4 -LL | | } - | |_^ - -error: this could be a const_fn - --> $DIR/could_be_const.rs:40:1 - | -LL | / fn generic(t: T) -> T { -LL | | t -LL | | } - | |_^ - -error: aborting due to 6 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/missing_const_for_fn/could_be_const.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'missing_const_for_fn/could_be_const.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/missing_const_for_fn/could_be_const.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/missing_const_for_fn/could_be_const.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/missing_const_for_fn/could_be_const.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/missing_const_for_fn/could_be_const.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/mut_from_ref.rs stdout ---- normalized stderr: expected stderr: error: mutable borrow from immutable input(s) --> $DIR/mut_from_ref.rs:7:39 | LL | fn this_wont_hurt_a_bit(&self) -> &mut Foo { | ^^^^^^^^ | = note: `-D clippy::mut-from-ref` implied by `-D warnings` note: immutable borrow here --> $DIR/mut_from_ref.rs:7:29 | LL | fn this_wont_hurt_a_bit(&self) -> &mut Foo { | ^^^^^ error: mutable borrow from immutable input(s) --> $DIR/mut_from_ref.rs:13:25 | LL | fn ouch(x: &Foo) -> &mut Foo; | ^^^^^^^^ | note: immutable borrow here --> $DIR/mut_from_ref.rs:13:16 | LL | fn ouch(x: &Foo) -> &mut Foo; | ^^^^ error: mutable borrow from immutable input(s) --> $DIR/mut_from_ref.rs:22:21 | LL | fn fail(x: &u32) -> &mut u16 { | ^^^^^^^^ | note: immutable borrow here --> $DIR/mut_from_ref.rs:22:12 | LL | fn fail(x: &u32) -> &mut u16 { | ^^^^ error: mutable borrow from immutable input(s) --> $DIR/mut_from_ref.rs:26:50 | LL | fn fail_lifetime<'a>(x: &'a u32, y: &mut u32) -> &'a mut u32 { | ^^^^^^^^^^^ | note: immutable borrow here --> $DIR/mut_from_ref.rs:26:25 | LL | fn fail_lifetime<'a>(x: &'a u32, y: &mut u32) -> &'a mut u32 { | ^^^^^^^ error: mutable borrow from immutable input(s) --> $DIR/mut_from_ref.rs:30:67 | LL | fn fail_double<'a, 'b>(x: &'a u32, y: &'a u32, z: &'b mut u32) -> &'a mut u32 { | ^^^^^^^^^^^ | note: immutable borrow here --> $DIR/mut_from_ref.rs:30:27 | LL | fn fail_double<'a, 'b>(x: &'a u32, y: &'a u32, z: &'b mut u32) -> &'a mut u32 { | ^^^^^^^ ^^^^^^^ error: aborting due to 5 previous errors diff of stderr: -error: mutable borrow from immutable input(s) - --> $DIR/mut_from_ref.rs:7:39 - | -LL | fn this_wont_hurt_a_bit(&self) -> &mut Foo { - | ^^^^^^^^ - | - = note: `-D clippy::mut-from-ref` implied by `-D warnings` -note: immutable borrow here - --> $DIR/mut_from_ref.rs:7:29 - | -LL | fn this_wont_hurt_a_bit(&self) -> &mut Foo { - | ^^^^^ - -error: mutable borrow from immutable input(s) - --> $DIR/mut_from_ref.rs:13:25 - | -LL | fn ouch(x: &Foo) -> &mut Foo; - | ^^^^^^^^ - | -note: immutable borrow here - --> $DIR/mut_from_ref.rs:13:16 - | -LL | fn ouch(x: &Foo) -> &mut Foo; - | ^^^^ - -error: mutable borrow from immutable input(s) - --> $DIR/mut_from_ref.rs:22:21 - | -LL | fn fail(x: &u32) -> &mut u16 { - | ^^^^^^^^ - | -note: immutable borrow here - --> $DIR/mut_from_ref.rs:22:12 - | -LL | fn fail(x: &u32) -> &mut u16 { - | ^^^^ - -error: mutable borrow from immutable input(s) - --> $DIR/mut_from_ref.rs:26:50 - | -LL | fn fail_lifetime<'a>(x: &'a u32, y: &mut u32) -> &'a mut u32 { - | ^^^^^^^^^^^ - | -note: immutable borrow here - --> $DIR/mut_from_ref.rs:26:25 - | -LL | fn fail_lifetime<'a>(x: &'a u32, y: &mut u32) -> &'a mut u32 { - | ^^^^^^^ - -error: mutable borrow from immutable input(s) - --> $DIR/mut_from_ref.rs:30:67 - | -LL | fn fail_double<'a, 'b>(x: &'a u32, y: &'a u32, z: &'b mut u32) -> &'a mut u32 { - | ^^^^^^^^^^^ - | -note: immutable borrow here - --> $DIR/mut_from_ref.rs:30:27 - | -LL | fn fail_double<'a, 'b>(x: &'a u32, y: &'a u32, z: &'b mut u32) -> &'a mut u32 { - | ^^^^^^^ ^^^^^^^ - -error: aborting due to 5 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/mut_from_ref.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'mut_from_ref.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/mut_from_ref.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/mut_from_ref.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/mut_from_ref.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/mut_from_ref.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/needless_bool.rs stdout ---- normalized stderr: expected stderr: error: this if-then-else expression will always return true --> $DIR/needless_bool.rs:31:5 | LL | / if x { LL | | true LL | | } else { LL | | true LL | | }; | |_____^ | = note: `-D clippy::needless-bool` implied by `-D warnings` error: this if-then-else expression will always return false --> $DIR/needless_bool.rs:36:5 | LL | / if x { LL | | false LL | | } else { LL | | false LL | | }; | |_____^ error: this if-then-else expression returns a bool literal --> $DIR/needless_bool.rs:41:5 | LL | / if x { LL | | true LL | | } else { LL | | false LL | | }; | |_____^ help: you can reduce it to: `x` error: this if-then-else expression returns a bool literal --> $DIR/needless_bool.rs:46:5 | LL | / if x { LL | | false LL | | } else { LL | | true LL | | }; | |_____^ help: you can reduce it to: `!x` error: this if-then-else expression returns a bool literal --> $DIR/needless_bool.rs:51:5 | LL | / if x && y { LL | | false LL | | } else { LL | | true LL | | }; | |_____^ help: you can reduce it to: `!(x && y)` error: this if-then-else expression will always return true --> $DIR/needless_bool.rs:74:5 | LL | / if x { LL | | return true; LL | | } else { LL | | return true; LL | | }; | |_____^ error: this if-then-else expression will always return false --> $DIR/needless_bool.rs:83:5 | LL | / if x { LL | | return false; LL | | } else { LL | | return false; LL | | }; | |_____^ error: this if-then-else expression returns a bool literal --> $DIR/needless_bool.rs:92:5 | LL | / if x { LL | | return true; LL | | } else { LL | | return false; LL | | }; | |_____^ help: you can reduce it to: `return x` error: this if-then-else expression returns a bool literal --> $DIR/needless_bool.rs:101:5 | LL | / if x && y { LL | | return true; LL | | } else { LL | | return false; LL | | }; | |_____^ help: you can reduce it to: `return x && y` error: this if-then-else expression returns a bool literal --> $DIR/needless_bool.rs:110:5 | LL | / if x { LL | | return false; LL | | } else { LL | | return true; LL | | }; | |_____^ help: you can reduce it to: `return !x` error: this if-then-else expression returns a bool literal --> $DIR/needless_bool.rs:119:5 | LL | / if x && y { LL | | return false; LL | | } else { LL | | return true; LL | | }; | |_____^ help: you can reduce it to: `return !(x && y)` error: equality checks against true are unnecessary --> $DIR/needless_bool.rs:127:8 | LL | if x == true {}; | ^^^^^^^^^ help: try simplifying it as shown: `x` | = note: `-D clippy::bool-comparison` implied by `-D warnings` error: equality checks against false can be replaced by a negation --> $DIR/needless_bool.rs:131:8 | LL | if x == false {}; | ^^^^^^^^^^ help: try simplifying it as shown: `!x` error: equality checks against true are unnecessary --> $DIR/needless_bool.rs:141:8 | LL | if x == true {}; | ^^^^^^^^^ help: try simplifying it as shown: `x` error: equality checks against false can be replaced by a negation --> $DIR/needless_bool.rs:142:8 | LL | if x == false {}; | ^^^^^^^^^^ help: try simplifying it as shown: `!x` error: this if-then-else expression returns a bool literal --> $DIR/needless_bool.rs:151:12 | LL | } else if returns_bool() { | ____________^ LL | | false LL | | } else { LL | | true LL | | }; | |_____^ help: you can reduce it to: `{ !returns_bool() }` error: aborting due to 16 previous errors diff of stderr: -error: this if-then-else expression will always return true - --> $DIR/needless_bool.rs:31:5 - | -LL | / if x { -LL | | true -LL | | } else { -LL | | true -LL | | }; - | |_____^ - | - = note: `-D clippy::needless-bool` implied by `-D warnings` - -error: this if-then-else expression will always return false - --> $DIR/needless_bool.rs:36:5 - | -LL | / if x { -LL | | false -LL | | } else { -LL | | false -LL | | }; - | |_____^ - -error: this if-then-else expression returns a bool literal - --> $DIR/needless_bool.rs:41:5 - | -LL | / if x { -LL | | true -LL | | } else { -LL | | false -LL | | }; - | |_____^ help: you can reduce it to: `x` - -error: this if-then-else expression returns a bool literal - --> $DIR/needless_bool.rs:46:5 - | -LL | / if x { -LL | | false -LL | | } else { -LL | | true -LL | | }; - | |_____^ help: you can reduce it to: `!x` - -error: this if-then-else expression returns a bool literal - --> $DIR/needless_bool.rs:51:5 - | -LL | / if x && y { -LL | | false -LL | | } else { -LL | | true -LL | | }; - | |_____^ help: you can reduce it to: `!(x && y)` - -error: this if-then-else expression will always return true - --> $DIR/needless_bool.rs:74:5 - | -LL | / if x { -LL | | return true; -LL | | } else { -LL | | return true; -LL | | }; - | |_____^ - -error: this if-then-else expression will always return false - --> $DIR/needless_bool.rs:83:5 - | -LL | / if x { -LL | | return false; -LL | | } else { -LL | | return false; -LL | | }; - | |_____^ - -error: this if-then-else expression returns a bool literal - --> $DIR/needless_bool.rs:92:5 - | -LL | / if x { -LL | | return true; -LL | | } else { -LL | | return false; -LL | | }; - | |_____^ help: you can reduce it to: `return x` - -error: this if-then-else expression returns a bool literal - --> $DIR/needless_bool.rs:101:5 - | -LL | / if x && y { -LL | | return true; -LL | | } else { -LL | | return false; -LL | | }; - | |_____^ help: you can reduce it to: `return x && y` - -error: this if-then-else expression returns a bool literal - --> $DIR/needless_bool.rs:110:5 - | -LL | / if x { -LL | | return false; -LL | | } else { -LL | | return true; -LL | | }; - | |_____^ help: you can reduce it to: `return !x` - -error: this if-then-else expression returns a bool literal - --> $DIR/needless_bool.rs:119:5 - | -LL | / if x && y { -LL | | return false; -LL | | } else { -LL | | return true; -LL | | }; - | |_____^ help: you can reduce it to: `return !(x && y)` - -error: equality checks against true are unnecessary - --> $DIR/needless_bool.rs:127:8 - | -LL | if x == true {}; - | ^^^^^^^^^ help: try simplifying it as shown: `x` - | - = note: `-D clippy::bool-comparison` implied by `-D warnings` - -error: equality checks against false can be replaced by a negation - --> $DIR/needless_bool.rs:131:8 - | -LL | if x == false {}; - | ^^^^^^^^^^ help: try simplifying it as shown: `!x` - -error: equality checks against true are unnecessary - --> $DIR/needless_bool.rs:141:8 - | -LL | if x == true {}; - | ^^^^^^^^^ help: try simplifying it as shown: `x` - -error: equality checks against false can be replaced by a negation - --> $DIR/needless_bool.rs:142:8 - | -LL | if x == false {}; - | ^^^^^^^^^^ help: try simplifying it as shown: `!x` - -error: this if-then-else expression returns a bool literal - --> $DIR/needless_bool.rs:151:12 - | -LL | } else if returns_bool() { - | ____________^ -LL | | false -LL | | } else { -LL | | true -LL | | }; - | |_____^ help: you can reduce it to: `{ !returns_bool() }` - -error: aborting due to 16 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_bool.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'needless_bool.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/needless_bool.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_bool.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_bool.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/needless_bool.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/needless_borrow.rs stdout ---- normalized stderr: expected stderr: error: this expression borrows a reference that is immediately dereferenced by the compiler --> $DIR/needless_borrow.rs:13:15 | LL | let c = x(&&a); | ^^^ help: change this to: `&a` | = note: `-D clippy::needless-borrow` implied by `-D warnings` error: this pattern creates a reference to a reference --> $DIR/needless_borrow.rs:20:17 | LL | if let Some(ref cake) = Some(&5) {} | ^^^^^^^^ help: change this to: `cake` error: this expression borrows a reference that is immediately dereferenced by the compiler --> $DIR/needless_borrow.rs:27:15 | LL | 46 => &&a, | ^^^ help: change this to: `&a` error: this pattern takes a reference on something that is being de-referenced --> $DIR/needless_borrow.rs:49:34 | LL | let _ = v.iter_mut().filter(|&ref a| a.is_empty()); | ^^^^^^ help: try removing the `&ref` part and just keep: `a` | = note: `-D clippy::needless-borrowed-reference` implied by `-D warnings` error: this pattern takes a reference on something that is being de-referenced --> $DIR/needless_borrow.rs:50:30 | LL | let _ = v.iter().filter(|&ref a| a.is_empty()); | ^^^^^^ help: try removing the `&ref` part and just keep: `a` error: this pattern creates a reference to a reference --> $DIR/needless_borrow.rs:50:31 | LL | let _ = v.iter().filter(|&ref a| a.is_empty()); | ^^^^^ help: change this to: `a` error: aborting due to 6 previous errors diff of stderr: -error: this expression borrows a reference that is immediately dereferenced by the compiler - --> $DIR/needless_borrow.rs:13:15 - | -LL | let c = x(&&a); - | ^^^ help: change this to: `&a` - | - = note: `-D clippy::needless-borrow` implied by `-D warnings` - -error: this pattern creates a reference to a reference - --> $DIR/needless_borrow.rs:20:17 - | -LL | if let Some(ref cake) = Some(&5) {} - | ^^^^^^^^ help: change this to: `cake` - -error: this expression borrows a reference that is immediately dereferenced by the compiler - --> $DIR/needless_borrow.rs:27:15 - | -LL | 46 => &&a, - | ^^^ help: change this to: `&a` - -error: this pattern takes a reference on something that is being de-referenced - --> $DIR/needless_borrow.rs:49:34 - | -LL | let _ = v.iter_mut().filter(|&ref a| a.is_empty()); - | ^^^^^^ help: try removing the `&ref` part and just keep: `a` - | - = note: `-D clippy::needless-borrowed-reference` implied by `-D warnings` - -error: this pattern takes a reference on something that is being de-referenced - --> $DIR/needless_borrow.rs:50:30 - | -LL | let _ = v.iter().filter(|&ref a| a.is_empty()); - | ^^^^^^ help: try removing the `&ref` part and just keep: `a` - -error: this pattern creates a reference to a reference - --> $DIR/needless_borrow.rs:50:31 - | -LL | let _ = v.iter().filter(|&ref a| a.is_empty()); - | ^^^^^ help: change this to: `a` - -error: aborting due to 6 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_borrow.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'needless_borrow.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/needless_borrow.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_borrow.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_borrow.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/needless_borrow.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/needless_borrowed_ref.rs stdout ---- normalized stderr: expected stderr: error: this pattern takes a reference on something that is being de-referenced --> $DIR/needless_borrowed_ref.rs:5:34 | LL | let _ = v.iter_mut().filter(|&ref a| a.is_empty()); | ^^^^^^ help: try removing the `&ref` part and just keep: `a` | = note: `-D clippy::needless-borrowed-reference` implied by `-D warnings` error: this pattern takes a reference on something that is being de-referenced --> $DIR/needless_borrowed_ref.rs:10:17 | LL | if let Some(&ref v) = thingy { | ^^^^^^ help: try removing the `&ref` part and just keep: `v` error: this pattern takes a reference on something that is being de-referenced --> $DIR/needless_borrowed_ref.rs:39:27 | LL | (&Animal::Cat(v), &ref k) | (&ref k, &Animal::Cat(v)) => (), // lifetime mismatch error if there is no '&ref' | ^^^^^^ help: try removing the `&ref` part and just keep: `k` error: this pattern takes a reference on something that is being de-referenced --> $DIR/needless_borrowed_ref.rs:39:38 | LL | (&Animal::Cat(v), &ref k) | (&ref k, &Animal::Cat(v)) => (), // lifetime mismatch error if there is no '&ref' | ^^^^^^ help: try removing the `&ref` part and just keep: `k` error: aborting due to 4 previous errors diff of stderr: -error: this pattern takes a reference on something that is being de-referenced - --> $DIR/needless_borrowed_ref.rs:5:34 - | -LL | let _ = v.iter_mut().filter(|&ref a| a.is_empty()); - | ^^^^^^ help: try removing the `&ref` part and just keep: `a` - | - = note: `-D clippy::needless-borrowed-reference` implied by `-D warnings` - -error: this pattern takes a reference on something that is being de-referenced - --> $DIR/needless_borrowed_ref.rs:10:17 - | -LL | if let Some(&ref v) = thingy { - | ^^^^^^ help: try removing the `&ref` part and just keep: `v` - -error: this pattern takes a reference on something that is being de-referenced - --> $DIR/needless_borrowed_ref.rs:39:27 - | -LL | (&Animal::Cat(v), &ref k) | (&ref k, &Animal::Cat(v)) => (), // lifetime mismatch error if there is no '&ref' - | ^^^^^^ help: try removing the `&ref` part and just keep: `k` - -error: this pattern takes a reference on something that is being de-referenced - --> $DIR/needless_borrowed_ref.rs:39:38 - | -LL | (&Animal::Cat(v), &ref k) | (&ref k, &Animal::Cat(v)) => (), // lifetime mismatch error if there is no '&ref' - | ^^^^^^ help: try removing the `&ref` part and just keep: `k` - -error: aborting due to 4 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_borrowed_ref.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'needless_borrowed_ref.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/needless_borrowed_ref.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_borrowed_ref.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_borrowed_ref.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/needless_borrowed_ref.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/needless_pass_by_value.rs stdout ---- normalized stderr: expected stderr: error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:16:23 | LL | fn foo(v: Vec, w: Vec, mut x: Vec, y: Vec) -> Vec { | ^^^^^^ help: consider changing the type to: `&[T]` | = note: `-D clippy::needless-pass-by-value` implied by `-D warnings` error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:30:11 | LL | fn bar(x: String, y: Wrapper) { | ^^^^^^ help: consider changing the type to: `&str` error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:30:22 | LL | fn bar(x: String, y: Wrapper) { | ^^^^^^^ help: consider taking a reference instead: `&Wrapper` error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:36:71 | LL | fn test_borrow_trait, U: AsRef, V>(t: T, u: U, v: V) { | ^ help: consider taking a reference instead: `&V` error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:48:18 | LL | fn test_match(x: Option>, y: Option>) { | ^^^^^^^^^^^^^^^^^^^^^^ help: consider taking a reference instead | LL | fn test_match(x: &Option>, y: Option>) { LL | match *x { | error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:61:24 | LL | fn test_destructure(x: Wrapper, y: Wrapper, z: Wrapper) { | ^^^^^^^ help: consider taking a reference instead: `&Wrapper` error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:61:36 | LL | fn test_destructure(x: Wrapper, y: Wrapper, z: Wrapper) { | ^^^^^^^ help: consider taking a reference instead | LL | fn test_destructure(x: Wrapper, y: &Wrapper, z: Wrapper) { LL | let Wrapper(s) = z; // moved LL | let Wrapper(ref t) = *y; // not moved LL | let Wrapper(_) = *y; // still not moved | error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:77:49 | LL | fn test_blanket_ref(_foo: T, _serializable: S) {} | ^ help: consider taking a reference instead: `&T` error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:79:18 | LL | fn issue_2114(s: String, t: String, u: Vec, v: Vec) { | ^^^^^^ help: consider taking a reference instead: `&String` error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:79:29 | LL | fn issue_2114(s: String, t: String, u: Vec, v: Vec) { | ^^^^^^ help: consider changing the type to | LL | fn issue_2114(s: String, t: &str, u: Vec, v: Vec) { | ^^^^ help: change `t.clone()` to | LL | let _ = t.to_string(); | ^^^^^^^^^^^^^ error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:79:40 | LL | fn issue_2114(s: String, t: String, u: Vec, v: Vec) { | ^^^^^^^^ help: consider taking a reference instead: `&Vec` error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:79:53 | LL | fn issue_2114(s: String, t: String, u: Vec, v: Vec) { | ^^^^^^^^ help: consider changing the type to | LL | fn issue_2114(s: String, t: String, u: Vec, v: &[i32]) { | ^^^^^^ help: change `v.clone()` to | LL | let _ = v.to_owned(); | ^^^^^^^^^^^^ error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:92:12 | LL | s: String, | ^^^^^^ help: consider changing the type to: `&str` error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:93:12 | LL | t: String, | ^^^^^^ help: consider taking a reference instead: `&String` error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:102:23 | LL | fn baz(&self, _u: U, _s: Self) {} | ^ help: consider taking a reference instead: `&U` error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:102:30 | LL | fn baz(&self, _u: U, _s: Self) {} | ^^^^ help: consider taking a reference instead: `&Self` error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:124:24 | LL | fn bar_copy(x: u32, y: CopyWrapper) { | ^^^^^^^^^^^ help: consider taking a reference instead: `&CopyWrapper` | help: consider marking this type as Copy --> $DIR/needless_pass_by_value.rs:122:1 | LL | struct CopyWrapper(u32); | ^^^^^^^^^^^^^^^^^^^^^^^^ error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:130:29 | LL | fn test_destructure_copy(x: CopyWrapper, y: CopyWrapper, z: CopyWrapper) { | ^^^^^^^^^^^ help: consider taking a reference instead: `&CopyWrapper` | help: consider marking this type as Copy --> $DIR/needless_pass_by_value.rs:122:1 | LL | struct CopyWrapper(u32); | ^^^^^^^^^^^^^^^^^^^^^^^^ error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:130:45 | LL | fn test_destructure_copy(x: CopyWrapper, y: CopyWrapper, z: CopyWrapper) { | ^^^^^^^^^^^ | help: consider marking this type as Copy --> $DIR/needless_pass_by_value.rs:122:1 | LL | struct CopyWrapper(u32); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider taking a reference instead | LL | fn test_destructure_copy(x: CopyWrapper, y: &CopyWrapper, z: CopyWrapper) { LL | let CopyWrapper(s) = z; // moved LL | let CopyWrapper(ref t) = *y; // not moved LL | let CopyWrapper(_) = *y; // still not moved | error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:130:61 | LL | fn test_destructure_copy(x: CopyWrapper, y: CopyWrapper, z: CopyWrapper) { | ^^^^^^^^^^^ | help: consider marking this type as Copy --> $DIR/needless_pass_by_value.rs:122:1 | LL | struct CopyWrapper(u32); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider taking a reference instead | LL | fn test_destructure_copy(x: CopyWrapper, y: CopyWrapper, z: &CopyWrapper) { LL | let CopyWrapper(s) = *z; // moved | error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:142:40 | LL | fn some_fun<'b, S: Bar<'b, ()>>(_item: S) {} | ^ help: consider taking a reference instead: `&S` error: this argument is passed by value, but not consumed in the function body --> $DIR/needless_pass_by_value.rs:147:20 | LL | fn more_fun(_item: impl Club<'static, i32>) {} | ^^^^^^^^^^^^^^^^^^^^^^^ help: consider taking a reference instead: `&impl Club<'static, i32>` error: aborting due to 22 previous errors diff of stderr: -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:16:23 - | -LL | fn foo(v: Vec, w: Vec, mut x: Vec, y: Vec) -> Vec { - | ^^^^^^ help: consider changing the type to: `&[T]` - | - = note: `-D clippy::needless-pass-by-value` implied by `-D warnings` - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:30:11 - | -LL | fn bar(x: String, y: Wrapper) { - | ^^^^^^ help: consider changing the type to: `&str` - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:30:22 - | -LL | fn bar(x: String, y: Wrapper) { - | ^^^^^^^ help: consider taking a reference instead: `&Wrapper` - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:36:71 - | -LL | fn test_borrow_trait, U: AsRef, V>(t: T, u: U, v: V) { - | ^ help: consider taking a reference instead: `&V` - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:48:18 - | -LL | fn test_match(x: Option>, y: Option>) { - | ^^^^^^^^^^^^^^^^^^^^^^ -help: consider taking a reference instead - | -LL | fn test_match(x: &Option>, y: Option>) { -LL | match *x { - | - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:61:24 - | -LL | fn test_destructure(x: Wrapper, y: Wrapper, z: Wrapper) { - | ^^^^^^^ help: consider taking a reference instead: `&Wrapper` - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:61:36 - | -LL | fn test_destructure(x: Wrapper, y: Wrapper, z: Wrapper) { - | ^^^^^^^ -help: consider taking a reference instead - | -LL | fn test_destructure(x: Wrapper, y: &Wrapper, z: Wrapper) { -LL | let Wrapper(s) = z; // moved -LL | let Wrapper(ref t) = *y; // not moved -LL | let Wrapper(_) = *y; // still not moved - | - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:77:49 - | -LL | fn test_blanket_ref(_foo: T, _serializable: S) {} - | ^ help: consider taking a reference instead: `&T` - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:79:18 - | -LL | fn issue_2114(s: String, t: String, u: Vec, v: Vec) { - | ^^^^^^ help: consider taking a reference instead: `&String` - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:79:29 - | -LL | fn issue_2114(s: String, t: String, u: Vec, v: Vec) { - | ^^^^^^ -help: consider changing the type to - | -LL | fn issue_2114(s: String, t: &str, u: Vec, v: Vec) { - | ^^^^ -help: change `t.clone()` to - | -LL | let _ = t.to_string(); - | ^^^^^^^^^^^^^ - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:79:40 - | -LL | fn issue_2114(s: String, t: String, u: Vec, v: Vec) { - | ^^^^^^^^ help: consider taking a reference instead: `&Vec` - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:79:53 - | -LL | fn issue_2114(s: String, t: String, u: Vec, v: Vec) { - | ^^^^^^^^ -help: consider changing the type to - | -LL | fn issue_2114(s: String, t: String, u: Vec, v: &[i32]) { - | ^^^^^^ -help: change `v.clone()` to - | -LL | let _ = v.to_owned(); - | ^^^^^^^^^^^^ - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:92:12 - | -LL | s: String, - | ^^^^^^ help: consider changing the type to: `&str` - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:93:12 - | -LL | t: String, - | ^^^^^^ help: consider taking a reference instead: `&String` - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:102:23 - | -LL | fn baz(&self, _u: U, _s: Self) {} - | ^ help: consider taking a reference instead: `&U` - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:102:30 - | -LL | fn baz(&self, _u: U, _s: Self) {} - | ^^^^ help: consider taking a reference instead: `&Self` - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:124:24 - | -LL | fn bar_copy(x: u32, y: CopyWrapper) { - | ^^^^^^^^^^^ help: consider taking a reference instead: `&CopyWrapper` - | -help: consider marking this type as Copy - --> $DIR/needless_pass_by_value.rs:122:1 - | -LL | struct CopyWrapper(u32); - | ^^^^^^^^^^^^^^^^^^^^^^^^ - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:130:29 - | -LL | fn test_destructure_copy(x: CopyWrapper, y: CopyWrapper, z: CopyWrapper) { - | ^^^^^^^^^^^ help: consider taking a reference instead: `&CopyWrapper` - | -help: consider marking this type as Copy - --> $DIR/needless_pass_by_value.rs:122:1 - | -LL | struct CopyWrapper(u32); - | ^^^^^^^^^^^^^^^^^^^^^^^^ - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:130:45 - | -LL | fn test_destructure_copy(x: CopyWrapper, y: CopyWrapper, z: CopyWrapper) { - | ^^^^^^^^^^^ - | -help: consider marking this type as Copy - --> $DIR/needless_pass_by_value.rs:122:1 - | -LL | struct CopyWrapper(u32); - | ^^^^^^^^^^^^^^^^^^^^^^^^ -help: consider taking a reference instead - | -LL | fn test_destructure_copy(x: CopyWrapper, y: &CopyWrapper, z: CopyWrapper) { -LL | let CopyWrapper(s) = z; // moved -LL | let CopyWrapper(ref t) = *y; // not moved -LL | let CopyWrapper(_) = *y; // still not moved - | - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:130:61 - | -LL | fn test_destructure_copy(x: CopyWrapper, y: CopyWrapper, z: CopyWrapper) { - | ^^^^^^^^^^^ - | -help: consider marking this type as Copy - --> $DIR/needless_pass_by_value.rs:122:1 - | -LL | struct CopyWrapper(u32); - | ^^^^^^^^^^^^^^^^^^^^^^^^ -help: consider taking a reference instead - | -LL | fn test_destructure_copy(x: CopyWrapper, y: CopyWrapper, z: &CopyWrapper) { -LL | let CopyWrapper(s) = *z; // moved - | - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:142:40 - | -LL | fn some_fun<'b, S: Bar<'b, ()>>(_item: S) {} - | ^ help: consider taking a reference instead: `&S` - -error: this argument is passed by value, but not consumed in the function body - --> $DIR/needless_pass_by_value.rs:147:20 - | -LL | fn more_fun(_item: impl Club<'static, i32>) {} - | ^^^^^^^^^^^^^^^^^^^^^^^ help: consider taking a reference instead: `&impl Club<'static, i32>` - -error: aborting due to 22 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_pass_by_value.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'needless_pass_by_value.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/needless_pass_by_value.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_pass_by_value.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_pass_by_value.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/needless_pass_by_value.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/needless_range_loop.rs stdout ---- normalized stderr: expected stderr: error: the loop variable `i` is only used to index `ns`. --> $DIR/needless_range_loop.rs:8:14 | LL | for i in 3..10 { | ^^^^^ | = note: `-D clippy::needless-range-loop` implied by `-D warnings` help: consider using an iterator | LL | for in ns.iter().take(10).skip(3) { | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ error: the loop variable `i` is only used to index `ms`. --> $DIR/needless_range_loop.rs:29:14 | LL | for i in 0..ms.len() { | ^^^^^^^^^^^ help: consider using an iterator | LL | for in &mut ms { | ^^^^^^ ^^^^^^^ error: the loop variable `i` is only used to index `ms`. --> $DIR/needless_range_loop.rs:35:14 | LL | for i in 0..ms.len() { | ^^^^^^^^^^^ help: consider using an iterator | LL | for in &mut ms { | ^^^^^^ ^^^^^^^ error: the loop variable `i` is only used to index `vec`. --> $DIR/needless_range_loop.rs:59:14 | LL | for i in x..x + 4 { | ^^^^^^^^ help: consider using an iterator | LL | for in vec.iter_mut().skip(x).take(4) { | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: the loop variable `i` is only used to index `vec`. --> $DIR/needless_range_loop.rs:66:14 | LL | for i in x..=x + 4 { | ^^^^^^^^^ help: consider using an iterator | LL | for in vec.iter_mut().skip(x).take(4 + 1) { | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: the loop variable `i` is only used to index `arr`. --> $DIR/needless_range_loop.rs:72:14 | LL | for i in 0..3 { | ^^^^ help: consider using an iterator | LL | for in &arr { | ^^^^^^ ^^^^ error: the loop variable `i` is only used to index `arr`. --> $DIR/needless_range_loop.rs:76:14 | LL | for i in 0..2 { | ^^^^ help: consider using an iterator | LL | for in arr.iter().take(2) { | ^^^^^^ ^^^^^^^^^^^^^^^^^^ error: the loop variable `i` is only used to index `arr`. --> $DIR/needless_range_loop.rs:80:14 | LL | for i in 1..3 { | ^^^^ help: consider using an iterator | LL | for in arr.iter().skip(1) { | ^^^^^^ ^^^^^^^^^^^^^^^^^^ error: the loop variable `i` is used to index `vec` --> $DIR/needless_range_loop.rs:85:14 | LL | for i in 0..vec.len() { | ^^^^^^^^^^^^ help: consider using an iterator | LL | for (i, ) in vec.iter_mut().enumerate() { | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 9 previous errors diff of stderr: -error: the loop variable `i` is only used to index `ns`. - --> $DIR/needless_range_loop.rs:8:14 - | -LL | for i in 3..10 { - | ^^^^^ - | - = note: `-D clippy::needless-range-loop` implied by `-D warnings` -help: consider using an iterator - | -LL | for in ns.iter().take(10).skip(3) { - | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: the loop variable `i` is only used to index `ms`. - --> $DIR/needless_range_loop.rs:29:14 - | -LL | for i in 0..ms.len() { - | ^^^^^^^^^^^ -help: consider using an iterator - | -LL | for in &mut ms { - | ^^^^^^ ^^^^^^^ - -error: the loop variable `i` is only used to index `ms`. - --> $DIR/needless_range_loop.rs:35:14 - | -LL | for i in 0..ms.len() { - | ^^^^^^^^^^^ -help: consider using an iterator - | -LL | for in &mut ms { - | ^^^^^^ ^^^^^^^ - -error: the loop variable `i` is only used to index `vec`. - --> $DIR/needless_range_loop.rs:59:14 - | -LL | for i in x..x + 4 { - | ^^^^^^^^ -help: consider using an iterator - | -LL | for in vec.iter_mut().skip(x).take(4) { - | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: the loop variable `i` is only used to index `vec`. - --> $DIR/needless_range_loop.rs:66:14 - | -LL | for i in x..=x + 4 { - | ^^^^^^^^^ -help: consider using an iterator - | -LL | for in vec.iter_mut().skip(x).take(4 + 1) { - | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: the loop variable `i` is only used to index `arr`. - --> $DIR/needless_range_loop.rs:72:14 - | -LL | for i in 0..3 { - | ^^^^ -help: consider using an iterator - | -LL | for in &arr { - | ^^^^^^ ^^^^ - -error: the loop variable `i` is only used to index `arr`. - --> $DIR/needless_range_loop.rs:76:14 - | -LL | for i in 0..2 { - | ^^^^ -help: consider using an iterator - | -LL | for in arr.iter().take(2) { - | ^^^^^^ ^^^^^^^^^^^^^^^^^^ - -error: the loop variable `i` is only used to index `arr`. - --> $DIR/needless_range_loop.rs:80:14 - | -LL | for i in 1..3 { - | ^^^^ -help: consider using an iterator - | -LL | for in arr.iter().skip(1) { - | ^^^^^^ ^^^^^^^^^^^^^^^^^^ - -error: the loop variable `i` is used to index `vec` - --> $DIR/needless_range_loop.rs:85:14 - | -LL | for i in 0..vec.len() { - | ^^^^^^^^^^^^ -help: consider using an iterator - | -LL | for (i, ) in vec.iter_mut().enumerate() { - | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: aborting due to 9 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_range_loop.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'needless_range_loop.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/needless_range_loop.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_range_loop.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_range_loop.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/needless_range_loop.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/needless_return.rs stdout ---- normalized stderr: error: unneeded return statement --> $DIR/needless_return.rs:8:5 | LL | return true; | ^^^^^^^^^^^^ help: remove `return` as shown: `true` | = note: `-D clippy::needless-return` implied by `-D warnings` error: unneeded return statement --> $DIR/needless_return.rs:12:5 | LL | return true; | ^^^^^^^^^^^^ help: remove `return` as shown: `true` error: unneeded return statement --> $DIR/needless_return.rs:17:9 | LL | return true; | ^^^^^^^^^^^^ help: remove `return` as shown: `true` error: unneeded return statement --> $DIR/needless_return.rs:19:9 | LL | return false; | ^^^^^^^^^^^^^ help: remove `return` as shown: `false` expected stderr: error: unneeded return statement --> $DIR/needless_return.rs:8:5 | LL | return true; | ^^^^^^^^^^^^ help: remove `return` as shown: `true` | = note: `-D clippy::needless-return` implied by `-D warnings` error: unneeded return statement --> $DIR/needless_return.rs:12:5 | LL | return true; | ^^^^^^^^^^^^ help: remove `return` as shown: `true` error: unneeded return statement --> $DIR/needless_return.rs:17:9 | LL | return true; | ^^^^^^^^^^^^ help: remove `return` as shown: `true` error: unneeded return statement --> $DIR/needless_return.rs:19:9 | LL | return false; | ^^^^^^^^^^^^^ help: remove `return` as shown: `false` error: unneeded return statement --> $DIR/needless_return.rs:25:17 | LL | true => return false, | ^^^^^^^^^^^^ help: remove `return` as shown: `false` error: unneeded return statement --> $DIR/needless_return.rs:27:13 | LL | return true; | ^^^^^^^^^^^^ help: remove `return` as shown: `true` error: unneeded return statement --> $DIR/needless_return.rs:34:9 | LL | return true; | ^^^^^^^^^^^^ help: remove `return` as shown: `true` error: unneeded return statement --> $DIR/needless_return.rs:36:16 | LL | let _ = || return true; | ^^^^^^^^^^^ help: remove `return` as shown: `true` error: aborting due to 8 previous errors diff of stderr: error: unneeded return statement --> $DIR/needless_return.rs:8:5 | LL | return true; | ^^^^^^^^^^^^ help: remove `return` as shown: `true` | = note: `-D clippy::needless-return` implied by `-D warnings` error: unneeded return statement --> $DIR/needless_return.rs:12:5 | LL | return true; | ^^^^^^^^^^^^ help: remove `return` as shown: `true` error: unneeded return statement --> $DIR/needless_return.rs:17:9 | LL | return true; | ^^^^^^^^^^^^ help: remove `return` as shown: `true` error: unneeded return statement --> $DIR/needless_return.rs:19:9 | LL | return false; | ^^^^^^^^^^^^^ help: remove `return` as shown: `false` -error: unneeded return statement - --> $DIR/needless_return.rs:25:17 - | -LL | true => return false, - | ^^^^^^^^^^^^ help: remove `return` as shown: `false` - -error: unneeded return statement - --> $DIR/needless_return.rs:27:13 - | -LL | return true; - | ^^^^^^^^^^^^ help: remove `return` as shown: `true` - -error: unneeded return statement - --> $DIR/needless_return.rs:34:9 - | -LL | return true; - | ^^^^^^^^^^^^ help: remove `return` as shown: `true` - -error: unneeded return statement - --> $DIR/needless_return.rs:36:16 - | -LL | let _ = || return true; - | ^^^^^^^^^^^ help: remove `return` as shown: `true` - -error: aborting due to 8 previous errors - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_return.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'needless_return.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/needless_return.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_return.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/needless_return.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"unneeded return statement","code":{"code":"clippy::needless_return","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/needless_return.rs","byte_start":131,"byte_end":143,"line_start":8,"line_end":8,"column_start":5,"column_end":17,"is_primary":true,"text":[{"text":" return true;","highlight_start":5,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::needless-return` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove `return` as shown","code":null,"level":"help","spans":[{"file_name":"tests/ui/needless_return.rs","byte_start":131,"byte_end":143,"line_start":8,"line_end":8,"column_start":5,"column_end":17,"is_primary":true,"text":[{"text":" return true;","highlight_start":5,"highlight_end":17}],"label":null,"suggested_replacement":"true","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: unneeded return statement\n --> tests/ui/needless_return.rs:8:5\n |\nLL | return true;\n | ^^^^^^^^^^^^ help: remove `return` as shown: `true`\n |\n = note: `-D clippy::needless-return` implied by `-D warnings`\n\n"} {"message":"unneeded return statement","code":{"code":"clippy::needless_return","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/needless_return.rs","byte_start":184,"byte_end":196,"line_start":12,"line_end":12,"column_start":5,"column_end":17,"is_primary":true,"text":[{"text":" return true;","highlight_start":5,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"remove `return` as shown","code":null,"level":"help","spans":[{"file_name":"tests/ui/needless_return.rs","byte_start":184,"byte_end":196,"line_start":12,"line_end":12,"column_start":5,"column_end":17,"is_primary":true,"text":[{"text":" return true;","highlight_start":5,"highlight_end":17}],"label":null,"suggested_replacement":"true","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: unneeded return statement\n --> tests/ui/needless_return.rs:12:5\n |\nLL | return true;\n | ^^^^^^^^^^^^ help: remove `return` as shown: `true`\n\n"} {"message":"unneeded return statement","code":{"code":"clippy::needless_return","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/needless_return.rs","byte_start":251,"byte_end":263,"line_start":17,"line_end":17,"column_start":9,"column_end":21,"is_primary":true,"text":[{"text":" return true;","highlight_start":9,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"remove `return` as shown","code":null,"level":"help","spans":[{"file_name":"tests/ui/needless_return.rs","byte_start":251,"byte_end":263,"line_start":17,"line_end":17,"column_start":9,"column_end":21,"is_primary":true,"text":[{"text":" return true;","highlight_start":9,"highlight_end":21}],"label":null,"suggested_replacement":"true","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: unneeded return statement\n --> tests/ui/needless_return.rs:17:9\n |\nLL | return true;\n | ^^^^^^^^^^^^ help: remove `return` as shown: `true`\n\n"} {"message":"unneeded return statement","code":{"code":"clippy::needless_return","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/needless_return.rs","byte_start":285,"byte_end":298,"line_start":19,"line_end":19,"column_start":9,"column_end":22,"is_primary":true,"text":[{"text":" return false;","highlight_start":9,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"remove `return` as shown","code":null,"level":"help","spans":[{"file_name":"tests/ui/needless_return.rs","byte_start":285,"byte_end":298,"line_start":19,"line_end":19,"column_start":9,"column_end":22,"is_primary":true,"text":[{"text":" return false;","highlight_start":9,"highlight_end":22}],"label":null,"suggested_replacement":"false","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: unneeded return statement\n --> tests/ui/needless_return.rs:19:9\n |\nLL | return false;\n | ^^^^^^^^^^^^^ help: remove `return` as shown: `false`\n\n"} ------------------------------------------ thread '[ui] ui/needless_return.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/neg_multiply.rs stdout ---- normalized stderr: expected stderr: error: Negation by multiplying with -1 --> $DIR/neg_multiply.rs:27:5 | LL | x * -1; | ^^^^^^ | = note: `-D clippy::neg-multiply` implied by `-D warnings` error: Negation by multiplying with -1 --> $DIR/neg_multiply.rs:29:5 | LL | -1 * x; | ^^^^^^ error: aborting due to 2 previous errors diff of stderr: -error: Negation by multiplying with -1 - --> $DIR/neg_multiply.rs:27:5 - | -LL | x * -1; - | ^^^^^^ - | - = note: `-D clippy::neg-multiply` implied by `-D warnings` - -error: Negation by multiplying with -1 - --> $DIR/neg_multiply.rs:29:5 - | -LL | -1 * x; - | ^^^^^^ - -error: aborting due to 2 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/neg_multiply.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'neg_multiply.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/neg_multiply.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/neg_multiply.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/neg_multiply.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/neg_multiply.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/never_loop.rs stdout ---- normalized stderr: expected stderr: error: this loop never actually loops --> $DIR/never_loop.rs:10:5 | LL | / loop { LL | | // clippy::never_loop LL | | x += 1; LL | | if x == 1 { ... | LL | | break; LL | | } | |_____^ | = note: #[deny(clippy::never_loop)] on by default error: this loop never actually loops --> $DIR/never_loop.rs:32:5 | LL | / loop { LL | | // never loops LL | | x += 1; LL | | break; LL | | } | |_____^ error: this loop never actually loops --> $DIR/never_loop.rs:52:5 | LL | / loop { LL | | // never loops LL | | while i == 0 { LL | | // never loops ... | LL | | return; LL | | } | |_____^ error: this loop never actually loops --> $DIR/never_loop.rs:54:9 | LL | / while i == 0 { LL | | // never loops LL | | break; LL | | } | |_________^ error: this loop never actually loops --> $DIR/never_loop.rs:66:9 | LL | / loop { LL | | // never loops LL | | if x == 5 { LL | | break; LL | | } LL | | continue 'outer; LL | | } | |_________^ error: this loop never actually loops --> $DIR/never_loop.rs:102:5 | LL | / while let Some(y) = x { LL | | // never loops LL | | return; LL | | } | |_____^ error: this loop never actually loops --> $DIR/never_loop.rs:109:5 | LL | / for x in 0..10 { LL | | // never loops LL | | match x { LL | | 1 => break, LL | | _ => return, LL | | } LL | | } | |_____^ error: this loop never actually loops --> $DIR/never_loop.rs:157:5 | LL | / 'outer: while a { LL | | // never loops LL | | while a { LL | | if a { ... | LL | | break 'outer; LL | | } | |_____^ error: this loop never actually loops --> $DIR/never_loop.rs:172:9 | LL | / while false { LL | | break 'label; LL | | } | |_________^ error: aborting due to 9 previous errors diff of stderr: -error: this loop never actually loops - --> $DIR/never_loop.rs:10:5 - | -LL | / loop { -LL | | // clippy::never_loop -LL | | x += 1; -LL | | if x == 1 { -... | -LL | | break; -LL | | } - | |_____^ - | - = note: #[deny(clippy::never_loop)] on by default - -error: this loop never actually loops - --> $DIR/never_loop.rs:32:5 - | -LL | / loop { -LL | | // never loops -LL | | x += 1; -LL | | break; -LL | | } - | |_____^ - -error: this loop never actually loops - --> $DIR/never_loop.rs:52:5 - | -LL | / loop { -LL | | // never loops -LL | | while i == 0 { -LL | | // never loops -... | -LL | | return; -LL | | } - | |_____^ - -error: this loop never actually loops - --> $DIR/never_loop.rs:54:9 - | -LL | / while i == 0 { -LL | | // never loops -LL | | break; -LL | | } - | |_________^ - -error: this loop never actually loops - --> $DIR/never_loop.rs:66:9 - | -LL | / loop { -LL | | // never loops -LL | | if x == 5 { -LL | | break; -LL | | } -LL | | continue 'outer; -LL | | } - | |_________^ - -error: this loop never actually loops - --> $DIR/never_loop.rs:102:5 - | -LL | / while let Some(y) = x { -LL | | // never loops -LL | | return; -LL | | } - | |_____^ - -error: this loop never actually loops - --> $DIR/never_loop.rs:109:5 - | -LL | / for x in 0..10 { -LL | | // never loops -LL | | match x { -LL | | 1 => break, -LL | | _ => return, -LL | | } -LL | | } - | |_____^ - -error: this loop never actually loops - --> $DIR/never_loop.rs:157:5 - | -LL | / 'outer: while a { -LL | | // never loops -LL | | while a { -LL | | if a { -... | -LL | | break 'outer; -LL | | } - | |_____^ - -error: this loop never actually loops - --> $DIR/never_loop.rs:172:9 - | -LL | / while false { -LL | | break 'label; -LL | | } - | |_________^ - -error: aborting due to 9 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/never_loop.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'never_loop.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/never_loop.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/never_loop.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/never_loop.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/never_loop.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/new_ret_no_self.rs stdout ---- normalized stderr: expected stderr: error: methods called `new` usually return `Self` --> $DIR/new_ret_no_self.rs:49:5 | LL | / pub fn new(_: String) -> impl R { LL | | S3 LL | | } | |_____^ | = note: `-D clippy::new-ret-no-self` implied by `-D warnings` error: methods called `new` usually return `Self` --> $DIR/new_ret_no_self.rs:81:5 | LL | / pub fn new() -> u32 { LL | | unimplemented!(); LL | | } | |_____^ error: methods called `new` usually return `Self` --> $DIR/new_ret_no_self.rs:90:5 | LL | / pub fn new(_: String) -> u32 { LL | | unimplemented!(); LL | | } | |_____^ error: methods called `new` usually return `Self` --> $DIR/new_ret_no_self.rs:126:5 | LL | / pub fn new() -> (u32, u32) { LL | | unimplemented!(); LL | | } | |_____^ error: methods called `new` usually return `Self` --> $DIR/new_ret_no_self.rs:153:5 | LL | / pub fn new() -> *mut V { LL | | unimplemented!(); LL | | } | |_____^ error: methods called `new` usually return `Self` --> $DIR/new_ret_no_self.rs:171:5 | LL | / pub fn new() -> Option { LL | | unimplemented!(); LL | | } | |_____^ error: aborting due to 6 previous errors diff of stderr: -error: methods called `new` usually return `Self` - --> $DIR/new_ret_no_self.rs:49:5 - | -LL | / pub fn new(_: String) -> impl R { -LL | | S3 -LL | | } - | |_____^ - | - = note: `-D clippy::new-ret-no-self` implied by `-D warnings` - -error: methods called `new` usually return `Self` - --> $DIR/new_ret_no_self.rs:81:5 - | -LL | / pub fn new() -> u32 { -LL | | unimplemented!(); -LL | | } - | |_____^ - -error: methods called `new` usually return `Self` - --> $DIR/new_ret_no_self.rs:90:5 - | -LL | / pub fn new(_: String) -> u32 { -LL | | unimplemented!(); -LL | | } - | |_____^ - -error: methods called `new` usually return `Self` - --> $DIR/new_ret_no_self.rs:126:5 - | -LL | / pub fn new() -> (u32, u32) { -LL | | unimplemented!(); -LL | | } - | |_____^ - -error: methods called `new` usually return `Self` - --> $DIR/new_ret_no_self.rs:153:5 - | -LL | / pub fn new() -> *mut V { -LL | | unimplemented!(); -LL | | } - | |_____^ - -error: methods called `new` usually return `Self` - --> $DIR/new_ret_no_self.rs:171:5 - | -LL | / pub fn new() -> Option { -LL | | unimplemented!(); -LL | | } - | |_____^ - -error: aborting due to 6 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/new_ret_no_self.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'new_ret_no_self.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/new_ret_no_self.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/new_ret_no_self.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/new_ret_no_self.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/new_ret_no_self.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/new_without_default.rs stdout ---- normalized stderr: expected stderr: error: you should consider deriving a `Default` implementation for `Foo` --> $DIR/new_without_default.rs:8:5 | LL | / pub fn new() -> Foo { LL | | Foo LL | | } | |_____^ | = note: `-D clippy::new-without-default` implied by `-D warnings` help: try this | LL | #[derive(Default)] | error: you should consider deriving a `Default` implementation for `Bar` --> $DIR/new_without_default.rs:16:5 | LL | / pub fn new() -> Self { LL | | Bar LL | | } | |_____^ help: try this | LL | #[derive(Default)] | error: you should consider adding a `Default` implementation for `LtKo<'c>` --> $DIR/new_without_default.rs:80:5 | LL | / pub fn new() -> LtKo<'c> { LL | | unimplemented!() LL | | } | |_____^ help: try this | LL | impl Default for LtKo<'c> { LL | fn default() -> Self { LL | Self::new() LL | } LL | } | error: aborting due to 3 previous errors diff of stderr: -error: you should consider deriving a `Default` implementation for `Foo` - --> $DIR/new_without_default.rs:8:5 - | -LL | / pub fn new() -> Foo { -LL | | Foo -LL | | } - | |_____^ - | - = note: `-D clippy::new-without-default` implied by `-D warnings` -help: try this - | -LL | #[derive(Default)] - | - -error: you should consider deriving a `Default` implementation for `Bar` - --> $DIR/new_without_default.rs:16:5 - | -LL | / pub fn new() -> Self { -LL | | Bar -LL | | } - | |_____^ -help: try this - | -LL | #[derive(Default)] - | - -error: you should consider adding a `Default` implementation for `LtKo<'c>` - --> $DIR/new_without_default.rs:80:5 - | -LL | / pub fn new() -> LtKo<'c> { -LL | | unimplemented!() -LL | | } - | |_____^ -help: try this - | -LL | impl Default for LtKo<'c> { -LL | fn default() -> Self { -LL | Self::new() -LL | } -LL | } - | - -error: aborting due to 3 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/new_without_default.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'new_without_default.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/new_without_default.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/new_without_default.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/new_without_default.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/new_without_default.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/non_copy_const.rs stdout ---- normalized stderr: expected stderr: error: a const item should never be interior mutable --> $DIR/non_copy_const.rs:10:1 | LL | const ATOMIC: AtomicUsize = AtomicUsize::new(5); //~ ERROR interior mutable | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: make this a static item: `static` | = note: #[deny(clippy::declare_interior_mutable_const)] on by default error: a const item should never be interior mutable --> $DIR/non_copy_const.rs:11:1 | LL | const CELL: Cell = Cell::new(6); //~ ERROR interior mutable | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: make this a static item: `static` error: a const item should never be interior mutable --> $DIR/non_copy_const.rs:12:1 | LL | const ATOMIC_TUPLE: ([AtomicUsize; 1], Vec, u8) = ([ATOMIC], Vec::new(), 7); | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: make this a static item: `static` error: a const item should never be interior mutable --> $DIR/non_copy_const.rs:17:9 | LL | const $name: $ty = $e; | ^^^^^^^^^^^^^^^^^^^^^^ ... LL | declare_const!(_ONCE: Once = Once::new()); //~ ERROR interior mutable | ------------------------------------------ in this macro invocation error: a const item should never be interior mutable --> $DIR/non_copy_const.rs:41:5 | LL | const ATOMIC: AtomicUsize; //~ ERROR interior mutable | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error: a const item should never be interior mutable --> $DIR/non_copy_const.rs:45:5 | LL | const INPUT: T; | ^^^^^^^^^^^^^^^ | help: consider requiring `T` to be `Copy` --> $DIR/non_copy_const.rs:45:18 | LL | const INPUT: T; | ^ error: a const item should never be interior mutable --> $DIR/non_copy_const.rs:48:5 | LL | const ASSOC: Self::NonCopyType; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: consider requiring `>::NonCopyType` to be `Copy` --> $DIR/non_copy_const.rs:48:18 | LL | const ASSOC: Self::NonCopyType; | ^^^^^^^^^^^^^^^^^ error: a const item should never be interior mutable --> $DIR/non_copy_const.rs:52:5 | LL | const AN_INPUT: T = Self::INPUT; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: consider requiring `T` to be `Copy` --> $DIR/non_copy_const.rs:52:21 | LL | const AN_INPUT: T = Self::INPUT; | ^ error: a const item should never be interior mutable --> $DIR/non_copy_const.rs:17:9 | LL | const $name: $ty = $e; | ^^^^^^^^^^^^^^^^^^^^^^ ... LL | declare_const!(ANOTHER_INPUT: T = Self::INPUT); //~ ERROR interior mutable | ----------------------------------------------- in this macro invocation error: a const item should never be interior mutable --> $DIR/non_copy_const.rs:61:5 | LL | const SELF_2: Self; | ^^^^^^^^^^^^^^^^^^^ | help: consider requiring `Self` to be `Copy` --> $DIR/non_copy_const.rs:61:19 | LL | const SELF_2: Self; | ^^^^ error: a const item should never be interior mutable --> $DIR/non_copy_const.rs:82:5 | LL | const ASSOC_3: AtomicUsize = AtomicUsize::new(14); //~ ERROR interior mutable | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: a const item should never be interior mutable --> $DIR/non_copy_const.rs:85:5 | LL | const U_SELF: U = U::SELF_2; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: consider requiring `U` to be `Copy` --> $DIR/non_copy_const.rs:85:19 | LL | const U_SELF: U = U::SELF_2; | ^ error: a const item should never be interior mutable --> $DIR/non_copy_const.rs:88:5 | LL | const T_ASSOC: T::NonCopyType = T::ASSOC; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: consider requiring `>::NonCopyType` to be `Copy` --> $DIR/non_copy_const.rs:88:20 | LL | const T_ASSOC: T::NonCopyType = T::ASSOC; | ^^^^^^^^^^^^^^ error: a const item with interior mutability should not be borrowed --> $DIR/non_copy_const.rs:95:5 | LL | ATOMIC.store(1, Ordering::SeqCst); //~ ERROR interior mutability | ^^^^^^ | = note: #[deny(clippy::borrow_interior_mutable_const)] on by default = help: assign this const to a local or static variable, and use the variable here error: a const item with interior mutability should not be borrowed --> $DIR/non_copy_const.rs:96:16 | LL | assert_eq!(ATOMIC.load(Ordering::SeqCst), 5); //~ ERROR interior mutability | ^^^^^^ | = help: assign this const to a local or static variable, and use the variable here error: a const item with interior mutability should not be borrowed --> $DIR/non_copy_const.rs:99:22 | LL | let _once_ref = &ONCE_INIT; //~ ERROR interior mutability | ^^^^^^^^^ | = help: assign this const to a local or static variable, and use the variable here error: a const item with interior mutability should not be borrowed --> $DIR/non_copy_const.rs:100:25 | LL | let _once_ref_2 = &&ONCE_INIT; //~ ERROR interior mutability | ^^^^^^^^^ | = help: assign this const to a local or static variable, and use the variable here error: a const item with interior mutability should not be borrowed --> $DIR/non_copy_const.rs:101:27 | LL | let _once_ref_4 = &&&&ONCE_INIT; //~ ERROR interior mutability | ^^^^^^^^^ | = help: assign this const to a local or static variable, and use the variable here error: a const item with interior mutability should not be borrowed --> $DIR/non_copy_const.rs:102:26 | LL | let _once_mut = &mut ONCE_INIT; //~ ERROR interior mutability | ^^^^^^^^^ | = help: assign this const to a local or static variable, and use the variable here error: a const item with interior mutability should not be borrowed --> $DIR/non_copy_const.rs:113:14 | LL | let _ = &ATOMIC_TUPLE; //~ ERROR interior mutability | ^^^^^^^^^^^^ | = help: assign this const to a local or static variable, and use the variable here error: a const item with interior mutability should not be borrowed --> $DIR/non_copy_const.rs:114:14 | LL | let _ = &ATOMIC_TUPLE.0; //~ ERROR interior mutability | ^^^^^^^^^^^^ | = help: assign this const to a local or static variable, and use the variable here error: a const item with interior mutability should not be borrowed --> $DIR/non_copy_const.rs:115:19 | LL | let _ = &(&&&&ATOMIC_TUPLE).0; //~ ERROR interior mutability | ^^^^^^^^^^^^ | = help: assign this const to a local or static variable, and use the variable here error: a const item with interior mutability should not be borrowed --> $DIR/non_copy_const.rs:116:14 | LL | let _ = &ATOMIC_TUPLE.0[0]; //~ ERROR interior mutability | ^^^^^^^^^^^^ | = help: assign this const to a local or static variable, and use the variable here error: a const item with interior mutability should not be borrowed --> $DIR/non_copy_const.rs:117:13 | LL | let _ = ATOMIC_TUPLE.0[0].load(Ordering::SeqCst); //~ ERROR interior mutability | ^^^^^^^^^^^^ | = help: assign this const to a local or static variable, and use the variable here error: a const item with interior mutability should not be borrowed --> $DIR/non_copy_const.rs:123:13 | LL | let _ = ATOMIC_TUPLE.0[0]; //~ ERROR interior mutability | ^^^^^^^^^^^^ | = help: assign this const to a local or static variable, and use the variable here error: a const item with interior mutability should not be borrowed --> $DIR/non_copy_const.rs:128:5 | LL | CELL.set(2); //~ ERROR interior mutability | ^^^^ | = help: assign this const to a local or static variable, and use the variable here error: a const item with interior mutability should not be borrowed --> $DIR/non_copy_const.rs:129:16 | LL | assert_eq!(CELL.get(), 6); //~ ERROR interior mutability | ^^^^ | = help: assign this const to a local or static variable, and use the variable here error: a const item with interior mutability should not be borrowed --> $DIR/non_copy_const.rs:142:5 | LL | u64::ATOMIC.store(5, Ordering::SeqCst); //~ ERROR interior mutability | ^^^^^^^^^^^ | = help: assign this const to a local or static variable, and use the variable here error: a const item with interior mutability should not be borrowed --> $DIR/non_copy_const.rs:143:16 | LL | assert_eq!(u64::ATOMIC.load(Ordering::SeqCst), 9); //~ ERROR interior mutability | ^^^^^^^^^^^ | = help: assign this const to a local or static variable, and use the variable here error: aborting due to 29 previous errors diff of stderr: -error: a const item should never be interior mutable - --> $DIR/non_copy_const.rs:10:1 - | -LL | const ATOMIC: AtomicUsize = AtomicUsize::new(5); //~ ERROR interior mutable - | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | | - | help: make this a static item: `static` - | - = note: #[deny(clippy::declare_interior_mutable_const)] on by default - -error: a const item should never be interior mutable - --> $DIR/non_copy_const.rs:11:1 - | -LL | const CELL: Cell = Cell::new(6); //~ ERROR interior mutable - | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | | - | help: make this a static item: `static` - -error: a const item should never be interior mutable - --> $DIR/non_copy_const.rs:12:1 - | -LL | const ATOMIC_TUPLE: ([AtomicUsize; 1], Vec, u8) = ([ATOMIC], Vec::new(), 7); - | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | | - | help: make this a static item: `static` - -error: a const item should never be interior mutable - --> $DIR/non_copy_const.rs:17:9 - | -LL | const $name: $ty = $e; - | ^^^^^^^^^^^^^^^^^^^^^^ -... -LL | declare_const!(_ONCE: Once = Once::new()); //~ ERROR interior mutable - | ------------------------------------------ in this macro invocation - -error: a const item should never be interior mutable - --> $DIR/non_copy_const.rs:41:5 - | -LL | const ATOMIC: AtomicUsize; //~ ERROR interior mutable - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: a const item should never be interior mutable - --> $DIR/non_copy_const.rs:45:5 - | -LL | const INPUT: T; - | ^^^^^^^^^^^^^^^ - | -help: consider requiring `T` to be `Copy` - --> $DIR/non_copy_const.rs:45:18 - | -LL | const INPUT: T; - | ^ - -error: a const item should never be interior mutable - --> $DIR/non_copy_const.rs:48:5 - | -LL | const ASSOC: Self::NonCopyType; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | -help: consider requiring `>::NonCopyType` to be `Copy` - --> $DIR/non_copy_const.rs:48:18 - | -LL | const ASSOC: Self::NonCopyType; - | ^^^^^^^^^^^^^^^^^ - -error: a const item should never be interior mutable - --> $DIR/non_copy_const.rs:52:5 - | -LL | const AN_INPUT: T = Self::INPUT; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | -help: consider requiring `T` to be `Copy` - --> $DIR/non_copy_const.rs:52:21 - | -LL | const AN_INPUT: T = Self::INPUT; - | ^ - -error: a const item should never be interior mutable - --> $DIR/non_copy_const.rs:17:9 - | -LL | const $name: $ty = $e; - | ^^^^^^^^^^^^^^^^^^^^^^ -... -LL | declare_const!(ANOTHER_INPUT: T = Self::INPUT); //~ ERROR interior mutable - | ----------------------------------------------- in this macro invocation - -error: a const item should never be interior mutable - --> $DIR/non_copy_const.rs:61:5 - | -LL | const SELF_2: Self; - | ^^^^^^^^^^^^^^^^^^^ - | -help: consider requiring `Self` to be `Copy` - --> $DIR/non_copy_const.rs:61:19 - | -LL | const SELF_2: Self; - | ^^^^ - -error: a const item should never be interior mutable - --> $DIR/non_copy_const.rs:82:5 - | -LL | const ASSOC_3: AtomicUsize = AtomicUsize::new(14); //~ ERROR interior mutable - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: a const item should never be interior mutable - --> $DIR/non_copy_const.rs:85:5 - | -LL | const U_SELF: U = U::SELF_2; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | -help: consider requiring `U` to be `Copy` - --> $DIR/non_copy_const.rs:85:19 - | -LL | const U_SELF: U = U::SELF_2; - | ^ - -error: a const item should never be interior mutable - --> $DIR/non_copy_const.rs:88:5 - | -LL | const T_ASSOC: T::NonCopyType = T::ASSOC; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | -help: consider requiring `>::NonCopyType` to be `Copy` - --> $DIR/non_copy_const.rs:88:20 - | -LL | const T_ASSOC: T::NonCopyType = T::ASSOC; - | ^^^^^^^^^^^^^^ - -error: a const item with interior mutability should not be borrowed - --> $DIR/non_copy_const.rs:95:5 - | -LL | ATOMIC.store(1, Ordering::SeqCst); //~ ERROR interior mutability - | ^^^^^^ - | - = note: #[deny(clippy::borrow_interior_mutable_const)] on by default - = help: assign this const to a local or static variable, and use the variable here - -error: a const item with interior mutability should not be borrowed - --> $DIR/non_copy_const.rs:96:16 - | -LL | assert_eq!(ATOMIC.load(Ordering::SeqCst), 5); //~ ERROR interior mutability - | ^^^^^^ - | - = help: assign this const to a local or static variable, and use the variable here - -error: a const item with interior mutability should not be borrowed - --> $DIR/non_copy_const.rs:99:22 - | -LL | let _once_ref = &ONCE_INIT; //~ ERROR interior mutability - | ^^^^^^^^^ - | - = help: assign this const to a local or static variable, and use the variable here - -error: a const item with interior mutability should not be borrowed - --> $DIR/non_copy_const.rs:100:25 - | -LL | let _once_ref_2 = &&ONCE_INIT; //~ ERROR interior mutability - | ^^^^^^^^^ - | - = help: assign this const to a local or static variable, and use the variable here - -error: a const item with interior mutability should not be borrowed - --> $DIR/non_copy_const.rs:101:27 - | -LL | let _once_ref_4 = &&&&ONCE_INIT; //~ ERROR interior mutability - | ^^^^^^^^^ - | - = help: assign this const to a local or static variable, and use the variable here - -error: a const item with interior mutability should not be borrowed - --> $DIR/non_copy_const.rs:102:26 - | -LL | let _once_mut = &mut ONCE_INIT; //~ ERROR interior mutability - | ^^^^^^^^^ - | - = help: assign this const to a local or static variable, and use the variable here - -error: a const item with interior mutability should not be borrowed - --> $DIR/non_copy_const.rs:113:14 - | -LL | let _ = &ATOMIC_TUPLE; //~ ERROR interior mutability - | ^^^^^^^^^^^^ - | - = help: assign this const to a local or static variable, and use the variable here - -error: a const item with interior mutability should not be borrowed - --> $DIR/non_copy_const.rs:114:14 - | -LL | let _ = &ATOMIC_TUPLE.0; //~ ERROR interior mutability - | ^^^^^^^^^^^^ - | - = help: assign this const to a local or static variable, and use the variable here - -error: a const item with interior mutability should not be borrowed - --> $DIR/non_copy_const.rs:115:19 - | -LL | let _ = &(&&&&ATOMIC_TUPLE).0; //~ ERROR interior mutability - | ^^^^^^^^^^^^ - | - = help: assign this const to a local or static variable, and use the variable here - -error: a const item with interior mutability should not be borrowed - --> $DIR/non_copy_const.rs:116:14 - | -LL | let _ = &ATOMIC_TUPLE.0[0]; //~ ERROR interior mutability - | ^^^^^^^^^^^^ - | - = help: assign this const to a local or static variable, and use the variable here - -error: a const item with interior mutability should not be borrowed - --> $DIR/non_copy_const.rs:117:13 - | -LL | let _ = ATOMIC_TUPLE.0[0].load(Ordering::SeqCst); //~ ERROR interior mutability - | ^^^^^^^^^^^^ - | - = help: assign this const to a local or static variable, and use the variable here - -error: a const item with interior mutability should not be borrowed - --> $DIR/non_copy_const.rs:123:13 - | -LL | let _ = ATOMIC_TUPLE.0[0]; //~ ERROR interior mutability - | ^^^^^^^^^^^^ - | - = help: assign this const to a local or static variable, and use the variable here - -error: a const item with interior mutability should not be borrowed - --> $DIR/non_copy_const.rs:128:5 - | -LL | CELL.set(2); //~ ERROR interior mutability - | ^^^^ - | - = help: assign this const to a local or static variable, and use the variable here - -error: a const item with interior mutability should not be borrowed - --> $DIR/non_copy_const.rs:129:16 - | -LL | assert_eq!(CELL.get(), 6); //~ ERROR interior mutability - | ^^^^ - | - = help: assign this const to a local or static variable, and use the variable here - -error: a const item with interior mutability should not be borrowed - --> $DIR/non_copy_const.rs:142:5 - | -LL | u64::ATOMIC.store(5, Ordering::SeqCst); //~ ERROR interior mutability - | ^^^^^^^^^^^ - | - = help: assign this const to a local or static variable, and use the variable here - -error: a const item with interior mutability should not be borrowed - --> $DIR/non_copy_const.rs:143:16 - | -LL | assert_eq!(u64::ATOMIC.load(Ordering::SeqCst), 9); //~ ERROR interior mutability - | ^^^^^^^^^^^ - | - = help: assign this const to a local or static variable, and use the variable here - -error: aborting due to 29 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/non_copy_const.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'non_copy_const.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/non_copy_const.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/non_copy_const.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/non_copy_const.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/non_copy_const.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/no_effect.rs stdout ---- normalized stderr: expected stderr: error: statement with no effect --> $DIR/no_effect.rs:65:5 | LL | 0; | ^^ | = note: `-D clippy::no-effect` implied by `-D warnings` error: statement with no effect --> $DIR/no_effect.rs:66:5 | LL | s2; | ^^^ error: statement with no effect --> $DIR/no_effect.rs:67:5 | LL | Unit; | ^^^^^ error: statement with no effect --> $DIR/no_effect.rs:68:5 | LL | Tuple(0); | ^^^^^^^^^ error: statement with no effect --> $DIR/no_effect.rs:69:5 | LL | Struct { field: 0 }; | ^^^^^^^^^^^^^^^^^^^^ error: statement with no effect --> $DIR/no_effect.rs:70:5 | LL | Struct { ..s }; | ^^^^^^^^^^^^^^^ error: statement with no effect --> $DIR/no_effect.rs:71:5 | LL | Union { a: 0 }; | ^^^^^^^^^^^^^^^ error: statement with no effect --> $DIR/no_effect.rs:72:5 | LL | Enum::Tuple(0); | ^^^^^^^^^^^^^^^ error: statement with no effect --> $DIR/no_effect.rs:73:5 | LL | Enum::Struct { field: 0 }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error: statement with no effect --> $DIR/no_effect.rs:74:5 | LL | 5 + 6; | ^^^^^^ error: statement with no effect --> $DIR/no_effect.rs:75:5 | LL | *&42; | ^^^^^ error: statement with no effect --> $DIR/no_effect.rs:76:5 | LL | &6; | ^^^ error: statement with no effect --> $DIR/no_effect.rs:77:5 | LL | (5, 6, 7); | ^^^^^^^^^^ error: statement with no effect --> $DIR/no_effect.rs:78:5 | LL | box 42; | ^^^^^^^ error: statement with no effect --> $DIR/no_effect.rs:79:5 | LL | ..; | ^^^ error: statement with no effect --> $DIR/no_effect.rs:80:5 | LL | 5..; | ^^^^ error: statement with no effect --> $DIR/no_effect.rs:81:5 | LL | ..5; | ^^^^ error: statement with no effect --> $DIR/no_effect.rs:82:5 | LL | 5..6; | ^^^^^ error: statement with no effect --> $DIR/no_effect.rs:84:5 | LL | [42, 55]; | ^^^^^^^^^ error: statement with no effect --> $DIR/no_effect.rs:85:5 | LL | [42, 55][1]; | ^^^^^^^^^^^^ error: statement with no effect --> $DIR/no_effect.rs:86:5 | LL | (42, 55).1; | ^^^^^^^^^^^ error: statement with no effect --> $DIR/no_effect.rs:87:5 | LL | [42; 55]; | ^^^^^^^^^ error: statement with no effect --> $DIR/no_effect.rs:88:5 | LL | [42; 55][13]; | ^^^^^^^^^^^^^ error: statement with no effect --> $DIR/no_effect.rs:90:5 | LL | || x += 5; | ^^^^^^^^^^ error: statement with no effect --> $DIR/no_effect.rs:92:5 | LL | FooString { s: s }; | ^^^^^^^^^^^^^^^^^^^ error: aborting due to 25 previous errors diff of stderr: -error: statement with no effect - --> $DIR/no_effect.rs:65:5 - | -LL | 0; - | ^^ - | - = note: `-D clippy::no-effect` implied by `-D warnings` - -error: statement with no effect - --> $DIR/no_effect.rs:66:5 - | -LL | s2; - | ^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:67:5 - | -LL | Unit; - | ^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:68:5 - | -LL | Tuple(0); - | ^^^^^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:69:5 - | -LL | Struct { field: 0 }; - | ^^^^^^^^^^^^^^^^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:70:5 - | -LL | Struct { ..s }; - | ^^^^^^^^^^^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:71:5 - | -LL | Union { a: 0 }; - | ^^^^^^^^^^^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:72:5 - | -LL | Enum::Tuple(0); - | ^^^^^^^^^^^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:73:5 - | -LL | Enum::Struct { field: 0 }; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:74:5 - | -LL | 5 + 6; - | ^^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:75:5 - | -LL | *&42; - | ^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:76:5 - | -LL | &6; - | ^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:77:5 - | -LL | (5, 6, 7); - | ^^^^^^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:78:5 - | -LL | box 42; - | ^^^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:79:5 - | -LL | ..; - | ^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:80:5 - | -LL | 5..; - | ^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:81:5 - | -LL | ..5; - | ^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:82:5 - | -LL | 5..6; - | ^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:84:5 - | -LL | [42, 55]; - | ^^^^^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:85:5 - | -LL | [42, 55][1]; - | ^^^^^^^^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:86:5 - | -LL | (42, 55).1; - | ^^^^^^^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:87:5 - | -LL | [42; 55]; - | ^^^^^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:88:5 - | -LL | [42; 55][13]; - | ^^^^^^^^^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:90:5 - | -LL | || x += 5; - | ^^^^^^^^^^ - -error: statement with no effect - --> $DIR/no_effect.rs:92:5 - | -LL | FooString { s: s }; - | ^^^^^^^^^^^^^^^^^^^ - -error: aborting due to 25 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/no_effect.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'no_effect.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/no_effect.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/no_effect.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/no_effect.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/no_effect.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/non_expressive_names.rs stdout ---- normalized stderr: error: 5 bindings with single-character names in scope --> $DIR/non_expressive_names.rs:27:9 | LL | let a: i32; | ^ LL | let (b, c, d): (i32, i64, i16); | ^ ^ ^ ... LL | let e: i32; | ^ | = note: `-D clippy::many-single-char-names` implied by `-D warnings` error: 6 bindings with single-character names in scope --> $DIR/non_expressive_names.rs:27:9 | LL | let a: i32; | ^ LL | let (b, c, d): (i32, i64, i16); | ^ ^ ^ ... LL | let e: i32; | ^ LL | let f: i32; | ^ error: 5 bindings with single-character names in scope --> $DIR/non_expressive_names.rs:27:9 | LL | let a: i32; | ^ LL | let (b, c, d): (i32, i64, i16); | ^ ^ ^ ... LL | e => panic!(), | ^ error: 8 bindings with single-character names in scope --> $DIR/non_expressive_names.rs:52:13 | LL | fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {} | ^ ^ ^ ^ ^ ^ ^ ^ error: 8 bindings with single-character names in scope --> $DIR/non_expressive_names.rs:55:10 | LL | let (a, b, c, d, e, f, g, h) = unimplemented!(); | ^ ^ ^ ^ ^ ^ ^ ^ error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:92:9 | LL | let _1 = 1; //~ERROR Consider a more descriptive name | ^^ | = note: `-D clippy::just-underscores-and-digits` implied by `-D warnings` error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:93:9 | LL | let ____1 = 1; //~ERROR Consider a more descriptive name | ^^^^^ error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:94:9 | LL | let __1___2 = 12; //~ERROR Consider a more descriptive name | ^^^^^^^ error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:114:13 | LL | let _1 = 1; | ^^ error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:115:13 | LL | let ____1 = 1; | ^^^^^ error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:116:13 | LL | let __1___2 = 12; | ^^^^^^^ expected stderr: error: 5 bindings with single-character names in scope --> $DIR/non_expressive_names.rs:27:9 | LL | let a: i32; | ^ LL | let (b, c, d): (i32, i64, i16); | ^ ^ ^ ... LL | let e: i32; | ^ | = note: `-D clippy::many-single-char-names` implied by `-D warnings` error: 6 bindings with single-character names in scope --> $DIR/non_expressive_names.rs:27:9 | LL | let a: i32; | ^ LL | let (b, c, d): (i32, i64, i16); | ^ ^ ^ ... LL | let e: i32; | ^ LL | let f: i32; | ^ error: 5 bindings with single-character names in scope --> $DIR/non_expressive_names.rs:27:9 | LL | let a: i32; | ^ LL | let (b, c, d): (i32, i64, i16); | ^ ^ ^ ... LL | e => panic!(), | ^ error: 8 bindings with single-character names in scope --> $DIR/non_expressive_names.rs:52:13 | LL | fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {} | ^ ^ ^ ^ ^ ^ ^ ^ error: 8 bindings with single-character names in scope --> $DIR/non_expressive_names.rs:55:10 | LL | let (a, b, c, d, e, f, g, h) = unimplemented!(); | ^ ^ ^ ^ ^ ^ ^ ^ error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:92:9 | LL | let _1 = 1; //~ERROR Consider a more descriptive name | ^^ | = note: `-D clippy::just-underscores-and-digits` implied by `-D warnings` error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:93:9 | LL | let ____1 = 1; //~ERROR Consider a more descriptive name | ^^^^^ error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:94:9 | LL | let __1___2 = 12; //~ERROR Consider a more descriptive name | ^^^^^^^ error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:114:13 | LL | let _1 = 1; | ^^ error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:115:13 | LL | let ____1 = 1; | ^^^^^ error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:116:13 | LL | let __1___2 = 12; | ^^^^^^^ error: aborting due to 11 previous errors diff of stderr: error: 5 bindings with single-character names in scope --> $DIR/non_expressive_names.rs:27:9 | LL | let a: i32; | ^ LL | let (b, c, d): (i32, i64, i16); | ^ ^ ^ ... LL | let e: i32; | ^ | = note: `-D clippy::many-single-char-names` implied by `-D warnings` error: 6 bindings with single-character names in scope --> $DIR/non_expressive_names.rs:27:9 | LL | let a: i32; | ^ LL | let (b, c, d): (i32, i64, i16); | ^ ^ ^ ... LL | let e: i32; | ^ LL | let f: i32; | ^ error: 5 bindings with single-character names in scope --> $DIR/non_expressive_names.rs:27:9 | LL | let a: i32; | ^ LL | let (b, c, d): (i32, i64, i16); | ^ ^ ^ ... LL | e => panic!(), | ^ error: 8 bindings with single-character names in scope --> $DIR/non_expressive_names.rs:52:13 | LL | fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {} | ^ ^ ^ ^ ^ ^ ^ ^ error: 8 bindings with single-character names in scope --> $DIR/non_expressive_names.rs:55:10 | LL | let (a, b, c, d, e, f, g, h) = unimplemented!(); | ^ ^ ^ ^ ^ ^ ^ ^ error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:92:9 | LL | let _1 = 1; //~ERROR Consider a more descriptive name | ^^ | = note: `-D clippy::just-underscores-and-digits` implied by `-D warnings` error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:93:9 | LL | let ____1 = 1; //~ERROR Consider a more descriptive name | ^^^^^ error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:94:9 | LL | let __1___2 = 12; //~ERROR Consider a more descriptive name | ^^^^^^^ error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:114:13 | LL | let _1 = 1; | ^^ error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:115:13 | LL | let ____1 = 1; | ^^^^^ error: consider choosing a more descriptive name --> $DIR/non_expressive_names.rs:116:13 | LL | let __1___2 = 12; | ^^^^^^^ -error: aborting due to 11 previous errors - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/non_expressive_names.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'non_expressive_names.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/non_expressive_names.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/non_expressive_names.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/non_expressive_names.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"5 bindings with single-character names in scope","code":{"code":"clippy::many_single_char_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/non_expressive_names.rs","byte_start":481,"byte_end":482,"line_start":27,"line_end":27,"column_start":9,"column_end":10,"is_primary":true,"text":[{"text":" let a: i32;","highlight_start":9,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":498,"byte_end":499,"line_start":28,"line_end":28,"column_start":10,"column_end":11,"is_primary":true,"text":[{"text":" let (b, c, d): (i32, i64, i16);","highlight_start":10,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":501,"byte_end":502,"line_start":28,"line_end":28,"column_start":13,"column_end":14,"is_primary":true,"text":[{"text":" let (b, c, d): (i32, i64, i16);","highlight_start":13,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":504,"byte_end":505,"line_start":28,"line_end":28,"column_start":16,"column_end":17,"is_primary":true,"text":[{"text":" let (b, c, d): (i32, i64, i16);","highlight_start":16,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":632,"byte_end":633,"line_start":35,"line_end":35,"column_start":17,"column_end":18,"is_primary":true,"text":[{"text":" let e: i32;","highlight_start":17,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::many-single-char-names` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error: 5 bindings with single-character names in scope\n --> tests/ui/non_expressive_names.rs:27:9\n |\nLL | let a: i32;\n | ^\nLL | let (b, c, d): (i32, i64, i16);\n | ^ ^ ^\n...\nLL | let e: i32;\n | ^\n |\n = note: `-D clippy::many-single-char-names` implied by `-D warnings`\n\n"} {"message":"6 bindings with single-character names in scope","code":{"code":"clippy::many_single_char_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/non_expressive_names.rs","byte_start":481,"byte_end":482,"line_start":27,"line_end":27,"column_start":9,"column_end":10,"is_primary":true,"text":[{"text":" let a: i32;","highlight_start":9,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":498,"byte_end":499,"line_start":28,"line_end":28,"column_start":10,"column_end":11,"is_primary":true,"text":[{"text":" let (b, c, d): (i32, i64, i16);","highlight_start":10,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":501,"byte_end":502,"line_start":28,"line_end":28,"column_start":13,"column_end":14,"is_primary":true,"text":[{"text":" let (b, c, d): (i32, i64, i16);","highlight_start":13,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":504,"byte_end":505,"line_start":28,"line_end":28,"column_start":16,"column_end":17,"is_primary":true,"text":[{"text":" let (b, c, d): (i32, i64, i16);","highlight_start":16,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":676,"byte_end":677,"line_start":38,"line_end":38,"column_start":17,"column_end":18,"is_primary":true,"text":[{"text":" let e: i32;","highlight_start":17,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":700,"byte_end":701,"line_start":39,"line_end":39,"column_start":17,"column_end":18,"is_primary":true,"text":[{"text":" let f: i32;","highlight_start":17,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: 6 bindings with single-character names in scope\n --> tests/ui/non_expressive_names.rs:27:9\n |\nLL | let a: i32;\n | ^\nLL | let (b, c, d): (i32, i64, i16);\n | ^ ^ ^\n...\nLL | let e: i32;\n | ^\nLL | let f: i32;\n | ^\n\n"} {"message":"5 bindings with single-character names in scope","code":{"code":"clippy::many_single_char_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/non_expressive_names.rs","byte_start":481,"byte_end":482,"line_start":27,"line_end":27,"column_start":9,"column_end":10,"is_primary":true,"text":[{"text":" let a: i32;","highlight_start":9,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":498,"byte_end":499,"line_start":28,"line_end":28,"column_start":10,"column_end":11,"is_primary":true,"text":[{"text":" let (b, c, d): (i32, i64, i16);","highlight_start":10,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":501,"byte_end":502,"line_start":28,"line_end":28,"column_start":13,"column_end":14,"is_primary":true,"text":[{"text":" let (b, c, d): (i32, i64, i16);","highlight_start":13,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":504,"byte_end":505,"line_start":28,"line_end":28,"column_start":16,"column_end":17,"is_primary":true,"text":[{"text":" let (b, c, d): (i32, i64, i16);","highlight_start":16,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":779,"byte_end":780,"line_start":43,"line_end":43,"column_start":13,"column_end":14,"is_primary":true,"text":[{"text":" e => panic!(),","highlight_start":13,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: 5 bindings with single-character names in scope\n --> tests/ui/non_expressive_names.rs:27:9\n |\nLL | let a: i32;\n | ^\nLL | let (b, c, d): (i32, i64, i16);\n | ^ ^ ^\n...\nLL | e => panic!(),\n | ^\n\n"} {"message":"8 bindings with single-character names in scope","code":{"code":"clippy::many_single_char_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/non_expressive_names.rs","byte_start":911,"byte_end":912,"line_start":52,"line_end":52,"column_start":13,"column_end":14,"is_primary":true,"text":[{"text":"fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {}","highlight_start":13,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":919,"byte_end":920,"line_start":52,"line_end":52,"column_start":21,"column_end":22,"is_primary":true,"text":[{"text":"fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {}","highlight_start":21,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":927,"byte_end":928,"line_start":52,"line_end":52,"column_start":29,"column_end":30,"is_primary":true,"text":[{"text":"fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {}","highlight_start":29,"highlight_end":30}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":935,"byte_end":936,"line_start":52,"line_end":52,"column_start":37,"column_end":38,"is_primary":true,"text":[{"text":"fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {}","highlight_start":37,"highlight_end":38}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":943,"byte_end":944,"line_start":52,"line_end":52,"column_start":45,"column_end":46,"is_primary":true,"text":[{"text":"fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {}","highlight_start":45,"highlight_end":46}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":951,"byte_end":952,"line_start":52,"line_end":52,"column_start":53,"column_end":54,"is_primary":true,"text":[{"text":"fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {}","highlight_start":53,"highlight_end":54}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":959,"byte_end":960,"line_start":52,"line_end":52,"column_start":61,"column_end":62,"is_primary":true,"text":[{"text":"fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {}","highlight_start":61,"highlight_end":62}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":967,"byte_end":968,"line_start":52,"line_end":52,"column_start":69,"column_end":70,"is_primary":true,"text":[{"text":"fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {}","highlight_start":69,"highlight_end":70}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: 8 bindings with single-character names in scope\n --> tests/ui/non_expressive_names.rs:52:13\n |\nLL | fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {}\n | ^ ^ ^ ^ ^ ^ ^ ^\n\n"} {"message":"8 bindings with single-character names in scope","code":{"code":"clippy::many_single_char_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/non_expressive_names.rs","byte_start":1005,"byte_end":1006,"line_start":55,"line_end":55,"column_start":10,"column_end":11,"is_primary":true,"text":[{"text":" let (a, b, c, d, e, f, g, h) = unimplemented!();","highlight_start":10,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":1008,"byte_end":1009,"line_start":55,"line_end":55,"column_start":13,"column_end":14,"is_primary":true,"text":[{"text":" let (a, b, c, d, e, f, g, h) = unimplemented!();","highlight_start":13,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":1011,"byte_end":1012,"line_start":55,"line_end":55,"column_start":16,"column_end":17,"is_primary":true,"text":[{"text":" let (a, b, c, d, e, f, g, h) = unimplemented!();","highlight_start":16,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":1014,"byte_end":1015,"line_start":55,"line_end":55,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":" let (a, b, c, d, e, f, g, h) = unimplemented!();","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":1017,"byte_end":1018,"line_start":55,"line_end":55,"column_start":22,"column_end":23,"is_primary":true,"text":[{"text":" let (a, b, c, d, e, f, g, h) = unimplemented!();","highlight_start":22,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":1020,"byte_end":1021,"line_start":55,"line_end":55,"column_start":25,"column_end":26,"is_primary":true,"text":[{"text":" let (a, b, c, d, e, f, g, h) = unimplemented!();","highlight_start":25,"highlight_end":26}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":1023,"byte_end":1024,"line_start":55,"line_end":55,"column_start":28,"column_end":29,"is_primary":true,"text":[{"text":" let (a, b, c, d, e, f, g, h) = unimplemented!();","highlight_start":28,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/non_expressive_names.rs","byte_start":1026,"byte_end":1027,"line_start":55,"line_end":55,"column_start":31,"column_end":32,"is_primary":true,"text":[{"text":" let (a, b, c, d, e, f, g, h) = unimplemented!();","highlight_start":31,"highlight_end":32}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: 8 bindings with single-character names in scope\n --> tests/ui/non_expressive_names.rs:55:10\n |\nLL | let (a, b, c, d, e, f, g, h) = unimplemented!();\n | ^ ^ ^ ^ ^ ^ ^ ^\n\n"} {"message":"consider choosing a more descriptive name","code":{"code":"clippy::just_underscores_and_digits","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/non_expressive_names.rs","byte_start":1639,"byte_end":1641,"line_start":92,"line_end":92,"column_start":9,"column_end":11,"is_primary":true,"text":[{"text":" let _1 = 1; //~ERROR Consider a more descriptive name","highlight_start":9,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::just-underscores-and-digits` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error: consider choosing a more descriptive name\n --> tests/ui/non_expressive_names.rs:92:9\n |\nLL | let _1 = 1; //~ERROR Consider a more descriptive name\n | ^^\n |\n = note: `-D clippy::just-underscores-and-digits` implied by `-D warnings`\n\n"} {"message":"consider choosing a more descriptive name","code":{"code":"clippy::just_underscores_and_digits","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/non_expressive_names.rs","byte_start":1697,"byte_end":1702,"line_start":93,"line_end":93,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":" let ____1 = 1; //~ERROR Consider a more descriptive name","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: consider choosing a more descriptive name\n --> tests/ui/non_expressive_names.rs:93:9\n |\nLL | let ____1 = 1; //~ERROR Consider a more descriptive name\n | ^^^^^\n\n"} {"message":"consider choosing a more descriptive name","code":{"code":"clippy::just_underscores_and_digits","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/non_expressive_names.rs","byte_start":1758,"byte_end":1765,"line_start":94,"line_end":94,"column_start":9,"column_end":16,"is_primary":true,"text":[{"text":" let __1___2 = 12; //~ERROR Consider a more descriptive name","highlight_start":9,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: consider choosing a more descriptive name\n --> tests/ui/non_expressive_names.rs:94:9\n |\nLL | let __1___2 = 12; //~ERROR Consider a more descriptive name\n | ^^^^^^^\n\n"} {"message":"consider choosing a more descriptive name","code":{"code":"clippy::just_underscores_and_digits","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/non_expressive_names.rs","byte_start":2037,"byte_end":2039,"line_start":114,"line_end":114,"column_start":13,"column_end":15,"is_primary":true,"text":[{"text":" let _1 = 1;","highlight_start":13,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: consider choosing a more descriptive name\n --> tests/ui/non_expressive_names.rs:114:13\n |\nLL | let _1 = 1;\n | ^^\n\n"} {"message":"consider choosing a more descriptive name","code":{"code":"clippy::just_underscores_and_digits","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/non_expressive_names.rs","byte_start":2057,"byte_end":2062,"line_start":115,"line_end":115,"column_start":13,"column_end":18,"is_primary":true,"text":[{"text":" let ____1 = 1;","highlight_start":13,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: consider choosing a more descriptive name\n --> tests/ui/non_expressive_names.rs:115:13\n |\nLL | let ____1 = 1;\n | ^^^^^\n\n"} {"message":"consider choosing a more descriptive name","code":{"code":"clippy::just_underscores_and_digits","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/non_expressive_names.rs","byte_start":2080,"byte_end":2087,"line_start":116,"line_end":116,"column_start":13,"column_end":20,"is_primary":true,"text":[{"text":" let __1___2 = 12;","highlight_start":13,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: consider choosing a more descriptive name\n --> tests/ui/non_expressive_names.rs:116:13\n |\nLL | let __1___2 = 12;\n | ^^^^^^^\n\n"} ------------------------------------------ thread '[ui] ui/non_expressive_names.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/ok_expect.rs stdout ---- normalized stderr: expected stderr: error: called `ok().expect()` on a Result value. You can call `expect` directly on the `Result` --> $DIR/ok_expect.rs:14:5 | LL | res.ok().expect("disaster!"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::ok-expect` implied by `-D warnings` error: called `ok().expect()` on a Result value. You can call `expect` directly on the `Result` --> $DIR/ok_expect.rs:20:5 | LL | res3.ok().expect("whoof"); | ^^^^^^^^^^^^^^^^^^^^^^^^^ error: called `ok().expect()` on a Result value. You can call `expect` directly on the `Result` --> $DIR/ok_expect.rs:22:5 | LL | res4.ok().expect("argh"); | ^^^^^^^^^^^^^^^^^^^^^^^^ error: called `ok().expect()` on a Result value. You can call `expect` directly on the `Result` --> $DIR/ok_expect.rs:24:5 | LL | res5.ok().expect("oops"); | ^^^^^^^^^^^^^^^^^^^^^^^^ error: called `ok().expect()` on a Result value. You can call `expect` directly on the `Result` --> $DIR/ok_expect.rs:26:5 | LL | res6.ok().expect("meh"); | ^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 5 previous errors diff of stderr: -error: called `ok().expect()` on a Result value. You can call `expect` directly on the `Result` - --> $DIR/ok_expect.rs:14:5 - | -LL | res.ok().expect("disaster!"); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::ok-expect` implied by `-D warnings` - -error: called `ok().expect()` on a Result value. You can call `expect` directly on the `Result` - --> $DIR/ok_expect.rs:20:5 - | -LL | res3.ok().expect("whoof"); - | ^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: called `ok().expect()` on a Result value. You can call `expect` directly on the `Result` - --> $DIR/ok_expect.rs:22:5 - | -LL | res4.ok().expect("argh"); - | ^^^^^^^^^^^^^^^^^^^^^^^^ - -error: called `ok().expect()` on a Result value. You can call `expect` directly on the `Result` - --> $DIR/ok_expect.rs:24:5 - | -LL | res5.ok().expect("oops"); - | ^^^^^^^^^^^^^^^^^^^^^^^^ - -error: called `ok().expect()` on a Result value. You can call `expect` directly on the `Result` - --> $DIR/ok_expect.rs:26:5 - | -LL | res6.ok().expect("meh"); - | ^^^^^^^^^^^^^^^^^^^^^^^ - -error: aborting due to 5 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/ok_expect.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'ok_expect.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/ok_expect.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/ok_expect.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/ok_expect.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/ok_expect.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/ok_if_let.rs stdout ---- normalized stderr: expected stderr: error: Matching on `Some` with `ok()` is redundant --> $DIR/ok_if_let.rs:4:5 | LL | / if let Some(y) = x.parse().ok() { LL | | y LL | | } else { LL | | 0 LL | | } | |_____^ | = note: `-D clippy::if-let-some-result` implied by `-D warnings` = help: Consider matching on `Ok(y)` and removing the call to `ok` instead error: aborting due to previous error diff of stderr: -error: Matching on `Some` with `ok()` is redundant - --> $DIR/ok_if_let.rs:4:5 - | -LL | / if let Some(y) = x.parse().ok() { -LL | | y -LL | | } else { -LL | | 0 -LL | | } - | |_____^ - | - = note: `-D clippy::if-let-some-result` implied by `-D warnings` - = help: Consider matching on `Ok(y)` and removing the call to `ok` instead - -error: aborting due to previous error - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/ok_if_let.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'ok_if_let.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/ok_if_let.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/ok_if_let.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/ok_if_let.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/ok_if_let.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/option_map_unit_fn.rs stdout ---- normalized stderr: expected stderr: error: called `map(f)` on an Option value where `f` is a unit function --> $DIR/option_map_unit_fn.rs:32:5 | LL | x.field.map(do_nothing); | ^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(x_field) = x.field { do_nothing(...) }` | = note: `-D clippy::option-map-unit-fn` implied by `-D warnings` error: called `map(f)` on an Option value where `f` is a unit function --> $DIR/option_map_unit_fn.rs:34:5 | LL | x.field.map(do_nothing); | ^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(x_field) = x.field { do_nothing(...) }` error: called `map(f)` on an Option value where `f` is a unit function --> $DIR/option_map_unit_fn.rs:36:5 | LL | x.field.map(diverge); | ^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(x_field) = x.field { diverge(...) }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:42:5 | LL | x.field.map(|value| x.do_option_nothing(value + captured)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(value) = x.field { x.do_option_nothing(value + captured) }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:44:5 | LL | x.field.map(|value| { x.do_option_plus_one(value + captured); }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(value) = x.field { x.do_option_plus_one(value + captured); }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:47:5 | LL | x.field.map(|value| do_nothing(value + captured)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(value) = x.field { do_nothing(value + captured) }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:49:5 | LL | x.field.map(|value| { do_nothing(value + captured) }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(value) = x.field { do_nothing(value + captured) }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:51:5 | LL | x.field.map(|value| { do_nothing(value + captured); }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(value) = x.field { do_nothing(value + captured); }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:53:5 | LL | x.field.map(|value| { { do_nothing(value + captured); } }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(value) = x.field { do_nothing(value + captured); }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:56:5 | LL | x.field.map(|value| diverge(value + captured)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(value) = x.field { diverge(value + captured) }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:58:5 | LL | x.field.map(|value| { diverge(value + captured) }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(value) = x.field { diverge(value + captured) }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:60:5 | LL | x.field.map(|value| { diverge(value + captured); }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(value) = x.field { diverge(value + captured); }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:62:5 | LL | x.field.map(|value| { { diverge(value + captured); } }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(value) = x.field { diverge(value + captured); }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:67:5 | LL | x.field.map(|value| { let y = plus_one(value + captured); }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(value) = x.field { let y = plus_one(value + captured); }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:69:5 | LL | x.field.map(|value| { plus_one(value + captured); }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(value) = x.field { plus_one(value + captured); }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:71:5 | LL | x.field.map(|value| { { plus_one(value + captured); } }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(value) = x.field { plus_one(value + captured); }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:74:5 | LL | x.field.map(|ref value| { do_nothing(value + captured) }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(ref value) = x.field { do_nothing(value + captured) }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:77:5 | LL | x.field.map(|value| { do_nothing(value); do_nothing(value) }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(value) = x.field { ... }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:79:5 | LL | x.field.map(|value| if value > 0 { do_nothing(value); do_nothing(value) }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(value) = x.field { ... }` error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:83:5 | LL | x.field.map(|value| { | _____^ | |_____| | || LL | || do_nothing(value); LL | || do_nothing(value) LL | || }); | ||______^- help: try this: `if let Some(value) = x.field { ... }` | |_______| | error: called `map(f)` on an Option value where `f` is a unit closure --> $DIR/option_map_unit_fn.rs:87:5 | LL | x.field.map(|value| { do_nothing(value); do_nothing(value); }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(value) = x.field { ... }` error: called `map(f)` on an Option value where `f` is a unit function --> $DIR/option_map_unit_fn.rs:90:5 | LL | Some(42).map(diverge); | ^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(_) = Some(42) { diverge(...) }` error: called `map(f)` on an Option value where `f` is a unit function --> $DIR/option_map_unit_fn.rs:91:5 | LL | "12".parse::().ok().map(diverge); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(_) = "12".parse::().ok() { diverge(...) }` error: called `map(f)` on an Option value where `f` is a unit function --> $DIR/option_map_unit_fn.rs:92:5 | LL | Some(plus_one(1)).map(do_nothing); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(_) = Some(plus_one(1)) { do_nothing(...) }` error: called `map(f)` on an Option value where `f` is a unit function --> $DIR/option_map_unit_fn.rs:96:5 | LL | y.map(do_nothing); | ^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Some(_y) = y { do_nothing(...) }` error: aborting due to 25 previous errors diff of stderr: -error: called `map(f)` on an Option value where `f` is a unit function - --> $DIR/option_map_unit_fn.rs:32:5 - | -LL | x.field.map(do_nothing); - | ^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(x_field) = x.field { do_nothing(...) }` - | - = note: `-D clippy::option-map-unit-fn` implied by `-D warnings` - -error: called `map(f)` on an Option value where `f` is a unit function - --> $DIR/option_map_unit_fn.rs:34:5 - | -LL | x.field.map(do_nothing); - | ^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(x_field) = x.field { do_nothing(...) }` - -error: called `map(f)` on an Option value where `f` is a unit function - --> $DIR/option_map_unit_fn.rs:36:5 - | -LL | x.field.map(diverge); - | ^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(x_field) = x.field { diverge(...) }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:42:5 - | -LL | x.field.map(|value| x.do_option_nothing(value + captured)); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(value) = x.field { x.do_option_nothing(value + captured) }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:44:5 - | -LL | x.field.map(|value| { x.do_option_plus_one(value + captured); }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(value) = x.field { x.do_option_plus_one(value + captured); }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:47:5 - | -LL | x.field.map(|value| do_nothing(value + captured)); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(value) = x.field { do_nothing(value + captured) }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:49:5 - | -LL | x.field.map(|value| { do_nothing(value + captured) }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(value) = x.field { do_nothing(value + captured) }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:51:5 - | -LL | x.field.map(|value| { do_nothing(value + captured); }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(value) = x.field { do_nothing(value + captured); }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:53:5 - | -LL | x.field.map(|value| { { do_nothing(value + captured); } }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(value) = x.field { do_nothing(value + captured); }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:56:5 - | -LL | x.field.map(|value| diverge(value + captured)); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(value) = x.field { diverge(value + captured) }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:58:5 - | -LL | x.field.map(|value| { diverge(value + captured) }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(value) = x.field { diverge(value + captured) }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:60:5 - | -LL | x.field.map(|value| { diverge(value + captured); }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(value) = x.field { diverge(value + captured); }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:62:5 - | -LL | x.field.map(|value| { { diverge(value + captured); } }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(value) = x.field { diverge(value + captured); }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:67:5 - | -LL | x.field.map(|value| { let y = plus_one(value + captured); }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(value) = x.field { let y = plus_one(value + captured); }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:69:5 - | -LL | x.field.map(|value| { plus_one(value + captured); }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(value) = x.field { plus_one(value + captured); }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:71:5 - | -LL | x.field.map(|value| { { plus_one(value + captured); } }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(value) = x.field { plus_one(value + captured); }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:74:5 - | -LL | x.field.map(|ref value| { do_nothing(value + captured) }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(ref value) = x.field { do_nothing(value + captured) }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:77:5 - | -LL | x.field.map(|value| { do_nothing(value); do_nothing(value) }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(value) = x.field { ... }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:79:5 - | -LL | x.field.map(|value| if value > 0 { do_nothing(value); do_nothing(value) }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(value) = x.field { ... }` - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:83:5 - | -LL | x.field.map(|value| { - | _____^ - | |_____| - | || -LL | || do_nothing(value); -LL | || do_nothing(value) -LL | || }); - | ||______^- help: try this: `if let Some(value) = x.field { ... }` - | |_______| - | - -error: called `map(f)` on an Option value where `f` is a unit closure - --> $DIR/option_map_unit_fn.rs:87:5 - | -LL | x.field.map(|value| { do_nothing(value); do_nothing(value); }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(value) = x.field { ... }` - -error: called `map(f)` on an Option value where `f` is a unit function - --> $DIR/option_map_unit_fn.rs:90:5 - | -LL | Some(42).map(diverge); - | ^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(_) = Some(42) { diverge(...) }` - -error: called `map(f)` on an Option value where `f` is a unit function - --> $DIR/option_map_unit_fn.rs:91:5 - | -LL | "12".parse::().ok().map(diverge); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(_) = "12".parse::().ok() { diverge(...) }` - -error: called `map(f)` on an Option value where `f` is a unit function - --> $DIR/option_map_unit_fn.rs:92:5 - | -LL | Some(plus_one(1)).map(do_nothing); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(_) = Some(plus_one(1)) { do_nothing(...) }` - -error: called `map(f)` on an Option value where `f` is a unit function - --> $DIR/option_map_unit_fn.rs:96:5 - | -LL | y.map(do_nothing); - | ^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Some(_y) = y { do_nothing(...) }` - -error: aborting due to 25 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/option_map_unit_fn.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'option_map_unit_fn.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/option_map_unit_fn.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/option_map_unit_fn.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/option_map_unit_fn.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/option_map_unit_fn.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/option_option.rs stdout ---- normalized stderr: expected stderr: error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases --> $DIR/option_option.rs:1:13 | LL | fn input(_: Option>) {} | ^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::option-option` implied by `-D warnings` error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases --> $DIR/option_option.rs:3:16 | LL | fn output() -> Option> { | ^^^^^^^^^^^^^^^^^^ error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases --> $DIR/option_option.rs:7:27 | LL | fn output_nested() -> Vec>> { | ^^^^^^^^^^^^^^^^^^ error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases --> $DIR/option_option.rs:12:30 | LL | fn output_nested_nested() -> Option>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases --> $DIR/option_option.rs:17:8 | LL | x: Option>, | ^^^^^^^^^^^^^^^^^^ error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases --> $DIR/option_option.rs:21:23 | LL | fn struct_fn() -> Option> { | ^^^^^^^^^^^^^^^^^^ error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases --> $DIR/option_option.rs:27:22 | LL | fn trait_fn() -> Option>; | ^^^^^^^^^^^^^^^^^^ error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases --> $DIR/option_option.rs:31:11 | LL | Tuple(Option>), | ^^^^^^^^^^^^^^^^^^ error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases --> $DIR/option_option.rs:32:17 | LL | Struct { x: Option> }, | ^^^^^^^^^^^^^^^^^^ error: aborting due to 9 previous errors diff of stderr: -error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases - --> $DIR/option_option.rs:1:13 - | -LL | fn input(_: Option>) {} - | ^^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::option-option` implied by `-D warnings` - -error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases - --> $DIR/option_option.rs:3:16 - | -LL | fn output() -> Option> { - | ^^^^^^^^^^^^^^^^^^ - -error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases - --> $DIR/option_option.rs:7:27 - | -LL | fn output_nested() -> Vec>> { - | ^^^^^^^^^^^^^^^^^^ - -error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases - --> $DIR/option_option.rs:12:30 - | -LL | fn output_nested_nested() -> Option>> { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases - --> $DIR/option_option.rs:17:8 - | -LL | x: Option>, - | ^^^^^^^^^^^^^^^^^^ - -error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases - --> $DIR/option_option.rs:21:23 - | -LL | fn struct_fn() -> Option> { - | ^^^^^^^^^^^^^^^^^^ - -error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases - --> $DIR/option_option.rs:27:22 - | -LL | fn trait_fn() -> Option>; - | ^^^^^^^^^^^^^^^^^^ - -error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases - --> $DIR/option_option.rs:31:11 - | -LL | Tuple(Option>), - | ^^^^^^^^^^^^^^^^^^ - -error: consider using `Option` instead of `Option>` or a custom enum if you need to distinguish all 3 cases - --> $DIR/option_option.rs:32:17 - | -LL | Struct { x: Option> }, - | ^^^^^^^^^^^^^^^^^^ - -error: aborting due to 9 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/option_option.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'option_option.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/option_option.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/option_option.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/option_option.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/option_option.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/panic_unimplemented.rs stdout ---- normalized stderr: expected stderr: error: you probably are missing some parameter in your format string --> $DIR/panic_unimplemented.rs:5:16 | LL | panic!("{}"); | ^^^^ | = note: `-D clippy::panic-params` implied by `-D warnings` error: you probably are missing some parameter in your format string --> $DIR/panic_unimplemented.rs:7:16 | LL | panic!("{:?}"); | ^^^^^^ error: you probably are missing some parameter in your format string --> $DIR/panic_unimplemented.rs:9:23 | LL | assert!(true, "here be missing values: {}"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: you probably are missing some parameter in your format string --> $DIR/panic_unimplemented.rs:12:12 | LL | panic!("{{{this}}}"); | ^^^^^^^^^^^^ error: `unimplemented` should not be present in production code --> $DIR/panic_unimplemented.rs:55:5 | LL | unimplemented!(); | ^^^^^^^^^^^^^^^^^ | = note: `-D clippy::unimplemented` implied by `-D warnings` error: aborting due to 5 previous errors diff of stderr: -error: you probably are missing some parameter in your format string - --> $DIR/panic_unimplemented.rs:5:16 - | -LL | panic!("{}"); - | ^^^^ - | - = note: `-D clippy::panic-params` implied by `-D warnings` - -error: you probably are missing some parameter in your format string - --> $DIR/panic_unimplemented.rs:7:16 - | -LL | panic!("{:?}"); - | ^^^^^^ - -error: you probably are missing some parameter in your format string - --> $DIR/panic_unimplemented.rs:9:23 - | -LL | assert!(true, "here be missing values: {}"); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: you probably are missing some parameter in your format string - --> $DIR/panic_unimplemented.rs:12:12 - | -LL | panic!("{{{this}}}"); - | ^^^^^^^^^^^^ - -error: `unimplemented` should not be present in production code - --> $DIR/panic_unimplemented.rs:55:5 - | -LL | unimplemented!(); - | ^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::unimplemented` implied by `-D warnings` - -error: aborting due to 5 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/panic_unimplemented.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'panic_unimplemented.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/panic_unimplemented.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/panic_unimplemented.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/panic_unimplemented.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/panic_unimplemented.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/partialeq_ne_impl.rs stdout ---- normalized stderr: expected stderr: error: re-implementing `PartialEq::ne` is unnecessary --> $DIR/partialeq_ne_impl.rs:9:5 | LL | / fn ne(&self, _: &Foo) -> bool { LL | | false LL | | } | |_____^ | = note: `-D clippy::partialeq-ne-impl` implied by `-D warnings` error: aborting due to previous error diff of stderr: -error: re-implementing `PartialEq::ne` is unnecessary - --> $DIR/partialeq_ne_impl.rs:9:5 - | -LL | / fn ne(&self, _: &Foo) -> bool { -LL | | false -LL | | } - | |_____^ - | - = note: `-D clippy::partialeq-ne-impl` implied by `-D warnings` - -error: aborting due to previous error - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/partialeq_ne_impl.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'partialeq_ne_impl.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/partialeq_ne_impl.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/partialeq_ne_impl.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/partialeq_ne_impl.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/partialeq_ne_impl.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/print.rs stdout ---- normalized stderr: error: use of `Debug`-based formatting --> $DIR/print.rs:11:19 | LL | write!(f, "{:?}", 43.1415) | ^^^^^^ | = note: `-D clippy::use-debug` implied by `-D warnings` error: use of `Debug`-based formatting --> $DIR/print.rs:18:19 | LL | write!(f, "{:?}", 42.718) | ^^^^^^ error: use of `println!` --> $DIR/print.rs:23:5 | LL | println!("Hello"); | ^^^^^^^^^^^^^^^^^ | = note: `-D clippy::print-stdout` implied by `-D warnings` error: use of `print!` --> $DIR/print.rs:24:5 | LL | print!("Hello"); | ^^^^^^^^^^^^^^^ error: use of `print!` --> $DIR/print.rs:26:5 | LL | print!("Hello {}", "World"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: use of `print!` --> $DIR/print.rs:28:5 | LL | print!("Hello {:?}", "World"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: use of `Debug`-based formatting --> $DIR/print.rs:28:12 | LL | print!("Hello {:?}", "World"); | ^^^^^^^^^^^^ error: use of `print!` --> $DIR/print.rs:30:5 | LL | print!("Hello {:#?}", "#orld"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: use of `Debug`-based formatting --> $DIR/print.rs:30:12 | LL | print!("Hello {:#?}", "#orld"); | ^^^^^^^^^^^^^ expected stderr: error: use of `Debug`-based formatting --> $DIR/print.rs:11:19 | LL | write!(f, "{:?}", 43.1415) | ^^^^^^ | = note: `-D clippy::use-debug` implied by `-D warnings` error: use of `Debug`-based formatting --> $DIR/print.rs:18:19 | LL | write!(f, "{:?}", 42.718) | ^^^^^^ error: use of `println!` --> $DIR/print.rs:23:5 | LL | println!("Hello"); | ^^^^^^^^^^^^^^^^^ | = note: `-D clippy::print-stdout` implied by `-D warnings` error: use of `print!` --> $DIR/print.rs:24:5 | LL | print!("Hello"); | ^^^^^^^^^^^^^^^ error: use of `print!` --> $DIR/print.rs:26:5 | LL | print!("Hello {}", "World"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: use of `print!` --> $DIR/print.rs:28:5 | LL | print!("Hello {:?}", "World"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: use of `Debug`-based formatting --> $DIR/print.rs:28:12 | LL | print!("Hello {:?}", "World"); | ^^^^^^^^^^^^ error: use of `print!` --> $DIR/print.rs:30:5 | LL | print!("Hello {:#?}", "#orld"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: use of `Debug`-based formatting --> $DIR/print.rs:30:12 | LL | print!("Hello {:#?}", "#orld"); | ^^^^^^^^^^^^^ error: aborting due to 9 previous errors diff of stderr: error: use of `Debug`-based formatting --> $DIR/print.rs:11:19 | LL | write!(f, "{:?}", 43.1415) | ^^^^^^ | = note: `-D clippy::use-debug` implied by `-D warnings` error: use of `Debug`-based formatting --> $DIR/print.rs:18:19 | LL | write!(f, "{:?}", 42.718) | ^^^^^^ error: use of `println!` --> $DIR/print.rs:23:5 | LL | println!("Hello"); | ^^^^^^^^^^^^^^^^^ | = note: `-D clippy::print-stdout` implied by `-D warnings` error: use of `print!` --> $DIR/print.rs:24:5 | LL | print!("Hello"); | ^^^^^^^^^^^^^^^ error: use of `print!` --> $DIR/print.rs:26:5 | LL | print!("Hello {}", "World"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: use of `print!` --> $DIR/print.rs:28:5 | LL | print!("Hello {:?}", "World"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: use of `Debug`-based formatting --> $DIR/print.rs:28:12 | LL | print!("Hello {:?}", "World"); | ^^^^^^^^^^^^ error: use of `print!` --> $DIR/print.rs:30:5 | LL | print!("Hello {:#?}", "#orld"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: use of `Debug`-based formatting --> $DIR/print.rs:30:12 | LL | print!("Hello {:#?}", "#orld"); | ^^^^^^^^^^^^^ -error: aborting due to 9 previous errors - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/print.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'print.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/print.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/print.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/print.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"use of `Debug`-based formatting","code":{"code":"clippy::use_debug","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/print.rs","byte_start":282,"byte_end":288,"line_start":11,"line_end":11,"column_start":19,"column_end":25,"is_primary":true,"text":[{"text":" write!(f, \"{:?}\", 43.1415)","highlight_start":19,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::use-debug` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error: use of `Debug`-based formatting\n --> tests/ui/print.rs:11:19\n |\nLL | write!(f, \"{:?}\", 43.1415)\n | ^^^^^^\n |\n = note: `-D clippy::use-debug` implied by `-D warnings`\n\n"} {"message":"use of `Debug`-based formatting","code":{"code":"clippy::use_debug","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/print.rs","byte_start":468,"byte_end":474,"line_start":18,"line_end":18,"column_start":19,"column_end":25,"is_primary":true,"text":[{"text":" write!(f, \"{:?}\", 42.718)","highlight_start":19,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of `Debug`-based formatting\n --> tests/ui/print.rs:18:19\n |\nLL | write!(f, \"{:?}\", 42.718)\n | ^^^^^^\n\n"} {"message":"use of `println!`","code":{"code":"clippy::print_stdout","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/print.rs","byte_start":509,"byte_end":526,"line_start":23,"line_end":23,"column_start":5,"column_end":22,"is_primary":true,"text":[{"text":" println!(\"Hello\");","highlight_start":5,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::print-stdout` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error: use of `println!`\n --> tests/ui/print.rs:23:5\n |\nLL | println!(\"Hello\");\n | ^^^^^^^^^^^^^^^^^\n |\n = note: `-D clippy::print-stdout` implied by `-D warnings`\n\n"} {"message":"use of `print!`","code":{"code":"clippy::print_stdout","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/print.rs","byte_start":532,"byte_end":547,"line_start":24,"line_end":24,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":" print!(\"Hello\");","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of `print!`\n --> tests/ui/print.rs:24:5\n |\nLL | print!(\"Hello\");\n | ^^^^^^^^^^^^^^^\n\n"} {"message":"use of `print!`","code":{"code":"clippy::print_stdout","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/print.rs","byte_start":554,"byte_end":581,"line_start":26,"line_end":26,"column_start":5,"column_end":32,"is_primary":true,"text":[{"text":" print!(\"Hello {}\", \"World\");","highlight_start":5,"highlight_end":32}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of `print!`\n --> tests/ui/print.rs:26:5\n |\nLL | print!(\"Hello {}\", \"World\");\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"} {"message":"use of `print!`","code":{"code":"clippy::print_stdout","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/print.rs","byte_start":588,"byte_end":617,"line_start":28,"line_end":28,"column_start":5,"column_end":34,"is_primary":true,"text":[{"text":" print!(\"Hello {:?}\", \"World\");","highlight_start":5,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of `print!`\n --> tests/ui/print.rs:28:5\n |\nLL | print!(\"Hello {:?}\", \"World\");\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"} {"message":"use of `Debug`-based formatting","code":{"code":"clippy::use_debug","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/print.rs","byte_start":595,"byte_end":607,"line_start":28,"line_end":28,"column_start":12,"column_end":24,"is_primary":true,"text":[{"text":" print!(\"Hello {:?}\", \"World\");","highlight_start":12,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of `Debug`-based formatting\n --> tests/ui/print.rs:28:12\n |\nLL | print!(\"Hello {:?}\", \"World\");\n | ^^^^^^^^^^^^\n\n"} {"message":"use of `print!`","code":{"code":"clippy::print_stdout","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/print.rs","byte_start":624,"byte_end":654,"line_start":30,"line_end":30,"column_start":5,"column_end":35,"is_primary":true,"text":[{"text":" print!(\"Hello {:#?}\", \"#orld\");","highlight_start":5,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of `print!`\n --> tests/ui/print.rs:30:5\n |\nLL | print!(\"Hello {:#?}\", \"#orld\");\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"} {"message":"use of `Debug`-based formatting","code":{"code":"clippy::use_debug","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/print.rs","byte_start":631,"byte_end":644,"line_start":30,"line_end":30,"column_start":12,"column_end":25,"is_primary":true,"text":[{"text":" print!(\"Hello {:#?}\", \"#orld\");","highlight_start":12,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: use of `Debug`-based formatting\n --> tests/ui/print.rs:30:12\n |\nLL | print!(\"Hello {:#?}\", \"#orld\");\n | ^^^^^^^^^^^^^\n\n"} ------------------------------------------ thread '[ui] ui/print.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/question_mark.rs stdout ---- normalized stderr: expected stderr: error: this block may be rewritten with the `?` operator --> $DIR/question_mark.rs:2:5 | LL | / if a.is_none() { LL | | return None; LL | | } | |_____^ help: replace_it_with: `a?;` | = note: `-D clippy::question-mark` implied by `-D warnings` error: this block may be rewritten with the `?` operator --> $DIR/question_mark.rs:47:9 | LL | / if (self.opt).is_none() { LL | | return None; LL | | } | |_________^ help: replace_it_with: `(self.opt)?;` error: this block may be rewritten with the `?` operator --> $DIR/question_mark.rs:51:9 | LL | / if self.opt.is_none() { LL | | return None LL | | } | |_________^ help: replace_it_with: `self.opt?;` error: this block may be rewritten with the `?` operator --> $DIR/question_mark.rs:55:17 | LL | let _ = if self.opt.is_none() { | _________________^ LL | | return None; LL | | } else { LL | | self.opt LL | | }; | |_________^ help: replace_it_with: `Some(self.opt?)` error: this block may be rewritten with the `?` operator --> $DIR/question_mark.rs:72:9 | LL | / if self.opt.is_none() { LL | | return None; LL | | } | |_________^ help: replace_it_with: `self.opt.as_ref()?;` error: this block may be rewritten with the `?` operator --> $DIR/question_mark.rs:80:9 | LL | / if self.opt.is_none() { LL | | return None; LL | | } | |_________^ help: replace_it_with: `self.opt.as_ref()?;` error: this block may be rewritten with the `?` operator --> $DIR/question_mark.rs:88:9 | LL | / if self.opt.is_none() { LL | | return None; LL | | } | |_________^ help: replace_it_with: `self.opt.as_ref()?;` error: aborting due to 7 previous errors diff of stderr: -error: this block may be rewritten with the `?` operator - --> $DIR/question_mark.rs:2:5 - | -LL | / if a.is_none() { -LL | | return None; -LL | | } - | |_____^ help: replace_it_with: `a?;` - | - = note: `-D clippy::question-mark` implied by `-D warnings` - -error: this block may be rewritten with the `?` operator - --> $DIR/question_mark.rs:47:9 - | -LL | / if (self.opt).is_none() { -LL | | return None; -LL | | } - | |_________^ help: replace_it_with: `(self.opt)?;` - -error: this block may be rewritten with the `?` operator - --> $DIR/question_mark.rs:51:9 - | -LL | / if self.opt.is_none() { -LL | | return None -LL | | } - | |_________^ help: replace_it_with: `self.opt?;` - -error: this block may be rewritten with the `?` operator - --> $DIR/question_mark.rs:55:17 - | -LL | let _ = if self.opt.is_none() { - | _________________^ -LL | | return None; -LL | | } else { -LL | | self.opt -LL | | }; - | |_________^ help: replace_it_with: `Some(self.opt?)` - -error: this block may be rewritten with the `?` operator - --> $DIR/question_mark.rs:72:9 - | -LL | / if self.opt.is_none() { -LL | | return None; -LL | | } - | |_________^ help: replace_it_with: `self.opt.as_ref()?;` - -error: this block may be rewritten with the `?` operator - --> $DIR/question_mark.rs:80:9 - | -LL | / if self.opt.is_none() { -LL | | return None; -LL | | } - | |_________^ help: replace_it_with: `self.opt.as_ref()?;` - -error: this block may be rewritten with the `?` operator - --> $DIR/question_mark.rs:88:9 - | -LL | / if self.opt.is_none() { -LL | | return None; -LL | | } - | |_________^ help: replace_it_with: `self.opt.as_ref()?;` - -error: aborting due to 7 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/question_mark.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'question_mark.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/question_mark.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/question_mark.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/question_mark.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/question_mark.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/range_plus_minus_one.rs stdout ---- normalized stderr: expected stderr: error: an inclusive range would be more readable --> $DIR/range_plus_minus_one.rs:10:14 | LL | for _ in 0..3 + 1 {} | ^^^^^^^^ help: use: `0..=3` | = note: `-D clippy::range-plus-one` implied by `-D warnings` error: an inclusive range would be more readable --> $DIR/range_plus_minus_one.rs:13:14 | LL | for _ in 0..1 + 5 {} | ^^^^^^^^ help: use: `0..=5` error: an inclusive range would be more readable --> $DIR/range_plus_minus_one.rs:16:14 | LL | for _ in 1..1 + 1 {} | ^^^^^^^^ help: use: `1..=1` error: an inclusive range would be more readable --> $DIR/range_plus_minus_one.rs:22:14 | LL | for _ in 0..(1 + f()) {} | ^^^^^^^^^^^^ help: use: `0..=f()` error: an exclusive range would be more readable --> $DIR/range_plus_minus_one.rs:26:13 | LL | let _ = ..=11 - 1; | ^^^^^^^^^ help: use: `..11` | = note: `-D clippy::range-minus-one` implied by `-D warnings` error: an exclusive range would be more readable --> $DIR/range_plus_minus_one.rs:27:13 | LL | let _ = ..=(11 - 1); | ^^^^^^^^^^^ help: use: `..11` error: an inclusive range would be more readable --> $DIR/range_plus_minus_one.rs:28:13 | LL | let _ = (1..11 + 1); | ^^^^^^^^^^^ help: use: `(1..=11)` error: an inclusive range would be more readable --> $DIR/range_plus_minus_one.rs:29:13 | LL | let _ = (f() + 1)..(f() + 1); | ^^^^^^^^^^^^^^^^^^^^ help: use: `((f() + 1)..=f())` error: aborting due to 8 previous errors diff of stderr: -error: an inclusive range would be more readable - --> $DIR/range_plus_minus_one.rs:10:14 - | -LL | for _ in 0..3 + 1 {} - | ^^^^^^^^ help: use: `0..=3` - | - = note: `-D clippy::range-plus-one` implied by `-D warnings` - -error: an inclusive range would be more readable - --> $DIR/range_plus_minus_one.rs:13:14 - | -LL | for _ in 0..1 + 5 {} - | ^^^^^^^^ help: use: `0..=5` - -error: an inclusive range would be more readable - --> $DIR/range_plus_minus_one.rs:16:14 - | -LL | for _ in 1..1 + 1 {} - | ^^^^^^^^ help: use: `1..=1` - -error: an inclusive range would be more readable - --> $DIR/range_plus_minus_one.rs:22:14 - | -LL | for _ in 0..(1 + f()) {} - | ^^^^^^^^^^^^ help: use: `0..=f()` - -error: an exclusive range would be more readable - --> $DIR/range_plus_minus_one.rs:26:13 - | -LL | let _ = ..=11 - 1; - | ^^^^^^^^^ help: use: `..11` - | - = note: `-D clippy::range-minus-one` implied by `-D warnings` - -error: an exclusive range would be more readable - --> $DIR/range_plus_minus_one.rs:27:13 - | -LL | let _ = ..=(11 - 1); - | ^^^^^^^^^^^ help: use: `..11` - -error: an inclusive range would be more readable - --> $DIR/range_plus_minus_one.rs:28:13 - | -LL | let _ = (1..11 + 1); - | ^^^^^^^^^^^ help: use: `(1..=11)` - -error: an inclusive range would be more readable - --> $DIR/range_plus_minus_one.rs:29:13 - | -LL | let _ = (f() + 1)..(f() + 1); - | ^^^^^^^^^^^^^^^^^^^^ help: use: `((f() + 1)..=f())` - -error: aborting due to 8 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/range_plus_minus_one.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'range_plus_minus_one.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/range_plus_minus_one.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/range_plus_minus_one.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/range_plus_minus_one.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/range_plus_minus_one.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/redundant_clone.rs stdout ---- normalized stderr: expected stderr: error: redundant clone --> $DIR/redundant_clone.rs:7:41 | LL | let _ = ["lorem", "ipsum"].join(" ").to_string(); | ^^^^^^^^^^^^ help: remove this | = note: `-D clippy::redundant-clone` implied by `-D warnings` note: this value is dropped without further use --> $DIR/redundant_clone.rs:7:13 | LL | let _ = ["lorem", "ipsum"].join(" ").to_string(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: redundant clone --> $DIR/redundant_clone.rs:10:14 | LL | let _ = s.clone(); | ^^^^^^^^ help: remove this | note: this value is dropped without further use --> $DIR/redundant_clone.rs:10:13 | LL | let _ = s.clone(); | ^ error: redundant clone --> $DIR/redundant_clone.rs:13:14 | LL | let _ = s.to_string(); | ^^^^^^^^^^^^ help: remove this | note: this value is dropped without further use --> $DIR/redundant_clone.rs:13:13 | LL | let _ = s.to_string(); | ^ error: redundant clone --> $DIR/redundant_clone.rs:16:14 | LL | let _ = s.to_owned(); | ^^^^^^^^^^^ help: remove this | note: this value is dropped without further use --> $DIR/redundant_clone.rs:16:13 | LL | let _ = s.to_owned(); | ^ error: redundant clone --> $DIR/redundant_clone.rs:18:41 | LL | let _ = Path::new("/a/b/").join("c").to_owned(); | ^^^^^^^^^^^ help: remove this | note: this value is dropped without further use --> $DIR/redundant_clone.rs:18:13 | LL | let _ = Path::new("/a/b/").join("c").to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: redundant clone --> $DIR/redundant_clone.rs:20:41 | LL | let _ = Path::new("/a/b/").join("c").to_path_buf(); | ^^^^^^^^^^^^^^ help: remove this | note: this value is dropped without further use --> $DIR/redundant_clone.rs:20:13 | LL | let _ = Path::new("/a/b/").join("c").to_path_buf(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: redundant clone --> $DIR/redundant_clone.rs:22:28 | LL | let _ = OsString::new().to_owned(); | ^^^^^^^^^^^ help: remove this | note: this value is dropped without further use --> $DIR/redundant_clone.rs:22:13 | LL | let _ = OsString::new().to_owned(); | ^^^^^^^^^^^^^^^ error: redundant clone --> $DIR/redundant_clone.rs:24:28 | LL | let _ = OsString::new().to_os_string(); | ^^^^^^^^^^^^^^^ help: remove this | note: this value is dropped without further use --> $DIR/redundant_clone.rs:24:13 | LL | let _ = OsString::new().to_os_string(); | ^^^^^^^^^^^^^^^ error: redundant clone --> $DIR/redundant_clone.rs:31:18 | LL | let _ = tup.0.clone(); | ^^^^^^^^ help: remove this | note: this value is dropped without further use --> $DIR/redundant_clone.rs:31:13 | LL | let _ = tup.0.clone(); | ^^^^^ error: redundant clone --> $DIR/redundant_clone.rs:41:22 | LL | (a.clone(), a.clone()) | ^^^^^^^^ help: remove this | note: this value is dropped without further use --> $DIR/redundant_clone.rs:41:21 | LL | (a.clone(), a.clone()) | ^ error: aborting due to 10 previous errors diff of stderr: -error: redundant clone - --> $DIR/redundant_clone.rs:7:41 - | -LL | let _ = ["lorem", "ipsum"].join(" ").to_string(); - | ^^^^^^^^^^^^ help: remove this - | - = note: `-D clippy::redundant-clone` implied by `-D warnings` -note: this value is dropped without further use - --> $DIR/redundant_clone.rs:7:13 - | -LL | let _ = ["lorem", "ipsum"].join(" ").to_string(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: redundant clone - --> $DIR/redundant_clone.rs:10:14 - | -LL | let _ = s.clone(); - | ^^^^^^^^ help: remove this - | -note: this value is dropped without further use - --> $DIR/redundant_clone.rs:10:13 - | -LL | let _ = s.clone(); - | ^ - -error: redundant clone - --> $DIR/redundant_clone.rs:13:14 - | -LL | let _ = s.to_string(); - | ^^^^^^^^^^^^ help: remove this - | -note: this value is dropped without further use - --> $DIR/redundant_clone.rs:13:13 - | -LL | let _ = s.to_string(); - | ^ - -error: redundant clone - --> $DIR/redundant_clone.rs:16:14 - | -LL | let _ = s.to_owned(); - | ^^^^^^^^^^^ help: remove this - | -note: this value is dropped without further use - --> $DIR/redundant_clone.rs:16:13 - | -LL | let _ = s.to_owned(); - | ^ - -error: redundant clone - --> $DIR/redundant_clone.rs:18:41 - | -LL | let _ = Path::new("/a/b/").join("c").to_owned(); - | ^^^^^^^^^^^ help: remove this - | -note: this value is dropped without further use - --> $DIR/redundant_clone.rs:18:13 - | -LL | let _ = Path::new("/a/b/").join("c").to_owned(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: redundant clone - --> $DIR/redundant_clone.rs:20:41 - | -LL | let _ = Path::new("/a/b/").join("c").to_path_buf(); - | ^^^^^^^^^^^^^^ help: remove this - | -note: this value is dropped without further use - --> $DIR/redundant_clone.rs:20:13 - | -LL | let _ = Path::new("/a/b/").join("c").to_path_buf(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: redundant clone - --> $DIR/redundant_clone.rs:22:28 - | -LL | let _ = OsString::new().to_owned(); - | ^^^^^^^^^^^ help: remove this - | -note: this value is dropped without further use - --> $DIR/redundant_clone.rs:22:13 - | -LL | let _ = OsString::new().to_owned(); - | ^^^^^^^^^^^^^^^ - -error: redundant clone - --> $DIR/redundant_clone.rs:24:28 - | -LL | let _ = OsString::new().to_os_string(); - | ^^^^^^^^^^^^^^^ help: remove this - | -note: this value is dropped without further use - --> $DIR/redundant_clone.rs:24:13 - | -LL | let _ = OsString::new().to_os_string(); - | ^^^^^^^^^^^^^^^ - -error: redundant clone - --> $DIR/redundant_clone.rs:31:18 - | -LL | let _ = tup.0.clone(); - | ^^^^^^^^ help: remove this - | -note: this value is dropped without further use - --> $DIR/redundant_clone.rs:31:13 - | -LL | let _ = tup.0.clone(); - | ^^^^^ - -error: redundant clone - --> $DIR/redundant_clone.rs:41:22 - | -LL | (a.clone(), a.clone()) - | ^^^^^^^^ help: remove this - | -note: this value is dropped without further use - --> $DIR/redundant_clone.rs:41:21 - | -LL | (a.clone(), a.clone()) - | ^ - -error: aborting due to 10 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/redundant_clone.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'redundant_clone.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/redundant_clone.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/redundant_clone.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/redundant_clone.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/redundant_clone.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/redundant_closure_call.rs stdout ---- normalized stderr: error: Closure called just once immediately after it was declared --> $DIR/redundant_closure_call.rs:12:5 | LL | i = closure(); | ^^^^^^^^^^^^^ | = note: `-D clippy::redundant-closure-call` implied by `-D warnings` error: Closure called just once immediately after it was declared --> $DIR/redundant_closure_call.rs:15:5 | LL | i = closure(3); | ^^^^^^^^^^^^^^ error: Try not to call a closure in the expression where it is declared. --> $DIR/redundant_closure_call.rs:4:13 | LL | let a = (|| 42)(); | ^^^^^^^^^ help: Try doing something like: : `42` error: Try not to call a closure in the expression where it is declared. --> $DIR/redundant_closure_call.rs:7:17 | LL | let mut k = (|m| m + 1)(i); | ^^^^^^^^^^^^^^ error: Try not to call a closure in the expression where it is declared. --> $DIR/redundant_closure_call.rs:9:9 | LL | k = (|a, b| a * b)(1, 5); | ^^^^^^^^^^^^^^^^^^^^ expected stderr: error: Closure called just once immediately after it was declared --> $DIR/redundant_closure_call.rs:12:5 | LL | i = closure(); | ^^^^^^^^^^^^^ | = note: `-D clippy::redundant-closure-call` implied by `-D warnings` error: Closure called just once immediately after it was declared --> $DIR/redundant_closure_call.rs:15:5 | LL | i = closure(3); | ^^^^^^^^^^^^^^ error: Try not to call a closure in the expression where it is declared. --> $DIR/redundant_closure_call.rs:4:13 | LL | let a = (|| 42)(); | ^^^^^^^^^ help: Try doing something like: : `42` error: Try not to call a closure in the expression where it is declared. --> $DIR/redundant_closure_call.rs:7:17 | LL | let mut k = (|m| m + 1)(i); | ^^^^^^^^^^^^^^ error: Try not to call a closure in the expression where it is declared. --> $DIR/redundant_closure_call.rs:9:9 | LL | k = (|a, b| a * b)(1, 5); | ^^^^^^^^^^^^^^^^^^^^ error: aborting due to 5 previous errors diff of stderr: error: Closure called just once immediately after it was declared --> $DIR/redundant_closure_call.rs:12:5 | LL | i = closure(); | ^^^^^^^^^^^^^ | = note: `-D clippy::redundant-closure-call` implied by `-D warnings` error: Closure called just once immediately after it was declared --> $DIR/redundant_closure_call.rs:15:5 | LL | i = closure(3); | ^^^^^^^^^^^^^^ error: Try not to call a closure in the expression where it is declared. --> $DIR/redundant_closure_call.rs:4:13 | LL | let a = (|| 42)(); | ^^^^^^^^^ help: Try doing something like: : `42` error: Try not to call a closure in the expression where it is declared. --> $DIR/redundant_closure_call.rs:7:17 | LL | let mut k = (|m| m + 1)(i); | ^^^^^^^^^^^^^^ error: Try not to call a closure in the expression where it is declared. --> $DIR/redundant_closure_call.rs:9:9 | LL | k = (|a, b| a * b)(1, 5); | ^^^^^^^^^^^^^^^^^^^^ -error: aborting due to 5 previous errors - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/redundant_closure_call.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'redundant_closure_call.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/redundant_closure_call.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/redundant_closure_call.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/redundant_closure_call.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"Closure called just once immediately after it was declared","code":{"code":"clippy::redundant_closure_call","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/redundant_closure_call.rs","byte_start":190,"byte_end":203,"line_start":12,"line_end":12,"column_start":5,"column_end":18,"is_primary":true,"text":[{"text":" i = closure();","highlight_start":5,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::redundant-closure-call` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error: Closure called just once immediately after it was declared\n --> tests/ui/redundant_closure_call.rs:12:5\n |\nLL | i = closure();\n | ^^^^^^^^^^^^^\n |\n = note: `-D clippy::redundant-closure-call` implied by `-D warnings`\n\n"} {"message":"Closure called just once immediately after it was declared","code":{"code":"clippy::redundant_closure_call","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/redundant_closure_call.rs","byte_start":239,"byte_end":253,"line_start":15,"line_end":15,"column_start":5,"column_end":19,"is_primary":true,"text":[{"text":" i = closure(3);","highlight_start":5,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: Closure called just once immediately after it was declared\n --> tests/ui/redundant_closure_call.rs:15:5\n |\nLL | i = closure(3);\n | ^^^^^^^^^^^^^^\n\n"} {"message":"Try not to call a closure in the expression where it is declared.","code":{"code":"clippy::redundant_closure_call","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/redundant_closure_call.rs","byte_start":66,"byte_end":75,"line_start":4,"line_end":4,"column_start":13,"column_end":22,"is_primary":true,"text":[{"text":" let a = (|| 42)();","highlight_start":13,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"Try doing something like: ","code":null,"level":"help","spans":[{"file_name":"tests/ui/redundant_closure_call.rs","byte_start":66,"byte_end":75,"line_start":4,"line_end":4,"column_start":13,"column_end":22,"is_primary":true,"text":[{"text":" let a = (|| 42)();","highlight_start":13,"highlight_end":22}],"label":null,"suggested_replacement":"42","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: Try not to call a closure in the expression where it is declared.\n --> tests/ui/redundant_closure_call.rs:4:13\n |\nLL | let a = (|| 42)();\n | ^^^^^^^^^ help: Try doing something like: : `42`\n\n"} {"message":"Try not to call a closure in the expression where it is declared.","code":{"code":"clippy::redundant_closure_call","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/redundant_closure_call.rs","byte_start":113,"byte_end":127,"line_start":7,"line_end":7,"column_start":17,"column_end":31,"is_primary":true,"text":[{"text":" let mut k = (|m| m + 1)(i);","highlight_start":17,"highlight_end":31}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: Try not to call a closure in the expression where it is declared.\n --> tests/ui/redundant_closure_call.rs:7:17\n |\nLL | let mut k = (|m| m + 1)(i);\n | ^^^^^^^^^^^^^^\n\n"} {"message":"Try not to call a closure in the expression where it is declared.","code":{"code":"clippy::redundant_closure_call","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/redundant_closure_call.rs","byte_start":138,"byte_end":158,"line_start":9,"line_end":9,"column_start":9,"column_end":29,"is_primary":true,"text":[{"text":" k = (|a, b| a * b)(1, 5);","highlight_start":9,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: Try not to call a closure in the expression where it is declared.\n --> tests/ui/redundant_closure_call.rs:9:9\n |\nLL | k = (|a, b| a * b)(1, 5);\n | ^^^^^^^^^^^^^^^^^^^^\n\n"} ------------------------------------------ thread '[ui] ui/redundant_closure_call.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/reference.rs stdout ---- normalized stderr: expected stderr: error: immediately dereferencing a reference --> $DIR/reference.rs:16:13 | LL | let b = *&a; | ^^^ help: try this: `a` | = note: `-D clippy::deref-addrof` implied by `-D warnings` error: immediately dereferencing a reference --> $DIR/reference.rs:18:13 | LL | let b = *&get_number(); | ^^^^^^^^^^^^^^ help: try this: `get_number()` error: immediately dereferencing a reference --> $DIR/reference.rs:23:13 | LL | let b = *&bytes[1..2][0]; | ^^^^^^^^^^^^^^^^ help: try this: `bytes[1..2][0]` error: immediately dereferencing a reference --> $DIR/reference.rs:27:13 | LL | let b = *&(a); | ^^^^^ help: try this: `(a)` error: immediately dereferencing a reference --> $DIR/reference.rs:29:13 | LL | let b = *(&a); | ^^^^^ help: try this: `a` error: immediately dereferencing a reference --> $DIR/reference.rs:32:13 | LL | let b = *((&a)); | ^^^^^^^ help: try this: `a` error: immediately dereferencing a reference --> $DIR/reference.rs:34:13 | LL | let b = *&&a; | ^^^^ help: try this: `&a` error: immediately dereferencing a reference --> $DIR/reference.rs:36:14 | LL | let b = **&aref; | ^^^^^^ help: try this: `aref` error: immediately dereferencing a reference --> $DIR/reference.rs:40:14 | LL | let b = **&&a; | ^^^^ help: try this: `&a` error: immediately dereferencing a reference --> $DIR/reference.rs:44:17 | LL | let y = *&mut x; | ^^^^^^^ help: try this: `x` error: immediately dereferencing a reference --> $DIR/reference.rs:51:18 | LL | let y = **&mut &mut x; | ^^^^^^^^^^^^ help: try this: `&mut x` error: aborting due to 11 previous errors diff of stderr: -error: immediately dereferencing a reference - --> $DIR/reference.rs:16:13 - | -LL | let b = *&a; - | ^^^ help: try this: `a` - | - = note: `-D clippy::deref-addrof` implied by `-D warnings` - -error: immediately dereferencing a reference - --> $DIR/reference.rs:18:13 - | -LL | let b = *&get_number(); - | ^^^^^^^^^^^^^^ help: try this: `get_number()` - -error: immediately dereferencing a reference - --> $DIR/reference.rs:23:13 - | -LL | let b = *&bytes[1..2][0]; - | ^^^^^^^^^^^^^^^^ help: try this: `bytes[1..2][0]` - -error: immediately dereferencing a reference - --> $DIR/reference.rs:27:13 - | -LL | let b = *&(a); - | ^^^^^ help: try this: `(a)` - -error: immediately dereferencing a reference - --> $DIR/reference.rs:29:13 - | -LL | let b = *(&a); - | ^^^^^ help: try this: `a` - -error: immediately dereferencing a reference - --> $DIR/reference.rs:32:13 - | -LL | let b = *((&a)); - | ^^^^^^^ help: try this: `a` - -error: immediately dereferencing a reference - --> $DIR/reference.rs:34:13 - | -LL | let b = *&&a; - | ^^^^ help: try this: `&a` - -error: immediately dereferencing a reference - --> $DIR/reference.rs:36:14 - | -LL | let b = **&aref; - | ^^^^^^ help: try this: `aref` - -error: immediately dereferencing a reference - --> $DIR/reference.rs:40:14 - | -LL | let b = **&&a; - | ^^^^ help: try this: `&a` - -error: immediately dereferencing a reference - --> $DIR/reference.rs:44:17 - | -LL | let y = *&mut x; - | ^^^^^^^ help: try this: `x` - -error: immediately dereferencing a reference - --> $DIR/reference.rs:51:18 - | -LL | let y = **&mut &mut x; - | ^^^^^^^^^^^^ help: try this: `&mut x` - -error: aborting due to 11 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/reference.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'reference.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/reference.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/reference.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/reference.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/reference.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/rename.rs stdout ---- normalized stderr: error: unknown lint: `stutter` --> $DIR/rename.rs:1:10 | LL | #![allow(stutter)] | ^^^^^^^ | = note: `-D unknown-lints` implied by `-D warnings` error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity` --> $DIR/rename.rs:2:9 | LL | #![warn(clippy::cyclomatic_complexity)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity` | = note: `-D renamed-and-removed-lints` implied by `-D warnings` error: lint `clippy::stutter` has been renamed to `clippy::module_name_repetitions` --> $DIR/rename.rs:4:8 | LL | #[warn(clippy::stutter)] | ^^^^^^^^^^^^^^^ help: use the new name: `clippy::module_name_repetitions` error: lint `clippy::new_without_default_derive` has been renamed to `clippy::new_without_default` --> $DIR/rename.rs:7:8 | LL | #[warn(clippy::new_without_default_derive)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default` error: unknown lint: `stutter` --> $DIR/rename.rs:1:10 | LL | #![allow(stutter)] | ^^^^^^^ error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity` --> $DIR/rename.rs:2:9 | LL | #![warn(clippy::cyclomatic_complexity)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity` expected stderr: error: unknown lint: `stutter` --> $DIR/rename.rs:1:10 | LL | #![allow(stutter)] | ^^^^^^^ | = note: `-D unknown-lints` implied by `-D warnings` error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity` --> $DIR/rename.rs:2:9 | LL | #![warn(clippy::cyclomatic_complexity)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity` | = note: `-D renamed-and-removed-lints` implied by `-D warnings` error: lint `clippy::stutter` has been renamed to `clippy::module_name_repetitions` --> $DIR/rename.rs:4:8 | LL | #[warn(clippy::stutter)] | ^^^^^^^^^^^^^^^ help: use the new name: `clippy::module_name_repetitions` error: lint `clippy::new_without_default_derive` has been renamed to `clippy::new_without_default` --> $DIR/rename.rs:7:8 | LL | #[warn(clippy::new_without_default_derive)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default` error: unknown lint: `stutter` --> $DIR/rename.rs:1:10 | LL | #![allow(stutter)] | ^^^^^^^ error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity` --> $DIR/rename.rs:2:9 | LL | #![warn(clippy::cyclomatic_complexity)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity` error: aborting due to 6 previous errors diff of stderr: error: unknown lint: `stutter` --> $DIR/rename.rs:1:10 | LL | #![allow(stutter)] | ^^^^^^^ | = note: `-D unknown-lints` implied by `-D warnings` error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity` --> $DIR/rename.rs:2:9 | LL | #![warn(clippy::cyclomatic_complexity)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity` | = note: `-D renamed-and-removed-lints` implied by `-D warnings` error: lint `clippy::stutter` has been renamed to `clippy::module_name_repetitions` --> $DIR/rename.rs:4:8 | LL | #[warn(clippy::stutter)] | ^^^^^^^^^^^^^^^ help: use the new name: `clippy::module_name_repetitions` error: lint `clippy::new_without_default_derive` has been renamed to `clippy::new_without_default` --> $DIR/rename.rs:7:8 | LL | #[warn(clippy::new_without_default_derive)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default` error: unknown lint: `stutter` --> $DIR/rename.rs:1:10 | LL | #![allow(stutter)] | ^^^^^^^ error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity` --> $DIR/rename.rs:2:9 | LL | #![warn(clippy::cyclomatic_complexity)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity` -error: aborting due to 6 previous errors - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/rename.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'rename.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/rename.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/rename.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/rename.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"unknown lint: `stutter`","code":{"code":"unknown_lints","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/rename.rs","byte_start":9,"byte_end":16,"line_start":1,"line_end":1,"column_start":10,"column_end":17,"is_primary":true,"text":[{"text":"#![allow(stutter)]","highlight_start":10,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D unknown-lints` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error: unknown lint: `stutter`\n --> tests/ui/rename.rs:1:10\n |\nLL | #![allow(stutter)]\n | ^^^^^^^\n |\n = note: `-D unknown-lints` implied by `-D warnings`\n\n"} {"message":"lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity`","code":{"code":"renamed_and_removed_lints","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/rename.rs","byte_start":27,"byte_end":56,"line_start":2,"line_end":2,"column_start":9,"column_end":38,"is_primary":true,"text":[{"text":"#![warn(clippy::cyclomatic_complexity)]","highlight_start":9,"highlight_end":38}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D renamed-and-removed-lints` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"use the new name","code":null,"level":"help","spans":[{"file_name":"tests/ui/rename.rs","byte_start":27,"byte_end":56,"line_start":2,"line_end":2,"column_start":9,"column_end":38,"is_primary":true,"text":[{"text":"#![warn(clippy::cyclomatic_complexity)]","highlight_start":9,"highlight_end":38}],"label":null,"suggested_replacement":"clippy::cognitive_complexity","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity`\n --> tests/ui/rename.rs:2:9\n |\nLL | #![warn(clippy::cyclomatic_complexity)]\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity`\n |\n = note: `-D renamed-and-removed-lints` implied by `-D warnings`\n\n"} {"message":"lint `clippy::stutter` has been renamed to `clippy::module_name_repetitions`","code":{"code":"renamed_and_removed_lints","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/rename.rs","byte_start":67,"byte_end":82,"line_start":4,"line_end":4,"column_start":8,"column_end":23,"is_primary":true,"text":[{"text":"#[warn(clippy::stutter)]","highlight_start":8,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"use the new name","code":null,"level":"help","spans":[{"file_name":"tests/ui/rename.rs","byte_start":67,"byte_end":82,"line_start":4,"line_end":4,"column_start":8,"column_end":23,"is_primary":true,"text":[{"text":"#[warn(clippy::stutter)]","highlight_start":8,"highlight_end":23}],"label":null,"suggested_replacement":"clippy::module_name_repetitions","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: lint `clippy::stutter` has been renamed to `clippy::module_name_repetitions`\n --> tests/ui/rename.rs:4:8\n |\nLL | #[warn(clippy::stutter)]\n | ^^^^^^^^^^^^^^^ help: use the new name: `clippy::module_name_repetitions`\n\n"} {"message":"lint `clippy::new_without_default_derive` has been renamed to `clippy::new_without_default`","code":{"code":"renamed_and_removed_lints","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/rename.rs","byte_start":106,"byte_end":140,"line_start":7,"line_end":7,"column_start":8,"column_end":42,"is_primary":true,"text":[{"text":"#[warn(clippy::new_without_default_derive)]","highlight_start":8,"highlight_end":42}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"use the new name","code":null,"level":"help","spans":[{"file_name":"tests/ui/rename.rs","byte_start":106,"byte_end":140,"line_start":7,"line_end":7,"column_start":8,"column_end":42,"is_primary":true,"text":[{"text":"#[warn(clippy::new_without_default_derive)]","highlight_start":8,"highlight_end":42}],"label":null,"suggested_replacement":"clippy::new_without_default","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: lint `clippy::new_without_default_derive` has been renamed to `clippy::new_without_default`\n --> tests/ui/rename.rs:7:8\n |\nLL | #[warn(clippy::new_without_default_derive)]\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default`\n\n"} {"message":"unknown lint: `stutter`","code":{"code":"unknown_lints","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/rename.rs","byte_start":9,"byte_end":16,"line_start":1,"line_end":1,"column_start":10,"column_end":17,"is_primary":true,"text":[{"text":"#![allow(stutter)]","highlight_start":10,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: unknown lint: `stutter`\n --> tests/ui/rename.rs:1:10\n |\nLL | #![allow(stutter)]\n | ^^^^^^^\n\n"} {"message":"lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity`","code":{"code":"renamed_and_removed_lints","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/rename.rs","byte_start":27,"byte_end":56,"line_start":2,"line_end":2,"column_start":9,"column_end":38,"is_primary":true,"text":[{"text":"#![warn(clippy::cyclomatic_complexity)]","highlight_start":9,"highlight_end":38}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"use the new name","code":null,"level":"help","spans":[{"file_name":"tests/ui/rename.rs","byte_start":27,"byte_end":56,"line_start":2,"line_end":2,"column_start":9,"column_end":38,"is_primary":true,"text":[{"text":"#![warn(clippy::cyclomatic_complexity)]","highlight_start":9,"highlight_end":38}],"label":null,"suggested_replacement":"clippy::cognitive_complexity","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity`\n --> tests/ui/rename.rs:2:9\n |\nLL | #![warn(clippy::cyclomatic_complexity)]\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity`\n\n"} ------------------------------------------ thread '[ui] ui/rename.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/result_map_unwrap_or_else.rs stdout ---- error: auxiliary build of "tests/ui/auxiliary/option_helpers.rs" failed to compile: status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/auxiliary/option_helpers.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "--out-dir" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/result_map_unwrap_or_else.stage-id.aux" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "--crate-type" "dylib" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/result_map_unwrap_or_else.stage-id.aux" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/result_map_unwrap_or_else.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/result_map_unit_fn.rs stdout ---- normalized stderr: expected stderr: error: called `map(f)` on an Result value where `f` is a unit function --> $DIR/result_map_unit_fn.rs:34:5 | LL | x.field.map(do_nothing); | ^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(x_field) = x.field { do_nothing(...) }` | = note: `-D clippy::result-map-unit-fn` implied by `-D warnings` error: called `map(f)` on an Result value where `f` is a unit function --> $DIR/result_map_unit_fn.rs:36:5 | LL | x.field.map(do_nothing); | ^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(x_field) = x.field { do_nothing(...) }` error: called `map(f)` on an Result value where `f` is a unit function --> $DIR/result_map_unit_fn.rs:38:5 | LL | x.field.map(diverge); | ^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(x_field) = x.field { diverge(...) }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:44:5 | LL | x.field.map(|value| x.do_result_nothing(value + captured)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(value) = x.field { x.do_result_nothing(value + captured) }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:46:5 | LL | x.field.map(|value| { x.do_result_plus_one(value + captured); }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(value) = x.field { x.do_result_plus_one(value + captured); }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:49:5 | LL | x.field.map(|value| do_nothing(value + captured)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(value) = x.field { do_nothing(value + captured) }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:51:5 | LL | x.field.map(|value| { do_nothing(value + captured) }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(value) = x.field { do_nothing(value + captured) }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:53:5 | LL | x.field.map(|value| { do_nothing(value + captured); }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(value) = x.field { do_nothing(value + captured); }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:55:5 | LL | x.field.map(|value| { { do_nothing(value + captured); } }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(value) = x.field { do_nothing(value + captured); }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:58:5 | LL | x.field.map(|value| diverge(value + captured)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(value) = x.field { diverge(value + captured) }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:60:5 | LL | x.field.map(|value| { diverge(value + captured) }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(value) = x.field { diverge(value + captured) }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:62:5 | LL | x.field.map(|value| { diverge(value + captured); }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(value) = x.field { diverge(value + captured); }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:64:5 | LL | x.field.map(|value| { { diverge(value + captured); } }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(value) = x.field { diverge(value + captured); }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:69:5 | LL | x.field.map(|value| { let y = plus_one(value + captured); }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(value) = x.field { let y = plus_one(value + captured); }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:71:5 | LL | x.field.map(|value| { plus_one(value + captured); }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(value) = x.field { plus_one(value + captured); }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:73:5 | LL | x.field.map(|value| { { plus_one(value + captured); } }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(value) = x.field { plus_one(value + captured); }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:76:5 | LL | x.field.map(|ref value| { do_nothing(value + captured) }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(ref value) = x.field { do_nothing(value + captured) }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:79:5 | LL | x.field.map(|value| { do_nothing(value); do_nothing(value) }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(value) = x.field { ... }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:81:5 | LL | x.field.map(|value| if value > 0 { do_nothing(value); do_nothing(value) }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(value) = x.field { ... }` error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:85:5 | LL | x.field.map(|value| { | _____^ | |_____| | || LL | || do_nothing(value); LL | || do_nothing(value) LL | || }); | ||______^- help: try this: `if let Ok(value) = x.field { ... }` | |_______| | error: called `map(f)` on an Result value where `f` is a unit closure --> $DIR/result_map_unit_fn.rs:89:5 | LL | x.field.map(|value| { do_nothing(value); do_nothing(value); }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(value) = x.field { ... }` error: called `map(f)` on an Result value where `f` is a unit function --> $DIR/result_map_unit_fn.rs:93:5 | LL | "12".parse::().map(diverge); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(_) = "12".parse::() { diverge(...) }` error: called `map(f)` on an Result value where `f` is a unit function --> $DIR/result_map_unit_fn.rs:99:5 | LL | y.map(do_nothing); | ^^^^^^^^^^^^^^^^^- | | | help: try this: `if let Ok(_y) = y { do_nothing(...) }` error: aborting due to 23 previous errors diff of stderr: -error: called `map(f)` on an Result value where `f` is a unit function - --> $DIR/result_map_unit_fn.rs:34:5 - | -LL | x.field.map(do_nothing); - | ^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(x_field) = x.field { do_nothing(...) }` - | - = note: `-D clippy::result-map-unit-fn` implied by `-D warnings` - -error: called `map(f)` on an Result value where `f` is a unit function - --> $DIR/result_map_unit_fn.rs:36:5 - | -LL | x.field.map(do_nothing); - | ^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(x_field) = x.field { do_nothing(...) }` - -error: called `map(f)` on an Result value where `f` is a unit function - --> $DIR/result_map_unit_fn.rs:38:5 - | -LL | x.field.map(diverge); - | ^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(x_field) = x.field { diverge(...) }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:44:5 - | -LL | x.field.map(|value| x.do_result_nothing(value + captured)); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(value) = x.field { x.do_result_nothing(value + captured) }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:46:5 - | -LL | x.field.map(|value| { x.do_result_plus_one(value + captured); }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(value) = x.field { x.do_result_plus_one(value + captured); }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:49:5 - | -LL | x.field.map(|value| do_nothing(value + captured)); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(value) = x.field { do_nothing(value + captured) }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:51:5 - | -LL | x.field.map(|value| { do_nothing(value + captured) }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(value) = x.field { do_nothing(value + captured) }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:53:5 - | -LL | x.field.map(|value| { do_nothing(value + captured); }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(value) = x.field { do_nothing(value + captured); }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:55:5 - | -LL | x.field.map(|value| { { do_nothing(value + captured); } }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(value) = x.field { do_nothing(value + captured); }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:58:5 - | -LL | x.field.map(|value| diverge(value + captured)); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(value) = x.field { diverge(value + captured) }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:60:5 - | -LL | x.field.map(|value| { diverge(value + captured) }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(value) = x.field { diverge(value + captured) }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:62:5 - | -LL | x.field.map(|value| { diverge(value + captured); }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(value) = x.field { diverge(value + captured); }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:64:5 - | -LL | x.field.map(|value| { { diverge(value + captured); } }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(value) = x.field { diverge(value + captured); }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:69:5 - | -LL | x.field.map(|value| { let y = plus_one(value + captured); }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(value) = x.field { let y = plus_one(value + captured); }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:71:5 - | -LL | x.field.map(|value| { plus_one(value + captured); }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(value) = x.field { plus_one(value + captured); }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:73:5 - | -LL | x.field.map(|value| { { plus_one(value + captured); } }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(value) = x.field { plus_one(value + captured); }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:76:5 - | -LL | x.field.map(|ref value| { do_nothing(value + captured) }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(ref value) = x.field { do_nothing(value + captured) }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:79:5 - | -LL | x.field.map(|value| { do_nothing(value); do_nothing(value) }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(value) = x.field { ... }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:81:5 - | -LL | x.field.map(|value| if value > 0 { do_nothing(value); do_nothing(value) }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(value) = x.field { ... }` - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:85:5 - | -LL | x.field.map(|value| { - | _____^ - | |_____| - | || -LL | || do_nothing(value); -LL | || do_nothing(value) -LL | || }); - | ||______^- help: try this: `if let Ok(value) = x.field { ... }` - | |_______| - | - -error: called `map(f)` on an Result value where `f` is a unit closure - --> $DIR/result_map_unit_fn.rs:89:5 - | -LL | x.field.map(|value| { do_nothing(value); do_nothing(value); }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(value) = x.field { ... }` - -error: called `map(f)` on an Result value where `f` is a unit function - --> $DIR/result_map_unit_fn.rs:93:5 - | -LL | "12".parse::().map(diverge); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(_) = "12".parse::() { diverge(...) }` - -error: called `map(f)` on an Result value where `f` is a unit function - --> $DIR/result_map_unit_fn.rs:99:5 - | -LL | y.map(do_nothing); - | ^^^^^^^^^^^^^^^^^- - | | - | help: try this: `if let Ok(_y) = y { do_nothing(...) }` - -error: aborting due to 23 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/result_map_unit_fn.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'result_map_unit_fn.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/result_map_unit_fn.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/result_map_unit_fn.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/result_map_unit_fn.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/result_map_unit_fn.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/serde.rs stdout ---- normalized stderr: expected stderr: error: you should not implement `visit_string` without also implementing `visit_str` --> $DIR/serde.rs:39:5 | LL | / fn visit_string(self, _v: String) -> Result LL | | where LL | | E: serde::de::Error, LL | | { LL | | unimplemented!() LL | | } | |_____^ | = note: `-D clippy::serde-api-misuse` implied by `-D warnings` error: aborting due to previous error diff of stderr: -error: you should not implement `visit_string` without also implementing `visit_str` - --> $DIR/serde.rs:39:5 - | -LL | / fn visit_string(self, _v: String) -> Result -LL | | where -LL | | E: serde::de::Error, -LL | | { -LL | | unimplemented!() -LL | | } - | |_____^ - | - = note: `-D clippy::serde-api-misuse` implied by `-D warnings` - -error: aborting due to previous error - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/serde.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'serde.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/serde.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/serde.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/serde.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/serde.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/shadow.rs stdout ---- normalized stderr: expected stderr: error: `x` is shadowed by itself in `&mut x` --> $DIR/shadow.rs:20:5 | LL | let x = &mut x; | ^^^^^^^^^^^^^^^ | = note: `-D clippy::shadow-same` implied by `-D warnings` note: previous binding is here --> $DIR/shadow.rs:19:13 | LL | let mut x = 1; | ^ error: `x` is shadowed by itself in `{ x }` --> $DIR/shadow.rs:21:5 | LL | let x = { x }; | ^^^^^^^^^^^^^^ | note: previous binding is here --> $DIR/shadow.rs:20:9 | LL | let x = &mut x; | ^ error: `x` is shadowed by itself in `(&*x)` --> $DIR/shadow.rs:22:5 | LL | let x = (&*x); | ^^^^^^^^^^^^^^ | note: previous binding is here --> $DIR/shadow.rs:21:9 | LL | let x = { x }; | ^ error: `x` is shadowed by `{ *x + 1 }` which reuses the original value --> $DIR/shadow.rs:23:9 | LL | let x = { *x + 1 }; | ^ | = note: `-D clippy::shadow-reuse` implied by `-D warnings` note: initialization happens here --> $DIR/shadow.rs:23:13 | LL | let x = { *x + 1 }; | ^^^^^^^^^^ note: previous binding is here --> $DIR/shadow.rs:22:9 | LL | let x = (&*x); | ^ error: `x` is shadowed by `id(x)` which reuses the original value --> $DIR/shadow.rs:24:9 | LL | let x = id(x); | ^ | note: initialization happens here --> $DIR/shadow.rs:24:13 | LL | let x = id(x); | ^^^^^ note: previous binding is here --> $DIR/shadow.rs:23:9 | LL | let x = { *x + 1 }; | ^ error: `x` is shadowed by `(1, x)` which reuses the original value --> $DIR/shadow.rs:25:9 | LL | let x = (1, x); | ^ | note: initialization happens here --> $DIR/shadow.rs:25:13 | LL | let x = (1, x); | ^^^^^^ note: previous binding is here --> $DIR/shadow.rs:24:9 | LL | let x = id(x); | ^ error: `x` is shadowed by `first(x)` which reuses the original value --> $DIR/shadow.rs:26:9 | LL | let x = first(x); | ^ | note: initialization happens here --> $DIR/shadow.rs:26:13 | LL | let x = first(x); | ^^^^^^^^ note: previous binding is here --> $DIR/shadow.rs:25:9 | LL | let x = (1, x); | ^ error: `x` is shadowed by `y` --> $DIR/shadow.rs:28:9 | LL | let x = y; | ^ | = note: `-D clippy::shadow-unrelated` implied by `-D warnings` note: initialization happens here --> $DIR/shadow.rs:28:13 | LL | let x = y; | ^ note: previous binding is here --> $DIR/shadow.rs:26:9 | LL | let x = first(x); | ^ error: `x` shadows a previous declaration --> $DIR/shadow.rs:30:5 | LL | let x; | ^^^^^^ | note: previous binding is here --> $DIR/shadow.rs:28:9 | LL | let x = y; | ^ error: aborting due to 9 previous errors diff of stderr: -error: `x` is shadowed by itself in `&mut x` - --> $DIR/shadow.rs:20:5 - | -LL | let x = &mut x; - | ^^^^^^^^^^^^^^^ - | - = note: `-D clippy::shadow-same` implied by `-D warnings` -note: previous binding is here - --> $DIR/shadow.rs:19:13 - | -LL | let mut x = 1; - | ^ - -error: `x` is shadowed by itself in `{ x }` - --> $DIR/shadow.rs:21:5 - | -LL | let x = { x }; - | ^^^^^^^^^^^^^^ - | -note: previous binding is here - --> $DIR/shadow.rs:20:9 - | -LL | let x = &mut x; - | ^ - -error: `x` is shadowed by itself in `(&*x)` - --> $DIR/shadow.rs:22:5 - | -LL | let x = (&*x); - | ^^^^^^^^^^^^^^ - | -note: previous binding is here - --> $DIR/shadow.rs:21:9 - | -LL | let x = { x }; - | ^ - -error: `x` is shadowed by `{ *x + 1 }` which reuses the original value - --> $DIR/shadow.rs:23:9 - | -LL | let x = { *x + 1 }; - | ^ - | - = note: `-D clippy::shadow-reuse` implied by `-D warnings` -note: initialization happens here - --> $DIR/shadow.rs:23:13 - | -LL | let x = { *x + 1 }; - | ^^^^^^^^^^ -note: previous binding is here - --> $DIR/shadow.rs:22:9 - | -LL | let x = (&*x); - | ^ - -error: `x` is shadowed by `id(x)` which reuses the original value - --> $DIR/shadow.rs:24:9 - | -LL | let x = id(x); - | ^ - | -note: initialization happens here - --> $DIR/shadow.rs:24:13 - | -LL | let x = id(x); - | ^^^^^ -note: previous binding is here - --> $DIR/shadow.rs:23:9 - | -LL | let x = { *x + 1 }; - | ^ - -error: `x` is shadowed by `(1, x)` which reuses the original value - --> $DIR/shadow.rs:25:9 - | -LL | let x = (1, x); - | ^ - | -note: initialization happens here - --> $DIR/shadow.rs:25:13 - | -LL | let x = (1, x); - | ^^^^^^ -note: previous binding is here - --> $DIR/shadow.rs:24:9 - | -LL | let x = id(x); - | ^ - -error: `x` is shadowed by `first(x)` which reuses the original value - --> $DIR/shadow.rs:26:9 - | -LL | let x = first(x); - | ^ - | -note: initialization happens here - --> $DIR/shadow.rs:26:13 - | -LL | let x = first(x); - | ^^^^^^^^ -note: previous binding is here - --> $DIR/shadow.rs:25:9 - | -LL | let x = (1, x); - | ^ - -error: `x` is shadowed by `y` - --> $DIR/shadow.rs:28:9 - | -LL | let x = y; - | ^ - | - = note: `-D clippy::shadow-unrelated` implied by `-D warnings` -note: initialization happens here - --> $DIR/shadow.rs:28:13 - | -LL | let x = y; - | ^ -note: previous binding is here - --> $DIR/shadow.rs:26:9 - | -LL | let x = first(x); - | ^ - -error: `x` shadows a previous declaration - --> $DIR/shadow.rs:30:5 - | -LL | let x; - | ^^^^^^ - | -note: previous binding is here - --> $DIR/shadow.rs:28:9 - | -LL | let x = y; - | ^ - -error: aborting due to 9 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/shadow.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'shadow.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/shadow.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/shadow.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/shadow.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/shadow.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/short_circuit_statement.rs stdout ---- normalized stderr: expected stderr: error: boolean short circuit operator in statement may be clearer using an explicit test --> $DIR/short_circuit_statement.rs:4:5 | LL | f() && g(); | ^^^^^^^^^^^ help: replace it with: `if f() { g(); }` | = note: `-D clippy::short-circuit-statement` implied by `-D warnings` error: boolean short circuit operator in statement may be clearer using an explicit test --> $DIR/short_circuit_statement.rs:5:5 | LL | f() || g(); | ^^^^^^^^^^^ help: replace it with: `if !f() { g(); }` error: boolean short circuit operator in statement may be clearer using an explicit test --> $DIR/short_circuit_statement.rs:6:5 | LL | 1 == 2 || g(); | ^^^^^^^^^^^^^^ help: replace it with: `if !(1 == 2) { g(); }` error: aborting due to 3 previous errors diff of stderr: -error: boolean short circuit operator in statement may be clearer using an explicit test - --> $DIR/short_circuit_statement.rs:4:5 - | -LL | f() && g(); - | ^^^^^^^^^^^ help: replace it with: `if f() { g(); }` - | - = note: `-D clippy::short-circuit-statement` implied by `-D warnings` - -error: boolean short circuit operator in statement may be clearer using an explicit test - --> $DIR/short_circuit_statement.rs:5:5 - | -LL | f() || g(); - | ^^^^^^^^^^^ help: replace it with: `if !f() { g(); }` - -error: boolean short circuit operator in statement may be clearer using an explicit test - --> $DIR/short_circuit_statement.rs:6:5 - | -LL | 1 == 2 || g(); - | ^^^^^^^^^^^^^^ help: replace it with: `if !(1 == 2) { g(); }` - -error: aborting due to 3 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/short_circuit_statement.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'short_circuit_statement.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/short_circuit_statement.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/short_circuit_statement.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/short_circuit_statement.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/short_circuit_statement.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/similar_names.rs stdout ---- normalized stderr: error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:15:9 | LL | let bpple: i32; | ^^^^^ | = note: `-D clippy::similar-names` implied by `-D warnings` note: existing binding defined here --> $DIR/similar_names.rs:13:9 | LL | let apple: i32; | ^^^^^ help: separate the discriminating character by an underscore like: `b_pple` --> $DIR/similar_names.rs:15:9 | LL | let bpple: i32; | ^^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:17:9 | LL | let cpple: i32; | ^^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:13:9 | LL | let apple: i32; | ^^^^^ help: separate the discriminating character by an underscore like: `c_pple` --> $DIR/similar_names.rs:17:9 | LL | let cpple: i32; | ^^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:41:9 | LL | let bluby: i32; | ^^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:40:9 | LL | let blubx: i32; | ^^^^^ help: separate the discriminating character by an underscore like: `blub_y` --> $DIR/similar_names.rs:41:9 | LL | let bluby: i32; | ^^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:45:9 | LL | let coke: i32; | ^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:43:9 | LL | let cake: i32; | ^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:63:9 | LL | let xyzeabc: i32; | ^^^^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:61:9 | LL | let xyz1abc: i32; | ^^^^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:67:9 | LL | let parsee: i32; | ^^^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:65:9 | LL | let parser: i32; | ^^^^^^ help: separate the discriminating character by an underscore like: `parse_e` --> $DIR/similar_names.rs:67:9 | LL | let parsee: i32; | ^^^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:81:16 | LL | bpple: sprang, | ^^^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:80:16 | LL | apple: spring, | ^^^^^^ expected stderr: error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:15:9 | LL | let bpple: i32; | ^^^^^ | = note: `-D clippy::similar-names` implied by `-D warnings` note: existing binding defined here --> $DIR/similar_names.rs:13:9 | LL | let apple: i32; | ^^^^^ help: separate the discriminating character by an underscore like: `b_pple` --> $DIR/similar_names.rs:15:9 | LL | let bpple: i32; | ^^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:17:9 | LL | let cpple: i32; | ^^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:13:9 | LL | let apple: i32; | ^^^^^ help: separate the discriminating character by an underscore like: `c_pple` --> $DIR/similar_names.rs:17:9 | LL | let cpple: i32; | ^^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:41:9 | LL | let bluby: i32; | ^^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:40:9 | LL | let blubx: i32; | ^^^^^ help: separate the discriminating character by an underscore like: `blub_y` --> $DIR/similar_names.rs:41:9 | LL | let bluby: i32; | ^^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:45:9 | LL | let coke: i32; | ^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:43:9 | LL | let cake: i32; | ^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:63:9 | LL | let xyzeabc: i32; | ^^^^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:61:9 | LL | let xyz1abc: i32; | ^^^^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:67:9 | LL | let parsee: i32; | ^^^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:65:9 | LL | let parser: i32; | ^^^^^^ help: separate the discriminating character by an underscore like: `parse_e` --> $DIR/similar_names.rs:67:9 | LL | let parsee: i32; | ^^^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:81:16 | LL | bpple: sprang, | ^^^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:80:16 | LL | apple: spring, | ^^^^^^ error: aborting due to 7 previous errors diff of stderr: error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:15:9 | LL | let bpple: i32; | ^^^^^ | = note: `-D clippy::similar-names` implied by `-D warnings` note: existing binding defined here --> $DIR/similar_names.rs:13:9 | LL | let apple: i32; | ^^^^^ help: separate the discriminating character by an underscore like: `b_pple` --> $DIR/similar_names.rs:15:9 | LL | let bpple: i32; | ^^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:17:9 | LL | let cpple: i32; | ^^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:13:9 | LL | let apple: i32; | ^^^^^ help: separate the discriminating character by an underscore like: `c_pple` --> $DIR/similar_names.rs:17:9 | LL | let cpple: i32; | ^^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:41:9 | LL | let bluby: i32; | ^^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:40:9 | LL | let blubx: i32; | ^^^^^ help: separate the discriminating character by an underscore like: `blub_y` --> $DIR/similar_names.rs:41:9 | LL | let bluby: i32; | ^^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:45:9 | LL | let coke: i32; | ^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:43:9 | LL | let cake: i32; | ^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:63:9 | LL | let xyzeabc: i32; | ^^^^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:61:9 | LL | let xyz1abc: i32; | ^^^^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:67:9 | LL | let parsee: i32; | ^^^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:65:9 | LL | let parser: i32; | ^^^^^^ help: separate the discriminating character by an underscore like: `parse_e` --> $DIR/similar_names.rs:67:9 | LL | let parsee: i32; | ^^^^^^ error: binding's name is too similar to existing binding --> $DIR/similar_names.rs:81:16 | LL | bpple: sprang, | ^^^^^^ | note: existing binding defined here --> $DIR/similar_names.rs:80:16 | LL | apple: spring, | ^^^^^^ -error: aborting due to 7 previous errors - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/similar_names.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'similar_names.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/similar_names.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/similar_names.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/similar_names.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"binding's name is too similar to existing binding","code":{"code":"clippy::similar_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":215,"byte_end":220,"line_start":15,"line_end":15,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":" let bpple: i32;","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::similar-names` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"existing binding defined here","code":null,"level":"note","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":194,"byte_end":199,"line_start":13,"line_end":13,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":" let apple: i32;","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"separate the discriminating character by an underscore like: `b_pple`","code":null,"level":"help","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":215,"byte_end":220,"line_start":15,"line_end":15,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":" let bpple: i32;","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error: binding's name is too similar to existing binding\n --> tests/ui/similar_names.rs:15:9\n |\nLL | let bpple: i32;\n | ^^^^^\n |\n = note: `-D clippy::similar-names` implied by `-D warnings`\nnote: existing binding defined here\n --> tests/ui/similar_names.rs:13:9\n |\nLL | let apple: i32;\n | ^^^^^\nhelp: separate the discriminating character by an underscore like: `b_pple`\n --> tests/ui/similar_names.rs:15:9\n |\nLL | let bpple: i32;\n | ^^^^^\n\n"} {"message":"binding's name is too similar to existing binding","code":{"code":"clippy::similar_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":236,"byte_end":241,"line_start":17,"line_end":17,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":" let cpple: i32;","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"existing binding defined here","code":null,"level":"note","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":194,"byte_end":199,"line_start":13,"line_end":13,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":" let apple: i32;","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"separate the discriminating character by an underscore like: `c_pple`","code":null,"level":"help","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":236,"byte_end":241,"line_start":17,"line_end":17,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":" let cpple: i32;","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error: binding's name is too similar to existing binding\n --> tests/ui/similar_names.rs:17:9\n |\nLL | let cpple: i32;\n | ^^^^^\n |\nnote: existing binding defined here\n --> tests/ui/similar_names.rs:13:9\n |\nLL | let apple: i32;\n | ^^^^^\nhelp: separate the discriminating character by an underscore like: `c_pple`\n --> tests/ui/similar_names.rs:17:9\n |\nLL | let cpple: i32;\n | ^^^^^\n\n"} {"message":"binding's name is too similar to existing binding","code":{"code":"clippy::similar_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":575,"byte_end":580,"line_start":41,"line_end":41,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":" let bluby: i32;","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"existing binding defined here","code":null,"level":"note","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":555,"byte_end":560,"line_start":40,"line_end":40,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":" let blubx: i32;","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"separate the discriminating character by an underscore like: `blub_y`","code":null,"level":"help","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":575,"byte_end":580,"line_start":41,"line_end":41,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":" let bluby: i32;","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error: binding's name is too similar to existing binding\n --> tests/ui/similar_names.rs:41:9\n |\nLL | let bluby: i32;\n | ^^^^^\n |\nnote: existing binding defined here\n --> tests/ui/similar_names.rs:40:9\n |\nLL | let blubx: i32;\n | ^^^^^\nhelp: separate the discriminating character by an underscore like: `blub_y`\n --> tests/ui/similar_names.rs:41:9\n |\nLL | let bluby: i32;\n | ^^^^^\n\n"} {"message":"binding's name is too similar to existing binding","code":{"code":"clippy::similar_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":635,"byte_end":639,"line_start":45,"line_end":45,"column_start":9,"column_end":13,"is_primary":true,"text":[{"text":" let coke: i32;","highlight_start":9,"highlight_end":13}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"existing binding defined here","code":null,"level":"note","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":596,"byte_end":600,"line_start":43,"line_end":43,"column_start":9,"column_end":13,"is_primary":true,"text":[{"text":" let cake: i32;","highlight_start":9,"highlight_end":13}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error: binding's name is too similar to existing binding\n --> tests/ui/similar_names.rs:45:9\n |\nLL | let coke: i32;\n | ^^^^\n |\nnote: existing binding defined here\n --> tests/ui/similar_names.rs:43:9\n |\nLL | let cake: i32;\n | ^^^^\n\n"} {"message":"binding's name is too similar to existing binding","code":{"code":"clippy::similar_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":988,"byte_end":995,"line_start":63,"line_end":63,"column_start":9,"column_end":16,"is_primary":true,"text":[{"text":" let xyzeabc: i32;","highlight_start":9,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"existing binding defined here","code":null,"level":"note","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":944,"byte_end":951,"line_start":61,"line_end":61,"column_start":9,"column_end":16,"is_primary":true,"text":[{"text":" let xyz1abc: i32;","highlight_start":9,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error: binding's name is too similar to existing binding\n --> tests/ui/similar_names.rs:63:9\n |\nLL | let xyzeabc: i32;\n | ^^^^^^^\n |\nnote: existing binding defined here\n --> tests/ui/similar_names.rs:61:9\n |\nLL | let xyz1abc: i32;\n | ^^^^^^^\n\n"} {"message":"binding's name is too similar to existing binding","code":{"code":"clippy::similar_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":1053,"byte_end":1059,"line_start":67,"line_end":67,"column_start":9,"column_end":15,"is_primary":true,"text":[{"text":" let parsee: i32;","highlight_start":9,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"existing binding defined here","code":null,"level":"note","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":1011,"byte_end":1017,"line_start":65,"line_end":65,"column_start":9,"column_end":15,"is_primary":true,"text":[{"text":" let parser: i32;","highlight_start":9,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"separate the discriminating character by an underscore like: `parse_e`","code":null,"level":"help","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":1053,"byte_end":1059,"line_start":67,"line_end":67,"column_start":9,"column_end":15,"is_primary":true,"text":[{"text":" let parsee: i32;","highlight_start":9,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error: binding's name is too similar to existing binding\n --> tests/ui/similar_names.rs:67:9\n |\nLL | let parsee: i32;\n | ^^^^^^\n |\nnote: existing binding defined here\n --> tests/ui/similar_names.rs:65:9\n |\nLL | let parser: i32;\n | ^^^^^^\nhelp: separate the discriminating character by an underscore like: `parse_e`\n --> tests/ui/similar_names.rs:67:9\n |\nLL | let parsee: i32;\n | ^^^^^^\n\n"} {"message":"binding's name is too similar to existing binding","code":{"code":"clippy::similar_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":1304,"byte_end":1310,"line_start":81,"line_end":81,"column_start":16,"column_end":22,"is_primary":true,"text":[{"text":" bpple: sprang,","highlight_start":16,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"existing binding defined here","code":null,"level":"note","spans":[{"file_name":"tests/ui/similar_names.rs","byte_start":1281,"byte_end":1287,"line_start":80,"line_end":80,"column_start":16,"column_end":22,"is_primary":true,"text":[{"text":" apple: spring,","highlight_start":16,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error: binding's name is too similar to existing binding\n --> tests/ui/similar_names.rs:81:16\n |\nLL | bpple: sprang,\n | ^^^^^^\n |\nnote: existing binding defined here\n --> tests/ui/similar_names.rs:80:16\n |\nLL | apple: spring,\n | ^^^^^^\n\n"} ------------------------------------------ thread '[ui] ui/similar_names.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/string_extend.rs stdout ---- normalized stderr: expected stderr: error: calling `.extend(_.chars())` --> $DIR/string_extend.rs:18:5 | LL | s.extend(abc.chars()); | ^^^^^^^^^^^^^^^^^^^^^ help: try this: `s.push_str(abc)` | = note: `-D clippy::string-extend-chars` implied by `-D warnings` error: calling `.extend(_.chars())` --> $DIR/string_extend.rs:21:5 | LL | s.extend("abc".chars()); | ^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `s.push_str("abc")` error: calling `.extend(_.chars())` --> $DIR/string_extend.rs:24:5 | LL | s.extend(def.chars()); | ^^^^^^^^^^^^^^^^^^^^^ help: try this: `s.push_str(&def)` error: aborting due to 3 previous errors diff of stderr: -error: calling `.extend(_.chars())` - --> $DIR/string_extend.rs:18:5 - | -LL | s.extend(abc.chars()); - | ^^^^^^^^^^^^^^^^^^^^^ help: try this: `s.push_str(abc)` - | - = note: `-D clippy::string-extend-chars` implied by `-D warnings` - -error: calling `.extend(_.chars())` - --> $DIR/string_extend.rs:21:5 - | -LL | s.extend("abc".chars()); - | ^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `s.push_str("abc")` - -error: calling `.extend(_.chars())` - --> $DIR/string_extend.rs:24:5 - | -LL | s.extend(def.chars()); - | ^^^^^^^^^^^^^^^^^^^^^ help: try this: `s.push_str(&def)` - -error: aborting due to 3 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/string_extend.stderr normalized fixed: // run-rustfix #[derive(Copy, Clone)] struct HasChars; impl HasChars { fn chars(self) -> std::str::Chars<'static> { "HasChars".chars() } } fn main() { let abc = "abc"; let def = String::from("def"); let mut s = String::new(); s.push_str(abc); s.extend(abc.chars()); s.push_str("abc"); s.extend("abc".chars()); s.push_str(&def); s.extend(def.chars()); s.extend(abc.chars().skip(1)); s.extend("abc".chars().skip(1)); s.extend(['a', 'b', 'c'].iter()); let f = HasChars; s.extend(f.chars()); } expected fixed: // run-rustfix #[derive(Copy, Clone)] struct HasChars; impl HasChars { fn chars(self) -> std::str::Chars<'static> { "HasChars".chars() } } fn main() { let abc = "abc"; let def = String::from("def"); let mut s = String::new(); s.push_str(abc); s.push_str(abc); s.push_str("abc"); s.push_str("abc"); s.push_str(&def); s.push_str(&def); s.extend(abc.chars().skip(1)); s.extend("abc".chars().skip(1)); s.extend(['a', 'b', 'c'].iter()); let f = HasChars; s.extend(f.chars()); } diff of fixed: // run-rustfix #[derive(Copy, Clone)] struct HasChars; impl HasChars { fn chars(self) -> std::str::Chars<'static> { "HasChars".chars() } } fn main() { let abc = "abc"; let def = String::from("def"); let mut s = String::new(); s.push_str(abc); - s.push_str(abc); + s.extend(abc.chars()); s.push_str("abc"); - s.push_str("abc"); + s.extend("abc".chars()); s.push_str(&def); - s.push_str(&def); + s.extend(def.chars()); s.extend(abc.chars().skip(1)); s.extend("abc".chars().skip(1)); s.extend(['a', 'b', 'c'].iter()); let f = HasChars; s.extend(f.chars()); } The actual fixed differed from the expected fixed. Actual fixed saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/string_extend.fixed To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'string_extend.rs' error: 2 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/string_extend.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/string_extend.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/string_extend.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/string_extend.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/suspicious_arithmetic_impl.rs stdout ---- normalized stderr: expected stderr: error: Suspicious use of binary operator in `Add` impl --> $DIR/suspicious_arithmetic_impl.rs:11:20 | LL | Foo(self.0 - other.0) | ^ | = note: `-D clippy::suspicious-arithmetic-impl` implied by `-D warnings` error: Suspicious use of binary operator in `AddAssign` impl --> $DIR/suspicious_arithmetic_impl.rs:17:23 | LL | *self = *self - other; | ^ | = note: #[deny(clippy::suspicious_op_assign_impl)] on by default error: aborting due to 2 previous errors diff of stderr: -error: Suspicious use of binary operator in `Add` impl - --> $DIR/suspicious_arithmetic_impl.rs:11:20 - | -LL | Foo(self.0 - other.0) - | ^ - | - = note: `-D clippy::suspicious-arithmetic-impl` implied by `-D warnings` - -error: Suspicious use of binary operator in `AddAssign` impl - --> $DIR/suspicious_arithmetic_impl.rs:17:23 - | -LL | *self = *self - other; - | ^ - | - = note: #[deny(clippy::suspicious_op_assign_impl)] on by default - -error: aborting due to 2 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/suspicious_arithmetic_impl.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'suspicious_arithmetic_impl.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/suspicious_arithmetic_impl.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/suspicious_arithmetic_impl.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/suspicious_arithmetic_impl.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/suspicious_arithmetic_impl.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/temporary_assignment.rs stdout ---- normalized stderr: expected stderr: error: assignment to temporary --> $DIR/temporary_assignment.rs:47:5 | LL | Struct { field: 0 }.field = 1; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::temporary-assignment` implied by `-D warnings` error: assignment to temporary --> $DIR/temporary_assignment.rs:48:5 | LL | / MultiStruct { LL | | structure: Struct { field: 0 }, LL | | } LL | | .structure LL | | .field = 1; | |______________^ error: assignment to temporary --> $DIR/temporary_assignment.rs:53:5 | LL | ArrayStruct { array: [0] }.array[0] = 1; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: assignment to temporary --> $DIR/temporary_assignment.rs:54:5 | LL | (0, 0).0 = 1; | ^^^^^^^^^^^^ error: assignment to temporary --> $DIR/temporary_assignment.rs:56:5 | LL | A.0 = 2; | ^^^^^^^ error: assignment to temporary --> $DIR/temporary_assignment.rs:57:5 | LL | B.field = 2; | ^^^^^^^^^^^ error: assignment to temporary --> $DIR/temporary_assignment.rs:58:5 | LL | C.structure.field = 2; | ^^^^^^^^^^^^^^^^^^^^^ error: assignment to temporary --> $DIR/temporary_assignment.rs:59:5 | LL | D.array[0] = 2; | ^^^^^^^^^^^^^^ error: aborting due to 8 previous errors diff of stderr: -error: assignment to temporary - --> $DIR/temporary_assignment.rs:47:5 - | -LL | Struct { field: 0 }.field = 1; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::temporary-assignment` implied by `-D warnings` - -error: assignment to temporary - --> $DIR/temporary_assignment.rs:48:5 - | -LL | / MultiStruct { -LL | | structure: Struct { field: 0 }, -LL | | } -LL | | .structure -LL | | .field = 1; - | |______________^ - -error: assignment to temporary - --> $DIR/temporary_assignment.rs:53:5 - | -LL | ArrayStruct { array: [0] }.array[0] = 1; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: assignment to temporary - --> $DIR/temporary_assignment.rs:54:5 - | -LL | (0, 0).0 = 1; - | ^^^^^^^^^^^^ - -error: assignment to temporary - --> $DIR/temporary_assignment.rs:56:5 - | -LL | A.0 = 2; - | ^^^^^^^ - -error: assignment to temporary - --> $DIR/temporary_assignment.rs:57:5 - | -LL | B.field = 2; - | ^^^^^^^^^^^ - -error: assignment to temporary - --> $DIR/temporary_assignment.rs:58:5 - | -LL | C.structure.field = 2; - | ^^^^^^^^^^^^^^^^^^^^^ - -error: assignment to temporary - --> $DIR/temporary_assignment.rs:59:5 - | -LL | D.array[0] = 2; - | ^^^^^^^^^^^^^^ - -error: aborting due to 8 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/temporary_assignment.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'temporary_assignment.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/temporary_assignment.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/temporary_assignment.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/temporary_assignment.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/temporary_assignment.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/transmute.rs stdout ---- normalized stderr: expected stderr: error: transmute from a type (`&'a T`) to itself --> $DIR/transmute.rs:19:20 | LL | let _: &'a T = core::intrinsics::transmute(t); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::useless-transmute` implied by `-D warnings` error: transmute from a reference to a pointer --> $DIR/transmute.rs:23:23 | LL | let _: *const T = core::intrinsics::transmute(t); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `t as *const T` error: transmute from a reference to a pointer --> $DIR/transmute.rs:25:21 | LL | let _: *mut T = core::intrinsics::transmute(t); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `t as *const T as *mut T` error: transmute from a reference to a pointer --> $DIR/transmute.rs:27:23 | LL | let _: *const U = core::intrinsics::transmute(t); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `t as *const T as *const U` error: transmute from a pointer type (`*const T`) to a reference type (`&T`) --> $DIR/transmute.rs:32:17 | LL | let _: &T = std::mem::transmute(p); | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*p` | = note: `-D clippy::transmute-ptr-to-ref` implied by `-D warnings` error: transmute from a pointer type (`*mut T`) to a reference type (`&mut T`) --> $DIR/transmute.rs:35:21 | LL | let _: &mut T = std::mem::transmute(m); | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut *m` error: transmute from a pointer type (`*mut T`) to a reference type (`&T`) --> $DIR/transmute.rs:38:17 | LL | let _: &T = std::mem::transmute(m); | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*m` error: transmute from a pointer type (`*mut T`) to a reference type (`&mut T`) --> $DIR/transmute.rs:41:21 | LL | let _: &mut T = std::mem::transmute(p as *mut T); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut *(p as *mut T)` error: transmute from a pointer type (`*const U`) to a reference type (`&T`) --> $DIR/transmute.rs:44:17 | LL | let _: &T = std::mem::transmute(o); | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(o as *const T)` error: transmute from a pointer type (`*mut U`) to a reference type (`&mut T`) --> $DIR/transmute.rs:47:21 | LL | let _: &mut T = std::mem::transmute(om); | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut *(om as *mut T)` error: transmute from a pointer type (`*mut U`) to a reference type (`&T`) --> $DIR/transmute.rs:50:17 | LL | let _: &T = std::mem::transmute(om); | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(om as *const T)` error: transmute from a pointer type (`*const i32`) to a reference type (`&issue1231::Foo<'_, u8>`) --> $DIR/transmute.rs:61:32 | LL | let _: &Foo = unsafe { std::mem::transmute::<_, &Foo<_>>(raw) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(raw as *const Foo<_>)` error: transmute from a pointer type (`*const i32`) to a reference type (`&issue1231::Foo<'_, &u8>`) --> $DIR/transmute.rs:63:33 | LL | let _: &Foo<&u8> = unsafe { std::mem::transmute::<_, &Foo<&_>>(raw) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(raw as *const Foo<&_>)` error: transmute from a pointer type (`*const i32`) to a reference type (`&u8`) --> $DIR/transmute.rs:67:14 | LL | unsafe { std::mem::transmute::<_, Bar>(raw) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(raw as *const u8)` error: transmute from a type (`std::vec::Vec`) to itself --> $DIR/transmute.rs:73:27 | LL | let _: Vec = core::intrinsics::transmute(my_vec()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: transmute from a type (`std::vec::Vec`) to itself --> $DIR/transmute.rs:75:27 | LL | let _: Vec = core::mem::transmute(my_vec()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: transmute from a type (`std::vec::Vec`) to itself --> $DIR/transmute.rs:77:27 | LL | let _: Vec = std::intrinsics::transmute(my_vec()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: transmute from a type (`std::vec::Vec`) to itself --> $DIR/transmute.rs:79:27 | LL | let _: Vec = std::mem::transmute(my_vec()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: transmute from a type (`std::vec::Vec`) to itself --> $DIR/transmute.rs:81:27 | LL | let _: Vec = my_transmute(my_vec()); | ^^^^^^^^^^^^^^^^^^^^^^ error: transmute from an integer to a pointer --> $DIR/transmute.rs:89:31 | LL | let _: *const usize = std::mem::transmute(5_isize); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `5_isize as *const usize` error: transmute from an integer to a pointer --> $DIR/transmute.rs:93:31 | LL | let _: *const usize = std::mem::transmute(1 + 1usize); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(1 + 1usize) as *const usize` error: transmute from a type (`*const Usize`) to the type that it points to (`Usize`) --> $DIR/transmute.rs:108:24 | LL | let _: Usize = core::intrinsics::transmute(int_const_ptr); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::crosspointer-transmute` implied by `-D warnings` error: transmute from a type (`*mut Usize`) to the type that it points to (`Usize`) --> $DIR/transmute.rs:110:24 | LL | let _: Usize = core::intrinsics::transmute(int_mut_ptr); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: transmute from a type (`Usize`) to a pointer to that type (`*const Usize`) --> $DIR/transmute.rs:112:31 | LL | let _: *const Usize = core::intrinsics::transmute(my_int()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: transmute from a type (`Usize`) to a pointer to that type (`*mut Usize`) --> $DIR/transmute.rs:114:29 | LL | let _: *mut Usize = core::intrinsics::transmute(my_int()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: transmute from a `u32` to a `char` --> $DIR/transmute.rs:120:28 | LL | let _: char = unsafe { std::mem::transmute(0_u32) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `std::char::from_u32(0_u32).unwrap()` | = note: `-D clippy::transmute-int-to-char` implied by `-D warnings` error: transmute from a `i32` to a `char` --> $DIR/transmute.rs:121:28 | LL | let _: char = unsafe { std::mem::transmute(0_i32) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `std::char::from_u32(0_i32 as u32).unwrap()` error: transmute from a `u8` to a `bool` --> $DIR/transmute.rs:126:28 | LL | let _: bool = unsafe { std::mem::transmute(0_u8) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `0_u8 != 0` | = note: `-D clippy::transmute-int-to-bool` implied by `-D warnings` error: transmute from a `u32` to a `f32` --> $DIR/transmute.rs:131:27 | LL | let _: f32 = unsafe { std::mem::transmute(0_u32) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `f32::from_bits(0_u32)` | = note: `-D clippy::transmute-int-to-float` implied by `-D warnings` error: transmute from a `i32` to a `f32` --> $DIR/transmute.rs:132:27 | LL | let _: f32 = unsafe { std::mem::transmute(0_i32) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `f32::from_bits(0_i32 as u32)` error: transmute from a `&[u8]` to a `&str` --> $DIR/transmute.rs:136:28 | LL | let _: &str = unsafe { std::mem::transmute(b) }; | ^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `std::str::from_utf8(b).unwrap()` | = note: `-D clippy::transmute-bytes-to-str` implied by `-D warnings` error: transmute from a `&mut [u8]` to a `&mut str` --> $DIR/transmute.rs:137:32 | LL | let _: &mut str = unsafe { std::mem::transmute(mb) }; | ^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `std::str::from_utf8_mut(mb).unwrap()` error: transmute from a pointer to a pointer --> $DIR/transmute.rs:169:29 | LL | let _: *const f32 = std::mem::transmute(ptr); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ptr as *const f32` | = note: `-D clippy::transmute-ptr-to-ptr` implied by `-D warnings` error: transmute from a pointer to a pointer --> $DIR/transmute.rs:170:27 | LL | let _: *mut f32 = std::mem::transmute(mut_ptr); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `mut_ptr as *mut f32` error: transmute from a reference to a reference --> $DIR/transmute.rs:172:23 | LL | let _: &f32 = std::mem::transmute(&1u32); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(&1u32 as *const u32 as *const f32)` error: transmute from a reference to a reference --> $DIR/transmute.rs:173:23 | LL | let _: &f64 = std::mem::transmute(&1f32); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(&1f32 as *const f32 as *const f64)` error: transmute from a reference to a reference --> $DIR/transmute.rs:176:27 | LL | let _: &mut f32 = std::mem::transmute(&mut 1u32); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut *(&mut 1u32 as *mut u32 as *mut f32)` error: transmute from a reference to a reference --> $DIR/transmute.rs:177:37 | LL | let _: &GenericParam = std::mem::transmute(&GenericParam { t: 1u32 }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(&GenericParam { t: 1u32 } as *const GenericParam as *const GenericParam)` error: aborting due to 38 previous errors diff of stderr: -error: transmute from a type (`&'a T`) to itself - --> $DIR/transmute.rs:19:20 - | -LL | let _: &'a T = core::intrinsics::transmute(t); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::useless-transmute` implied by `-D warnings` - -error: transmute from a reference to a pointer - --> $DIR/transmute.rs:23:23 - | -LL | let _: *const T = core::intrinsics::transmute(t); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `t as *const T` - -error: transmute from a reference to a pointer - --> $DIR/transmute.rs:25:21 - | -LL | let _: *mut T = core::intrinsics::transmute(t); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `t as *const T as *mut T` - -error: transmute from a reference to a pointer - --> $DIR/transmute.rs:27:23 - | -LL | let _: *const U = core::intrinsics::transmute(t); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `t as *const T as *const U` - -error: transmute from a pointer type (`*const T`) to a reference type (`&T`) - --> $DIR/transmute.rs:32:17 - | -LL | let _: &T = std::mem::transmute(p); - | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*p` - | - = note: `-D clippy::transmute-ptr-to-ref` implied by `-D warnings` - -error: transmute from a pointer type (`*mut T`) to a reference type (`&mut T`) - --> $DIR/transmute.rs:35:21 - | -LL | let _: &mut T = std::mem::transmute(m); - | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut *m` - -error: transmute from a pointer type (`*mut T`) to a reference type (`&T`) - --> $DIR/transmute.rs:38:17 - | -LL | let _: &T = std::mem::transmute(m); - | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*m` - -error: transmute from a pointer type (`*mut T`) to a reference type (`&mut T`) - --> $DIR/transmute.rs:41:21 - | -LL | let _: &mut T = std::mem::transmute(p as *mut T); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut *(p as *mut T)` - -error: transmute from a pointer type (`*const U`) to a reference type (`&T`) - --> $DIR/transmute.rs:44:17 - | -LL | let _: &T = std::mem::transmute(o); - | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(o as *const T)` - -error: transmute from a pointer type (`*mut U`) to a reference type (`&mut T`) - --> $DIR/transmute.rs:47:21 - | -LL | let _: &mut T = std::mem::transmute(om); - | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut *(om as *mut T)` - -error: transmute from a pointer type (`*mut U`) to a reference type (`&T`) - --> $DIR/transmute.rs:50:17 - | -LL | let _: &T = std::mem::transmute(om); - | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(om as *const T)` - -error: transmute from a pointer type (`*const i32`) to a reference type (`&issue1231::Foo<'_, u8>`) - --> $DIR/transmute.rs:61:32 - | -LL | let _: &Foo = unsafe { std::mem::transmute::<_, &Foo<_>>(raw) }; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(raw as *const Foo<_>)` - -error: transmute from a pointer type (`*const i32`) to a reference type (`&issue1231::Foo<'_, &u8>`) - --> $DIR/transmute.rs:63:33 - | -LL | let _: &Foo<&u8> = unsafe { std::mem::transmute::<_, &Foo<&_>>(raw) }; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(raw as *const Foo<&_>)` - -error: transmute from a pointer type (`*const i32`) to a reference type (`&u8`) - --> $DIR/transmute.rs:67:14 - | -LL | unsafe { std::mem::transmute::<_, Bar>(raw) }; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(raw as *const u8)` - -error: transmute from a type (`std::vec::Vec`) to itself - --> $DIR/transmute.rs:73:27 - | -LL | let _: Vec = core::intrinsics::transmute(my_vec()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: transmute from a type (`std::vec::Vec`) to itself - --> $DIR/transmute.rs:75:27 - | -LL | let _: Vec = core::mem::transmute(my_vec()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: transmute from a type (`std::vec::Vec`) to itself - --> $DIR/transmute.rs:77:27 - | -LL | let _: Vec = std::intrinsics::transmute(my_vec()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: transmute from a type (`std::vec::Vec`) to itself - --> $DIR/transmute.rs:79:27 - | -LL | let _: Vec = std::mem::transmute(my_vec()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: transmute from a type (`std::vec::Vec`) to itself - --> $DIR/transmute.rs:81:27 - | -LL | let _: Vec = my_transmute(my_vec()); - | ^^^^^^^^^^^^^^^^^^^^^^ - -error: transmute from an integer to a pointer - --> $DIR/transmute.rs:89:31 - | -LL | let _: *const usize = std::mem::transmute(5_isize); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `5_isize as *const usize` - -error: transmute from an integer to a pointer - --> $DIR/transmute.rs:93:31 - | -LL | let _: *const usize = std::mem::transmute(1 + 1usize); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(1 + 1usize) as *const usize` - -error: transmute from a type (`*const Usize`) to the type that it points to (`Usize`) - --> $DIR/transmute.rs:108:24 - | -LL | let _: Usize = core::intrinsics::transmute(int_const_ptr); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::crosspointer-transmute` implied by `-D warnings` - -error: transmute from a type (`*mut Usize`) to the type that it points to (`Usize`) - --> $DIR/transmute.rs:110:24 - | -LL | let _: Usize = core::intrinsics::transmute(int_mut_ptr); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: transmute from a type (`Usize`) to a pointer to that type (`*const Usize`) - --> $DIR/transmute.rs:112:31 - | -LL | let _: *const Usize = core::intrinsics::transmute(my_int()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: transmute from a type (`Usize`) to a pointer to that type (`*mut Usize`) - --> $DIR/transmute.rs:114:29 - | -LL | let _: *mut Usize = core::intrinsics::transmute(my_int()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: transmute from a `u32` to a `char` - --> $DIR/transmute.rs:120:28 - | -LL | let _: char = unsafe { std::mem::transmute(0_u32) }; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `std::char::from_u32(0_u32).unwrap()` - | - = note: `-D clippy::transmute-int-to-char` implied by `-D warnings` - -error: transmute from a `i32` to a `char` - --> $DIR/transmute.rs:121:28 - | -LL | let _: char = unsafe { std::mem::transmute(0_i32) }; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `std::char::from_u32(0_i32 as u32).unwrap()` - -error: transmute from a `u8` to a `bool` - --> $DIR/transmute.rs:126:28 - | -LL | let _: bool = unsafe { std::mem::transmute(0_u8) }; - | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `0_u8 != 0` - | - = note: `-D clippy::transmute-int-to-bool` implied by `-D warnings` - -error: transmute from a `u32` to a `f32` - --> $DIR/transmute.rs:131:27 - | -LL | let _: f32 = unsafe { std::mem::transmute(0_u32) }; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `f32::from_bits(0_u32)` - | - = note: `-D clippy::transmute-int-to-float` implied by `-D warnings` - -error: transmute from a `i32` to a `f32` - --> $DIR/transmute.rs:132:27 - | -LL | let _: f32 = unsafe { std::mem::transmute(0_i32) }; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `f32::from_bits(0_i32 as u32)` - -error: transmute from a `&[u8]` to a `&str` - --> $DIR/transmute.rs:136:28 - | -LL | let _: &str = unsafe { std::mem::transmute(b) }; - | ^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `std::str::from_utf8(b).unwrap()` - | - = note: `-D clippy::transmute-bytes-to-str` implied by `-D warnings` - -error: transmute from a `&mut [u8]` to a `&mut str` - --> $DIR/transmute.rs:137:32 - | -LL | let _: &mut str = unsafe { std::mem::transmute(mb) }; - | ^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `std::str::from_utf8_mut(mb).unwrap()` - -error: transmute from a pointer to a pointer - --> $DIR/transmute.rs:169:29 - | -LL | let _: *const f32 = std::mem::transmute(ptr); - | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ptr as *const f32` - | - = note: `-D clippy::transmute-ptr-to-ptr` implied by `-D warnings` - -error: transmute from a pointer to a pointer - --> $DIR/transmute.rs:170:27 - | -LL | let _: *mut f32 = std::mem::transmute(mut_ptr); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `mut_ptr as *mut f32` - -error: transmute from a reference to a reference - --> $DIR/transmute.rs:172:23 - | -LL | let _: &f32 = std::mem::transmute(&1u32); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(&1u32 as *const u32 as *const f32)` - -error: transmute from a reference to a reference - --> $DIR/transmute.rs:173:23 - | -LL | let _: &f64 = std::mem::transmute(&1f32); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(&1f32 as *const f32 as *const f64)` - -error: transmute from a reference to a reference - --> $DIR/transmute.rs:176:27 - | -LL | let _: &mut f32 = std::mem::transmute(&mut 1u32); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut *(&mut 1u32 as *mut u32 as *mut f32)` - -error: transmute from a reference to a reference - --> $DIR/transmute.rs:177:37 - | -LL | let _: &GenericParam = std::mem::transmute(&GenericParam { t: 1u32 }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(&GenericParam { t: 1u32 } as *const GenericParam as *const GenericParam)` - -error: aborting due to 38 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/transmute.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'transmute.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/transmute.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/transmute.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/transmute.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/transmute.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/transmute_32bit.rs stdout ---- normalized stderr: error: lint name `wrong_transmute` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore --> $DIR/transmute_32bit.rs:3:8 | LL | #[warn(wrong_transmute)] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::wrong_transmute` | = note: `-D renamed-and-removed-lints` implied by `-D warnings` error: lint name `wrong_transmute` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore --> $DIR/transmute_32bit.rs:3:8 | LL | #[warn(wrong_transmute)] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::wrong_transmute` error: aborting due to 2 previous errors expected stderr: diff of stderr: +error: lint name `wrong_transmute` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore + --> $DIR/transmute_32bit.rs:3:8 + | +LL | #[warn(wrong_transmute)] + | ^^^^^^^^^^^^^^^ help: change it to: `clippy::wrong_transmute` + | + = note: `-D renamed-and-removed-lints` implied by `-D warnings` + +error: lint name `wrong_transmute` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore + --> $DIR/transmute_32bit.rs:3:8 + | +LL | #[warn(wrong_transmute)] + | ^^^^^^^^^^^^^^^ help: change it to: `clippy::wrong_transmute` + +error: aborting due to 2 previous errors + + The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/transmute_32bit.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'transmute_32bit.rs' error: 1 errors occurred comparing output. status: exit code: 1 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/transmute_32bit.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/transmute_32bit.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/transmute_32bit.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"lint name `wrong_transmute` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore","code":{"code":"renamed_and_removed_lints","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/transmute_32bit.rs","byte_start":24,"byte_end":39,"line_start":3,"line_end":3,"column_start":8,"column_end":23,"is_primary":true,"text":[{"text":"#[warn(wrong_transmute)]","highlight_start":8,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D renamed-and-removed-lints` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"change it to","code":null,"level":"help","spans":[{"file_name":"tests/ui/transmute_32bit.rs","byte_start":24,"byte_end":39,"line_start":3,"line_end":3,"column_start":8,"column_end":23,"is_primary":true,"text":[{"text":"#[warn(wrong_transmute)]","highlight_start":8,"highlight_end":23}],"label":null,"suggested_replacement":"clippy::wrong_transmute","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: lint name `wrong_transmute` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore\n --> tests/ui/transmute_32bit.rs:3:8\n |\nLL | #[warn(wrong_transmute)]\n | ^^^^^^^^^^^^^^^ help: change it to: `clippy::wrong_transmute`\n |\n = note: `-D renamed-and-removed-lints` implied by `-D warnings`\n\n"} {"message":"lint name `wrong_transmute` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore","code":{"code":"renamed_and_removed_lints","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/transmute_32bit.rs","byte_start":24,"byte_end":39,"line_start":3,"line_end":3,"column_start":8,"column_end":23,"is_primary":true,"text":[{"text":"#[warn(wrong_transmute)]","highlight_start":8,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"change it to","code":null,"level":"help","spans":[{"file_name":"tests/ui/transmute_32bit.rs","byte_start":24,"byte_end":39,"line_start":3,"line_end":3,"column_start":8,"column_end":23,"is_primary":true,"text":[{"text":"#[warn(wrong_transmute)]","highlight_start":8,"highlight_end":23}],"label":null,"suggested_replacement":"clippy::wrong_transmute","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: lint name `wrong_transmute` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore\n --> tests/ui/transmute_32bit.rs:3:8\n |\nLL | #[warn(wrong_transmute)]\n | ^^^^^^^^^^^^^^^ help: change it to: `clippy::wrong_transmute`\n\n"} {"message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} ------------------------------------------ thread '[ui] ui/transmute_32bit.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/transmute_64bit.rs stdout ---- normalized stderr: expected stderr: error: transmute from a `f64` to a pointer --> $DIR/transmute_64bit.rs:7:31 | LL | let _: *const usize = std::mem::transmute(6.0f64); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::wrong-transmute` implied by `-D warnings` error: transmute from a `f64` to a pointer --> $DIR/transmute_64bit.rs:9:29 | LL | let _: *mut usize = std::mem::transmute(6.0f64); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 2 previous errors diff of stderr: -error: transmute from a `f64` to a pointer - --> $DIR/transmute_64bit.rs:7:31 - | -LL | let _: *const usize = std::mem::transmute(6.0f64); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::wrong-transmute` implied by `-D warnings` - -error: transmute from a `f64` to a pointer - --> $DIR/transmute_64bit.rs:9:29 - | -LL | let _: *mut usize = std::mem::transmute(6.0f64); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: aborting due to 2 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/transmute_64bit.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'transmute_64bit.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/transmute_64bit.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/transmute_64bit.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/transmute_64bit.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/transmute_64bit.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/trivially_copy_pass_by_ref.rs stdout ---- normalized stderr: expected stderr: error: this argument is passed by reference, but would be more efficient if passed by value --> $DIR/trivially_copy_pass_by_ref.rs:47:11 | LL | fn bad(x: &u32, y: &Foo, z: &Baz) {} | ^^^^ help: consider passing by value instead: `u32` | = note: `-D clippy::trivially-copy-pass-by-ref` implied by `-D warnings` error: this argument is passed by reference, but would be more efficient if passed by value --> $DIR/trivially_copy_pass_by_ref.rs:47:20 | LL | fn bad(x: &u32, y: &Foo, z: &Baz) {} | ^^^^ help: consider passing by value instead: `Foo` error: this argument is passed by reference, but would be more efficient if passed by value --> $DIR/trivially_copy_pass_by_ref.rs:47:29 | LL | fn bad(x: &u32, y: &Foo, z: &Baz) {} | ^^^^ help: consider passing by value instead: `Baz` error: this argument is passed by reference, but would be more efficient if passed by value --> $DIR/trivially_copy_pass_by_ref.rs:54:12 | LL | fn bad(&self, x: &u32, y: &Foo, z: &Baz) {} | ^^^^^ help: consider passing by value instead: `self` error: this argument is passed by reference, but would be more efficient if passed by value --> $DIR/trivially_copy_pass_by_ref.rs:54:22 | LL | fn bad(&self, x: &u32, y: &Foo, z: &Baz) {} | ^^^^ help: consider passing by value instead: `u32` error: this argument is passed by reference, but would be more efficient if passed by value --> $DIR/trivially_copy_pass_by_ref.rs:54:31 | LL | fn bad(&self, x: &u32, y: &Foo, z: &Baz) {} | ^^^^ help: consider passing by value instead: `Foo` error: this argument is passed by reference, but would be more efficient if passed by value --> $DIR/trivially_copy_pass_by_ref.rs:54:40 | LL | fn bad(&self, x: &u32, y: &Foo, z: &Baz) {} | ^^^^ help: consider passing by value instead: `Baz` error: this argument is passed by reference, but would be more efficient if passed by value --> $DIR/trivially_copy_pass_by_ref.rs:56:16 | LL | fn bad2(x: &u32, y: &Foo, z: &Baz) {} | ^^^^ help: consider passing by value instead: `u32` error: this argument is passed by reference, but would be more efficient if passed by value --> $DIR/trivially_copy_pass_by_ref.rs:56:25 | LL | fn bad2(x: &u32, y: &Foo, z: &Baz) {} | ^^^^ help: consider passing by value instead: `Foo` error: this argument is passed by reference, but would be more efficient if passed by value --> $DIR/trivially_copy_pass_by_ref.rs:56:34 | LL | fn bad2(x: &u32, y: &Foo, z: &Baz) {} | ^^^^ help: consider passing by value instead: `Baz` error: this argument is passed by reference, but would be more efficient if passed by value --> $DIR/trivially_copy_pass_by_ref.rs:68:16 | LL | fn bad2(x: &u32, y: &Foo, z: &Baz) {} | ^^^^ help: consider passing by value instead: `u32` error: this argument is passed by reference, but would be more efficient if passed by value --> $DIR/trivially_copy_pass_by_ref.rs:68:25 | LL | fn bad2(x: &u32, y: &Foo, z: &Baz) {} | ^^^^ help: consider passing by value instead: `Foo` error: this argument is passed by reference, but would be more efficient if passed by value --> $DIR/trivially_copy_pass_by_ref.rs:68:34 | LL | fn bad2(x: &u32, y: &Foo, z: &Baz) {} | ^^^^ help: consider passing by value instead: `Baz` error: this argument is passed by reference, but would be more efficient if passed by value --> $DIR/trivially_copy_pass_by_ref.rs:72:34 | LL | fn trait_method(&self, _foo: &Foo); | ^^^^ help: consider passing by value instead: `Foo` error: this argument is passed by reference, but would be more efficient if passed by value --> $DIR/trivially_copy_pass_by_ref.rs:76:37 | LL | fn trait_method2(&self, _color: &Color); | ^^^^^^ help: consider passing by value instead: `Color` error: aborting due to 15 previous errors diff of stderr: -error: this argument is passed by reference, but would be more efficient if passed by value - --> $DIR/trivially_copy_pass_by_ref.rs:47:11 - | -LL | fn bad(x: &u32, y: &Foo, z: &Baz) {} - | ^^^^ help: consider passing by value instead: `u32` - | - = note: `-D clippy::trivially-copy-pass-by-ref` implied by `-D warnings` - -error: this argument is passed by reference, but would be more efficient if passed by value - --> $DIR/trivially_copy_pass_by_ref.rs:47:20 - | -LL | fn bad(x: &u32, y: &Foo, z: &Baz) {} - | ^^^^ help: consider passing by value instead: `Foo` - -error: this argument is passed by reference, but would be more efficient if passed by value - --> $DIR/trivially_copy_pass_by_ref.rs:47:29 - | -LL | fn bad(x: &u32, y: &Foo, z: &Baz) {} - | ^^^^ help: consider passing by value instead: `Baz` - -error: this argument is passed by reference, but would be more efficient if passed by value - --> $DIR/trivially_copy_pass_by_ref.rs:54:12 - | -LL | fn bad(&self, x: &u32, y: &Foo, z: &Baz) {} - | ^^^^^ help: consider passing by value instead: `self` - -error: this argument is passed by reference, but would be more efficient if passed by value - --> $DIR/trivially_copy_pass_by_ref.rs:54:22 - | -LL | fn bad(&self, x: &u32, y: &Foo, z: &Baz) {} - | ^^^^ help: consider passing by value instead: `u32` - -error: this argument is passed by reference, but would be more efficient if passed by value - --> $DIR/trivially_copy_pass_by_ref.rs:54:31 - | -LL | fn bad(&self, x: &u32, y: &Foo, z: &Baz) {} - | ^^^^ help: consider passing by value instead: `Foo` - -error: this argument is passed by reference, but would be more efficient if passed by value - --> $DIR/trivially_copy_pass_by_ref.rs:54:40 - | -LL | fn bad(&self, x: &u32, y: &Foo, z: &Baz) {} - | ^^^^ help: consider passing by value instead: `Baz` - -error: this argument is passed by reference, but would be more efficient if passed by value - --> $DIR/trivially_copy_pass_by_ref.rs:56:16 - | -LL | fn bad2(x: &u32, y: &Foo, z: &Baz) {} - | ^^^^ help: consider passing by value instead: `u32` - -error: this argument is passed by reference, but would be more efficient if passed by value - --> $DIR/trivially_copy_pass_by_ref.rs:56:25 - | -LL | fn bad2(x: &u32, y: &Foo, z: &Baz) {} - | ^^^^ help: consider passing by value instead: `Foo` - -error: this argument is passed by reference, but would be more efficient if passed by value - --> $DIR/trivially_copy_pass_by_ref.rs:56:34 - | -LL | fn bad2(x: &u32, y: &Foo, z: &Baz) {} - | ^^^^ help: consider passing by value instead: `Baz` - -error: this argument is passed by reference, but would be more efficient if passed by value - --> $DIR/trivially_copy_pass_by_ref.rs:68:16 - | -LL | fn bad2(x: &u32, y: &Foo, z: &Baz) {} - | ^^^^ help: consider passing by value instead: `u32` - -error: this argument is passed by reference, but would be more efficient if passed by value - --> $DIR/trivially_copy_pass_by_ref.rs:68:25 - | -LL | fn bad2(x: &u32, y: &Foo, z: &Baz) {} - | ^^^^ help: consider passing by value instead: `Foo` - -error: this argument is passed by reference, but would be more efficient if passed by value - --> $DIR/trivially_copy_pass_by_ref.rs:68:34 - | -LL | fn bad2(x: &u32, y: &Foo, z: &Baz) {} - | ^^^^ help: consider passing by value instead: `Baz` - -error: this argument is passed by reference, but would be more efficient if passed by value - --> $DIR/trivially_copy_pass_by_ref.rs:72:34 - | -LL | fn trait_method(&self, _foo: &Foo); - | ^^^^ help: consider passing by value instead: `Foo` - -error: this argument is passed by reference, but would be more efficient if passed by value - --> $DIR/trivially_copy_pass_by_ref.rs:76:37 - | -LL | fn trait_method2(&self, _color: &Color); - | ^^^^^^ help: consider passing by value instead: `Color` - -error: aborting due to 15 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/trivially_copy_pass_by_ref.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'trivially_copy_pass_by_ref.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/trivially_copy_pass_by_ref.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/trivially_copy_pass_by_ref.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/trivially_copy_pass_by_ref.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/trivially_copy_pass_by_ref.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/unit_arg.rs stdout ---- normalized stderr: expected stderr: error: passing a unit value to a function --> $DIR/unit_arg.rs:24:9 | LL | foo({}); | ^^ | = note: `-D clippy::unit-arg` implied by `-D warnings` help: if you intended to pass a unit value, use a unit literal instead | LL | foo(()); | ^^ error: passing a unit value to a function --> $DIR/unit_arg.rs:25:9 | LL | foo({ | _________^ LL | | 1; LL | | }); | |_____^ help: if you intended to pass a unit value, use a unit literal instead | LL | foo(()); | ^^ error: passing a unit value to a function --> $DIR/unit_arg.rs:28:9 | LL | foo(foo(1)); | ^^^^^^ help: if you intended to pass a unit value, use a unit literal instead | LL | foo(()); | ^^ error: passing a unit value to a function --> $DIR/unit_arg.rs:29:9 | LL | foo({ | _________^ LL | | foo(1); LL | | foo(2); LL | | }); | |_____^ help: if you intended to pass a unit value, use a unit literal instead | LL | foo(()); | ^^ error: passing a unit value to a function --> $DIR/unit_arg.rs:33:10 | LL | foo3({}, 2, 2); | ^^ help: if you intended to pass a unit value, use a unit literal instead | LL | foo3((), 2, 2); | ^^ error: passing a unit value to a function --> $DIR/unit_arg.rs:35:11 | LL | b.bar({ | ___________^ LL | | 1; LL | | }); | |_____^ help: if you intended to pass a unit value, use a unit literal instead | LL | b.bar(()); | ^^ error: aborting due to 6 previous errors diff of stderr: -error: passing a unit value to a function - --> $DIR/unit_arg.rs:24:9 - | -LL | foo({}); - | ^^ - | - = note: `-D clippy::unit-arg` implied by `-D warnings` -help: if you intended to pass a unit value, use a unit literal instead - | -LL | foo(()); - | ^^ - -error: passing a unit value to a function - --> $DIR/unit_arg.rs:25:9 - | -LL | foo({ - | _________^ -LL | | 1; -LL | | }); - | |_____^ -help: if you intended to pass a unit value, use a unit literal instead - | -LL | foo(()); - | ^^ - -error: passing a unit value to a function - --> $DIR/unit_arg.rs:28:9 - | -LL | foo(foo(1)); - | ^^^^^^ -help: if you intended to pass a unit value, use a unit literal instead - | -LL | foo(()); - | ^^ - -error: passing a unit value to a function - --> $DIR/unit_arg.rs:29:9 - | -LL | foo({ - | _________^ -LL | | foo(1); -LL | | foo(2); -LL | | }); - | |_____^ -help: if you intended to pass a unit value, use a unit literal instead - | -LL | foo(()); - | ^^ - -error: passing a unit value to a function - --> $DIR/unit_arg.rs:33:10 - | -LL | foo3({}, 2, 2); - | ^^ -help: if you intended to pass a unit value, use a unit literal instead - | -LL | foo3((), 2, 2); - | ^^ - -error: passing a unit value to a function - --> $DIR/unit_arg.rs:35:11 - | -LL | b.bar({ - | ___________^ -LL | | 1; -LL | | }); - | |_____^ -help: if you intended to pass a unit value, use a unit literal instead - | -LL | b.bar(()); - | ^^ - -error: aborting due to 6 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unit_arg.stderr normalized fixed: // run-rustfix #![warn(clippy::unit_arg)] #![allow(clippy::no_effect, unused_must_use)] use std::fmt::Debug; fn foo(t: T) { println!("{:?}", t); } fn foo3(t1: T1, t2: T2, t3: T3) { println!("{:?}, {:?}, {:?}", t1, t2, t3); } struct Bar; impl Bar { fn bar(&self, t: T) { println!("{:?}", t); } } fn bad() { foo({}); foo({ 1; }); foo(foo(1)); foo({ foo(1); foo(2); }); foo3({}, 2, 2); let b = Bar; b.bar({ 1; }); } fn ok() { foo(()); foo(1); foo({ 1 }); foo3("a", 3, vec![3]); let b = Bar; b.bar({ 1 }); b.bar(()); question_mark(); } fn question_mark() -> Result<(), ()> { Ok(Ok(())?)?; Ok(Ok(()))??; Ok(()) } #[allow(dead_code)] mod issue_2945 { fn unit_fn() -> Result<(), i32> { Ok(()) } fn fallible() -> Result<(), i32> { Ok(unit_fn()?) } } fn main() { bad(); ok(); } expected fixed: // run-rustfix #![warn(clippy::unit_arg)] #![allow(clippy::no_effect, unused_must_use)] use std::fmt::Debug; fn foo(t: T) { println!("{:?}", t); } fn foo3(t1: T1, t2: T2, t3: T3) { println!("{:?}, {:?}, {:?}", t1, t2, t3); } struct Bar; impl Bar { fn bar(&self, t: T) { println!("{:?}", t); } } fn bad() { foo(()); foo(()); foo(()); foo(()); foo3((), 2, 2); let b = Bar; b.bar(()); } fn ok() { foo(()); foo(1); foo({ 1 }); foo3("a", 3, vec![3]); let b = Bar; b.bar({ 1 }); b.bar(()); question_mark(); } fn question_mark() -> Result<(), ()> { Ok(Ok(())?)?; Ok(Ok(()))??; Ok(()) } #[allow(dead_code)] mod issue_2945 { fn unit_fn() -> Result<(), i32> { Ok(()) } fn fallible() -> Result<(), i32> { Ok(unit_fn()?) } } fn main() { bad(); ok(); } diff of fixed: // run-rustfix #![warn(clippy::unit_arg)] #![allow(clippy::no_effect, unused_must_use)] use std::fmt::Debug; fn foo(t: T) { println!("{:?}", t); } fn foo3(t1: T1, t2: T2, t3: T3) { println!("{:?}, {:?}, {:?}", t1, t2, t3); } struct Bar; impl Bar { fn bar(&self, t: T) { println!("{:?}", t); } } fn bad() { - foo(()); - foo(()); - foo(()); - foo(()); - foo3((), 2, 2); + foo({}); + foo({ + 1; + }); + foo(foo(1)); + foo({ + foo(1); + foo(2); + }); + foo3({}, 2, 2); let b = Bar; - b.bar(()); + b.bar({ + 1; + }); } fn ok() { foo(()); foo(1); foo({ 1 }); foo3("a", 3, vec![3]); let b = Bar; b.bar({ 1 }); b.bar(()); question_mark(); } fn question_mark() -> Result<(), ()> { Ok(Ok(())?)?; Ok(Ok(()))??; Ok(()) } #[allow(dead_code)] mod issue_2945 { fn unit_fn() -> Result<(), i32> { Ok(()) } fn fallible() -> Result<(), i32> { Ok(unit_fn()?) } } fn main() { bad(); ok(); } The actual fixed differed from the expected fixed. Actual fixed saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unit_arg.fixed To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'unit_arg.rs' error: 2 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/unit_arg.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unit_arg.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unit_arg.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/unit_arg.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/unit_cmp.rs stdout ---- normalized stderr: expected stderr: error: ==-comparison of unit values detected. This will always be true --> $DIR/unit_cmp.rs:12:8 | LL | if { | ________^ LL | | true; LL | | } == { LL | | false; LL | | } {} | |_____^ | = note: `-D clippy::unit-cmp` implied by `-D warnings` error: >-comparison of unit values detected. This will always be false --> $DIR/unit_cmp.rs:18:8 | LL | if { | ________^ LL | | true; LL | | } > { LL | | false; LL | | } {} | |_____^ error: aborting due to 2 previous errors diff of stderr: -error: ==-comparison of unit values detected. This will always be true - --> $DIR/unit_cmp.rs:12:8 - | -LL | if { - | ________^ -LL | | true; -LL | | } == { -LL | | false; -LL | | } {} - | |_____^ - | - = note: `-D clippy::unit-cmp` implied by `-D warnings` - -error: >-comparison of unit values detected. This will always be false - --> $DIR/unit_cmp.rs:18:8 - | -LL | if { - | ________^ -LL | | true; -LL | | } > { -LL | | false; -LL | | } {} - | |_____^ - -error: aborting due to 2 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unit_cmp.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'unit_cmp.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/unit_cmp.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unit_cmp.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unit_cmp.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/unit_cmp.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/unnecessary_clone.rs stdout ---- normalized stderr: expected stderr: error: using `clone` on a `Copy` type --> $DIR/unnecessary_clone.rs:17:5 | LL | 42.clone(); | ^^^^^^^^^^ help: try removing the `clone` call: `42` | = note: `-D clippy::clone-on-copy` implied by `-D warnings` error: using `clone` on a `Copy` type --> $DIR/unnecessary_clone.rs:21:5 | LL | (&42).clone(); | ^^^^^^^^^^^^^ help: try dereferencing it: `*(&42)` error: using `clone` on a `Copy` type --> $DIR/unnecessary_clone.rs:24:5 | LL | rc.borrow().clone(); | ^^^^^^^^^^^^^^^^^^^ help: try dereferencing it: `*rc.borrow()` error: using '.clone()' on a ref-counted pointer --> $DIR/unnecessary_clone.rs:34:5 | LL | rc.clone(); | ^^^^^^^^^^ help: try this: `Rc::::clone(&rc)` | = note: `-D clippy::clone-on-ref-ptr` implied by `-D warnings` error: using '.clone()' on a ref-counted pointer --> $DIR/unnecessary_clone.rs:37:5 | LL | arc.clone(); | ^^^^^^^^^^^ help: try this: `Arc::::clone(&arc)` error: using '.clone()' on a ref-counted pointer --> $DIR/unnecessary_clone.rs:40:5 | LL | rcweak.clone(); | ^^^^^^^^^^^^^^ help: try this: `Weak::::clone(&rcweak)` error: using '.clone()' on a ref-counted pointer --> $DIR/unnecessary_clone.rs:43:5 | LL | arc_weak.clone(); | ^^^^^^^^^^^^^^^^ help: try this: `Weak::::clone(&arc_weak)` error: using '.clone()' on a ref-counted pointer --> $DIR/unnecessary_clone.rs:47:29 | LL | let _: Arc = x.clone(); | ^^^^^^^^^ help: try this: `Arc::::clone(&x)` error: using `clone` on a `Copy` type --> $DIR/unnecessary_clone.rs:51:5 | LL | t.clone(); | ^^^^^^^^^ help: try removing the `clone` call: `t` error: using `clone` on a `Copy` type --> $DIR/unnecessary_clone.rs:53:5 | LL | Some(t).clone(); | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `Some(t)` error: using `clone` on a double-reference; this will copy the reference instead of cloning the inner type --> $DIR/unnecessary_clone.rs:59:22 | LL | let z: &Vec<_> = y.clone(); | ^^^^^^^^^ | = note: #[deny(clippy::clone_double_ref)] on by default help: try dereferencing it | LL | let z: &Vec<_> = &(*y).clone(); | ^^^^^^^^^^^^^ help: or try being explicit about what type to clone | LL | let z: &Vec<_> = &std::vec::Vec::clone(y); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: called `iter().cloned().collect()` on a slice to create a `Vec`. Calling `to_vec()` is both faster and more readable --> $DIR/unnecessary_clone.rs:66:27 | LL | let v2: Vec = v.iter().cloned().collect(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `.to_vec()` | = note: `-D clippy::iter-cloned-collect` implied by `-D warnings` error: called `iter().cloned().collect()` on a slice to create a `Vec`. Calling `to_vec()` is both faster and more readable --> $DIR/unnecessary_clone.rs:71:38 | LL | let _: Vec = vec![1, 2, 3].iter().cloned().collect(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `.to_vec()` error: called `iter().cloned().collect()` on a slice to create a `Vec`. Calling `to_vec()` is both faster and more readable --> $DIR/unnecessary_clone.rs:76:24 | LL | .to_bytes() | ________________________^ LL | | .iter() LL | | .cloned() LL | | .collect(); | |______________________^ help: try: `.to_vec()` error: using `clone` on a `Copy` type --> $DIR/unnecessary_clone.rs:114:20 | LL | let _: E = a.clone(); | ^^^^^^^^^ help: try dereferencing it: `*****a` error: aborting due to 15 previous errors diff of stderr: -error: using `clone` on a `Copy` type - --> $DIR/unnecessary_clone.rs:17:5 - | -LL | 42.clone(); - | ^^^^^^^^^^ help: try removing the `clone` call: `42` - | - = note: `-D clippy::clone-on-copy` implied by `-D warnings` - -error: using `clone` on a `Copy` type - --> $DIR/unnecessary_clone.rs:21:5 - | -LL | (&42).clone(); - | ^^^^^^^^^^^^^ help: try dereferencing it: `*(&42)` - -error: using `clone` on a `Copy` type - --> $DIR/unnecessary_clone.rs:24:5 - | -LL | rc.borrow().clone(); - | ^^^^^^^^^^^^^^^^^^^ help: try dereferencing it: `*rc.borrow()` - -error: using '.clone()' on a ref-counted pointer - --> $DIR/unnecessary_clone.rs:34:5 - | -LL | rc.clone(); - | ^^^^^^^^^^ help: try this: `Rc::::clone(&rc)` - | - = note: `-D clippy::clone-on-ref-ptr` implied by `-D warnings` - -error: using '.clone()' on a ref-counted pointer - --> $DIR/unnecessary_clone.rs:37:5 - | -LL | arc.clone(); - | ^^^^^^^^^^^ help: try this: `Arc::::clone(&arc)` - -error: using '.clone()' on a ref-counted pointer - --> $DIR/unnecessary_clone.rs:40:5 - | -LL | rcweak.clone(); - | ^^^^^^^^^^^^^^ help: try this: `Weak::::clone(&rcweak)` - -error: using '.clone()' on a ref-counted pointer - --> $DIR/unnecessary_clone.rs:43:5 - | -LL | arc_weak.clone(); - | ^^^^^^^^^^^^^^^^ help: try this: `Weak::::clone(&arc_weak)` - -error: using '.clone()' on a ref-counted pointer - --> $DIR/unnecessary_clone.rs:47:29 - | -LL | let _: Arc = x.clone(); - | ^^^^^^^^^ help: try this: `Arc::::clone(&x)` - -error: using `clone` on a `Copy` type - --> $DIR/unnecessary_clone.rs:51:5 - | -LL | t.clone(); - | ^^^^^^^^^ help: try removing the `clone` call: `t` - -error: using `clone` on a `Copy` type - --> $DIR/unnecessary_clone.rs:53:5 - | -LL | Some(t).clone(); - | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `Some(t)` - -error: using `clone` on a double-reference; this will copy the reference instead of cloning the inner type - --> $DIR/unnecessary_clone.rs:59:22 - | -LL | let z: &Vec<_> = y.clone(); - | ^^^^^^^^^ - | - = note: #[deny(clippy::clone_double_ref)] on by default -help: try dereferencing it - | -LL | let z: &Vec<_> = &(*y).clone(); - | ^^^^^^^^^^^^^ -help: or try being explicit about what type to clone - | -LL | let z: &Vec<_> = &std::vec::Vec::clone(y); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: called `iter().cloned().collect()` on a slice to create a `Vec`. Calling `to_vec()` is both faster and more readable - --> $DIR/unnecessary_clone.rs:66:27 - | -LL | let v2: Vec = v.iter().cloned().collect(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `.to_vec()` - | - = note: `-D clippy::iter-cloned-collect` implied by `-D warnings` - -error: called `iter().cloned().collect()` on a slice to create a `Vec`. Calling `to_vec()` is both faster and more readable - --> $DIR/unnecessary_clone.rs:71:38 - | -LL | let _: Vec = vec![1, 2, 3].iter().cloned().collect(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `.to_vec()` - -error: called `iter().cloned().collect()` on a slice to create a `Vec`. Calling `to_vec()` is both faster and more readable - --> $DIR/unnecessary_clone.rs:76:24 - | -LL | .to_bytes() - | ________________________^ -LL | | .iter() -LL | | .cloned() -LL | | .collect(); - | |______________________^ help: try: `.to_vec()` - -error: using `clone` on a `Copy` type - --> $DIR/unnecessary_clone.rs:114:20 - | -LL | let _: E = a.clone(); - | ^^^^^^^^^ help: try dereferencing it: `*****a` - -error: aborting due to 15 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unnecessary_clone.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'unnecessary_clone.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/unnecessary_clone.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unnecessary_clone.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unnecessary_clone.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/unnecessary_clone.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/unnecessary_filter_map.rs stdout ---- normalized stderr: expected stderr: error: this `.filter_map` can be written more simply using `.filter` --> $DIR/unnecessary_filter_map.rs:2:13 | LL | let _ = (0..4).filter_map(|x| if x > 1 { Some(x) } else { None }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::unnecessary-filter-map` implied by `-D warnings` error: this `.filter_map` can be written more simply using `.filter` --> $DIR/unnecessary_filter_map.rs:3:13 | LL | let _ = (0..4).filter_map(|x| { | _____________^ LL | | if x > 1 { LL | | return Some(x); LL | | }; LL | | None LL | | }); | |______^ error: this `.filter_map` can be written more simply using `.filter` --> $DIR/unnecessary_filter_map.rs:9:13 | LL | let _ = (0..4).filter_map(|x| match x { | _____________^ LL | | 0 | 1 => None, LL | | _ => Some(x), LL | | }); | |______^ error: this `.filter_map` can be written more simply using `.map` --> $DIR/unnecessary_filter_map.rs:14:13 | LL | let _ = (0..4).filter_map(|x| Some(x + 1)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 4 previous errors diff of stderr: -error: this `.filter_map` can be written more simply using `.filter` - --> $DIR/unnecessary_filter_map.rs:2:13 - | -LL | let _ = (0..4).filter_map(|x| if x > 1 { Some(x) } else { None }); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::unnecessary-filter-map` implied by `-D warnings` - -error: this `.filter_map` can be written more simply using `.filter` - --> $DIR/unnecessary_filter_map.rs:3:13 - | -LL | let _ = (0..4).filter_map(|x| { - | _____________^ -LL | | if x > 1 { -LL | | return Some(x); -LL | | }; -LL | | None -LL | | }); - | |______^ - -error: this `.filter_map` can be written more simply using `.filter` - --> $DIR/unnecessary_filter_map.rs:9:13 - | -LL | let _ = (0..4).filter_map(|x| match x { - | _____________^ -LL | | 0 | 1 => None, -LL | | _ => Some(x), -LL | | }); - | |______^ - -error: this `.filter_map` can be written more simply using `.map` - --> $DIR/unnecessary_filter_map.rs:14:13 - | -LL | let _ = (0..4).filter_map(|x| Some(x + 1)); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: aborting due to 4 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unnecessary_filter_map.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'unnecessary_filter_map.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/unnecessary_filter_map.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unnecessary_filter_map.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unnecessary_filter_map.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/unnecessary_filter_map.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/unnecessary_operation.rs stdout ---- normalized stderr: expected stderr: error: statement can be reduced --> $DIR/unnecessary_operation.rs:45:5 | LL | Tuple(get_number()); | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `get_number();` | = note: `-D clippy::unnecessary-operation` implied by `-D warnings` error: statement can be reduced --> $DIR/unnecessary_operation.rs:46:5 | LL | Struct { field: get_number() }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `get_number();` error: statement can be reduced --> $DIR/unnecessary_operation.rs:47:5 | LL | Struct { ..get_struct() }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `get_struct();` error: statement can be reduced --> $DIR/unnecessary_operation.rs:48:5 | LL | Enum::Tuple(get_number()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `get_number();` error: statement can be reduced --> $DIR/unnecessary_operation.rs:49:5 | LL | Enum::Struct { field: get_number() }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `get_number();` error: statement can be reduced --> $DIR/unnecessary_operation.rs:50:5 | LL | 5 + get_number(); | ^^^^^^^^^^^^^^^^^ help: replace it with: `5;get_number();` error: statement can be reduced --> $DIR/unnecessary_operation.rs:51:5 | LL | *&get_number(); | ^^^^^^^^^^^^^^^ help: replace it with: `get_number();` error: statement can be reduced --> $DIR/unnecessary_operation.rs:52:5 | LL | &get_number(); | ^^^^^^^^^^^^^^ help: replace it with: `get_number();` error: statement can be reduced --> $DIR/unnecessary_operation.rs:53:5 | LL | (5, 6, get_number()); | ^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `5;6;get_number();` error: statement can be reduced --> $DIR/unnecessary_operation.rs:54:5 | LL | box get_number(); | ^^^^^^^^^^^^^^^^^ help: replace it with: `get_number();` error: statement can be reduced --> $DIR/unnecessary_operation.rs:55:5 | LL | get_number()..; | ^^^^^^^^^^^^^^^ help: replace it with: `get_number();` error: statement can be reduced --> $DIR/unnecessary_operation.rs:56:5 | LL | ..get_number(); | ^^^^^^^^^^^^^^^ help: replace it with: `get_number();` error: statement can be reduced --> $DIR/unnecessary_operation.rs:57:5 | LL | 5..get_number(); | ^^^^^^^^^^^^^^^^ help: replace it with: `5;get_number();` error: statement can be reduced --> $DIR/unnecessary_operation.rs:58:5 | LL | [42, get_number()]; | ^^^^^^^^^^^^^^^^^^^ help: replace it with: `42;get_number();` error: statement can be reduced --> $DIR/unnecessary_operation.rs:59:5 | LL | [42, 55][get_number() as usize]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `[42, 55];get_number() as usize;` error: statement can be reduced --> $DIR/unnecessary_operation.rs:60:5 | LL | (42, get_number()).1; | ^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `42;get_number();` error: statement can be reduced --> $DIR/unnecessary_operation.rs:61:5 | LL | [get_number(); 55]; | ^^^^^^^^^^^^^^^^^^^ help: replace it with: `get_number();` error: statement can be reduced --> $DIR/unnecessary_operation.rs:62:5 | LL | [42; 55][get_number() as usize]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `[42; 55];get_number() as usize;` error: statement can be reduced --> $DIR/unnecessary_operation.rs:63:5 | LL | / { LL | | get_number() LL | | }; | |______^ help: replace it with: `get_number();` error: statement can be reduced --> $DIR/unnecessary_operation.rs:66:5 | LL | / FooString { LL | | s: String::from("blah"), LL | | }; | |______^ help: replace it with: `String::from("blah");` error: aborting due to 20 previous errors diff of stderr: -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:45:5 - | -LL | Tuple(get_number()); - | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `get_number();` - | - = note: `-D clippy::unnecessary-operation` implied by `-D warnings` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:46:5 - | -LL | Struct { field: get_number() }; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `get_number();` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:47:5 - | -LL | Struct { ..get_struct() }; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `get_struct();` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:48:5 - | -LL | Enum::Tuple(get_number()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `get_number();` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:49:5 - | -LL | Enum::Struct { field: get_number() }; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `get_number();` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:50:5 - | -LL | 5 + get_number(); - | ^^^^^^^^^^^^^^^^^ help: replace it with: `5;get_number();` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:51:5 - | -LL | *&get_number(); - | ^^^^^^^^^^^^^^^ help: replace it with: `get_number();` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:52:5 - | -LL | &get_number(); - | ^^^^^^^^^^^^^^ help: replace it with: `get_number();` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:53:5 - | -LL | (5, 6, get_number()); - | ^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `5;6;get_number();` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:54:5 - | -LL | box get_number(); - | ^^^^^^^^^^^^^^^^^ help: replace it with: `get_number();` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:55:5 - | -LL | get_number()..; - | ^^^^^^^^^^^^^^^ help: replace it with: `get_number();` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:56:5 - | -LL | ..get_number(); - | ^^^^^^^^^^^^^^^ help: replace it with: `get_number();` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:57:5 - | -LL | 5..get_number(); - | ^^^^^^^^^^^^^^^^ help: replace it with: `5;get_number();` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:58:5 - | -LL | [42, get_number()]; - | ^^^^^^^^^^^^^^^^^^^ help: replace it with: `42;get_number();` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:59:5 - | -LL | [42, 55][get_number() as usize]; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `[42, 55];get_number() as usize;` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:60:5 - | -LL | (42, get_number()).1; - | ^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `42;get_number();` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:61:5 - | -LL | [get_number(); 55]; - | ^^^^^^^^^^^^^^^^^^^ help: replace it with: `get_number();` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:62:5 - | -LL | [42; 55][get_number() as usize]; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `[42; 55];get_number() as usize;` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:63:5 - | -LL | / { -LL | | get_number() -LL | | }; - | |______^ help: replace it with: `get_number();` - -error: statement can be reduced - --> $DIR/unnecessary_operation.rs:66:5 - | -LL | / FooString { -LL | | s: String::from("blah"), -LL | | }; - | |______^ help: replace it with: `String::from("blah");` - -error: aborting due to 20 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unnecessary_operation.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'unnecessary_operation.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/unnecessary_operation.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unnecessary_operation.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unnecessary_operation.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/unnecessary_operation.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/unreadable_literal.rs stdout ---- error: failed to compile fixed code status: exit code: 1 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/unreadable_literal.fixed" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unreadable_literal.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unreadable_literal.stage-id.aux" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"literal out of range for usize","code":{"code":"overflowing_literals","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/unreadable_literal.fixed","byte_start":327,"byte_end":349,"line_start":17,"line_end":17,"column_start":31,"column_end":53,"is_primary":true,"text":[{"text":" let bad = (0b11_0110_i64, 0x0123_4567_8901_usize, 123_456_f32, 1.234_567_f32);","highlight_start":31,"highlight_end":53}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"#[deny(overflowing_literals)] on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"the literal `0x0123_4567_8901_usize` (decimal `1250999896321`) does not fit into an `usize` and will become `1164413185usize`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error: literal out of range for usize\n --> tests/ui/unreadable_literal.fixed:17:31\n |\nLL | let bad = (0b11_0110_i64, 0x0123_4567_8901_usize, 123_456_f32, 1.234_567_f32);\n | ^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: #[deny(overflowing_literals)] on by default\n = note: the literal `0x0123_4567_8901_usize` (decimal `1250999896321`) does not fit into an `usize` and will become `1164413185usize`\n\n"} {"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error\n\n"} ------------------------------------------ thread '[ui] ui/unreadable_literal.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/unused_io_amount.rs stdout ---- normalized stderr: expected stderr: error: handle written amount returned or use `Write::write_all` instead --> $DIR/unused_io_amount.rs:7:5 | LL | try!(s.write(b"test")); | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::unused-io-amount` implied by `-D warnings` = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: handle read amount returned or use `Read::read_exact` instead --> $DIR/unused_io_amount.rs:9:5 | LL | try!(s.read(&mut buf)); | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: handle written amount returned or use `Write::write_all` instead --> $DIR/unused_io_amount.rs:14:5 | LL | s.write(b"test")?; | ^^^^^^^^^^^^^^^^^ error: handle read amount returned or use `Read::read_exact` instead --> $DIR/unused_io_amount.rs:16:5 | LL | s.read(&mut buf)?; | ^^^^^^^^^^^^^^^^^ error: handle written amount returned or use `Write::write_all` instead --> $DIR/unused_io_amount.rs:21:5 | LL | s.write(b"test").unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^ error: handle read amount returned or use `Read::read_exact` instead --> $DIR/unused_io_amount.rs:23:5 | LL | s.read(&mut buf).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 6 previous errors diff of stderr: -error: handle written amount returned or use `Write::write_all` instead - --> $DIR/unused_io_amount.rs:7:5 - | -LL | try!(s.write(b"test")); - | ^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `-D clippy::unused-io-amount` implied by `-D warnings` - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: handle read amount returned or use `Read::read_exact` instead - --> $DIR/unused_io_amount.rs:9:5 - | -LL | try!(s.read(&mut buf)); - | ^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: handle written amount returned or use `Write::write_all` instead - --> $DIR/unused_io_amount.rs:14:5 - | -LL | s.write(b"test")?; - | ^^^^^^^^^^^^^^^^^ - -error: handle read amount returned or use `Read::read_exact` instead - --> $DIR/unused_io_amount.rs:16:5 - | -LL | s.read(&mut buf)?; - | ^^^^^^^^^^^^^^^^^ - -error: handle written amount returned or use `Write::write_all` instead - --> $DIR/unused_io_amount.rs:21:5 - | -LL | s.write(b"test").unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: handle read amount returned or use `Read::read_exact` instead - --> $DIR/unused_io_amount.rs:23:5 - | -LL | s.read(&mut buf).unwrap(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: aborting due to 6 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unused_io_amount.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'unused_io_amount.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/unused_io_amount.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unused_io_amount.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unused_io_amount.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/unused_io_amount.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/unused_labels.rs stdout ---- normalized stderr: expected stderr: error: unused label `'label` --> $DIR/unused_labels.rs:5:5 | LL | / 'label: for i in 1..2 { LL | | if i > 4 { LL | | continue; LL | | } LL | | } | |_____^ | = note: `-D clippy::unused-label` implied by `-D warnings` error: unused label `'a` --> $DIR/unused_labels.rs:19:5 | LL | / 'a: loop { LL | | break; LL | | } | |_____^ error: unused label `'same_label_in_two_fns` --> $DIR/unused_labels.rs:32:5 | LL | / 'same_label_in_two_fns: loop { LL | | let _ = 1; LL | | } | |_____^ error: aborting due to 3 previous errors diff of stderr: -error: unused label `'label` - --> $DIR/unused_labels.rs:5:5 - | -LL | / 'label: for i in 1..2 { -LL | | if i > 4 { -LL | | continue; -LL | | } -LL | | } - | |_____^ - | - = note: `-D clippy::unused-label` implied by `-D warnings` - -error: unused label `'a` - --> $DIR/unused_labels.rs:19:5 - | -LL | / 'a: loop { -LL | | break; -LL | | } - | |_____^ - -error: unused label `'same_label_in_two_fns` - --> $DIR/unused_labels.rs:32:5 - | -LL | / 'same_label_in_two_fns: loop { -LL | | let _ = 1; -LL | | } - | |_____^ - -error: aborting due to 3 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unused_labels.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'unused_labels.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/unused_labels.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unused_labels.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unused_labels.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/unused_labels.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/unused_lt.rs stdout ---- normalized stderr: expected stderr: error: this lifetime isn't used in the function definition --> $DIR/unused_lt.rs:14:14 | LL | fn unused_lt<'a>(x: u8) {} | ^^ | = note: `-D clippy::extra-unused-lifetimes` implied by `-D warnings` error: this lifetime isn't used in the function definition --> $DIR/unused_lt.rs:16:25 | LL | fn unused_lt_transitive<'a, 'b: 'a>(x: &'b u8) { | ^^ error: this lifetime isn't used in the function definition --> $DIR/unused_lt.rs:41:10 | LL | fn x<'a>(&self) {} | ^^ error: aborting due to 3 previous errors diff of stderr: -error: this lifetime isn't used in the function definition - --> $DIR/unused_lt.rs:14:14 - | -LL | fn unused_lt<'a>(x: u8) {} - | ^^ - | - = note: `-D clippy::extra-unused-lifetimes` implied by `-D warnings` - -error: this lifetime isn't used in the function definition - --> $DIR/unused_lt.rs:16:25 - | -LL | fn unused_lt_transitive<'a, 'b: 'a>(x: &'b u8) { - | ^^ - -error: this lifetime isn't used in the function definition - --> $DIR/unused_lt.rs:41:10 - | -LL | fn x<'a>(&self) {} - | ^^ - -error: aborting due to 3 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unused_lt.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'unused_lt.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/unused_lt.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unused_lt.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unused_lt.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/unused_lt.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/unused_unit.rs stdout ---- normalized stderr: error: unneeded unit return type --> $DIR/unused_unit.rs:18:59 | LL | pub fn get_unit (), G>(&self, f: F, _g: G) -> | ___________________________________________________________^ LL | | () | |__________^ help: remove the `-> ()` | note: lint level defined here --> $DIR/unused_unit.rs:12:9 | LL | #![deny(clippy::unused_unit)] | ^^^^^^^^^^^^^^^^^^^ error: unneeded unit return type --> $DIR/unused_unit.rs:28:19 | LL | fn into(self) -> () { | ^^^^^ help: remove the `-> ()` expected stderr: error: unneeded unit return type --> $DIR/unused_unit.rs:18:59 | LL | pub fn get_unit (), G>(&self, f: F, _g: G) -> | ___________________________________________________________^ LL | | () | |__________^ help: remove the `-> ()` | note: lint level defined here --> $DIR/unused_unit.rs:12:9 | LL | #![deny(clippy::unused_unit)] | ^^^^^^^^^^^^^^^^^^^ error: unneeded unit return type --> $DIR/unused_unit.rs:28:19 | LL | fn into(self) -> () { | ^^^^^ help: remove the `-> ()` error: unneeded unit expression --> $DIR/unused_unit.rs:29:9 | LL | () | ^^ help: remove the final `()` error: unneeded unit return type --> $DIR/unused_unit.rs:33:18 | LL | fn return_unit() -> () { () } | ^^^^^ help: remove the `-> ()` error: unneeded unit expression --> $DIR/unused_unit.rs:33:26 | LL | fn return_unit() -> () { () } | ^^ help: remove the final `()` error: unneeded `()` --> $DIR/unused_unit.rs:42:14 | LL | break(); | ^^ help: remove the `()` error: unneeded `()` --> $DIR/unused_unit.rs:44:11 | LL | return(); | ^^ help: remove the `()` error: aborting due to 7 previous errors diff of stderr: error: unneeded unit return type --> $DIR/unused_unit.rs:18:59 | LL | pub fn get_unit (), G>(&self, f: F, _g: G) -> | ___________________________________________________________^ LL | | () | |__________^ help: remove the `-> ()` | note: lint level defined here --> $DIR/unused_unit.rs:12:9 | LL | #![deny(clippy::unused_unit)] | ^^^^^^^^^^^^^^^^^^^ error: unneeded unit return type --> $DIR/unused_unit.rs:28:19 | LL | fn into(self) -> () { | ^^^^^ help: remove the `-> ()` -error: unneeded unit expression - --> $DIR/unused_unit.rs:29:9 - | -LL | () - | ^^ help: remove the final `()` - -error: unneeded unit return type - --> $DIR/unused_unit.rs:33:18 - | -LL | fn return_unit() -> () { () } - | ^^^^^ help: remove the `-> ()` - -error: unneeded unit expression - --> $DIR/unused_unit.rs:33:26 - | -LL | fn return_unit() -> () { () } - | ^^ help: remove the final `()` - -error: unneeded `()` - --> $DIR/unused_unit.rs:42:14 - | -LL | break(); - | ^^ help: remove the `()` - -error: unneeded `()` - --> $DIR/unused_unit.rs:44:11 - | -LL | return(); - | ^^ help: remove the `()` - -error: aborting due to 7 previous errors - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unused_unit.stderr normalized fixed: // run-rustfix // The output for humans should just highlight the whole span without showing // the suggested replacement, but we also want to test that suggested // replacement only removes one set of parentheses, rather than naïvely // stripping away any starting or ending parenthesis characters—hence this // test of the JSON error format. #![feature(custom_inner_attributes)] #![rustfmt::skip] #![deny(clippy::unused_unit)] struct Unitter; impl Unitter { // try to disorient the lint with multiple unit returns and newlines #[allow(clippy::no_effect)] pub fn get_unit (), G>(&self, f: F, _g: G) where G: Fn() -> () { let _y: &Fn() -> () = &f; (); // this should not lint, as it's not in return type position } } impl Into<()> for Unitter { #[rustfmt::skip] fn into(self) { () } } fn return_unit() -> () { () } #[allow(clippy::needless_return)] #[allow(clippy::never_loop)] fn main() { let u = Unitter; assert_eq!(u.get_unit(|| {}, return_unit), u.into()); return_unit(); loop { break(); } return(); } expected fixed: // run-rustfix // The output for humans should just highlight the whole span without showing // the suggested replacement, but we also want to test that suggested // replacement only removes one set of parentheses, rather than naïvely // stripping away any starting or ending parenthesis characters—hence this // test of the JSON error format. #![feature(custom_inner_attributes)] #![rustfmt::skip] #![deny(clippy::unused_unit)] struct Unitter; impl Unitter { // try to disorient the lint with multiple unit returns and newlines #[allow(clippy::no_effect)] pub fn get_unit (), G>(&self, f: F, _g: G) where G: Fn() -> () { let _y: &Fn() -> () = &f; (); // this should not lint, as it's not in return type position } } impl Into<()> for Unitter { #[rustfmt::skip] fn into(self) { } } fn return_unit() { } #[allow(clippy::needless_return)] #[allow(clippy::never_loop)] fn main() { let u = Unitter; assert_eq!(u.get_unit(|| {}, return_unit), u.into()); return_unit(); loop { break; } return; } diff of fixed: // run-rustfix // The output for humans should just highlight the whole span without showing // the suggested replacement, but we also want to test that suggested // replacement only removes one set of parentheses, rather than naïvely // stripping away any starting or ending parenthesis characters—hence this // test of the JSON error format. #![feature(custom_inner_attributes)] #![rustfmt::skip] #![deny(clippy::unused_unit)] struct Unitter; impl Unitter { // try to disorient the lint with multiple unit returns and newlines #[allow(clippy::no_effect)] pub fn get_unit (), G>(&self, f: F, _g: G) where G: Fn() -> () { let _y: &Fn() -> () = &f; (); // this should not lint, as it's not in return type position } } impl Into<()> for Unitter { #[rustfmt::skip] fn into(self) { - + () } } -fn return_unit() { } +fn return_unit() -> () { () } #[allow(clippy::needless_return)] #[allow(clippy::never_loop)] fn main() { let u = Unitter; assert_eq!(u.get_unit(|| {}, return_unit), u.into()); return_unit(); loop { - break; + break(); } - return; + return(); } The actual fixed differed from the expected fixed. Actual fixed saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unused_unit.fixed To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'unused_unit.rs' error: 2 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/unused_unit.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unused_unit.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/unused_unit.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"unneeded unit return type","code":{"code":"clippy::unused_unit","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/unused_unit.rs","byte_start":630,"byte_end":643,"line_start":18,"line_end":19,"column_start":59,"column_end":11,"is_primary":true,"text":[{"text":" pub fn get_unit (), G>(&self, f: F, _g: G) ->","highlight_start":59,"highlight_end":61},{"text":" ()","highlight_start":1,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"lint level defined here","code":null,"level":"note","spans":[{"file_name":"tests/ui/unused_unit.rs","byte_start":413,"byte_end":432,"line_start":12,"line_end":12,"column_start":9,"column_end":28,"is_primary":true,"text":[{"text":"#![deny(clippy::unused_unit)]","highlight_start":9,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"remove the `-> ()`","code":null,"level":"help","spans":[{"file_name":"tests/ui/unused_unit.rs","byte_start":630,"byte_end":643,"line_start":18,"line_end":19,"column_start":59,"column_end":11,"is_primary":true,"text":[{"text":" pub fn get_unit (), G>(&self, f: F, _g: G) ->","highlight_start":59,"highlight_end":61},{"text":" ()","highlight_start":1,"highlight_end":11}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: unneeded unit return type\n --> tests/ui/unused_unit.rs:18:59\n |\nLL | pub fn get_unit (), G>(&self, f: F, _g: G) ->\n | ___________________________________________________________^\nLL | | ()\n | |__________^ help: remove the `-> ()`\n |\nnote: lint level defined here\n --> tests/ui/unused_unit.rs:12:9\n |\nLL | #![deny(clippy::unused_unit)]\n | ^^^^^^^^^^^^^^^^^^^\n\n"} {"message":"unneeded unit return type","code":{"code":"clippy::unused_unit","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/unused_unit.rs","byte_start":853,"byte_end":858,"line_start":28,"line_end":28,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":" fn into(self) -> () {","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"remove the `-> ()`","code":null,"level":"help","spans":[{"file_name":"tests/ui/unused_unit.rs","byte_start":853,"byte_end":858,"line_start":28,"line_end":28,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":" fn into(self) -> () {","highlight_start":19,"highlight_end":24}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: unneeded unit return type\n --> tests/ui/unused_unit.rs:28:19\n |\nLL | fn into(self) -> () {\n | ^^^^^ help: remove the `-> ()`\n\n"} ------------------------------------------ thread '[ui] ui/unused_unit.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/use_self.rs stdout ---- normalized stderr: expected stderr: error: unnecessary structure name repetition --> $DIR/use_self.rs:13:21 | LL | fn new() -> Foo { | ^^^ help: use the applicable keyword: `Self` | = note: `-D clippy::use-self` implied by `-D warnings` error: unnecessary structure name repetition --> $DIR/use_self.rs:14:13 | LL | Foo {} | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:16:22 | LL | fn test() -> Foo { | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:17:13 | LL | Foo::new() | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:22:25 | LL | fn default() -> Foo { | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:23:13 | LL | Foo::new() | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:88:22 | LL | fn refs(p1: &Bad) -> &Bad { | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:88:31 | LL | fn refs(p1: &Bad) -> &Bad { | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:92:37 | LL | fn ref_refs<'a>(p1: &'a &'a Bad) -> &'a &'a Bad { | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:92:53 | LL | fn ref_refs<'a>(p1: &'a &'a Bad) -> &'a &'a Bad { | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:96:30 | LL | fn mut_refs(p1: &mut Bad) -> &mut Bad { | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:96:43 | LL | fn mut_refs(p1: &mut Bad) -> &mut Bad { | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:100:28 | LL | fn nested(_p1: Box, _p2: (&u8, &Bad)) {} | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:100:46 | LL | fn nested(_p1: Box, _p2: (&u8, &Bad)) {} | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:102:20 | LL | fn vals(_: Bad) -> Bad { | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:102:28 | LL | fn vals(_: Bad) -> Bad { | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:103:13 | LL | Bad::default() | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:108:23 | LL | type Output = Bad; | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:110:27 | LL | fn mul(self, rhs: Bad) -> Bad { | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:110:35 | LL | fn mul(self, rhs: Bad) -> Bad { | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:202:56 | LL | fn bad(foos: &[Self]) -> impl Iterator { | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:217:13 | LL | TS(0) | ^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:225:25 | LL | fn new() -> Foo { | ^^^ help: use the applicable keyword: `Self` ... LL | use_self_expand!(); // Should lint in local macros | ------------------- in this macro invocation error: unnecessary structure name repetition --> $DIR/use_self.rs:226:17 | LL | Foo {} | ^^^ help: use the applicable keyword: `Self` ... LL | use_self_expand!(); // Should lint in local macros | ------------------- in this macro invocation error: unnecessary structure name repetition --> $DIR/use_self.rs:261:21 | LL | fn baz() -> Foo { | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:262:13 | LL | Foo {} | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:249:29 | LL | fn bar() -> Bar { | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:250:21 | LL | Bar { foo: Foo {} } | ^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:304:13 | LL | nested::A::fun_1(); | ^^^^^^^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:305:13 | LL | nested::A::A; | ^^^^^^^^^ help: use the applicable keyword: `Self` error: unnecessary structure name repetition --> $DIR/use_self.rs:307:13 | LL | nested::A {}; | ^^^^^^^^^ help: use the applicable keyword: `Self` error: aborting due to 31 previous errors diff of stderr: -error: unnecessary structure name repetition - --> $DIR/use_self.rs:13:21 - | -LL | fn new() -> Foo { - | ^^^ help: use the applicable keyword: `Self` - | - = note: `-D clippy::use-self` implied by `-D warnings` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:14:13 - | -LL | Foo {} - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:16:22 - | -LL | fn test() -> Foo { - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:17:13 - | -LL | Foo::new() - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:22:25 - | -LL | fn default() -> Foo { - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:23:13 - | -LL | Foo::new() - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:88:22 - | -LL | fn refs(p1: &Bad) -> &Bad { - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:88:31 - | -LL | fn refs(p1: &Bad) -> &Bad { - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:92:37 - | -LL | fn ref_refs<'a>(p1: &'a &'a Bad) -> &'a &'a Bad { - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:92:53 - | -LL | fn ref_refs<'a>(p1: &'a &'a Bad) -> &'a &'a Bad { - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:96:30 - | -LL | fn mut_refs(p1: &mut Bad) -> &mut Bad { - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:96:43 - | -LL | fn mut_refs(p1: &mut Bad) -> &mut Bad { - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:100:28 - | -LL | fn nested(_p1: Box, _p2: (&u8, &Bad)) {} - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:100:46 - | -LL | fn nested(_p1: Box, _p2: (&u8, &Bad)) {} - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:102:20 - | -LL | fn vals(_: Bad) -> Bad { - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:102:28 - | -LL | fn vals(_: Bad) -> Bad { - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:103:13 - | -LL | Bad::default() - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:108:23 - | -LL | type Output = Bad; - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:110:27 - | -LL | fn mul(self, rhs: Bad) -> Bad { - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:110:35 - | -LL | fn mul(self, rhs: Bad) -> Bad { - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:202:56 - | -LL | fn bad(foos: &[Self]) -> impl Iterator { - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:217:13 - | -LL | TS(0) - | ^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:225:25 - | -LL | fn new() -> Foo { - | ^^^ help: use the applicable keyword: `Self` -... -LL | use_self_expand!(); // Should lint in local macros - | ------------------- in this macro invocation - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:226:17 - | -LL | Foo {} - | ^^^ help: use the applicable keyword: `Self` -... -LL | use_self_expand!(); // Should lint in local macros - | ------------------- in this macro invocation - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:261:21 - | -LL | fn baz() -> Foo { - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:262:13 - | -LL | Foo {} - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:249:29 - | -LL | fn bar() -> Bar { - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:250:21 - | -LL | Bar { foo: Foo {} } - | ^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:304:13 - | -LL | nested::A::fun_1(); - | ^^^^^^^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:305:13 - | -LL | nested::A::A; - | ^^^^^^^^^ help: use the applicable keyword: `Self` - -error: unnecessary structure name repetition - --> $DIR/use_self.rs:307:13 - | -LL | nested::A {}; - | ^^^^^^^^^ help: use the applicable keyword: `Self` - -error: aborting due to 31 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/use_self.stderr normalized fixed: // run-rustfix #![warn(clippy::use_self)] #![allow(dead_code)] #![allow(clippy::should_implement_trait)] fn main() {} mod use_self { struct Foo {} impl Foo { fn new() -> Foo { Foo {} } fn test() -> Foo { Foo::new() } } impl Default for Foo { fn default() -> Foo { Foo::new() } } } mod better { struct Foo {} impl Foo { fn new() -> Self { Self {} } fn test() -> Self { Self::new() } } impl Default for Foo { fn default() -> Self { Self::new() } } } mod lifetimes { struct Foo<'a> { foo_str: &'a str, } impl<'a> Foo<'a> { // Cannot use `Self` as return type, because the function is actually `fn foo<'b>(s: &'b str) -> // Foo<'b>` fn foo(s: &str) -> Foo { Foo { foo_str: s } } // cannot replace with `Self`, because that's `Foo<'a>` fn bar() -> Foo<'static> { Foo { foo_str: "foo" } } // FIXME: the lint does not handle lifetimed struct // `Self` should be applicable here fn clone(&self) -> Foo<'a> { Foo { foo_str: self.foo_str } } } } #[allow(clippy::boxed_local)] mod traits { use std::ops::Mul; trait SelfTrait { fn refs(p1: &Self) -> &Self; fn ref_refs<'a>(p1: &'a &'a Self) -> &'a &'a Self; fn mut_refs(p1: &mut Self) -> &mut Self; fn nested(p1: Box, p2: (&u8, &Self)); fn vals(r: Self) -> Self; } #[derive(Default)] struct Bad; impl SelfTrait for Bad { fn refs(p1: &Bad) -> &Bad { p1 } fn ref_refs<'a>(p1: &'a &'a Bad) -> &'a &'a Bad { p1 } fn mut_refs(p1: &mut Bad) -> &mut Bad { p1 } fn nested(_p1: Box, _p2: (&u8, &Bad)) {} fn vals(_: Bad) -> Bad { Bad::default() } } impl Mul for Bad { type Output = Bad; fn mul(self, rhs: Bad) -> Bad { rhs } } #[derive(Default)] struct Good; impl SelfTrait for Good { fn refs(p1: &Self) -> &Self { p1 } fn ref_refs<'a>(p1: &'a &'a Self) -> &'a &'a Self { p1 } fn mut_refs(p1: &mut Self) -> &mut Self { p1 } fn nested(_p1: Box, _p2: (&u8, &Self)) {} fn vals(_: Self) -> Self { Self::default() } } impl Mul for Good { type Output = Self; fn mul(self, rhs: Self) -> Self { rhs } } trait NameTrait { fn refs(p1: &u8) -> &u8; fn ref_refs<'a>(p1: &'a &'a u8) -> &'a &'a u8; fn mut_refs(p1: &mut u8) -> &mut u8; fn nested(p1: Box, p2: (&u8, &u8)); fn vals(p1: u8) -> u8; } // Using `Self` instead of the type name is OK impl NameTrait for u8 { fn refs(p1: &Self) -> &Self { p1 } fn ref_refs<'a>(p1: &'a &'a Self) -> &'a &'a Self { p1 } fn mut_refs(p1: &mut Self) -> &mut Self { p1 } fn nested(_p1: Box, _p2: (&Self, &Self)) {} fn vals(_: Self) -> Self { Self::default() } } // Check that self arg isn't linted impl Clone for Good { fn clone(&self) -> Self { // Note: Not linted and it wouldn't be valid // because "can't use `Self` as a constructor`" Good } } } mod issue2894 { trait IntoBytes { fn into_bytes(&self) -> Vec; } // This should not be linted impl IntoBytes for u8 { fn into_bytes(&self) -> Vec { vec![*self] } } } mod existential { struct Foo; impl Foo { fn bad(foos: &[Self]) -> impl Iterator { foos.iter() } fn good(foos: &[Self]) -> impl Iterator { foos.iter() } } } mod tuple_structs { pub struct TS(i32); impl TS { pub fn ts() -> Self { TS(0) } } } mod macros { macro_rules! use_self_expand { () => { fn new() -> Foo { Foo {} } }; } struct Foo {} impl Foo { use_self_expand!(); // Should lint in local macros } } mod nesting { struct Foo {} impl Foo { fn foo() { #[allow(unused_imports)] use self::Foo; // Can't use Self here struct Bar { foo: Foo, // Foo != Self } impl Bar { fn bar() -> Bar { Bar { foo: Foo {} } } } // Can't use Self here fn baz() -> Foo { Foo {} } } // Should lint here fn baz() -> Foo { Foo {} } } enum Enum { A, } impl Enum { fn method() { #[allow(unused_imports)] use self::Enum::*; // Issue 3425 static STATIC: Enum = Enum::A; // Can't use Self as type } } } mod issue3410 { struct A; struct B; trait Trait { fn a(v: T); } impl Trait> for Vec { fn a(_: Vec) {} } } #[allow(clippy::no_effect, path_statements)] mod rustfix { mod nested { pub struct A {} } impl nested::A { const A: bool = true; fn fun_1() {} fn fun_2() { nested::A::fun_1(); nested::A::A; nested::A {}; } } } expected fixed: // run-rustfix #![warn(clippy::use_self)] #![allow(dead_code)] #![allow(clippy::should_implement_trait)] fn main() {} mod use_self { struct Foo {} impl Foo { fn new() -> Self { Self {} } fn test() -> Self { Self::new() } } impl Default for Foo { fn default() -> Self { Self::new() } } } mod better { struct Foo {} impl Foo { fn new() -> Self { Self {} } fn test() -> Self { Self::new() } } impl Default for Foo { fn default() -> Self { Self::new() } } } mod lifetimes { struct Foo<'a> { foo_str: &'a str, } impl<'a> Foo<'a> { // Cannot use `Self` as return type, because the function is actually `fn foo<'b>(s: &'b str) -> // Foo<'b>` fn foo(s: &str) -> Foo { Foo { foo_str: s } } // cannot replace with `Self`, because that's `Foo<'a>` fn bar() -> Foo<'static> { Foo { foo_str: "foo" } } // FIXME: the lint does not handle lifetimed struct // `Self` should be applicable here fn clone(&self) -> Foo<'a> { Foo { foo_str: self.foo_str } } } } #[allow(clippy::boxed_local)] mod traits { use std::ops::Mul; trait SelfTrait { fn refs(p1: &Self) -> &Self; fn ref_refs<'a>(p1: &'a &'a Self) -> &'a &'a Self; fn mut_refs(p1: &mut Self) -> &mut Self; fn nested(p1: Box, p2: (&u8, &Self)); fn vals(r: Self) -> Self; } #[derive(Default)] struct Bad; impl SelfTrait for Bad { fn refs(p1: &Self) -> &Self { p1 } fn ref_refs<'a>(p1: &'a &'a Self) -> &'a &'a Self { p1 } fn mut_refs(p1: &mut Self) -> &mut Self { p1 } fn nested(_p1: Box, _p2: (&u8, &Self)) {} fn vals(_: Self) -> Self { Self::default() } } impl Mul for Bad { type Output = Self; fn mul(self, rhs: Self) -> Self { rhs } } #[derive(Default)] struct Good; impl SelfTrait for Good { fn refs(p1: &Self) -> &Self { p1 } fn ref_refs<'a>(p1: &'a &'a Self) -> &'a &'a Self { p1 } fn mut_refs(p1: &mut Self) -> &mut Self { p1 } fn nested(_p1: Box, _p2: (&u8, &Self)) {} fn vals(_: Self) -> Self { Self::default() } } impl Mul for Good { type Output = Self; fn mul(self, rhs: Self) -> Self { rhs } } trait NameTrait { fn refs(p1: &u8) -> &u8; fn ref_refs<'a>(p1: &'a &'a u8) -> &'a &'a u8; fn mut_refs(p1: &mut u8) -> &mut u8; fn nested(p1: Box, p2: (&u8, &u8)); fn vals(p1: u8) -> u8; } // Using `Self` instead of the type name is OK impl NameTrait for u8 { fn refs(p1: &Self) -> &Self { p1 } fn ref_refs<'a>(p1: &'a &'a Self) -> &'a &'a Self { p1 } fn mut_refs(p1: &mut Self) -> &mut Self { p1 } fn nested(_p1: Box, _p2: (&Self, &Self)) {} fn vals(_: Self) -> Self { Self::default() } } // Check that self arg isn't linted impl Clone for Good { fn clone(&self) -> Self { // Note: Not linted and it wouldn't be valid // because "can't use `Self` as a constructor`" Good } } } mod issue2894 { trait IntoBytes { fn into_bytes(&self) -> Vec; } // This should not be linted impl IntoBytes for u8 { fn into_bytes(&self) -> Vec { vec![*self] } } } mod existential { struct Foo; impl Foo { fn bad(foos: &[Self]) -> impl Iterator { foos.iter() } fn good(foos: &[Self]) -> impl Iterator { foos.iter() } } } mod tuple_structs { pub struct TS(i32); impl TS { pub fn ts() -> Self { Self(0) } } } mod macros { macro_rules! use_self_expand { () => { fn new() -> Self { Self {} } }; } struct Foo {} impl Foo { use_self_expand!(); // Should lint in local macros } } mod nesting { struct Foo {} impl Foo { fn foo() { #[allow(unused_imports)] use self::Foo; // Can't use Self here struct Bar { foo: Foo, // Foo != Self } impl Bar { fn bar() -> Self { Self { foo: Foo {} } } } // Can't use Self here fn baz() -> Foo { Foo {} } } // Should lint here fn baz() -> Self { Self {} } } enum Enum { A, } impl Enum { fn method() { #[allow(unused_imports)] use self::Enum::*; // Issue 3425 static STATIC: Enum = Enum::A; // Can't use Self as type } } } mod issue3410 { struct A; struct B; trait Trait { fn a(v: T); } impl Trait> for Vec { fn a(_: Vec) {} } } #[allow(clippy::no_effect, path_statements)] mod rustfix { mod nested { pub struct A {} } impl nested::A { const A: bool = true; fn fun_1() {} fn fun_2() { Self::fun_1(); Self::A; Self {}; } } } diff of fixed: // run-rustfix #![warn(clippy::use_self)] #![allow(dead_code)] #![allow(clippy::should_implement_trait)] fn main() {} mod use_self { struct Foo {} impl Foo { - fn new() -> Self { - Self {} + fn new() -> Foo { + Foo {} } - fn test() -> Self { - Self::new() + fn test() -> Foo { + Foo::new() } } impl Default for Foo { - fn default() -> Self { - Self::new() + fn default() -> Foo { + Foo::new() } } } mod better { struct Foo {} impl Foo { fn new() -> Self { Self {} } fn test() -> Self { Self::new() } } impl Default for Foo { fn default() -> Self { Self::new() } } } mod lifetimes { struct Foo<'a> { foo_str: &'a str, } impl<'a> Foo<'a> { // Cannot use `Self` as return type, because the function is actually `fn foo<'b>(s: &'b str) -> // Foo<'b>` fn foo(s: &str) -> Foo { Foo { foo_str: s } } // cannot replace with `Self`, because that's `Foo<'a>` fn bar() -> Foo<'static> { Foo { foo_str: "foo" } } // FIXME: the lint does not handle lifetimed struct // `Self` should be applicable here fn clone(&self) -> Foo<'a> { Foo { foo_str: self.foo_str } } } } #[allow(clippy::boxed_local)] mod traits { use std::ops::Mul; trait SelfTrait { fn refs(p1: &Self) -> &Self; fn ref_refs<'a>(p1: &'a &'a Self) -> &'a &'a Self; fn mut_refs(p1: &mut Self) -> &mut Self; fn nested(p1: Box, p2: (&u8, &Self)); fn vals(r: Self) -> Self; } #[derive(Default)] struct Bad; impl SelfTrait for Bad { - fn refs(p1: &Self) -> &Self { + fn refs(p1: &Bad) -> &Bad { p1 } - fn ref_refs<'a>(p1: &'a &'a Self) -> &'a &'a Self { + fn ref_refs<'a>(p1: &'a &'a Bad) -> &'a &'a Bad { p1 } - fn mut_refs(p1: &mut Self) -> &mut Self { + fn mut_refs(p1: &mut Bad) -> &mut Bad { p1 } - fn nested(_p1: Box, _p2: (&u8, &Self)) {} + fn nested(_p1: Box, _p2: (&u8, &Bad)) {} - fn vals(_: Self) -> Self { - Self::default() + fn vals(_: Bad) -> Bad { + Bad::default() } } impl Mul for Bad { - type Output = Self; + type Output = Bad; - fn mul(self, rhs: Self) -> Self { + fn mul(self, rhs: Bad) -> Bad { rhs } } #[derive(Default)] struct Good; impl SelfTrait for Good { fn refs(p1: &Self) -> &Self { p1 } fn ref_refs<'a>(p1: &'a &'a Self) -> &'a &'a Self { p1 } fn mut_refs(p1: &mut Self) -> &mut Self { p1 } fn nested(_p1: Box, _p2: (&u8, &Self)) {} fn vals(_: Self) -> Self { Self::default() } } impl Mul for Good { type Output = Self; fn mul(self, rhs: Self) -> Self { rhs } } trait NameTrait { fn refs(p1: &u8) -> &u8; fn ref_refs<'a>(p1: &'a &'a u8) -> &'a &'a u8; fn mut_refs(p1: &mut u8) -> &mut u8; fn nested(p1: Box, p2: (&u8, &u8)); fn vals(p1: u8) -> u8; } // Using `Self` instead of the type name is OK impl NameTrait for u8 { fn refs(p1: &Self) -> &Self { p1 } fn ref_refs<'a>(p1: &'a &'a Self) -> &'a &'a Self { p1 } fn mut_refs(p1: &mut Self) -> &mut Self { p1 } fn nested(_p1: Box, _p2: (&Self, &Self)) {} fn vals(_: Self) -> Self { Self::default() } } // Check that self arg isn't linted impl Clone for Good { fn clone(&self) -> Self { // Note: Not linted and it wouldn't be valid // because "can't use `Self` as a constructor`" Good } } } mod issue2894 { trait IntoBytes { fn into_bytes(&self) -> Vec; } // This should not be linted impl IntoBytes for u8 { fn into_bytes(&self) -> Vec { vec![*self] } } } mod existential { struct Foo; impl Foo { - fn bad(foos: &[Self]) -> impl Iterator { + fn bad(foos: &[Self]) -> impl Iterator { foos.iter() } fn good(foos: &[Self]) -> impl Iterator { foos.iter() } } } mod tuple_structs { pub struct TS(i32); impl TS { pub fn ts() -> Self { - Self(0) + TS(0) } } } mod macros { macro_rules! use_self_expand { () => { - fn new() -> Self { - Self {} + fn new() -> Foo { + Foo {} } }; } struct Foo {} impl Foo { use_self_expand!(); // Should lint in local macros } } mod nesting { struct Foo {} impl Foo { fn foo() { #[allow(unused_imports)] use self::Foo; // Can't use Self here struct Bar { foo: Foo, // Foo != Self } impl Bar { - fn bar() -> Self { - Self { foo: Foo {} } + fn bar() -> Bar { + Bar { foo: Foo {} } } } // Can't use Self here fn baz() -> Foo { Foo {} } } // Should lint here - fn baz() -> Self { - Self {} + fn baz() -> Foo { + Foo {} } } enum Enum { A, } impl Enum { fn method() { #[allow(unused_imports)] use self::Enum::*; // Issue 3425 static STATIC: Enum = Enum::A; // Can't use Self as type } } } mod issue3410 { struct A; struct B; trait Trait { fn a(v: T); } impl Trait> for Vec { fn a(_: Vec) {} } } #[allow(clippy::no_effect, path_statements)] mod rustfix { mod nested { pub struct A {} } impl nested::A { const A: bool = true; fn fun_1() {} fn fun_2() { - Self::fun_1(); - Self::A; + nested::A::fun_1(); + nested::A::A; - Self {}; + nested::A {}; } } } The actual fixed differed from the expected fixed. Actual fixed saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/use_self.fixed To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'use_self.rs' error: 2 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/use_self.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/use_self.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/use_self.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/use_self.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/used_underscore_binding.rs stdout ---- normalized stderr: expected stderr: error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used. --> $DIR/used_underscore_binding.rs:14:5 | LL | _foo + 1 | ^^^^ | = note: `-D clippy::used-underscore-binding` implied by `-D warnings` error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used. --> $DIR/used_underscore_binding.rs:19:20 | LL | println!("{}", _foo); | ^^^^ error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used. --> $DIR/used_underscore_binding.rs:20:16 | LL | assert_eq!(_foo, _foo); | ^^^^ error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used. --> $DIR/used_underscore_binding.rs:20:22 | LL | assert_eq!(_foo, _foo); | ^^^^ error: used binding `_underscore_field` which is prefixed with an underscore. A leading underscore signals that a binding will not be used. --> $DIR/used_underscore_binding.rs:33:5 | LL | s._underscore_field += 1; | ^^^^^^^^^^^^^^^^^^^ error: aborting due to 5 previous errors diff of stderr: -error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used. - --> $DIR/used_underscore_binding.rs:14:5 - | -LL | _foo + 1 - | ^^^^ - | - = note: `-D clippy::used-underscore-binding` implied by `-D warnings` - -error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used. - --> $DIR/used_underscore_binding.rs:19:20 - | -LL | println!("{}", _foo); - | ^^^^ - -error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used. - --> $DIR/used_underscore_binding.rs:20:16 - | -LL | assert_eq!(_foo, _foo); - | ^^^^ - -error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used. - --> $DIR/used_underscore_binding.rs:20:22 - | -LL | assert_eq!(_foo, _foo); - | ^^^^ - -error: used binding `_underscore_field` which is prefixed with an underscore. A leading underscore signals that a binding will not be used. - --> $DIR/used_underscore_binding.rs:33:5 - | -LL | s._underscore_field += 1; - | ^^^^^^^^^^^^^^^^^^^ - -error: aborting due to 5 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/used_underscore_binding.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'used_underscore_binding.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/used_underscore_binding.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/used_underscore_binding.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/used_underscore_binding.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/used_underscore_binding.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/useless_asref.rs stdout ---- normalized stderr: expected stderr: error: this call to `as_ref` does nothing --> $DIR/useless_asref.rs:44:18 | LL | foo_rstr(rstr.as_ref()); | ^^^^^^^^^^^^^ help: try this: `rstr` | note: lint level defined here --> $DIR/useless_asref.rs:3:9 | LL | #![deny(clippy::useless_asref)] | ^^^^^^^^^^^^^^^^^^^^^ error: this call to `as_ref` does nothing --> $DIR/useless_asref.rs:46:20 | LL | foo_rslice(rslice.as_ref()); | ^^^^^^^^^^^^^^^ help: try this: `rslice` error: this call to `as_mut` does nothing --> $DIR/useless_asref.rs:50:21 | LL | foo_mrslice(mrslice.as_mut()); | ^^^^^^^^^^^^^^^^ help: try this: `mrslice` error: this call to `as_ref` does nothing --> $DIR/useless_asref.rs:52:20 | LL | foo_rslice(mrslice.as_ref()); | ^^^^^^^^^^^^^^^^ help: try this: `mrslice` error: this call to `as_ref` does nothing --> $DIR/useless_asref.rs:59:20 | LL | foo_rslice(rrrrrslice.as_ref()); | ^^^^^^^^^^^^^^^^^^^ help: try this: `rrrrrslice` error: this call to `as_ref` does nothing --> $DIR/useless_asref.rs:61:18 | LL | foo_rstr(rrrrrstr.as_ref()); | ^^^^^^^^^^^^^^^^^ help: try this: `rrrrrstr` error: this call to `as_mut` does nothing --> $DIR/useless_asref.rs:66:21 | LL | foo_mrslice(mrrrrrslice.as_mut()); | ^^^^^^^^^^^^^^^^^^^^ help: try this: `mrrrrrslice` error: this call to `as_ref` does nothing --> $DIR/useless_asref.rs:68:20 | LL | foo_rslice(mrrrrrslice.as_ref()); | ^^^^^^^^^^^^^^^^^^^^ help: try this: `mrrrrrslice` error: this call to `as_ref` does nothing --> $DIR/useless_asref.rs:72:16 | LL | foo_rrrrmr((&&&&MoreRef).as_ref()); | ^^^^^^^^^^^^^^^^^^^^^^ help: try this: `(&&&&MoreRef)` error: this call to `as_mut` does nothing --> $DIR/useless_asref.rs:122:13 | LL | foo_mrt(mrt.as_mut()); | ^^^^^^^^^^^^ help: try this: `mrt` error: this call to `as_ref` does nothing --> $DIR/useless_asref.rs:124:12 | LL | foo_rt(mrt.as_ref()); | ^^^^^^^^^^^^ help: try this: `mrt` error: aborting due to 11 previous errors diff of stderr: -error: this call to `as_ref` does nothing - --> $DIR/useless_asref.rs:44:18 - | -LL | foo_rstr(rstr.as_ref()); - | ^^^^^^^^^^^^^ help: try this: `rstr` - | -note: lint level defined here - --> $DIR/useless_asref.rs:3:9 - | -LL | #![deny(clippy::useless_asref)] - | ^^^^^^^^^^^^^^^^^^^^^ - -error: this call to `as_ref` does nothing - --> $DIR/useless_asref.rs:46:20 - | -LL | foo_rslice(rslice.as_ref()); - | ^^^^^^^^^^^^^^^ help: try this: `rslice` - -error: this call to `as_mut` does nothing - --> $DIR/useless_asref.rs:50:21 - | -LL | foo_mrslice(mrslice.as_mut()); - | ^^^^^^^^^^^^^^^^ help: try this: `mrslice` - -error: this call to `as_ref` does nothing - --> $DIR/useless_asref.rs:52:20 - | -LL | foo_rslice(mrslice.as_ref()); - | ^^^^^^^^^^^^^^^^ help: try this: `mrslice` - -error: this call to `as_ref` does nothing - --> $DIR/useless_asref.rs:59:20 - | -LL | foo_rslice(rrrrrslice.as_ref()); - | ^^^^^^^^^^^^^^^^^^^ help: try this: `rrrrrslice` - -error: this call to `as_ref` does nothing - --> $DIR/useless_asref.rs:61:18 - | -LL | foo_rstr(rrrrrstr.as_ref()); - | ^^^^^^^^^^^^^^^^^ help: try this: `rrrrrstr` - -error: this call to `as_mut` does nothing - --> $DIR/useless_asref.rs:66:21 - | -LL | foo_mrslice(mrrrrrslice.as_mut()); - | ^^^^^^^^^^^^^^^^^^^^ help: try this: `mrrrrrslice` - -error: this call to `as_ref` does nothing - --> $DIR/useless_asref.rs:68:20 - | -LL | foo_rslice(mrrrrrslice.as_ref()); - | ^^^^^^^^^^^^^^^^^^^^ help: try this: `mrrrrrslice` - -error: this call to `as_ref` does nothing - --> $DIR/useless_asref.rs:72:16 - | -LL | foo_rrrrmr((&&&&MoreRef).as_ref()); - | ^^^^^^^^^^^^^^^^^^^^^^ help: try this: `(&&&&MoreRef)` - -error: this call to `as_mut` does nothing - --> $DIR/useless_asref.rs:122:13 - | -LL | foo_mrt(mrt.as_mut()); - | ^^^^^^^^^^^^ help: try this: `mrt` - -error: this call to `as_ref` does nothing - --> $DIR/useless_asref.rs:124:12 - | -LL | foo_rt(mrt.as_ref()); - | ^^^^^^^^^^^^ help: try this: `mrt` - -error: aborting due to 11 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/useless_asref.stderr normalized fixed: // run-rustfix #![deny(clippy::useless_asref)] #![allow(clippy::trivially_copy_pass_by_ref)] use std::fmt::Debug; struct FakeAsRef; #[allow(clippy::should_implement_trait)] impl FakeAsRef { fn as_ref(&self) -> &Self { self } } struct MoreRef; impl<'a, 'b, 'c> AsRef<&'a &'b &'c MoreRef> for MoreRef { fn as_ref(&self) -> &&'a &'b &'c MoreRef { &&&&MoreRef } } fn foo_rstr(x: &str) { println!("{:?}", x); } fn foo_rslice(x: &[i32]) { println!("{:?}", x); } fn foo_mrslice(x: &mut [i32]) { println!("{:?}", x); } fn foo_rrrrmr(_: &&&&MoreRef) { println!("so many refs"); } fn not_ok() { let rstr: &str = "hello"; let mut mrslice: &mut [i32] = &mut [1, 2, 3]; { let rslice: &[i32] = &*mrslice; foo_rstr(rstr.as_ref()); foo_rstr(rstr); foo_rslice(rslice.as_ref()); foo_rslice(rslice); } { foo_mrslice(mrslice.as_mut()); foo_mrslice(mrslice); foo_rslice(mrslice.as_ref()); foo_rslice(mrslice); } { let rrrrrstr = &&&&rstr; let rrrrrslice = &&&&&*mrslice; foo_rslice(rrrrrslice.as_ref()); foo_rslice(rrrrrslice); foo_rstr(rrrrrstr.as_ref()); foo_rstr(rrrrrstr); } { let mrrrrrslice = &mut &mut &mut &mut mrslice; foo_mrslice(mrrrrrslice.as_mut()); foo_mrslice(mrrrrrslice); foo_rslice(mrrrrrslice.as_ref()); foo_rslice(mrrrrrslice); } #[allow(unused_parens, clippy::double_parens)] foo_rrrrmr((&&&&MoreRef).as_ref()); generic_not_ok(mrslice); generic_ok(mrslice); } fn ok() { let string = "hello".to_owned(); let mut arr = [1, 2, 3]; let mut vec = vec![1, 2, 3]; { foo_rstr(string.as_ref()); foo_rslice(arr.as_ref()); foo_rslice(vec.as_ref()); } { foo_mrslice(arr.as_mut()); foo_mrslice(vec.as_mut()); } { let rrrrstring = &&&&string; let rrrrarr = &&&&arr; let rrrrvec = &&&&vec; foo_rstr(rrrrstring.as_ref()); foo_rslice(rrrrarr.as_ref()); foo_rslice(rrrrvec.as_ref()); } { let mrrrrarr = &mut &mut &mut &mut arr; let mrrrrvec = &mut &mut &mut &mut vec; foo_mrslice(mrrrrarr.as_mut()); foo_mrslice(mrrrrvec.as_mut()); } FakeAsRef.as_ref(); foo_rrrrmr(MoreRef.as_ref()); generic_not_ok(arr.as_mut()); generic_ok(&mut arr); } fn foo_mrt(t: &mut T) { println!("{:?}", t); } fn foo_rt(t: &T) { println!("{:?}", t); } fn generic_not_ok + AsRef + Debug + ?Sized>(mrt: &mut T) { foo_mrt(mrt.as_mut()); foo_mrt(mrt); foo_rt(mrt.as_ref()); foo_rt(mrt); } fn generic_ok + AsRef + ?Sized, T: Debug + ?Sized>(mru: &mut U) { foo_mrt(mru.as_mut()); foo_rt(mru.as_ref()); } fn main() { not_ok(); ok(); } expected fixed: // run-rustfix #![deny(clippy::useless_asref)] #![allow(clippy::trivially_copy_pass_by_ref)] use std::fmt::Debug; struct FakeAsRef; #[allow(clippy::should_implement_trait)] impl FakeAsRef { fn as_ref(&self) -> &Self { self } } struct MoreRef; impl<'a, 'b, 'c> AsRef<&'a &'b &'c MoreRef> for MoreRef { fn as_ref(&self) -> &&'a &'b &'c MoreRef { &&&&MoreRef } } fn foo_rstr(x: &str) { println!("{:?}", x); } fn foo_rslice(x: &[i32]) { println!("{:?}", x); } fn foo_mrslice(x: &mut [i32]) { println!("{:?}", x); } fn foo_rrrrmr(_: &&&&MoreRef) { println!("so many refs"); } fn not_ok() { let rstr: &str = "hello"; let mut mrslice: &mut [i32] = &mut [1, 2, 3]; { let rslice: &[i32] = &*mrslice; foo_rstr(rstr); foo_rstr(rstr); foo_rslice(rslice); foo_rslice(rslice); } { foo_mrslice(mrslice); foo_mrslice(mrslice); foo_rslice(mrslice); foo_rslice(mrslice); } { let rrrrrstr = &&&&rstr; let rrrrrslice = &&&&&*mrslice; foo_rslice(rrrrrslice); foo_rslice(rrrrrslice); foo_rstr(rrrrrstr); foo_rstr(rrrrrstr); } { let mrrrrrslice = &mut &mut &mut &mut mrslice; foo_mrslice(mrrrrrslice); foo_mrslice(mrrrrrslice); foo_rslice(mrrrrrslice); foo_rslice(mrrrrrslice); } #[allow(unused_parens, clippy::double_parens)] foo_rrrrmr((&&&&MoreRef)); generic_not_ok(mrslice); generic_ok(mrslice); } fn ok() { let string = "hello".to_owned(); let mut arr = [1, 2, 3]; let mut vec = vec![1, 2, 3]; { foo_rstr(string.as_ref()); foo_rslice(arr.as_ref()); foo_rslice(vec.as_ref()); } { foo_mrslice(arr.as_mut()); foo_mrslice(vec.as_mut()); } { let rrrrstring = &&&&string; let rrrrarr = &&&&arr; let rrrrvec = &&&&vec; foo_rstr(rrrrstring.as_ref()); foo_rslice(rrrrarr.as_ref()); foo_rslice(rrrrvec.as_ref()); } { let mrrrrarr = &mut &mut &mut &mut arr; let mrrrrvec = &mut &mut &mut &mut vec; foo_mrslice(mrrrrarr.as_mut()); foo_mrslice(mrrrrvec.as_mut()); } FakeAsRef.as_ref(); foo_rrrrmr(MoreRef.as_ref()); generic_not_ok(arr.as_mut()); generic_ok(&mut arr); } fn foo_mrt(t: &mut T) { println!("{:?}", t); } fn foo_rt(t: &T) { println!("{:?}", t); } fn generic_not_ok + AsRef + Debug + ?Sized>(mrt: &mut T) { foo_mrt(mrt); foo_mrt(mrt); foo_rt(mrt); foo_rt(mrt); } fn generic_ok + AsRef + ?Sized, T: Debug + ?Sized>(mru: &mut U) { foo_mrt(mru.as_mut()); foo_rt(mru.as_ref()); } fn main() { not_ok(); ok(); } diff of fixed: // run-rustfix #![deny(clippy::useless_asref)] #![allow(clippy::trivially_copy_pass_by_ref)] use std::fmt::Debug; struct FakeAsRef; #[allow(clippy::should_implement_trait)] impl FakeAsRef { fn as_ref(&self) -> &Self { self } } struct MoreRef; impl<'a, 'b, 'c> AsRef<&'a &'b &'c MoreRef> for MoreRef { fn as_ref(&self) -> &&'a &'b &'c MoreRef { &&&&MoreRef } } fn foo_rstr(x: &str) { println!("{:?}", x); } fn foo_rslice(x: &[i32]) { println!("{:?}", x); } fn foo_mrslice(x: &mut [i32]) { println!("{:?}", x); } fn foo_rrrrmr(_: &&&&MoreRef) { println!("so many refs"); } fn not_ok() { let rstr: &str = "hello"; let mut mrslice: &mut [i32] = &mut [1, 2, 3]; { let rslice: &[i32] = &*mrslice; + foo_rstr(rstr.as_ref()); foo_rstr(rstr); - foo_rstr(rstr); + foo_rslice(rslice.as_ref()); foo_rslice(rslice); - foo_rslice(rslice); } { + foo_mrslice(mrslice.as_mut()); foo_mrslice(mrslice); - foo_mrslice(mrslice); + foo_rslice(mrslice.as_ref()); foo_rslice(mrslice); - foo_rslice(mrslice); } { let rrrrrstr = &&&&rstr; let rrrrrslice = &&&&&*mrslice; + foo_rslice(rrrrrslice.as_ref()); foo_rslice(rrrrrslice); - foo_rslice(rrrrrslice); + foo_rstr(rrrrrstr.as_ref()); foo_rstr(rrrrrstr); - foo_rstr(rrrrrstr); } { let mrrrrrslice = &mut &mut &mut &mut mrslice; + foo_mrslice(mrrrrrslice.as_mut()); foo_mrslice(mrrrrrslice); - foo_mrslice(mrrrrrslice); + foo_rslice(mrrrrrslice.as_ref()); foo_rslice(mrrrrrslice); - foo_rslice(mrrrrrslice); } #[allow(unused_parens, clippy::double_parens)] - foo_rrrrmr((&&&&MoreRef)); + foo_rrrrmr((&&&&MoreRef).as_ref()); generic_not_ok(mrslice); generic_ok(mrslice); } fn ok() { let string = "hello".to_owned(); let mut arr = [1, 2, 3]; let mut vec = vec![1, 2, 3]; { foo_rstr(string.as_ref()); foo_rslice(arr.as_ref()); foo_rslice(vec.as_ref()); } { foo_mrslice(arr.as_mut()); foo_mrslice(vec.as_mut()); } { let rrrrstring = &&&&string; let rrrrarr = &&&&arr; let rrrrvec = &&&&vec; foo_rstr(rrrrstring.as_ref()); foo_rslice(rrrrarr.as_ref()); foo_rslice(rrrrvec.as_ref()); } { let mrrrrarr = &mut &mut &mut &mut arr; let mrrrrvec = &mut &mut &mut &mut vec; foo_mrslice(mrrrrarr.as_mut()); foo_mrslice(mrrrrvec.as_mut()); } FakeAsRef.as_ref(); foo_rrrrmr(MoreRef.as_ref()); generic_not_ok(arr.as_mut()); generic_ok(&mut arr); } fn foo_mrt(t: &mut T) { println!("{:?}", t); } fn foo_rt(t: &T) { println!("{:?}", t); } fn generic_not_ok + AsRef + Debug + ?Sized>(mrt: &mut T) { + foo_mrt(mrt.as_mut()); foo_mrt(mrt); - foo_mrt(mrt); - foo_rt(mrt); + foo_rt(mrt.as_ref()); foo_rt(mrt); } fn generic_ok + AsRef + ?Sized, T: Debug + ?Sized>(mru: &mut U) { foo_mrt(mru.as_mut()); foo_rt(mru.as_ref()); } fn main() { not_ok(); ok(); } The actual fixed differed from the expected fixed. Actual fixed saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/useless_asref.fixed To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'useless_asref.rs' error: 2 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/useless_asref.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/useless_asref.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/useless_asref.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/useless_asref.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/vec.rs stdout ---- normalized stderr: expected stderr: error: useless use of `vec!` --> $DIR/vec.rs:23:14 | LL | on_slice(&vec![]); | ^^^^^^^ help: you can use a slice directly: `&[]` | = note: `-D clippy::useless-vec` implied by `-D warnings` error: useless use of `vec!` --> $DIR/vec.rs:26:14 | LL | on_slice(&vec![1, 2]); | ^^^^^^^^^^^ help: you can use a slice directly: `&[1, 2]` error: useless use of `vec!` --> $DIR/vec.rs:29:14 | LL | on_slice(&vec![1, 2]); | ^^^^^^^^^^^ help: you can use a slice directly: `&[1, 2]` error: useless use of `vec!` --> $DIR/vec.rs:32:14 | LL | on_slice(&vec!(1, 2)); | ^^^^^^^^^^^ help: you can use a slice directly: `&[1, 2]` error: useless use of `vec!` --> $DIR/vec.rs:35:14 | LL | on_slice(&vec![1; 2]); | ^^^^^^^^^^^ help: you can use a slice directly: `&[1; 2]` error: useless use of `vec!` --> $DIR/vec.rs:48:14 | LL | for a in vec![1, 2, 3] { | ^^^^^^^^^^^^^ help: you can use a slice directly: `&[1, 2, 3]` error: aborting due to 6 previous errors diff of stderr: -error: useless use of `vec!` - --> $DIR/vec.rs:23:14 - | -LL | on_slice(&vec![]); - | ^^^^^^^ help: you can use a slice directly: `&[]` - | - = note: `-D clippy::useless-vec` implied by `-D warnings` - -error: useless use of `vec!` - --> $DIR/vec.rs:26:14 - | -LL | on_slice(&vec![1, 2]); - | ^^^^^^^^^^^ help: you can use a slice directly: `&[1, 2]` - -error: useless use of `vec!` - --> $DIR/vec.rs:29:14 - | -LL | on_slice(&vec![1, 2]); - | ^^^^^^^^^^^ help: you can use a slice directly: `&[1, 2]` - -error: useless use of `vec!` - --> $DIR/vec.rs:32:14 - | -LL | on_slice(&vec!(1, 2)); - | ^^^^^^^^^^^ help: you can use a slice directly: `&[1, 2]` - -error: useless use of `vec!` - --> $DIR/vec.rs:35:14 - | -LL | on_slice(&vec![1; 2]); - | ^^^^^^^^^^^ help: you can use a slice directly: `&[1; 2]` - -error: useless use of `vec!` - --> $DIR/vec.rs:48:14 - | -LL | for a in vec![1, 2, 3] { - | ^^^^^^^^^^^^^ help: you can use a slice directly: `&[1, 2, 3]` - -error: aborting due to 6 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/vec.stderr normalized fixed: // run-rustfix #![warn(clippy::useless_vec)] #[derive(Debug)] struct NonCopy; fn on_slice(_: &[u8]) {} #[allow(clippy::ptr_arg)] fn on_vec(_: &Vec) {} struct Line { length: usize, } impl Line { fn length(&self) -> usize { self.length } } fn main() { on_slice(&vec![]); on_slice(&[]); on_slice(&vec![1, 2]); on_slice(&[1, 2]); on_slice(&vec![1, 2]); on_slice(&[1, 2]); #[rustfmt::skip] on_slice(&vec!(1, 2)); on_slice(&[1, 2]); on_slice(&vec![1; 2]); on_slice(&[1; 2]); on_vec(&vec![]); on_vec(&vec![1, 2]); on_vec(&vec![1; 2]); // Now with non-constant expressions let line = Line { length: 2 }; on_slice(&vec![2; line.length]); on_slice(&vec![2; line.length()]); for a in vec![1, 2, 3] { println!("{:?}", a); } for a in vec![NonCopy, NonCopy] { println!("{:?}", a); } } expected fixed: // run-rustfix #![warn(clippy::useless_vec)] #[derive(Debug)] struct NonCopy; fn on_slice(_: &[u8]) {} #[allow(clippy::ptr_arg)] fn on_vec(_: &Vec) {} struct Line { length: usize, } impl Line { fn length(&self) -> usize { self.length } } fn main() { on_slice(&[]); on_slice(&[]); on_slice(&[1, 2]); on_slice(&[1, 2]); on_slice(&[1, 2]); on_slice(&[1, 2]); #[rustfmt::skip] on_slice(&[1, 2]); on_slice(&[1, 2]); on_slice(&[1; 2]); on_slice(&[1; 2]); on_vec(&vec![]); on_vec(&vec![1, 2]); on_vec(&vec![1; 2]); // Now with non-constant expressions let line = Line { length: 2 }; on_slice(&vec![2; line.length]); on_slice(&vec![2; line.length()]); for a in &[1, 2, 3] { println!("{:?}", a); } for a in vec![NonCopy, NonCopy] { println!("{:?}", a); } } diff of fixed: // run-rustfix #![warn(clippy::useless_vec)] #[derive(Debug)] struct NonCopy; fn on_slice(_: &[u8]) {} #[allow(clippy::ptr_arg)] fn on_vec(_: &Vec) {} struct Line { length: usize, } impl Line { fn length(&self) -> usize { self.length } } fn main() { + on_slice(&vec![]); on_slice(&[]); - on_slice(&[]); + on_slice(&vec![1, 2]); on_slice(&[1, 2]); - on_slice(&[1, 2]); + on_slice(&vec![1, 2]); on_slice(&[1, 2]); - on_slice(&[1, 2]); #[rustfmt::skip] + on_slice(&vec!(1, 2)); on_slice(&[1, 2]); - on_slice(&[1, 2]); + on_slice(&vec![1; 2]); on_slice(&[1; 2]); - on_slice(&[1; 2]); on_vec(&vec![]); on_vec(&vec![1, 2]); on_vec(&vec![1; 2]); // Now with non-constant expressions let line = Line { length: 2 }; on_slice(&vec![2; line.length]); on_slice(&vec![2; line.length()]); - for a in &[1, 2, 3] { + for a in vec![1, 2, 3] { println!("{:?}", a); } for a in vec![NonCopy, NonCopy] { println!("{:?}", a); } } The actual fixed differed from the expected fixed. Actual fixed saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/vec.fixed To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'vec.rs' error: 2 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/vec.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/vec.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/vec.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/vec.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/while_loop.rs stdout ---- normalized stderr: expected stderr: error: this loop could be written as a `while let` loop --> $DIR/while_loop.rs:6:5 | LL | / loop { LL | | if let Some(_x) = y { LL | | let _v = 1; LL | | } else { LL | | break; LL | | } LL | | } | |_____^ help: try: `while let Some(_x) = y { .. }` | = note: `-D clippy::while-let-loop` implied by `-D warnings` error: this loop could be written as a `while let` loop --> $DIR/while_loop.rs:20:5 | LL | / loop { LL | | match y { LL | | Some(_x) => true, LL | | None => break, LL | | }; LL | | } | |_____^ help: try: `while let Some(_x) = y { .. }` error: this loop could be written as a `while let` loop --> $DIR/while_loop.rs:26:5 | LL | / loop { LL | | let x = match y { LL | | Some(x) => x, LL | | None => break, ... | LL | | let _str = "foo"; LL | | } | |_____^ help: try: `while let Some(x) = y { .. }` error: this loop could be written as a `while let` loop --> $DIR/while_loop.rs:34:5 | LL | / loop { LL | | let x = match y { LL | | Some(x) => x, LL | | None => break, ... | LL | | } LL | | } | |_____^ help: try: `while let Some(x) = y { .. }` error: this loop could be written as a `while let` loop --> $DIR/while_loop.rs:62:5 | LL | / loop { LL | | let (e, l) = match "".split_whitespace().next() { LL | | Some(word) => (word.is_empty(), word.len()), LL | | None => break, ... | LL | | let _ = (e, l); LL | | } | |_____^ help: try: `while let Some(word) = "".split_whitespace().next() { .. }` error: this loop could be written as a `for` loop --> $DIR/while_loop.rs:72:33 | LL | while let Option::Some(x) = iter.next() { | ^^^^^^^^^^^ help: try: `for x in iter { .. }` | = note: `-D clippy::while-let-on-iterator` implied by `-D warnings` error: this loop could be written as a `for` loop --> $DIR/while_loop.rs:77:25 | LL | while let Some(x) = iter.next() { | ^^^^^^^^^^^ help: try: `for x in iter { .. }` error: this loop could be written as a `for` loop --> $DIR/while_loop.rs:82:25 | LL | while let Some(_) = iter.next() {} | ^^^^^^^^^^^ help: try: `for _ in iter { .. }` error: this loop could be written as a `while let` loop --> $DIR/while_loop.rs:125:5 | LL | / loop { LL | | let _ = match iter.next() { LL | | Some(ele) => ele, LL | | None => break, LL | | }; LL | | loop {} LL | | } | |_____^ help: try: `while let Some(ele) = iter.next() { .. }` error: empty `loop {}` detected. You may want to either use `panic!()` or add `std::thread::sleep(..);` to the loop body. --> $DIR/while_loop.rs:130:9 | LL | loop {} | ^^^^^^^ | = note: `-D clippy::empty-loop` implied by `-D warnings` error: this loop could be written as a `for` loop --> $DIR/while_loop.rs:188:29 | LL | while let Some(v) = y.next() { | ^^^^^^^^ help: try: `for v in y { .. }` error: this loop could be written as a `for` loop --> $DIR/while_loop.rs:216:26 | LL | while let Some(..) = values.iter().next() { | ^^^^^^^^^^^^^^^^^^^^ help: try: `for _ in values.iter() { .. }` error: aborting due to 12 previous errors diff of stderr: -error: this loop could be written as a `while let` loop - --> $DIR/while_loop.rs:6:5 - | -LL | / loop { -LL | | if let Some(_x) = y { -LL | | let _v = 1; -LL | | } else { -LL | | break; -LL | | } -LL | | } - | |_____^ help: try: `while let Some(_x) = y { .. }` - | - = note: `-D clippy::while-let-loop` implied by `-D warnings` - -error: this loop could be written as a `while let` loop - --> $DIR/while_loop.rs:20:5 - | -LL | / loop { -LL | | match y { -LL | | Some(_x) => true, -LL | | None => break, -LL | | }; -LL | | } - | |_____^ help: try: `while let Some(_x) = y { .. }` - -error: this loop could be written as a `while let` loop - --> $DIR/while_loop.rs:26:5 - | -LL | / loop { -LL | | let x = match y { -LL | | Some(x) => x, -LL | | None => break, -... | -LL | | let _str = "foo"; -LL | | } - | |_____^ help: try: `while let Some(x) = y { .. }` - -error: this loop could be written as a `while let` loop - --> $DIR/while_loop.rs:34:5 - | -LL | / loop { -LL | | let x = match y { -LL | | Some(x) => x, -LL | | None => break, -... | -LL | | } -LL | | } - | |_____^ help: try: `while let Some(x) = y { .. }` - -error: this loop could be written as a `while let` loop - --> $DIR/while_loop.rs:62:5 - | -LL | / loop { -LL | | let (e, l) = match "".split_whitespace().next() { -LL | | Some(word) => (word.is_empty(), word.len()), -LL | | None => break, -... | -LL | | let _ = (e, l); -LL | | } - | |_____^ help: try: `while let Some(word) = "".split_whitespace().next() { .. }` - -error: this loop could be written as a `for` loop - --> $DIR/while_loop.rs:72:33 - | -LL | while let Option::Some(x) = iter.next() { - | ^^^^^^^^^^^ help: try: `for x in iter { .. }` - | - = note: `-D clippy::while-let-on-iterator` implied by `-D warnings` - -error: this loop could be written as a `for` loop - --> $DIR/while_loop.rs:77:25 - | -LL | while let Some(x) = iter.next() { - | ^^^^^^^^^^^ help: try: `for x in iter { .. }` - -error: this loop could be written as a `for` loop - --> $DIR/while_loop.rs:82:25 - | -LL | while let Some(_) = iter.next() {} - | ^^^^^^^^^^^ help: try: `for _ in iter { .. }` - -error: this loop could be written as a `while let` loop - --> $DIR/while_loop.rs:125:5 - | -LL | / loop { -LL | | let _ = match iter.next() { -LL | | Some(ele) => ele, -LL | | None => break, -LL | | }; -LL | | loop {} -LL | | } - | |_____^ help: try: `while let Some(ele) = iter.next() { .. }` - -error: empty `loop {}` detected. You may want to either use `panic!()` or add `std::thread::sleep(..);` to the loop body. - --> $DIR/while_loop.rs:130:9 - | -LL | loop {} - | ^^^^^^^ - | - = note: `-D clippy::empty-loop` implied by `-D warnings` - -error: this loop could be written as a `for` loop - --> $DIR/while_loop.rs:188:29 - | -LL | while let Some(v) = y.next() { - | ^^^^^^^^ help: try: `for v in y { .. }` - -error: this loop could be written as a `for` loop - --> $DIR/while_loop.rs:216:26 - | -LL | while let Some(..) = values.iter().next() { - | ^^^^^^^^^^^^^^^^^^^^ help: try: `for _ in values.iter() { .. }` - -error: aborting due to 12 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/while_loop.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'while_loop.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/while_loop.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/while_loop.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/while_loop.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/while_loop.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/wildcard_enum_match_arm.rs stdout ---- normalized stderr: expected stderr: error: wildcard match will miss any future added variants. --> $DIR/wildcard_enum_match_arm.rs:26:9 | LL | _ => eprintln!("Not red"), | ^ help: try this: `Color::Green | Color::Blue | Color::Rgb(..) | Color::Cyan` | note: lint level defined here --> $DIR/wildcard_enum_match_arm.rs:1:9 | LL | #![deny(clippy::wildcard_enum_match_arm)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: wildcard match will miss any future added variants. --> $DIR/wildcard_enum_match_arm.rs:30:9 | LL | _not_red => eprintln!("Not red"), | ^^^^^^^^ help: try this: `_not_red @ Color::Green | _not_red @ Color::Blue | _not_red @ Color::Rgb(..) | _not_red @ Color::Cyan` error: wildcard match will miss any future added variants. --> $DIR/wildcard_enum_match_arm.rs:34:9 | LL | not_red => format!("{:?}", not_red), | ^^^^^^^ help: try this: `not_red @ Color::Green | not_red @ Color::Blue | not_red @ Color::Rgb(..) | not_red @ Color::Cyan` error: wildcard match will miss any future added variants. --> $DIR/wildcard_enum_match_arm.rs:50:9 | LL | _ => "No red", | ^ help: try this: `Color::Red | Color::Green | Color::Blue | Color::Rgb(..) | Color::Cyan` error: aborting due to 4 previous errors diff of stderr: -error: wildcard match will miss any future added variants. - --> $DIR/wildcard_enum_match_arm.rs:26:9 - | -LL | _ => eprintln!("Not red"), - | ^ help: try this: `Color::Green | Color::Blue | Color::Rgb(..) | Color::Cyan` - | -note: lint level defined here - --> $DIR/wildcard_enum_match_arm.rs:1:9 - | -LL | #![deny(clippy::wildcard_enum_match_arm)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: wildcard match will miss any future added variants. - --> $DIR/wildcard_enum_match_arm.rs:30:9 - | -LL | _not_red => eprintln!("Not red"), - | ^^^^^^^^ help: try this: `_not_red @ Color::Green | _not_red @ Color::Blue | _not_red @ Color::Rgb(..) | _not_red @ Color::Cyan` - -error: wildcard match will miss any future added variants. - --> $DIR/wildcard_enum_match_arm.rs:34:9 - | -LL | not_red => format!("{:?}", not_red), - | ^^^^^^^ help: try this: `not_red @ Color::Green | not_red @ Color::Blue | not_red @ Color::Rgb(..) | not_red @ Color::Cyan` - -error: wildcard match will miss any future added variants. - --> $DIR/wildcard_enum_match_arm.rs:50:9 - | -LL | _ => "No red", - | ^ help: try this: `Color::Red | Color::Green | Color::Blue | Color::Rgb(..) | Color::Cyan` - -error: aborting due to 4 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/wildcard_enum_match_arm.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'wildcard_enum_match_arm.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/wildcard_enum_match_arm.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/wildcard_enum_match_arm.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/wildcard_enum_match_arm.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/wildcard_enum_match_arm.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 ---- [ui] ui/wrong_self_convention.rs stdout ---- normalized stderr: expected stderr: error: methods called `from_*` usually take no self; consider choosing a less ambiguous name --> $DIR/wrong_self_convention.rs:17:17 | LL | fn from_i32(self) {} | ^^^^ | = note: `-D clippy::wrong-self-convention` implied by `-D warnings` error: methods called `from_*` usually take no self; consider choosing a less ambiguous name --> $DIR/wrong_self_convention.rs:23:21 | LL | pub fn from_i64(self) {} | ^^^^ error: methods called `as_*` usually take self by reference or self by mutable reference; consider choosing a less ambiguous name --> $DIR/wrong_self_convention.rs:35:15 | LL | fn as_i32(self) {} | ^^^^ error: methods called `into_*` usually take self by value; consider choosing a less ambiguous name --> $DIR/wrong_self_convention.rs:37:17 | LL | fn into_i32(&self) {} | ^^^^^ error: methods called `is_*` usually take self by reference or no self; consider choosing a less ambiguous name --> $DIR/wrong_self_convention.rs:39:15 | LL | fn is_i32(self) {} | ^^^^ error: methods called `to_*` usually take self by reference; consider choosing a less ambiguous name --> $DIR/wrong_self_convention.rs:41:15 | LL | fn to_i32(self) {} | ^^^^ error: methods called `from_*` usually take no self; consider choosing a less ambiguous name --> $DIR/wrong_self_convention.rs:43:17 | LL | fn from_i32(self) {} | ^^^^ error: methods called `as_*` usually take self by reference or self by mutable reference; consider choosing a less ambiguous name --> $DIR/wrong_self_convention.rs:45:19 | LL | pub fn as_i64(self) {} | ^^^^ error: methods called `into_*` usually take self by value; consider choosing a less ambiguous name --> $DIR/wrong_self_convention.rs:46:21 | LL | pub fn into_i64(&self) {} | ^^^^^ error: methods called `is_*` usually take self by reference or no self; consider choosing a less ambiguous name --> $DIR/wrong_self_convention.rs:47:19 | LL | pub fn is_i64(self) {} | ^^^^ error: methods called `to_*` usually take self by reference; consider choosing a less ambiguous name --> $DIR/wrong_self_convention.rs:48:19 | LL | pub fn to_i64(self) {} | ^^^^ error: methods called `from_*` usually take no self; consider choosing a less ambiguous name --> $DIR/wrong_self_convention.rs:49:21 | LL | pub fn from_i64(self) {} | ^^^^ error: aborting due to 12 previous errors diff of stderr: -error: methods called `from_*` usually take no self; consider choosing a less ambiguous name - --> $DIR/wrong_self_convention.rs:17:17 - | -LL | fn from_i32(self) {} - | ^^^^ - | - = note: `-D clippy::wrong-self-convention` implied by `-D warnings` - -error: methods called `from_*` usually take no self; consider choosing a less ambiguous name - --> $DIR/wrong_self_convention.rs:23:21 - | -LL | pub fn from_i64(self) {} - | ^^^^ - -error: methods called `as_*` usually take self by reference or self by mutable reference; consider choosing a less ambiguous name - --> $DIR/wrong_self_convention.rs:35:15 - | -LL | fn as_i32(self) {} - | ^^^^ - -error: methods called `into_*` usually take self by value; consider choosing a less ambiguous name - --> $DIR/wrong_self_convention.rs:37:17 - | -LL | fn into_i32(&self) {} - | ^^^^^ - -error: methods called `is_*` usually take self by reference or no self; consider choosing a less ambiguous name - --> $DIR/wrong_self_convention.rs:39:15 - | -LL | fn is_i32(self) {} - | ^^^^ - -error: methods called `to_*` usually take self by reference; consider choosing a less ambiguous name - --> $DIR/wrong_self_convention.rs:41:15 - | -LL | fn to_i32(self) {} - | ^^^^ - -error: methods called `from_*` usually take no self; consider choosing a less ambiguous name - --> $DIR/wrong_self_convention.rs:43:17 - | -LL | fn from_i32(self) {} - | ^^^^ - -error: methods called `as_*` usually take self by reference or self by mutable reference; consider choosing a less ambiguous name - --> $DIR/wrong_self_convention.rs:45:19 - | -LL | pub fn as_i64(self) {} - | ^^^^ - -error: methods called `into_*` usually take self by value; consider choosing a less ambiguous name - --> $DIR/wrong_self_convention.rs:46:21 - | -LL | pub fn into_i64(&self) {} - | ^^^^^ - -error: methods called `is_*` usually take self by reference or no self; consider choosing a less ambiguous name - --> $DIR/wrong_self_convention.rs:47:19 - | -LL | pub fn is_i64(self) {} - | ^^^^ - -error: methods called `to_*` usually take self by reference; consider choosing a less ambiguous name - --> $DIR/wrong_self_convention.rs:48:19 - | -LL | pub fn to_i64(self) {} - | ^^^^ - -error: methods called `from_*` usually take no self; consider choosing a less ambiguous name - --> $DIR/wrong_self_convention.rs:49:21 - | -LL | pub fn from_i64(self) {} - | ^^^^ - -error: aborting due to 12 previous errors - - The actual stderr differed from the expected stderr. Actual stderr saved to /builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/wrong_self_convention.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base' 'wrong_self_convention.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools-bin/clippy-driver" "tests/ui/wrong_self_convention.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base" "--target=armv7-unknown-linux-gnueabihf" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/wrong_self_convention.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/build/clippy-6f29ccb2f3ed9400/out/test_build_base/wrong_self_convention.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/wrong_self_convention.rs' panicked at 'explicit panic', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/runtest.rs:2632:9 failures: [ui] ui/absurd-extreme-comparisons.rs [ui] ui/assertions_on_constants.rs [ui] ui/assign_ops2.rs [ui] ui/attrs.rs [ui] ui/block_in_if_condition.rs [ui] ui/bool_comparison.rs [ui] ui/booleans.rs [ui] ui/borrow_box.rs [ui] ui/box_vec.rs [ui] ui/builtin-type-shadow.rs [ui] ui/cast_size.rs [ui] ui/cmp_owned.rs [ui] ui/cognitive_complexity.rs [ui] ui/cognitive_complexity_attr_used.rs [ui] ui/collapsible_if.rs [ui] ui/complex_types.rs [ui] ui/const_static_lifetime.rs [ui] ui/copy_iterator.rs [ui] ui/crashes/cc_seme.rs [ui] ui/crashes/ice-2499.rs [ui] ui/crashes/ice-2774.rs [ui] ui/crashes/ice-3741.rs [ui] ui/crashes/if_same_then_else.rs [ui] ui/crashes/issue-825.rs [ui] ui/crashes/issues_loop_mut_cond.rs [ui] ui/crashes/match_same_arms_const.rs [ui] ui/crashes/needless_borrow_fp.rs [ui] ui/crashes/procedural_macro.rs [ui] ui/crashes/used_underscore_binding_macro.rs [ui] ui/dbg_macro.rs [ui] ui/default_trait_access.rs [ui] ui/derive.rs [ui] ui/diverging_sub_expression.rs [ui] ui/dlist.rs [ui] ui/double_parens.rs [ui] ui/drop_forget_copy.rs [ui] ui/duration_subsec.rs [ui] ui/else_if_without_else.rs [ui] ui/empty_line_after_outer_attribute.rs [ui] ui/entry.rs [ui] ui/enums_clike.rs [ui] ui/eq_op.rs [ui] ui/escape_analysis.rs [ui] ui/eta.rs [ui] ui/expect_fun_call.rs [ui] ui/explicit_counter_loop.rs [ui] ui/explicit_write.rs [ui] ui/fallible_impl_from.rs [ui] ui/float_cmp.rs [ui] ui/float_cmp_const.rs [ui] ui/fn_to_numeric_cast.rs [ui] ui/for_loop.rs [ui] ui/functions.rs [ui] ui/get_unwrap.rs [ui] ui/if_not_else.rs [ui] ui/if_same_then_else.rs [ui] ui/ifs_same_cond.rs [ui] ui/implicit_hasher.rs [ui] ui/implicit_return.rs [ui] ui/infinite_iter.rs [ui] ui/infinite_loop.rs [ui] ui/invalid_upcast_comparisons.rs [ui] ui/issue_2356.rs [ui] ui/issue_3849.rs [ui] ui/iter_skip_next.rs [ui] ui/large_digit_groups.rs [ui] ui/len_zero.rs [ui] ui/let_if_seq.rs [ui] ui/let_return.rs [ui] ui/let_unit.rs [ui] ui/lifetimes.rs [ui] ui/lint_without_lint_pass.rs [ui] ui/manual_memcpy.rs [ui] ui/matches.rs [ui] ui/methods.rs [ui] ui/missing_const_for_fn/could_be_const.rs [ui] ui/mut_from_ref.rs [ui] ui/needless_bool.rs [ui] ui/needless_borrow.rs [ui] ui/needless_borrowed_ref.rs [ui] ui/needless_pass_by_value.rs [ui] ui/needless_range_loop.rs [ui] ui/needless_return.rs [ui] ui/neg_multiply.rs [ui] ui/never_loop.rs [ui] ui/new_ret_no_self.rs [ui] ui/new_without_default.rs [ui] ui/no_effect.rs [ui] ui/non_copy_const.rs [ui] ui/non_expressive_names.rs [ui] ui/ok_expect.rs [ui] ui/ok_if_let.rs [ui] ui/option_map_unit_fn.rs [ui] ui/option_option.rs [ui] ui/panic_unimplemented.rs [ui] ui/partialeq_ne_impl.rs [ui] ui/print.rs [ui] ui/question_mark.rs [ui] ui/range_plus_minus_one.rs [ui] ui/redundant_clone.rs [ui] ui/redundant_closure_call.rs [ui] ui/reference.rs [ui] ui/rename.rs [ui] ui/result_map_unit_fn.rs [ui] ui/result_map_unwrap_or_else.rs [ui] ui/serde.rs [ui] ui/shadow.rs [ui] ui/short_circuit_statement.rs [ui] ui/similar_names.rs [ui] ui/string_extend.rs [ui] ui/suspicious_arithmetic_impl.rs [ui] ui/temporary_assignment.rs [ui] ui/transmute.rs [ui] ui/transmute_32bit.rs [ui] ui/transmute_64bit.rs [ui] ui/trivially_copy_pass_by_ref.rs [ui] ui/unit_arg.rs [ui] ui/unit_cmp.rs [ui] ui/unnecessary_clone.rs [ui] ui/unnecessary_filter_map.rs [ui] ui/unnecessary_operation.rs [ui] ui/unreadable_literal.rs [ui] ui/unused_io_amount.rs [ui] ui/unused_labels.rs [ui] ui/unused_lt.rs [ui] ui/unused_unit.rs [ui] ui/use_self.rs [ui] ui/used_underscore_binding.rs [ui] ui/useless_asref.rs [ui] ui/vec.rs [ui] ui/while_loop.rs [ui] ui/wildcard_enum_match_arm.rs [ui] ui/wrong_self_convention.rs test result: FAILED. 156 passed; 133 failed; 0 ignored; 0 measured; 0 filtered out test compile_test ... FAILED failures: ---- compile_test stdout ---- thread 'compile_test' panicked at 'Some tests failed', /builddir/build/BUILD/rustc-1.35.0-src/vendor/compiletest_rs/src/lib.rs:90:22 failures: compile_test test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out command did not execute successfully: "/builddir/build/BUILD/rust-1.34.2-armv7-unknown-linux-gnueabihf/usr/bin/cargo" "test" "--target" "armv7-unknown-linux-gnueabihf" "-j" "4" "--release" "--frozen" "--manifest-path" "/builddir/build/BUILD/rustc-1.35.0-src/src/tools/clippy/Cargo.toml" expected success, got: exit code: 101 1 command(s) did not execute successfully: - "/builddir/build/BUILD/rust-1.34.2-armv7-unknown-linux-gnueabihf/usr/bin/cargo" "test" "--target" "armv7-unknown-linux-gnueabihf" "-j" "4" "--release" "--frozen" "--manifest-path" "/builddir/build/BUILD/rustc-1.35.0-src/src/tools/clippy/Cargo.toml" failed to run: /builddir/build/BUILD/rustc-1.35.0-src/build/bootstrap/debug/bootstrap test --no-fail-fast clippy Build completed unsuccessfully in 0:01:58 Building stage0 std artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) error: test failed, to rerun pass '--test compile-test' + : + python2 ./x.py test --no-fail-fast rls Finished dev [unoptimized] target(s) in 0.53s Finished release [optimized] target(s) in 0.52s Copying stage0 std from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 test artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.49s Copying stage0 test from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 compiler artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.61s Copying stage0 rustc from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 codegen artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf, llvm) Finished release [optimized] target(s) in 0.50s Assembling stage1 compiler (armv7-unknown-linux-gnueabihf) Building stage1 std artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.52s Copying stage1 std from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 test artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.49s Copying stage1 test from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 compiler artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.60s Copying stage1 rustc from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 codegen artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf, llvm) Finished release [optimized] target(s) in 0.50s Assembling stage2 compiler (armv7-unknown-linux-gnueabihf) Uplifting stage1 std (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 std from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Uplifting stage1 test (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 test from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Uplifting stage1 rustc (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 rustc from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage2 tool clippy-driver (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.56s Building stage2 tool rls (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.73s Building rustdoc for stage2 (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.51s Compiling slab v0.4.2 Compiling arc-swap v0.3.7 Compiling difference v2.0.0 Compiling tokio-executor v0.1.6 Compiling net2 v0.2.33 Compiling crossbeam-deque v0.6.3 Compiling signal-hook v0.1.7 Compiling tokio-timer v0.2.8 Compiling tokio-current-thread v0.1.4 Compiling tokio-io v0.1.11 Compiling mio v0.6.16 Compiling tokio-codec v0.1.1 Compiling tokio-threadpool v0.1.10 Compiling lsp-codec v0.1.2 Compiling tokio-reactor v0.1.8 Compiling mio-uds v0.6.7 Compiling tokio-fs v0.1.5 Compiling tokio-tcp v0.1.3 Compiling tokio-signal v0.2.7 Compiling tokio-uds v0.2.5 Compiling tokio-udp v0.1.3 Compiling tokio v0.1.14 Compiling tokio-process v0.2.3 Compiling rls v1.35.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rls) Finished release [optimized] target(s) in 2m 46s Running build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/deps/rls-add319f9dc4f1df1 running 65 tests test actions::diagnostics::diagnostic_message_test::macro_error_no_trait ... ok test actions::diagnostics::diagnostic_message_test::macro_expected_token_nested_expansion ... ok test actions::diagnostics::diagnostic_message_test::message_clippy_identity_op ... ok test actions::diagnostics::diagnostic_message_test::message_cannot_find_type ... ok test actions::diagnostics::diagnostic_message_test::message_consider_borrowing ... ok test actions::diagnostics::diagnostic_message_test::message_not_mutable ... ok test actions::diagnostics::diagnostic_message_test::message_move_out_of_borrow ... ok test actions::diagnostics::diagnostic_message_test::message_unused_use ... ok test actions::diagnostics::diagnostic_message_test::message_type_annotations_needed ... ok test actions::diagnostics::diagnostic_message_test::message_use_after_move ... ok test actions::diagnostics::diagnostic_suggestion_test::suggest_macro_error_no_trait ... ok test actions::diagnostics::diagnostic_suggestion_test::suggest_clippy_const_static ... ok test actions::diagnostics::diagnostic_suggestion_test::suggest_mut_when_not_mut ... ok test actions::diagnostics::diagnostic_suggestion_test::suggest_use_when_cannot_find_type ... ok test actions::diagnostics::diagnostic_message_test::message_mismatched_types ... ok test actions::format::tests::calc_text_edits ... ok test actions::hover::test::test_extract_decl_multiline_empty_function ... ok test actions::hover::test::test_extract_docs_comment_block ... ok test actions::hover::test::test_extract_decl ... ok test actions::hover::test::test_extract_docs_attributes ... ok test actions::hover::test::test_extract_docs_empty_line_before_decl ... ok test actions::hover::test::test_extract_docs_module_docs_no_copyright ... ok test actions::hover::test::test_extract_docs_module_docs ... ok test actions::hover::test::test_extract_docs_module_docs_with_attribute ... ok test actions::hover::test::test_noindent ... ok test actions::hover::test::test_extract_docs_comment_first_line ... ok test actions::hover::test::test_process_docs_racer_returns_extra_slashes ... ok test actions::hover::test::test_process_docs_rust_blocks ... ok test actions::hover::test::test_format_object ... ok test actions::hover::test::test_process_docs_bash_block ... ok test actions::requests::test::test_sort_deglob_str ... ok test actions::test::did_save_relevant_files ... ok test actions::test::file_watch_relevant_files ... ok test actions::hover::test::test_format_method ... ok test actions::test::test_find_word_at_pos ... ok test build::auto_tune_build_wait_no_config ... ok test build::dont_auto_tune_build_wait_configured ... ok test build::cargo::test::test_dedup_flags ... ok test build::external::tests::topological_sort ... ok test build::external::tests::dirties_transitive ... ok test build::external::tests::dirty_units_path_heuristics ... ok test config::clippy_preference_from_str ... ok test cmd::url_workaround_unc_canonicals ... ok test server::io::tests::read_message_fails_on_empty_input ... ok test server::io::tests::read_message_fails_when_content_type_is_invalid ... ok test server::io::tests::read_message_fails_when_header_line_is_invalid ... ok test server::io::tests::read_message_fails_when_input_contains_only_header ... ok test server::io::tests::read_message_fails_when_length_header_is_missing ... ok test server::io::tests::read_message_fails_when_length_is_not_numeric ... ok test server::io::tests::read_message_fails_when_length_is_too_large_integer ... ok test server::io::tests::read_message_returns_message_from_input_with_multiple_headers ... ok test server::io::tests::read_message_returns_message_from_input_with_unknown_headers ... ok test server::message::test::deserialize_message_empty_params ... ok test server::io::tests::read_message_returns_message_from_valid_lsr_input ... ok test server::message::test::raw_message_parses_valid_jsonrpc_request_with_numeric_id ... ok test server::message::test::raw_message_parses_valid_jsonrpc_request_with_string_id ... ok test server::message::test::serialize_message_empty_params ... ok test server::message::test::raw_message_with_string_id_parses_into_request ... ok test server::message::test::serialize_message_no_params ... ok test server::message::test::test_parse_as_notification ... ok test server::test::parse_shutdown_object_params ... ok test server::test::test_use_root_path ... ok test server::test::test_use_root_uri ... ok test server::io::tests::read_message_fails_when_content_is_not_valid_utf8 ... ok test actions::notifications::test::learn_client_use_change_watched ... ok test result: ok. 65 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Running build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/deps/client-11a5cdfa2757dbaa running 50 tests test client_borrow_error ... ok test client_all_features ... ok test client_completion ... ignored test client_all_targets ... ok test client_bin_lib_project ... ok test client_deglob ... ok test client_did_change_configuration_duplicated_and_unknown_settings ... ok test client_dependency_typo_and_fix ... ok test client_changing_workspace_lib_retains_diagnostics ... ok test client_fail_uninitialized_request ... ok test client_find_all_refs_test ... ignored test client_features ... ok test client_find_all_refs_no_cfg_test ... ok test client_find_definitions ... ok test client_format_utf16_range ... ok test client_goto_def ... ok test client_highlight ... ok test client_handle_utf16_unit_text_edits ... ok test client_hover_after_src_line_change ... ignored test client_hover ... ok test client_ignore_uninitialized_notification ... ok test client_infer_lib ... ok test client_init_duplicated_and_unknown_settings ... ok test client_init_with_configuration_camel_case ... ok test client_implicit_workspace_pick_up_lib_changes ... ok test client_init_with_configuration_kebab_case ... ok test client_init_with_configuration_mixed_case ... ok test client_invalid_member_dependency_resolution ... ok test client_invalid_member_toml_manifest ... ok test client_init_with_configuration_snake_case ... ok test client_invalid_toml_manifest ... ok test client_lens_run ... ok thread panicked while panicking. aborting. [2019-10-17T20:21:21Z ERROR rls::server] Can't read message [2019-10-17T20:21:21Z ERROR rls::server] Can't read message thread 'thread 'mainmain' panicked at '' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }', ', src/libcore/result.rssrc/libcore/result.rs::997997::55 note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. error: process didn't exit successfully: `/builddir/build/BUILD/rustc-1.35.0-src/build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/deps/client-11a5cdfa2757dbaa` (signal: 4, SIGILL: illegal instruction) command did not execute successfully: "/builddir/build/BUILD/rust-1.34.2-armv7-unknown-linux-gnueabihf/usr/bin/cargo" "test" "--target" "armv7-unknown-linux-gnueabihf" "-j" "4" "--release" "--frozen" "--manifest-path" "/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rls/Cargo.toml" "--" expected success, got: exit code: 101 1 command(s) did not execute successfully: - "/builddir/build/BUILD/rust-1.34.2-armv7-unknown-linux-gnueabihf/usr/bin/cargo" "test" "--target" "armv7-unknown-linux-gnueabihf" "-j" "4" "--release" "--frozen" "--manifest-path" "/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rls/Cargo.toml" "--" failed to run: /builddir/build/BUILD/rustc-1.35.0-src/build/bootstrap/debug/bootstrap test --no-fail-fast rls Build completed unsuccessfully in 0:03:12 + : + python2 ./x.py test --no-fail-fast rustfmt Finished dev [unoptimized] target(s) in 0.52s Building stage0 std artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.51s Copying stage0 std from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 test artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.49s Copying stage0 test from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 compiler artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.61s Copying stage0 rustc from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage0 codegen artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf, llvm) Finished release [optimized] target(s) in 0.50s Assembling stage1 compiler (armv7-unknown-linux-gnueabihf) Building stage1 std artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.51s Copying stage1 std from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 test artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.49s Copying stage1 test from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 compiler artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.71s Copying stage1 rustc from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage1 codegen artifacts (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf, llvm) Finished release [optimized] target(s) in 0.49s Assembling stage2 compiler (armv7-unknown-linux-gnueabihf) Uplifting stage1 std (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 std from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Uplifting stage1 test (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 test from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Uplifting stage1 rustc (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf) Copying stage2 rustc from stage1 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf) Building stage2 tool rustfmt (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.60s Building rustdoc for stage2 (armv7-unknown-linux-gnueabihf) Finished release [optimized] target(s) in 0.52s Compiling rustfmt-nightly v1.2.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rustfmt) Finished release [optimized] target(s) in 1m 26s Running build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/deps/rustfmt_nightly-e0d805f400d1d715 running 82 tests test comment::test::char_classes ... ok test comment::test::comment_code_slices ... ok test comment::test::comment_code_slices_three ... ok test comment::test::comment_code_slices_two ... ok test comment::test::test_contains_comment ... ok test comment::test::test_find_uncommented ... ok test comment::test::test_uncommented ... ok test config::file_lines::test::test_range_adjacent_to ... ok test config::file_lines::test::test_range_contains ... ok test config::file_lines::test::test_range_intersects ... ok test comment::test::format_doc_comments ... ok test config::file_lines::test::test_range_merge ... ok test config::file_lines::test::file_lines_to_json ... ok test config::options::test_newline_style_auto_apply ... ok test config::license::test::test_parse_license_template ... ok test config::options::test_newline_style_auto_detect ... ok test config::test::test_config_used_to_toml ... ok test config::test::test_config_set ... ok test config::test::test_print_docs_exclude_unstable ... ok test config::test::test_print_docs_include_unstable ... ok test expr::test::test_last_line_offsetted ... ok test config::test::test_was_set ... ok test imports::test::test_use_tree_flatten ... ok test imports::test::test_use_tree_normalize ... ok test imports::test::test_use_tree_ord ... ok test imports::test::test_use_tree_merge ... ok test issues::find_issue ... ok test issues::find_unnumbered_issue ... ok test issues::issue_type ... ok test rustfmt_diff::test::diff_simple ... ok test rustfmt_diff::test::diff_simple2 ... ok test rustfmt_diff::test::diff_trailing_newline ... ok test rustfmt_diff::test::diff_zerocontext ... ok test rustfmt_diff::test::modified_lines_from_str ... ok test shape::test::indent_add_sub ... ok test shape::test::indent_add_sub_alignment ... ok test shape::test::indent_to_string_hard_tabs ... ok test shape::test::indent_to_string_spaces ... ok test shape::test::shape_block_indent_with_alignment ... ok test shape::test::shape_block_indent_without_alignment ... ok test shape::test::shape_visual_indent ... ok test string::test::big_whitespace ... ok test string::test::blank_line_with_non_empty_line_start ... ok test string::test::detect_urls ... ok test string::test::issue343 ... ok test string::test::boundary_on_edge ... ok test string::test::last_line_fit_with_newline ... ok test string::test::newline_in_candidate_line ... ok test string::test::last_line_fit_with_trailing_whitespaces ... ok test string::test::nothing_to_break ... ok test string::test::overflow_in_non_string_content ... ok test string::test::overflow_in_non_string_content_with_line_end ... ok test string::test::should_break_forward ... ok test string::test::should_break_on_whitespace ... ok test string::test::retain_blank_lines ... ok test string::test::should_break_on_punctuation ... ok test string::test::significant_whitespaces ... ok test comment::test::test_filter_normal_code ... ok test test::coverage_tests ... ok test test::format_lines_errors_are_reported ... ok test test::format_lines_errors_are_reported_with_tabs ... ok test test::checkstyle_test ... ok test test::rustfmt_diff_make_diff_tests ... ok test test::modified_test ... ok test test::self_tests ... ok test test::rustfmt_diff_no_diff_test ... ok test test::stdin_disable_all_formatting_test ... ok test test::idempotence_tests ... ok test test::stdin_formatting_smoke_test ... ok test test::stdin_works_with_modified_lines ... ok error: this file contains an un-closed delimiter --> :1:2 | 1 | { | -^ | | | un-closed delimiter error: expected item, found `{` --> :1:1 | 1 | { | ^ expected item error: unexpected close delimiter: `}` --> :1:1 | 1 | } | ^ unexpected close delimiter test test::stdin_parser_panic_caught ... ok test test::string_eq_ignore_newline_repr_test ... ok test test::verify_check_works ... ok test unit_tests::test_format_code_block ... ok test unit_tests::test_format_code_block_fail ... ok test unit_tests::test_format_snippet ... ok test unit_tests::test_no_panic_on_format_snippet_and_format_code_block ... ok test utils::test::test_remove_trailing_white_spaces ... ok test utils::test::test_trim_left_preserve_layout ... ok test test::configuration_snippet_tests ... ok test test::verify_config_test_names ... ok Warning: can't set `indent_style = Block`, unstable features are only available in nightly channel. Warning: can't set `comment_width = 80`, unstable features are only available in nightly channel. Warning: can't set `format_strings = true`, unstable features are only available in nightly channel. Warning: can't set `fn_args_density = Tall`, unstable features are only available in nightly channel. Warning: can't set `brace_style = SameLineWhere`, unstable features are only available in nightly channel. Warning: can't set `trailing_comma = Vertical`, unstable features are only available in nightly channel. Warning: can't set `report_todo = Always`, unstable features are only available in nightly channel. Warning: can't set `report_fixme = Never`, unstable features are only available in nightly channel. Warning: can't set `indent_style = Block`, unstable features are only available in nightly channel. Warning: can't set `comment_width = 80`, unstable features are only available in nightly channel. Warning: can't set `format_strings = true`, unstable features are only available in nightly channel. Warning: can't set `fn_args_density = Tall`, unstable features are only available in nightly channel. Warning: can't set `brace_style = SameLineWhere`, unstable features are only available in nightly channel. Warning: can't set `trailing_comma = Vertical`, unstable features are only available in nightly channel. Warning: can't set `report_todo = Always`, unstable features are only available in nightly channel. Warning: can't set `report_fixme = Never`, unstable features are only available in nightly channel. Ran 358 system tests. test test::system_tests ... ok test result: ok. 82 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Running build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/deps/cargo_fmt-615701768e40858c running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Running build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/deps/git_rustfmt-d205f8fb71754c5e running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Running build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/deps/rustfmt-6aff4bd6da54f96e running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Running build/armv7-unknown-linux-gnueabihf/stage2-tools/armv7-unknown-linux-gnueabihf/release/deps/rustfmt_format_diff-710d508965ed9b7f running 1 test test scan_simple_git_diff ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Doc-tests rustfmt-nightly running 8 tests test src/chains.rs - chains (line 19) ... ignored test src/chains.rs - chains (line 30) ... ignored test src/chains.rs - chains (line 44) ... ignored test src/chains.rs - chains (line 52) ... ignored test src/config/license.rs - config::license::TemplateParser::parse (line 85) ... ignored test src/macros.rs - macros::format_lazy_static (line 1357) ... ignored test src/utils.rs - utils::trim_left_preserve_layout (line 479) ... ignored test src/utils.rs - utils::trim_left_preserve_layout (line 493) ... ignored test result: ok. 0 passed; 0 failed; 8 ignored; 0 measured; 0 filtered out Build completed successfully in 0:01:37 + exit 0 Processing files: rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dKeNrU + umask 022 + cd /builddir/build/BUILD + source scl_source enable rust-toolset-1.35 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/rust-toolset-1.35 +++ cat /etc/scl/conf/rust-toolset-1.35 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled rust-toolset-1.35 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/rust-toolset-1.35/enable ++ source /opt/rh/rust-toolset-1.35/enable +++ export PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ source scl_source enable llvm-toolset-7.0 ++++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++++ '[' -z true ']' ++++ '[' -z enable ']' ++++ shift 1 ++++ '[' -z /etc/scl/conf ']' ++++ for arg in '"$@"' ++++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++++ cat /etc/scl/conf/llvm-toolset-7.0 ++++ _scl_prefix=/opt/rh ++++ '[' 0 -ne 0 ']' ++++ for scl in '${_scls[@]}' ++++ '[' llvm-toolset-7.0 == rust-toolset-1.35 ']' ++++ /usr/bin/scl_enabled llvm-toolset-7.0 ++++ '[' 1 -ne 0 ']' ++++ _scls+=($arg) ++++ _scl_prefixes+=($_scl_prefix) ++++ '[' true == false ']' ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=rust-toolset-1.35 ' ++ X_SCLS='rust-toolset-1.35 ' ++ _i=1 ++ '[' 1 -lt 2 ']' ++ _scl_scriptlet_path=/opt/rh/llvm-toolset-7.0/enable ++ source /opt/rh/llvm-toolset-7.0/enable +++ export PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ export PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ export PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages +++ PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=llvm-toolset-7.0 rust-toolset-1.35 ' ++ X_SCLS='llvm-toolset-7.0 rust-toolset-1.35 ' ++ _i=2 ++ '[' 2 -lt 2 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + cd rustc-1.35.0-src + DOCDIR=/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust-toolset-1.35-rust-1.35.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust-toolset-1.35-rust-1.35.0 + cp -pr README.md /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust-toolset-1.35-rust-1.35.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.iaJO2h + umask 022 + cd /builddir/build/BUILD + source scl_source enable rust-toolset-1.35 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/rust-toolset-1.35 +++ cat /etc/scl/conf/rust-toolset-1.35 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled rust-toolset-1.35 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/rust-toolset-1.35/enable ++ source /opt/rh/rust-toolset-1.35/enable +++ export PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ source scl_source enable llvm-toolset-7.0 ++++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++++ '[' -z true ']' ++++ '[' -z enable ']' ++++ shift 1 ++++ '[' -z /etc/scl/conf ']' ++++ for arg in '"$@"' ++++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++++ cat /etc/scl/conf/llvm-toolset-7.0 ++++ _scl_prefix=/opt/rh ++++ '[' 0 -ne 0 ']' ++++ for scl in '${_scls[@]}' ++++ '[' llvm-toolset-7.0 == rust-toolset-1.35 ']' ++++ /usr/bin/scl_enabled llvm-toolset-7.0 ++++ '[' 1 -ne 0 ']' ++++ _scls+=($arg) ++++ _scl_prefixes+=($_scl_prefix) ++++ '[' true == false ']' ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=rust-toolset-1.35 ' ++ X_SCLS='rust-toolset-1.35 ' ++ _i=1 ++ '[' 1 -lt 2 ']' ++ _scl_scriptlet_path=/opt/rh/llvm-toolset-7.0/enable ++ source /opt/rh/llvm-toolset-7.0/enable +++ export PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ export PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ export PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages +++ PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=llvm-toolset-7.0 rust-toolset-1.35 ' ++ X_SCLS='llvm-toolset-7.0 rust-toolset-1.35 ' ++ _i=2 ++ '[' 2 -lt 2 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + cd rustc-1.35.0-src + LICENSEDIR=/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-rust-1.35.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-rust-1.35.0 + cp -pr COPYRIGHT /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-rust-1.35.0 + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-rust-1.35.0 + cp -pr LICENSE-MIT /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-rust-1.35.0 + cp -pr vendor/backtrace-sys/src/libbacktrace/LICENSE-libbacktrace /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-rust-1.35.0 + exit 0 Provides: bundled(libbacktrace) = 8.1.0 bundled(miniz) = 2.0.7 bundled(rust-bootstrap) = 1.34.0 rust-toolset-1.35-rust = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-rust(armv7hl-32) = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-rustc = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-rustc(armv7hl-32) = 1.35.0-0.el7.0.0.bootstrap scl-package(rust-toolset-1.35) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libLLVM-7.so libLLVM-7.so(LLVM_7) libc.so.6 libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libdl.so.2 libdl.so.2(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.5) libgcc_s.so.1(GCC_4.3.0) libm.so.6 libm.so.6(GLIBC_2.4) libpthread.so.0 libpthread.so.0(GLIBC_2.4) librt.so.1 librt.so.1(GLIBC_2.4) libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(CXXABI_ARM_1.3.3) libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.11) libstdc++.so.6(GLIBCXX_3.4.9) rtld(GNU_HASH) rust-toolset-1.35-runtime Processing files: rust-toolset-1.35-rust-std-static-1.35.0-0.el7.0.0.bootstrap.armv7hl Provides: rust-toolset-1.35-rust-std-static = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-rust-std-static(armv7hl-32) = 1.35.0-0.el7.0.0.bootstrap scl-package(rust-toolset-1.35) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: rust-toolset-1.35-runtime Processing files: rust-toolset-1.35-rust-debugger-common-1.35.0-0.el7.0.0.bootstrap.noarch Provides: rust-toolset-1.35-rust-debugger-common = 1.35.0-0.el7.0.0.bootstrap scl-package(rust-toolset-1.35) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: rust-toolset-1.35-runtime Processing files: rust-toolset-1.35-rust-gdb-1.35.0-0.el7.0.0.bootstrap.noarch Provides: rust-toolset-1.35-rust-gdb = 1.35.0-0.el7.0.0.bootstrap scl-package(rust-toolset-1.35) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh rust-toolset-1.35-runtime Processing files: rust-toolset-1.35-rust-lldb-1.35.0-0.el7.0.0.bootstrap.armv7hl Provides: rust-toolset-1.35-rust-lldb = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-rust-lldb(armv7hl-32) = 1.35.0-0.el7.0.0.bootstrap scl-package(rust-toolset-1.35) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh rust-toolset-1.35-runtime Processing files: rust-toolset-1.35-rust-doc-1.35.0-0.el7.0.0.bootstrap.armv7hl Provides: rust-toolset-1.35-rust-doc = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-rust-doc(armv7hl-32) = 1.35.0-0.el7.0.0.bootstrap Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rust-toolset-1.35-cargo-1.35.0-0.el7.0.0.bootstrap.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.X83ol7 + umask 022 + cd /builddir/build/BUILD + source scl_source enable rust-toolset-1.35 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/rust-toolset-1.35 +++ cat /etc/scl/conf/rust-toolset-1.35 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled rust-toolset-1.35 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/rust-toolset-1.35/enable ++ source /opt/rh/rust-toolset-1.35/enable +++ export PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ source scl_source enable llvm-toolset-7.0 ++++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++++ '[' -z true ']' ++++ '[' -z enable ']' ++++ shift 1 ++++ '[' -z /etc/scl/conf ']' ++++ for arg in '"$@"' ++++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++++ cat /etc/scl/conf/llvm-toolset-7.0 ++++ _scl_prefix=/opt/rh ++++ '[' 0 -ne 0 ']' ++++ for scl in '${_scls[@]}' ++++ '[' llvm-toolset-7.0 == rust-toolset-1.35 ']' ++++ /usr/bin/scl_enabled llvm-toolset-7.0 ++++ '[' 1 -ne 0 ']' ++++ _scls+=($arg) ++++ _scl_prefixes+=($_scl_prefix) ++++ '[' true == false ']' ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=rust-toolset-1.35 ' ++ X_SCLS='rust-toolset-1.35 ' ++ _i=1 ++ '[' 1 -lt 2 ']' ++ _scl_scriptlet_path=/opt/rh/llvm-toolset-7.0/enable ++ source /opt/rh/llvm-toolset-7.0/enable +++ export PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ export PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ export PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages +++ PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=llvm-toolset-7.0 rust-toolset-1.35 ' ++ X_SCLS='llvm-toolset-7.0 rust-toolset-1.35 ' ++ _i=2 ++ '[' 2 -lt 2 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + cd rustc-1.35.0-src + DOCDIR=/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust-toolset-1.35-cargo-1.35.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust-toolset-1.35-cargo-1.35.0 + cp -pr src/tools/cargo/README.md /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust-toolset-1.35-cargo-1.35.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.EGej3Y + umask 022 + cd /builddir/build/BUILD + source scl_source enable rust-toolset-1.35 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/rust-toolset-1.35 +++ cat /etc/scl/conf/rust-toolset-1.35 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled rust-toolset-1.35 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/rust-toolset-1.35/enable ++ source /opt/rh/rust-toolset-1.35/enable +++ export PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ source scl_source enable llvm-toolset-7.0 ++++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++++ '[' -z true ']' ++++ '[' -z enable ']' ++++ shift 1 ++++ '[' -z /etc/scl/conf ']' ++++ for arg in '"$@"' ++++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++++ cat /etc/scl/conf/llvm-toolset-7.0 ++++ _scl_prefix=/opt/rh ++++ '[' 0 -ne 0 ']' ++++ for scl in '${_scls[@]}' ++++ '[' llvm-toolset-7.0 == rust-toolset-1.35 ']' ++++ /usr/bin/scl_enabled llvm-toolset-7.0 ++++ '[' 1 -ne 0 ']' ++++ _scls+=($arg) ++++ _scl_prefixes+=($_scl_prefix) ++++ '[' true == false ']' ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=rust-toolset-1.35 ' ++ X_SCLS='rust-toolset-1.35 ' ++ _i=1 ++ '[' 1 -lt 2 ']' ++ _scl_scriptlet_path=/opt/rh/llvm-toolset-7.0/enable ++ source /opt/rh/llvm-toolset-7.0/enable +++ export PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ export PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ export PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages +++ PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=llvm-toolset-7.0 rust-toolset-1.35 ' ++ X_SCLS='llvm-toolset-7.0 rust-toolset-1.35 ' ++ _i=2 ++ '[' 2 -lt 2 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + cd rustc-1.35.0-src + LICENSEDIR=/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-cargo-1.35.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-cargo-1.35.0 + cp -pr src/tools/cargo/LICENSE-APACHE /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-cargo-1.35.0 + cp -pr src/tools/cargo/LICENSE-MIT /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-cargo-1.35.0 + cp -pr src/tools/cargo/LICENSE-THIRD-PARTY /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-cargo-1.35.0 + exit 0 Provides: bundled(libgit2) = 0.27 bundled(libssh2) = 1.8.1~dev rust-toolset-1.35-cargo = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-cargo(armv7hl-32) = 1.35.0-0.el7.0.0.bootstrap scl-package(rust-toolset-1.35) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.16) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcrypto.so.10 libcrypto.so.10(OPENSSL_1.0.1_EC) libcrypto.so.10(OPENSSL_1.0.2) libcrypto.so.10(libcrypto.so.10) libdl.so.2 libdl.so.2(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.5) libgcc_s.so.1(GCC_4.3.0) libm.so.6 libm.so.6(GLIBC_2.4) libpthread.so.0 libpthread.so.0(GLIBC_2.4) librt.so.1 librt.so.1(GLIBC_2.4) libssl.so.10 libssl.so.10(libssl.so.10) libz.so.1 rtld(GNU_HASH) rust-toolset-1.35-runtime Processing files: rust-toolset-1.35-cargo-doc-1.35.0-0.el7.0.0.bootstrap.noarch Provides: rust-toolset-1.35-cargo-doc = 1.35.0-0.el7.0.0.bootstrap Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rust-toolset-1.35-rustfmt-1.35.0-0.el7.0.0.bootstrap.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.crdO5A + umask 022 + cd /builddir/build/BUILD + source scl_source enable rust-toolset-1.35 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/rust-toolset-1.35 +++ cat /etc/scl/conf/rust-toolset-1.35 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled rust-toolset-1.35 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/rust-toolset-1.35/enable ++ source /opt/rh/rust-toolset-1.35/enable +++ export PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ source scl_source enable llvm-toolset-7.0 ++++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++++ '[' -z true ']' ++++ '[' -z enable ']' ++++ shift 1 ++++ '[' -z /etc/scl/conf ']' ++++ for arg in '"$@"' ++++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++++ cat /etc/scl/conf/llvm-toolset-7.0 ++++ _scl_prefix=/opt/rh ++++ '[' 0 -ne 0 ']' ++++ for scl in '${_scls[@]}' ++++ '[' llvm-toolset-7.0 == rust-toolset-1.35 ']' ++++ /usr/bin/scl_enabled llvm-toolset-7.0 ++++ '[' 1 -ne 0 ']' ++++ _scls+=($arg) ++++ _scl_prefixes+=($_scl_prefix) ++++ '[' true == false ']' ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=rust-toolset-1.35 ' ++ X_SCLS='rust-toolset-1.35 ' ++ _i=1 ++ '[' 1 -lt 2 ']' ++ _scl_scriptlet_path=/opt/rh/llvm-toolset-7.0/enable ++ source /opt/rh/llvm-toolset-7.0/enable +++ export PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ export PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ export PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages +++ PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=llvm-toolset-7.0 rust-toolset-1.35 ' ++ X_SCLS='llvm-toolset-7.0 rust-toolset-1.35 ' ++ _i=2 ++ '[' 2 -lt 2 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + cd rustc-1.35.0-src + DOCDIR=/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust-toolset-1.35-rustfmt-1.35.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust-toolset-1.35-rustfmt-1.35.0 + cp -pr src/tools/rustfmt/README.md src/tools/rustfmt/CHANGELOG.md src/tools/rustfmt/Configurations.md /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust-toolset-1.35-rustfmt-1.35.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.wkWyUg + umask 022 + cd /builddir/build/BUILD + source scl_source enable rust-toolset-1.35 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/rust-toolset-1.35 +++ cat /etc/scl/conf/rust-toolset-1.35 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled rust-toolset-1.35 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/rust-toolset-1.35/enable ++ source /opt/rh/rust-toolset-1.35/enable +++ export PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ source scl_source enable llvm-toolset-7.0 ++++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++++ '[' -z true ']' ++++ '[' -z enable ']' ++++ shift 1 ++++ '[' -z /etc/scl/conf ']' ++++ for arg in '"$@"' ++++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++++ cat /etc/scl/conf/llvm-toolset-7.0 ++++ _scl_prefix=/opt/rh ++++ '[' 0 -ne 0 ']' ++++ for scl in '${_scls[@]}' ++++ '[' llvm-toolset-7.0 == rust-toolset-1.35 ']' ++++ /usr/bin/scl_enabled llvm-toolset-7.0 ++++ '[' 1 -ne 0 ']' ++++ _scls+=($arg) ++++ _scl_prefixes+=($_scl_prefix) ++++ '[' true == false ']' ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=rust-toolset-1.35 ' ++ X_SCLS='rust-toolset-1.35 ' ++ _i=1 ++ '[' 1 -lt 2 ']' ++ _scl_scriptlet_path=/opt/rh/llvm-toolset-7.0/enable ++ source /opt/rh/llvm-toolset-7.0/enable +++ export PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ export PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ export PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages +++ PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=llvm-toolset-7.0 rust-toolset-1.35 ' ++ X_SCLS='llvm-toolset-7.0 rust-toolset-1.35 ' ++ _i=2 ++ '[' 2 -lt 2 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + cd rustc-1.35.0-src + LICENSEDIR=/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-rustfmt-1.35.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-rustfmt-1.35.0 + cp -pr src/tools/rustfmt/LICENSE-APACHE src/tools/rustfmt/LICENSE-MIT /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-rustfmt-1.35.0 + exit 0 Provides: rust-toolset-1.35-rustfmt = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-rustfmt(armv7hl-32) = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-rustfmt-preview = 1.35.0-0.el7.0.0.bootstrap scl-package(rust-toolset-1.35) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libdl.so.2 libdl.so.2(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.5) libgcc_s.so.1(GCC_4.3.0) libm.so.6 libm.so.6(GLIBC_2.4) libpthread.so.0 libpthread.so.0(GLIBC_2.4) librt.so.1 librt.so.1(GLIBC_2.4) rtld(GNU_HASH) rust-toolset-1.35-runtime Obsoletes: rust-toolset-1.35-rustfmt-preview < 1.0.0 Processing files: rust-toolset-1.35-rls-1.35.0-0.el7.0.0.bootstrap.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8wI4Xd + umask 022 + cd /builddir/build/BUILD + source scl_source enable rust-toolset-1.35 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/rust-toolset-1.35 +++ cat /etc/scl/conf/rust-toolset-1.35 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled rust-toolset-1.35 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/rust-toolset-1.35/enable ++ source /opt/rh/rust-toolset-1.35/enable +++ export PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ source scl_source enable llvm-toolset-7.0 ++++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++++ '[' -z true ']' ++++ '[' -z enable ']' ++++ shift 1 ++++ '[' -z /etc/scl/conf ']' ++++ for arg in '"$@"' ++++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++++ cat /etc/scl/conf/llvm-toolset-7.0 ++++ _scl_prefix=/opt/rh ++++ '[' 0 -ne 0 ']' ++++ for scl in '${_scls[@]}' ++++ '[' llvm-toolset-7.0 == rust-toolset-1.35 ']' ++++ /usr/bin/scl_enabled llvm-toolset-7.0 ++++ '[' 1 -ne 0 ']' ++++ _scls+=($arg) ++++ _scl_prefixes+=($_scl_prefix) ++++ '[' true == false ']' ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=rust-toolset-1.35 ' ++ X_SCLS='rust-toolset-1.35 ' ++ _i=1 ++ '[' 1 -lt 2 ']' ++ _scl_scriptlet_path=/opt/rh/llvm-toolset-7.0/enable ++ source /opt/rh/llvm-toolset-7.0/enable +++ export PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ export PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ export PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages +++ PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=llvm-toolset-7.0 rust-toolset-1.35 ' ++ X_SCLS='llvm-toolset-7.0 rust-toolset-1.35 ' ++ _i=2 ++ '[' 2 -lt 2 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + cd rustc-1.35.0-src + DOCDIR=/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust-toolset-1.35-rls-1.35.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust-toolset-1.35-rls-1.35.0 + cp -pr src/tools/rls/README.md src/tools/rls/COPYRIGHT src/tools/rls/debugging.md /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust-toolset-1.35-rls-1.35.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uZGGGe + umask 022 + cd /builddir/build/BUILD + source scl_source enable rust-toolset-1.35 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/rust-toolset-1.35 +++ cat /etc/scl/conf/rust-toolset-1.35 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled rust-toolset-1.35 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/rust-toolset-1.35/enable ++ source /opt/rh/rust-toolset-1.35/enable +++ export PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ source scl_source enable llvm-toolset-7.0 ++++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++++ '[' -z true ']' ++++ '[' -z enable ']' ++++ shift 1 ++++ '[' -z /etc/scl/conf ']' ++++ for arg in '"$@"' ++++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++++ cat /etc/scl/conf/llvm-toolset-7.0 ++++ _scl_prefix=/opt/rh ++++ '[' 0 -ne 0 ']' ++++ for scl in '${_scls[@]}' ++++ '[' llvm-toolset-7.0 == rust-toolset-1.35 ']' ++++ /usr/bin/scl_enabled llvm-toolset-7.0 ++++ '[' 1 -ne 0 ']' ++++ _scls+=($arg) ++++ _scl_prefixes+=($_scl_prefix) ++++ '[' true == false ']' ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=rust-toolset-1.35 ' ++ X_SCLS='rust-toolset-1.35 ' ++ _i=1 ++ '[' 1 -lt 2 ']' ++ _scl_scriptlet_path=/opt/rh/llvm-toolset-7.0/enable ++ source /opt/rh/llvm-toolset-7.0/enable +++ export PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ export PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ export PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages +++ PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=llvm-toolset-7.0 rust-toolset-1.35 ' ++ X_SCLS='llvm-toolset-7.0 rust-toolset-1.35 ' ++ _i=2 ++ '[' 2 -lt 2 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + cd rustc-1.35.0-src + LICENSEDIR=/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-rls-1.35.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-rls-1.35.0 + cp -pr src/tools/rls/LICENSE-APACHE src/tools/rls/LICENSE-MIT /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-rls-1.35.0 + exit 0 Provides: bundled(libgit2) = 0.27 bundled(libssh2) = 1.8.1~dev rust-toolset-1.35-rls = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-rls(armv7hl-32) = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-rls-preview = 1.35.0-0.el7.0.0.bootstrap scl-package(rust-toolset-1.35) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.16) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcrypto.so.10 libcrypto.so.10(OPENSSL_1.0.1_EC) libcrypto.so.10(OPENSSL_1.0.2) libcrypto.so.10(libcrypto.so.10) libdl.so.2 libdl.so.2(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.5) libgcc_s.so.1(GCC_4.3.0) libm.so.6 libm.so.6(GLIBC_2.4) libpthread.so.0 libpthread.so.0(GLIBC_2.4) librt.so.1 librt.so.1(GLIBC_2.4) libssl.so.10 libssl.so.10(libssl.so.10) libz.so.1 rtld(GNU_HASH) rust-toolset-1.35-runtime Obsoletes: rust-toolset-1.35-rls-preview < 1.31.6 Processing files: rust-toolset-1.35-clippy-1.35.0-0.el7.0.0.bootstrap.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vopARu + umask 022 + cd /builddir/build/BUILD + source scl_source enable rust-toolset-1.35 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/rust-toolset-1.35 +++ cat /etc/scl/conf/rust-toolset-1.35 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled rust-toolset-1.35 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/rust-toolset-1.35/enable ++ source /opt/rh/rust-toolset-1.35/enable +++ export PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ source scl_source enable llvm-toolset-7.0 ++++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++++ '[' -z true ']' ++++ '[' -z enable ']' ++++ shift 1 ++++ '[' -z /etc/scl/conf ']' ++++ for arg in '"$@"' ++++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++++ cat /etc/scl/conf/llvm-toolset-7.0 ++++ _scl_prefix=/opt/rh ++++ '[' 0 -ne 0 ']' ++++ for scl in '${_scls[@]}' ++++ '[' llvm-toolset-7.0 == rust-toolset-1.35 ']' ++++ /usr/bin/scl_enabled llvm-toolset-7.0 ++++ '[' 1 -ne 0 ']' ++++ _scls+=($arg) ++++ _scl_prefixes+=($_scl_prefix) ++++ '[' true == false ']' ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=rust-toolset-1.35 ' ++ X_SCLS='rust-toolset-1.35 ' ++ _i=1 ++ '[' 1 -lt 2 ']' ++ _scl_scriptlet_path=/opt/rh/llvm-toolset-7.0/enable ++ source /opt/rh/llvm-toolset-7.0/enable +++ export PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ export PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ export PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages +++ PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=llvm-toolset-7.0 rust-toolset-1.35 ' ++ X_SCLS='llvm-toolset-7.0 rust-toolset-1.35 ' ++ _i=2 ++ '[' 2 -lt 2 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + cd rustc-1.35.0-src + DOCDIR=/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust-toolset-1.35-clippy-1.35.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust-toolset-1.35-clippy-1.35.0 + cp -pr src/tools/clippy/README.md src/tools/clippy/CHANGELOG.md /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust-toolset-1.35-clippy-1.35.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.s5rdzN + umask 022 + cd /builddir/build/BUILD + source scl_source enable rust-toolset-1.35 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/rust-toolset-1.35 +++ cat /etc/scl/conf/rust-toolset-1.35 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled rust-toolset-1.35 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/rust-toolset-1.35/enable ++ source /opt/rh/rust-toolset-1.35/enable +++ export PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ source scl_source enable llvm-toolset-7.0 ++++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++++ '[' -z true ']' ++++ '[' -z enable ']' ++++ shift 1 ++++ '[' -z /etc/scl/conf ']' ++++ for arg in '"$@"' ++++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++++ cat /etc/scl/conf/llvm-toolset-7.0 ++++ _scl_prefix=/opt/rh ++++ '[' 0 -ne 0 ']' ++++ for scl in '${_scls[@]}' ++++ '[' llvm-toolset-7.0 == rust-toolset-1.35 ']' ++++ /usr/bin/scl_enabled llvm-toolset-7.0 ++++ '[' 1 -ne 0 ']' ++++ _scls+=($arg) ++++ _scl_prefixes+=($_scl_prefix) ++++ '[' true == false ']' ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=rust-toolset-1.35 ' ++ X_SCLS='rust-toolset-1.35 ' ++ _i=1 ++ '[' 1 -lt 2 ']' ++ _scl_scriptlet_path=/opt/rh/llvm-toolset-7.0/enable ++ source /opt/rh/llvm-toolset-7.0/enable +++ export PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ export PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ export PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages +++ PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=llvm-toolset-7.0 rust-toolset-1.35 ' ++ X_SCLS='llvm-toolset-7.0 rust-toolset-1.35 ' ++ _i=2 ++ '[' 2 -lt 2 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + cd rustc-1.35.0-src + LICENSEDIR=/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-clippy-1.35.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-clippy-1.35.0 + cp -pr src/tools/clippy/LICENSE-APACHE src/tools/clippy/LICENSE-MIT /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm/opt/rh/rust-toolset-1.35/root/usr/share/licenses/rust-toolset-1.35-clippy-1.35.0 + exit 0 Provides: rust-toolset-1.35-clippy = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-clippy(armv7hl-32) = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-clippy-preview = 1.35.0-0.el7.0.0.bootstrap scl-package(rust-toolset-1.35) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libdl.so.2 libdl.so.2(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.5) libgcc_s.so.1(GCC_4.3.0) libm.so.6 libm.so.6(GLIBC_2.4) libpthread.so.0 libpthread.so.0(GLIBC_2.4) librt.so.1 rtld(GNU_HASH) rust-toolset-1.35-runtime Obsoletes: rust-toolset-1.35-clippy-preview <= 0.0.212 Processing files: rust-toolset-1.35-rust-src-1.35.0-0.el7.0.0.bootstrap.noarch Provides: rust-toolset-1.35-rust-src = 1.35.0-0.el7.0.0.bootstrap scl-package(rust-toolset-1.35) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: rust-toolset-1.35-runtime Processing files: rust-toolset-1.35-rust-analysis-1.35.0-0.el7.0.0.bootstrap.armv7hl Provides: rust-toolset-1.35-rust-analysis = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-rust-analysis(armv7hl-32) = 1.35.0-0.el7.0.0.bootstrap scl-package(rust-toolset-1.35) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: rust-toolset-1.35-runtime Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm Wrote: /builddir/build/RPMS/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.armv7hl.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-rust-std-static-1.35.0-0.el7.0.0.bootstrap.armv7hl.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-rust-debugger-common-1.35.0-0.el7.0.0.bootstrap.noarch.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-rust-gdb-1.35.0-0.el7.0.0.bootstrap.noarch.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-rust-lldb-1.35.0-0.el7.0.0.bootstrap.armv7hl.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-rust-doc-1.35.0-0.el7.0.0.bootstrap.armv7hl.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-cargo-1.35.0-0.el7.0.0.bootstrap.armv7hl.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-cargo-doc-1.35.0-0.el7.0.0.bootstrap.noarch.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-rustfmt-1.35.0-0.el7.0.0.bootstrap.armv7hl.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-rls-1.35.0-0.el7.0.0.bootstrap.armv7hl.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-clippy-1.35.0-0.el7.0.0.bootstrap.armv7hl.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-rust-src-1.35.0-0.el7.0.0.bootstrap.noarch.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-rust-analysis-1.35.0-0.el7.0.0.bootstrap.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RLSbSP + umask 022 + cd /builddir/build/BUILD + source scl_source enable rust-toolset-1.35 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/rust-toolset-1.35 +++ cat /etc/scl/conf/rust-toolset-1.35 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled rust-toolset-1.35 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/rust-toolset-1.35/enable ++ source /opt/rh/rust-toolset-1.35/enable +++ export PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ source scl_source enable llvm-toolset-7.0 ++++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++++ '[' -z true ']' ++++ '[' -z enable ']' ++++ shift 1 ++++ '[' -z /etc/scl/conf ']' ++++ for arg in '"$@"' ++++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++++ cat /etc/scl/conf/llvm-toolset-7.0 ++++ _scl_prefix=/opt/rh ++++ '[' 0 -ne 0 ']' ++++ for scl in '${_scls[@]}' ++++ '[' llvm-toolset-7.0 == rust-toolset-1.35 ']' ++++ /usr/bin/scl_enabled llvm-toolset-7.0 ++++ '[' 1 -ne 0 ']' ++++ _scls+=($arg) ++++ _scl_prefixes+=($_scl_prefix) ++++ '[' true == false ']' ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=rust-toolset-1.35 ' ++ X_SCLS='rust-toolset-1.35 ' ++ _i=1 ++ '[' 1 -lt 2 ']' ++ _scl_scriptlet_path=/opt/rh/llvm-toolset-7.0/enable ++ source /opt/rh/llvm-toolset-7.0/enable +++ export PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/llvm-toolset-7.0/root/usr/sbin:/opt/rh/rust-toolset-1.35/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib:/opt/rh/rust-toolset-1.35/root/usr/lib +++ export MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ MANPATH=/opt/rh/llvm-toolset-7.0/root/usr/share/man:/opt/rh/rust-toolset-1.35/root/usr/share/man: +++ export PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/pkgconfig::/opt/rh/rust-toolset-1.35/root/usr/lib/pkgconfig:/opt/rh/rust-toolset-1.35/root/usr/share/pkgconfig +++ export PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages +++ PYTHONPATH=/opt/rh/llvm-toolset-7.0/root/usr/lib/python2.7/site-packages ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=llvm-toolset-7.0 rust-toolset-1.35 ' ++ X_SCLS='llvm-toolset-7.0 rust-toolset-1.35 ' ++ _i=2 ++ '[' 2 -lt 2 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + cd rustc-1.35.0-src + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.arm + exit 0 Child return code was: 0