Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/rust-1.35.0-0.el7.0.0.bootstrap-20191017174201-10410/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.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 i686 --nodeps /builddir/build/SPECS/rust.spec'] with env {'LANG': 'en_GB.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: i686 Building for target i686 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 i686 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/rust-1.35.0-0.el7.0.0.bootstrap-20191017174201-10410/root'shell=Falseuid=1005env={'LANG': 'en_GB.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 i686 --nodeps /builddir/build/SPECS/rust.spec'] with env {'LANG': 'en_GB.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: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Tcqpz1 + 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-i686-unknown-linux-gnu + /usr/bin/xz -dc /builddir/build/SOURCES/rust-1.34.2-i686-unknown-linux-gnu.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rust-1.34.2-i686-unknown-linux-gnu + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + ./install.sh --components=cargo,rustc,rust-std-i686-unknown-linux-gnu --prefix=/builddir/build/BUILD/rust-1.34.2-i686-unknown-linux-gnu/usr --disable-ldconfig install: creating uninstall script at /builddir/build/BUILD/rust-1.34.2-i686-unknown-linux-gnu/usr/lib/rustlib/uninstall.sh install: installing component 'cargo' install: installing component 'rustc' install: installing component 'rust-std-i686-unknown-linux-gnu' Rust is ready to roll. + test -f /builddir/build/BUILD/rust-1.34.2-i686-unknown-linux-gnu/usr/bin/cargo + test -f /builddir/build/BUILD/rust-1.34.2-i686-unknown-linux-gnu/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 Patch #4 (0001-bump-bootstrap-fix-compiletest-wrt.-exclude_should_p.patch): + echo '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.HFeXzE + 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 Linux x86-01.bsys.centos.org 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 i686 i686 i386 GNU/Linux + uname -a + lscpu Architecture: i686 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 40 On-line CPU(s) list: 0-39 Thread(s) per core: 2 Core(s) per socket: 10 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 79 Model name: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz Stepping: 1 CPU MHz: 2507.629 CPU max MHz: 3100.0000 CPU min MHz: 1200.0000 BogoMIPS: 4399.96 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 25600K NUMA node0 CPU(s): 0-9,20-29 NUMA node1 CPU(s): 10-19,30-39 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 intel_ppin intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a rdseed adx smap xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts + free total used free shared buff/cache available Mem: 131918076 1119512 113427392 1430392 17371172 128430240 Swap: 4194300 0 4194300 + df -h . Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_x86--01-root 197G 13G 184G 7% / + 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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/opt/rh/rust-toolset-1.35/root/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' i386 == 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/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' + 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' ++ scl enable llvm-toolset-7.0 -- llvm-config --prefix + ./configure --build=i386-redhat-linux-gnu --host=i386-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=i686-unknown-linux-gnu --host=i686-unknown-linux-gnu --target=i686-unknown-linux-gnu --local-rust-root=/builddir/build/BUILD/rust-1.34.2-i686-unknown-linux-gnu/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 := i686-unknown-linux-gnu configure: build.rustc := /builddir/build/BUILD/rust-1.34.2-i686-unknown ... configure: build.cargo := /builddir/build/BUILD/rust-1.34.2-i686-unknown ... 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 := ['i686-unknown-linux-gnu'] configure: rust.verbose-tests := True configure: target.i686-unknown-linux-gnu.llvm-config := /opt/rh/llvm-toolset-7.0/ ... configure: build.target := ['i686-unknown-linux-gnu'] 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=i386-redhat-linux-gnu', '--host=i386 ... 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 ordermap v0.3.5 Compiling cfg-if v0.1.6 Compiling build_helper v0.1.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/build_helper) Compiling getopts v0.2.17 Compiling lazy_static v0.2.11 Compiling petgraph v0.4.13 Compiling filetime v0.2.4 Compiling time v0.1.40 Compiling num_cpus v1.8.0 Compiling cmake v0.1.33 Compiling quote v0.6.10 Compiling syn v0.15.22 Compiling serde_derive v1.0.81 Compiling serde_json v1.0.33 Compiling toml v0.4.10 Compiling bootstrap v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/bootstrap) Finished dev [unoptimized] target(s) in 40.92s Building stage0 std artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) 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 49.73s Copying stage0 std from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 test artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Compiling term v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libterm) Compiling getopts v0.2.17 Compiling proc_macro v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libproc_macro) Compiling test v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libtest) Finished release [optimized] target(s) in 23.35s Copying stage0 test from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 compiler artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Compiling semver-parser v0.7.0 Compiling nodrop v0.1.12 Compiling cfg-if v0.1.6 Compiling libc v0.2.51 Compiling memoffset v0.2.1 Compiling void v1.0.2 Compiling lazy_static v1.2.0 Compiling rand_core v0.3.0 Compiling scopeguard v0.3.3 Compiling rustc-rayon-core v0.1.2 Compiling stable_deref_trait v1.1.0 Compiling rustc-rayon v0.1.2 Compiling proc-macro2 v0.4.24 Compiling byteorder v1.2.7 Compiling either v1.5.0 Compiling bitflags v1.0.4 Compiling unicode-width v0.1.5 Compiling unicode-xid v0.1.0 Compiling graphviz v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libgraphviz) 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 lazy_static v0.2.11 Compiling termcolor v1.0.4 Compiling syntax v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libsyntax) Compiling datafrog v2.0.1 Compiling rustc v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc) Compiling remove_dir_all v0.5.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_fs_util v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_fs_util) Compiling rustc_metadata v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_metadata) 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 owning_ref v0.3.3 Compiling log_settings v0.1.2 Compiling smallvec v0.6.7 Compiling chalk-macros v0.1.0 Compiling humantime v1.2.0 Compiling itertools v0.8.0 Compiling lock_api v0.1.3 Compiling rand_isaac v0.1.1 Compiling rand_xorshift v0.1.0 Compiling rand_hc v0.1.0 Compiling ena v0.13.0 Compiling rustc_cratesio_shim v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_cratesio_shim) Compiling rustc-hash v1.0.1 Compiling serialize v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libserialize) Compiling crossbeam-epoch v0.3.1 Compiling rustc_apfloat v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_apfloat) Compiling polonius-engine v0.6.2 Compiling chalk-engine v0.9.0 Compiling semver v0.9.0 Compiling crossbeam-deque v0.2.0 Compiling num_cpus v1.8.0 Compiling jobserver v0.1.13 Compiling atty v0.2.11 Compiling memmap v0.6.2 Compiling env_logger v0.5.13 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 quote v0.6.10 Compiling syn v0.15.22 Compiling miniz-sys v0.1.11 Compiling backtrace-sys v0.1.27 Compiling tempfile v3.0.5 Compiling rls-span v0.4.1 Compiling flate2 v1.0.6 Compiling parking_lot v0.7.1 Compiling backtrace v0.3.11 Compiling rls-data v0.18.2 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_typeck v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_typeck) Compiling rustc_mir v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_mir) Compiling rustc_allocator v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_allocator) 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_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_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_interface v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_interface) 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 6m 16s Copying stage0 rustc from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 codegen artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu, llvm) Compiling build_helper v0.1.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/build_helper) Compiling libc v0.2.51 Compiling cc v1.0.28 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 49.60s Assembling stage1 compiler (i686-unknown-linux-gnu) Building stage1 std artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Compiling cc v1.0.28 Compiling core v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libcore) Compiling libc v0.2.51 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 1m 04s Copying stage1 std from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 test artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Compiling getopts v0.2.17 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 test v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libtest) Finished release [optimized] target(s) in 30.15s Copying stage1 test from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 compiler artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Compiling semver-parser v0.7.0 Compiling nodrop v0.1.12 Compiling cfg-if v0.1.6 Compiling libc v0.2.51 Compiling rand_core v0.3.0 Compiling scopeguard v0.3.3 Compiling memoffset v0.2.1 Compiling lazy_static v1.2.0 Compiling void v1.0.2 Compiling stable_deref_trait v1.1.0 Compiling rustc-rayon-core v0.1.2 Compiling rustc-rayon v0.1.2 Compiling unicode-width v0.1.5 Compiling bitflags v1.0.4 Compiling either v1.5.0 Compiling byteorder v1.2.7 Compiling proc-macro2 v0.4.24 Compiling unicode-xid v0.1.0 Compiling graphviz v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libgraphviz) 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 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 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-demangle v0.1.10 Compiling fmt_macros v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libfmt_macros) Compiling rustc_fs_util v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_fs_util) Compiling rustc_metadata v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_metadata) 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 owning_ref v0.3.3 Compiling log_settings v0.1.2 Compiling chalk-macros v0.1.0 Compiling smallvec v0.6.7 Compiling humantime v1.2.0 Compiling itertools v0.8.0 Compiling lock_api v0.1.3 Compiling rand_xorshift v0.1.0 Compiling rand_hc v0.1.0 Compiling rand_isaac v0.1.1 Compiling rustc-hash v1.0.1 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 serialize v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libserialize) Compiling crossbeam-epoch v0.3.1 Compiling rustc_apfloat v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_apfloat) Compiling chalk-engine v0.9.0 Compiling polonius-engine v0.6.2 Compiling semver v0.9.0 Compiling crossbeam-deque v0.2.0 Compiling num_cpus v1.8.0 Compiling jobserver v0.1.13 Compiling atty v0.2.11 Compiling memmap v0.6.2 Compiling env_logger v0.5.13 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 quote v0.6.10 Compiling syn v0.15.22 Compiling tempfile v3.0.5 Compiling miniz-sys v0.1.11 Compiling backtrace-sys v0.1.27 Compiling parking_lot v0.7.1 Compiling rls-span v0.4.1 Compiling rls-data v0.18.2 Compiling rustc_data_structures v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_data_structures) Compiling flate2 v1.0.6 Compiling backtrace v0.3.11 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_typeck v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_typeck) Compiling rustc_mir v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_mir) 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_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_codegen_utils v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_codegen_utils) Compiling rustc_borrowck v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_borrowck) Compiling rustc_save_analysis v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_save_analysis) Compiling rustc_interface v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/librustc_interface) 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 8m 02s Copying stage1 rustc from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 codegen artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu, llvm) Compiling cc v1.0.28 Compiling build_helper v0.1.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/build_helper) Compiling libc v0.2.51 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 59.22s Assembling stage2 compiler (i686-unknown-linux-gnu) Uplifting stage1 std (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 std from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Uplifting stage1 test (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 test from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Uplifting stage1 rustc (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 rustc from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage2 tool cargo (i686-unknown-linux-gnu) Compiling proc-macro2 v0.4.24 Compiling unicode-xid v0.1.0 Compiling serde v1.0.82 Compiling semver-parser v0.7.0 Compiling libc v0.2.51 Compiling version_check v0.1.5 Compiling cc v1.0.28 Compiling pkg-config v0.3.14 Compiling void v1.0.2 Compiling rand_core v0.3.0 Compiling matches v0.1.8 Compiling stable_deref_trait v1.1.0 Compiling cfg-if v0.1.6 Compiling lazy_static v1.2.0 Compiling ryu v0.2.7 Compiling nodrop v0.1.12 Compiling regex v1.1.0 Compiling failure_derive v0.1.5 Compiling unicode-normalization v0.1.7 Compiling scopeguard v0.3.3 Compiling ucd-util v0.1.3 Compiling foreign-types-shared v0.1.1 Compiling rustc-demangle v0.1.10 Compiling crc32fast v1.1.2 Compiling openssl v0.10.16 Compiling utf8-ranges v1.0.2 Compiling percent-encoding v1.0.1 Compiling memoffset v0.2.1 Compiling typenum v1.10.0 Compiling byteorder v1.2.7 Compiling quick-error v1.2.2 Compiling openssl-probe v0.1.2 Compiling itoa v0.4.3 Compiling fnv v1.0.6 Compiling same-file v1.0.4 Compiling unicode-width v0.1.5 Compiling bitflags v1.0.4 Compiling strsim v0.7.0 Compiling ansi_term v0.11.0 Compiling termcolor v1.0.4 Compiling remove_dir_all v0.5.1 Compiling vec_map v0.8.1 Compiling hex v0.3.2 Compiling home v0.3.3 Compiling lazycell v1.2.1 Compiling shell-escape v0.1.4 Compiling bytesize v1.0.0 Compiling glob v0.3.0 Compiling crossbeam-utils v0.6.2 Compiling log v0.4.6 Compiling unicode-bidi v0.3.4 Compiling arrayvec v0.4.7 Compiling owning_ref v0.3.3 Compiling unreachable v1.0.0 Compiling foreign-types v0.3.2 Compiling thread_local v0.3.6 Compiling humantime v1.2.0 Compiling textwrap v0.10.0 Compiling walkdir v2.2.7 Compiling rand_xorshift v0.1.0 Compiling rand_isaac v0.1.1 Compiling rand_hc v0.1.0 Compiling smallvec v0.6.7 Compiling regex-syntax v0.6.4 Compiling lock_api v0.1.3 Compiling crossbeam-epoch v0.7.0 Compiling memchr v2.1.1 Compiling iovec v0.1.2 Compiling socket2 v0.3.8 Compiling filetime v0.2.4 Compiling atty v0.2.11 Compiling num_cpus v1.8.0 Compiling fs2 v0.4.3 Compiling jobserver v0.1.13 Compiling clap v2.32.0 Compiling bytes v0.4.11 Compiling tar v0.4.20 Compiling aho-corasick v0.6.9 Compiling http v0.1.16 Compiling quote v0.6.10 Compiling openssl-sys v0.9.40 Compiling libz-sys v1.0.25 Compiling libnghttp2-sys v0.1.1 Compiling backtrace-sys v0.1.27 Compiling libssh2-sys v0.2.11 Compiling curl-sys v0.4.15 Compiling libgit2-sys v0.7.11 Compiling miniz-sys v0.1.11 Compiling syn v0.15.22 Compiling idna v0.1.5 Compiling flate2 v1.0.6 Compiling backtrace v0.3.11 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 failure v0.1.5 Compiling opener v0.3.2 Compiling url v1.7.2 Compiling serde_json v1.0.33 Compiling semver v0.9.0 Compiling serde_ignored v0.0.4 Compiling toml v0.5.0 Compiling url_serde v0.2.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 im-rc v12.3.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 git2 v0.8.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 git2-curl v0.9.0 Compiling cargo v0.36.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/cargo) Finished release [optimized] target(s) in 2m 22s Building stage2 tool clippy-driver (i686-unknown-linux-gnu) Compiling matches v0.1.8 Compiling rustc-demangle v0.1.10 Compiling cfg-if v0.1.6 Compiling itoa v0.4.3 Compiling unicode-normalization v0.1.7 Compiling pulldown-cmark v0.2.0 Compiling void v1.0.2 Compiling lazy_static v1.2.0 Compiling either v1.5.0 Compiling percent-encoding v1.0.1 Compiling ucd-util v0.1.3 Compiling getopts v0.2.17 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 utf8-ranges v1.0.2 Compiling quine-mc_cluskey v0.2.4 Compiling if_chain v0.1.3 Compiling libc v0.2.51 Compiling ryu v0.2.7 Compiling regex v1.1.0 Compiling backtrace-sys v0.1.27 Compiling memchr v2.1.1 Compiling error-chain v0.12.0 Compiling toml v0.4.10 Compiling unicode-bidi v0.3.4 Compiling unreachable v1.0.0 Compiling thread_local v0.3.6 Compiling smallvec v0.6.7 Compiling itertools v0.8.0 Compiling regex-syntax v0.6.4 Compiling cargo_metadata v0.7.1 Compiling serde_json v1.0.33 Compiling clippy v0.0.212 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/clippy) Compiling aho-corasick v0.6.9 Compiling backtrace v0.3.11 Compiling idna v0.1.5 Compiling clippy_lints v0.0.212 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/clippy/clippy_lints) Compiling url v1.7.2 Finished release [optimized] target(s) in 1m 53s Building stage2 tool rls (i686-unknown-linux-gnu) Compiling rustc-rayon-core v0.1.2 Compiling rustc-rayon v0.1.2 Compiling rustc-ap-graphviz v407.0.0 Compiling scoped-tls v1.0.0 Compiling rustc-ap-rustc_target v407.0.0 Compiling num-traits v0.2.6 Compiling rayon-core v1.4.0 Compiling rustc-serialize v0.3.24 Compiling rustc-ap-syntax v407.0.0 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 unicode-segmentation v1.2.1 Compiling diff v0.1.11 Compiling unicode_categories v0.1.1 Compiling json v0.11.13 Compiling futures v0.1.21 Compiling bytecount v0.5.1 Compiling ordslice v0.3.0 Compiling rls-blacklist v0.1.3 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 fst v0.3.0 Compiling term v0.5.1 Compiling itertools v0.7.8 Compiling rustc-ap-rustc_cratesio_shim v407.0.0 Compiling ena v0.11.0 Compiling rustc-ap-serialize v407.0.0 Compiling rand v0.4.3 Compiling dirs v1.0.4 Compiling derive_more v0.13.0 Compiling derive-new v0.5.6 Compiling crossbeam-epoch v0.3.1 Compiling rls v1.35.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rls) Compiling heck v0.3.0 Compiling crossbeam-deque v0.2.0 Compiling rayon v1.0.1 Compiling jsonrpc-core v10.0.1 Compiling rustc-ap-rustc_data_structures v407.0.0 Compiling rls-span v0.4.1 Compiling rls-data v0.18.2 Compiling rls-vfs v0.7.0 Compiling lsp-types v0.55.4 Compiling rustc-ap-arena v407.0.0 Compiling rustc-ap-syntax_pos v407.0.0 Compiling rls-analysis v0.16.12 Compiling rustc-ap-rustc_errors v407.0.0 Compiling racer v2.1.21 Finished release [optimized] target(s) in 2m 25s Building rustdoc for stage2 (i686-unknown-linux-gnu) Compiling semver-parser v0.7.0 Compiling libc v0.2.51 Compiling rand_core v0.3.0 Compiling void v1.0.2 Compiling stable_deref_trait v1.1.0 Compiling pulldown-cmark v0.1.2 Compiling scopeguard v0.3.3 Compiling cfg-if v0.1.6 Compiling bitflags v0.9.1 Compiling remove_dir_all v0.5.1 Compiling macro-utils v0.1.2 Compiling minifier v0.0.29 Compiling owning_ref v0.3.3 Compiling unreachable v1.0.0 Compiling smallvec v0.6.7 Compiling lock_api v0.1.3 Compiling rand_xorshift v0.1.0 Compiling rand_isaac v0.1.1 Compiling rand_hc v0.1.0 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 1m 10s Building stage2 tool rustfmt (i686-unknown-linux-gnu) Compiling rustfmt-nightly v1.2.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rustfmt) Finished release [optimized] target(s) in 5.95s Building stage2 tool miri (i686-unknown-linux-gnu) 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 51.29s Build completed successfully in 0:28:27 + python2 ./x.py doc Finished dev [unoptimized] target(s) in 0.25s Building stage0 std artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Copying stage0 std from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 test artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.23s Copying stage0 test from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 compiler artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.29s Copying stage0 rustc from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 codegen artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu, llvm) Finished release [optimized] target(s) in 0.23s Assembling stage1 compiler (i686-unknown-linux-gnu) Building stage1 std artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Copying stage1 std from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 test artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.23s Copying stage1 test from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 compiler artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.28s Copying stage1 rustc from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 codegen artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu, llvm) Finished release [optimized] target(s) in 0.23s Assembling stage2 compiler (i686-unknown-linux-gnu) Uplifting stage1 std (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 std from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Generating unstable book md files (i686-unknown-linux-gnu) Building stage0 tool unstable-book-gen (i686-unknown-linux-gnu) Compiling proc-macro2 v0.4.24 Compiling unicode-xid v0.1.0 Compiling ryu v0.2.7 Compiling serde v1.0.82 Compiling itoa v0.4.3 Compiling num-traits v0.2.6 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 28.39s Building stage0 tool rustbook (i686-unknown-linux-gnu) Compiling libc v0.2.51 Compiling siphasher v0.2.2 Compiling string_cache_shared v0.3.0 Compiling void v1.0.2 Compiling cc v1.0.28 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 num-traits v0.2.6 Compiling precomputed-hash v0.1.1 Compiling cfg-if v0.1.6 Compiling lazy_static v1.2.0 Compiling rustc-demangle v0.1.10 Compiling matches v0.1.8 Compiling maplit v1.0.1 Compiling utf-8 v0.7.2 Compiling unicode-xid v0.0.4 Compiling rand_core v0.3.0 Compiling regex v1.1.0 Compiling unicode-normalization v0.1.7 Compiling regex v0.2.11 Compiling ucd-util v0.1.3 Compiling unicode-segmentation v1.2.1 Compiling num-integer v0.1.39 Compiling quote v0.3.15 Compiling unicode-width v0.1.5 Compiling pulldown-cmark v0.1.2 Compiling percent-encoding v1.0.1 Compiling quick-error v1.2.2 Compiling pest v1.0.6 Compiling utf8-ranges v1.0.2 Compiling same-file v1.0.4 Compiling strsim v0.7.0 Compiling is-match v0.1.0 Compiling vec_map v0.8.1 Compiling bitflags v1.0.4 Compiling ansi_term v0.11.0 Compiling termcolor v1.0.4 Compiling bitflags v0.9.1 Compiling either v1.5.0 Compiling strum v0.11.0 Compiling getopts v0.2.17 Compiling remove_dir_all v0.5.1 Compiling shlex v0.1.1 Compiling open v1.2.1 Compiling serde v1.0.82 Compiling ryu v0.2.7 Compiling log v0.4.6 Compiling unicode-bidi v0.3.4 Compiling unreachable v1.0.0 Compiling thread_local v0.3.6 Compiling humantime v1.2.0 Compiling textwrap v0.10.0 Compiling synom v0.11.3 Compiling itertools v0.7.8 Compiling walkdir v2.2.7 Compiling phf_shared v0.7.22 Compiling regex-syntax v0.5.6 Compiling regex-syntax v0.6.4 Compiling rand_isaac v0.1.1 Compiling rand_hc v0.1.0 Compiling rand_xorshift v0.1.0 Compiling heck v0.3.0 Compiling memchr v2.1.1 Compiling new_debug_unreachable v1.0.1 Compiling toml v0.4.10 Compiling pest v2.1.0 Compiling syn v0.15.22 Compiling futf v0.1.4 Compiling semver v0.9.0 Compiling phf v0.7.22 Compiling syn v0.11.11 Compiling tendril v0.4.0 Compiling rand v0.4.3 Compiling time v0.1.40 Compiling atty v0.2.11 Compiling rustc_version v0.2.3 Compiling clap v2.32.0 Compiling aho-corasick v0.6.9 Compiling rand_chacha v0.1.0 Compiling rand_pcg v0.1.1 Compiling rand v0.6.1 Compiling pest_meta v2.1.0 Compiling chrono v0.4.6 Compiling phf_generator v0.7.22 Compiling string_cache_codegen v0.4.2 Compiling phf_codegen v0.7.22 Compiling string_cache v0.7.3 Compiling backtrace-sys v0.1.27 Compiling pest_derive v1.0.8 Compiling tempfile v3.0.5 Compiling idna v0.1.5 Compiling backtrace v0.3.11 Compiling error-chain v0.11.0 Compiling error-chain v0.12.0 Compiling mdbook v0.1.7 Compiling serde_json v1.0.33 Compiling toml-query v0.6.0 Compiling handlebars v0.32.4 Compiling toml-query v0.7.0 Compiling env_logger v0.5.13 Compiling serde_derive v1.0.81 Compiling html5ever v0.22.5 Compiling pest_generator v2.1.0 Compiling strum_macros v0.11.0 Compiling pest_derive v2.1.0 Compiling handlebars v1.1.0 Compiling url v1.7.2 Compiling markup5ever v0.7.2 Compiling elasticlunr-rs v2.3.4 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 1m 12s Rustbook (i686-unknown-linux-gnu) - unstable-book Rustbook (i686-unknown-linux-gnu) - book Rustbook (i686-unknown-linux-gnu) - book/first-edition Rustbook (i686-unknown-linux-gnu) - book/second-edition Rustbook (i686-unknown-linux-gnu) - book/2018-edition Documenting standalone (i686-unknown-linux-gnu) Building rustdoc for stage2 (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Documenting book redirect pages (i686-unknown-linux-gnu) Documenting stage2 std (i686-unknown-linux-gnu) Building rustdoc for stage1 (i686-unknown-linux-gnu) 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 remove_dir_all v0.5.1 Compiling cfg-if v0.1.6 Compiling bitflags v0.9.1 Compiling macro-utils v0.1.2 Compiling minifier v0.0.29 Compiling owning_ref v0.3.3 Compiling unreachable v1.0.0 Compiling smallvec v0.6.7 Compiling lock_api v0.1.3 Compiling rand_xorshift v0.1.0 Compiling rand_isaac v0.1.1 Compiling rand_hc v0.1.0 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 55.64s 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 28.49s Documenting core v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libcore) Finished release [optimized] target(s) in 17.68s 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 16.82s Documenting stage2 test (i686-unknown-linux-gnu) Checking proc_macro v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libproc_macro) Checking term v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libterm) Checking getopts v0.2.17 Documenting test v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libtest) Finished release [optimized] target(s) in 5.52s Documenting stage2 whitelisted compiler (i686-unknown-linux-gnu) Documenting proc_macro v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/libproc_macro) Finished release [optimized] target(s) in 3.12s Documenting stage2 compiler (i686-unknown-linux-gnu) skipping - compiler/librustdoc docs disabled Documenting stage2 rustdoc (i686-unknown-linux-gnu) skipping - compiler/librustdoc docs disabled Documenting error index (i686-unknown-linux-gnu) Uplifting stage1 test (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 test from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Uplifting stage1 rustc (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 rustc from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage2 tool error_index_generator (i686-unknown-linux-gnu) Compiling pulldown-cmark v0.1.2 Compiling scopeguard v0.3.3 Compiling macro-utils v0.1.2 Compiling bitflags v0.9.1 Compiling semver v0.9.0 Compiling smallvec v0.6.7 Compiling minifier v0.0.29 Compiling lock_api v0.1.3 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 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 1m 10s Rustbook (i686-unknown-linux-gnu) - nomicon Rustbook (i686-unknown-linux-gnu) - reference Rustbook (i686-unknown-linux-gnu) - rustdoc Rustbook (i686-unknown-linux-gnu) - rust-by-example Rustbook (i686-unknown-linux-gnu) - rustc Cargo Book (i686-unknown-linux-gnu) - cargo Rustbook (i686-unknown-linux-gnu) - embedded-book Rustbook (i686-unknown-linux-gnu) - edition-guide Build completed successfully in 0:05:12 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CTTgUv + 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.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386 ++ dirname /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386 + 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.i386 + python2 ./x.py install Finished dev [unoptimized] target(s) in 0.25s Dist docs (i686-unknown-linux-gnu) Building stage0 std artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Copying stage0 std from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 test artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.22s Copying stage0 test from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 compiler artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.29s Copying stage0 rustc from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 codegen artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu, llvm) Finished release [optimized] target(s) in 0.23s Assembling stage1 compiler (i686-unknown-linux-gnu) Building stage1 std artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Copying stage1 std from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 test artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.23s Copying stage1 test from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 compiler artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.28s Copying stage1 rustc from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 codegen artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu, llvm) Finished release [optimized] target(s) in 0.23s Assembling stage2 compiler (i686-unknown-linux-gnu) Uplifting stage1 std (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 std from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Generating unstable book md files (i686-unknown-linux-gnu) Building stage0 tool unstable-book-gen (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.23s Building stage0 tool rustbook (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.29s Rustbook (i686-unknown-linux-gnu) - unstable-book Documenting standalone (i686-unknown-linux-gnu) Building rustdoc for stage2 (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Documenting book redirect pages (i686-unknown-linux-gnu) Documenting stage2 std (i686-unknown-linux-gnu) Building rustdoc for stage1 (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Finished release [optimized] target(s) in 0.43s Finished release [optimized] target(s) in 0.43s Finished release [optimized] target(s) in 0.44s Documenting stage2 test (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.43s Documenting stage2 whitelisted compiler (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.44s Documenting stage2 compiler (i686-unknown-linux-gnu) skipping - compiler/librustdoc docs disabled Documenting stage2 rustdoc (i686-unknown-linux-gnu) skipping - compiler/librustdoc docs disabled Documenting error index (i686-unknown-linux-gnu) Uplifting stage1 test (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 test from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Uplifting stage1 rustc (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 rustc from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage2 tool error_index_generator (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Cargo Book (i686-unknown-linux-gnu) - cargo Building stage0 tool fabricate (i686-unknown-linux-gnu) Compiling nodrop v0.1.12 Compiling pkg-config v0.3.14 Compiling scopeguard v0.3.3 Compiling memoffset v0.2.1 Compiling rayon-core v1.4.0 Compiling crc32fast v1.1.2 Compiling yaml-rust v0.3.5 Compiling crossbeam-utils v0.2.2 Compiling miniz-sys v0.1.11 Compiling filetime v0.2.4 Compiling num_cpus v1.8.0 Compiling rand v0.4.3 Compiling xattr v0.2.2 Compiling arrayvec v0.4.7 Compiling tar v0.4.20 Compiling crossbeam-epoch v0.3.1 Compiling crossbeam-deque v0.2.0 Compiling flate2 v1.0.6 Compiling lzma-sys v0.1.10 Compiling clap v2.32.0 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 16.90s Install docs stage2 (Some("i686-unknown-linux-gnu")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/uninstall.sh install: installing component 'rust-docs' Rust documentation is installed. Dist std stage2 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Install std stage2 (Some("i686-unknown-linux-gnu")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/uninstall.sh install: installing component 'rust-std-i686-unknown-linux-gnu' std is standing at the ready. Dist cargo stage2 (i686-unknown-linux-gnu) Building stage2 tool cargo (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.30s Install cargo stage2 (Some("i686-unknown-linux-gnu")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/uninstall.sh install: installing component 'cargo' Rust is ready to roll. Dist RLS stage2 (i686-unknown-linux-gnu) Building stage2 tool clippy-driver (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.27s Building stage2 tool rls (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.34s Install rls stage2 (Some("i686-unknown-linux-gnu")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/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.i386/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-MIT install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/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.i386/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/README.md RLS ready to serve. Dist Rustfmt stage2 (i686-unknown-linux-gnu) Building stage2 tool rustfmt (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.28s Building stage2 tool cargo-fmt (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.29s Install rustfmt stage2 (Some("i686-unknown-linux-gnu")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/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.i386/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-MIT install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/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.i386/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/README.md rustfmt ready to fmt. Dist clippy stage2 (i686-unknown-linux-gnu) Building stage2 tool cargo-clippy (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.27s Install clippy stage2 (Some("i686-unknown-linux-gnu")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/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.i386/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-MIT install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/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.i386/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/README.md clippy ready to serve. Dist miri stage2 (i686-unknown-linux-gnu) Building stage2 tool miri (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.26s Building stage2 tool cargo-miri (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.26s Install miri stage2 (Some("i686-unknown-linux-gnu")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/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.i386/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-MIT install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/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.i386/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/README.md miri ready to serve. Dist analysis image_src: "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage1-std/i686-unknown-linux-gnu/release/deps/save-analysis", dst: "/builddir/build/BUILD/rustc-1.35.0-src/build/tmp/dist/rust-analysis-1.35.0-i686-unknown-linux-gnu-image/lib/rustlib/i686-unknown-linux-gnu/analysis" Install analysis stage2 (Some("i686-unknown-linux-gnu")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/uninstall.sh install: installing component 'rust-analysis-i686-unknown-linux-gnu' 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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/uninstall.sh install: installing component 'rust-src' Awesome Source. Dist rustc stage2 (i686-unknown-linux-gnu) Install rustc stage2 (Some("i686-unknown-linux-gnu")) install: creating uninstall script at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/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.i386/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/LICENSE-MIT install: backing up existing file at /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/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.i386/opt/rh/rust-toolset-1.35/root/usr/share/doc/rust/README.md Rust is ready to roll. Build completed successfully in 0:04:34 + find /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_target-dcb2d0867ab12791.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_interface-0b6ec00055c4aacb.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_cratesio_shim-5450ba3ba091e8a1.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_borrowck-bfcfdcc4b931f68b.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc-2684a8a7d66319de.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/libfmt_macros-edfd827aac6baf69.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/libgraphviz-89f0ed355ce8ca1c.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_codegen_ssa-ae1b04adaff1330b.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/libsyntax_ext-24c5f4a2e220ce2b.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_mir-e1610fbb543355b7.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_fs_util-8c07c42d691cad7f.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_lint-096ac21d14ec81c9.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/libsyntax_pos-45213b8742ddf2fa.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_privacy-da2d4b22a0fc8cb5.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/libsyntax-76a563c2641575f3.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_data_structures-2d4e221acacfecb4.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_resolve-e6394410c4b31de1.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_metadata-b91865a0da903b3a.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_incremental-5f598ac5d81fee8e.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_allocator-8f8702c730b8ea4b.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_passes-9eebf2d07c1ac21b.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_codegen_utils-97d7b453effdc809.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_typeck-2fbcd401705917d6.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/libtest-027149a50a7732ce.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/libserialize-d88ca88a763b050e.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/libarena-8fc96444c77cd6c0.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_traits-3075759a2bcb3c0d.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_errors-096876a0b0709f19.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/libterm-c31031be1b451ae2.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_plugin-fc82009d062015ea.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_driver-a93616382a707c76.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_save_analysis-d0d9f3113c840878.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/librustc_macros-a66b9872f2b7490a.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/libstd-5c450fec7662f1f2.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib + find ../../../../lib -maxdepth 1 -name '*.so' + read lib + cmp ../../../../lib/librustc_target-dcb2d0867ab12791.so librustc_target-dcb2d0867ab12791.so + ln -v -f -s -t . ../../../../lib/librustc_target-dcb2d0867ab12791.so './librustc_target-dcb2d0867ab12791.so' -> '../../../../lib/librustc_target-dcb2d0867ab12791.so' + read lib + cmp ../../../../lib/librustc_interface-0b6ec00055c4aacb.so librustc_interface-0b6ec00055c4aacb.so + ln -v -f -s -t . ../../../../lib/librustc_interface-0b6ec00055c4aacb.so './librustc_interface-0b6ec00055c4aacb.so' -> '../../../../lib/librustc_interface-0b6ec00055c4aacb.so' + read lib + cmp ../../../../lib/librustc_cratesio_shim-5450ba3ba091e8a1.so librustc_cratesio_shim-5450ba3ba091e8a1.so + ln -v -f -s -t . ../../../../lib/librustc_cratesio_shim-5450ba3ba091e8a1.so './librustc_cratesio_shim-5450ba3ba091e8a1.so' -> '../../../../lib/librustc_cratesio_shim-5450ba3ba091e8a1.so' + read lib + cmp ../../../../lib/librustc_borrowck-bfcfdcc4b931f68b.so librustc_borrowck-bfcfdcc4b931f68b.so + ln -v -f -s -t . ../../../../lib/librustc_borrowck-bfcfdcc4b931f68b.so './librustc_borrowck-bfcfdcc4b931f68b.so' -> '../../../../lib/librustc_borrowck-bfcfdcc4b931f68b.so' + read lib + cmp ../../../../lib/librustc-2684a8a7d66319de.so librustc-2684a8a7d66319de.so + ln -v -f -s -t . ../../../../lib/librustc-2684a8a7d66319de.so './librustc-2684a8a7d66319de.so' -> '../../../../lib/librustc-2684a8a7d66319de.so' + read lib + cmp ../../../../lib/libfmt_macros-edfd827aac6baf69.so libfmt_macros-edfd827aac6baf69.so + ln -v -f -s -t . ../../../../lib/libfmt_macros-edfd827aac6baf69.so './libfmt_macros-edfd827aac6baf69.so' -> '../../../../lib/libfmt_macros-edfd827aac6baf69.so' + read lib + cmp ../../../../lib/libgraphviz-89f0ed355ce8ca1c.so libgraphviz-89f0ed355ce8ca1c.so + ln -v -f -s -t . ../../../../lib/libgraphviz-89f0ed355ce8ca1c.so './libgraphviz-89f0ed355ce8ca1c.so' -> '../../../../lib/libgraphviz-89f0ed355ce8ca1c.so' + read lib + cmp ../../../../lib/librustc_codegen_ssa-ae1b04adaff1330b.so librustc_codegen_ssa-ae1b04adaff1330b.so + ln -v -f -s -t . ../../../../lib/librustc_codegen_ssa-ae1b04adaff1330b.so './librustc_codegen_ssa-ae1b04adaff1330b.so' -> '../../../../lib/librustc_codegen_ssa-ae1b04adaff1330b.so' + read lib + cmp ../../../../lib/libsyntax_ext-24c5f4a2e220ce2b.so libsyntax_ext-24c5f4a2e220ce2b.so + ln -v -f -s -t . ../../../../lib/libsyntax_ext-24c5f4a2e220ce2b.so './libsyntax_ext-24c5f4a2e220ce2b.so' -> '../../../../lib/libsyntax_ext-24c5f4a2e220ce2b.so' + read lib + cmp ../../../../lib/librustc_mir-e1610fbb543355b7.so librustc_mir-e1610fbb543355b7.so + ln -v -f -s -t . ../../../../lib/librustc_mir-e1610fbb543355b7.so './librustc_mir-e1610fbb543355b7.so' -> '../../../../lib/librustc_mir-e1610fbb543355b7.so' + read lib + cmp ../../../../lib/librustc_fs_util-8c07c42d691cad7f.so librustc_fs_util-8c07c42d691cad7f.so + ln -v -f -s -t . ../../../../lib/librustc_fs_util-8c07c42d691cad7f.so './librustc_fs_util-8c07c42d691cad7f.so' -> '../../../../lib/librustc_fs_util-8c07c42d691cad7f.so' + read lib + cmp ../../../../lib/librustc_lint-096ac21d14ec81c9.so librustc_lint-096ac21d14ec81c9.so + ln -v -f -s -t . ../../../../lib/librustc_lint-096ac21d14ec81c9.so './librustc_lint-096ac21d14ec81c9.so' -> '../../../../lib/librustc_lint-096ac21d14ec81c9.so' + read lib + cmp ../../../../lib/libsyntax_pos-45213b8742ddf2fa.so libsyntax_pos-45213b8742ddf2fa.so + ln -v -f -s -t . ../../../../lib/libsyntax_pos-45213b8742ddf2fa.so './libsyntax_pos-45213b8742ddf2fa.so' -> '../../../../lib/libsyntax_pos-45213b8742ddf2fa.so' + read lib + cmp ../../../../lib/librustc_privacy-da2d4b22a0fc8cb5.so librustc_privacy-da2d4b22a0fc8cb5.so + ln -v -f -s -t . ../../../../lib/librustc_privacy-da2d4b22a0fc8cb5.so './librustc_privacy-da2d4b22a0fc8cb5.so' -> '../../../../lib/librustc_privacy-da2d4b22a0fc8cb5.so' + read lib + cmp ../../../../lib/libsyntax-76a563c2641575f3.so libsyntax-76a563c2641575f3.so + ln -v -f -s -t . ../../../../lib/libsyntax-76a563c2641575f3.so './libsyntax-76a563c2641575f3.so' -> '../../../../lib/libsyntax-76a563c2641575f3.so' + read lib + cmp ../../../../lib/librustc_data_structures-2d4e221acacfecb4.so librustc_data_structures-2d4e221acacfecb4.so + ln -v -f -s -t . ../../../../lib/librustc_data_structures-2d4e221acacfecb4.so './librustc_data_structures-2d4e221acacfecb4.so' -> '../../../../lib/librustc_data_structures-2d4e221acacfecb4.so' + read lib + cmp ../../../../lib/librustc_resolve-e6394410c4b31de1.so librustc_resolve-e6394410c4b31de1.so + ln -v -f -s -t . ../../../../lib/librustc_resolve-e6394410c4b31de1.so './librustc_resolve-e6394410c4b31de1.so' -> '../../../../lib/librustc_resolve-e6394410c4b31de1.so' + read lib + cmp ../../../../lib/librustc_metadata-b91865a0da903b3a.so librustc_metadata-b91865a0da903b3a.so + ln -v -f -s -t . ../../../../lib/librustc_metadata-b91865a0da903b3a.so './librustc_metadata-b91865a0da903b3a.so' -> '../../../../lib/librustc_metadata-b91865a0da903b3a.so' + read lib + cmp ../../../../lib/librustc_incremental-5f598ac5d81fee8e.so librustc_incremental-5f598ac5d81fee8e.so + ln -v -f -s -t . ../../../../lib/librustc_incremental-5f598ac5d81fee8e.so './librustc_incremental-5f598ac5d81fee8e.so' -> '../../../../lib/librustc_incremental-5f598ac5d81fee8e.so' + read lib + cmp ../../../../lib/librustc_allocator-8f8702c730b8ea4b.so librustc_allocator-8f8702c730b8ea4b.so + ln -v -f -s -t . ../../../../lib/librustc_allocator-8f8702c730b8ea4b.so './librustc_allocator-8f8702c730b8ea4b.so' -> '../../../../lib/librustc_allocator-8f8702c730b8ea4b.so' + read lib + cmp ../../../../lib/librustc_passes-9eebf2d07c1ac21b.so librustc_passes-9eebf2d07c1ac21b.so + ln -v -f -s -t . ../../../../lib/librustc_passes-9eebf2d07c1ac21b.so './librustc_passes-9eebf2d07c1ac21b.so' -> '../../../../lib/librustc_passes-9eebf2d07c1ac21b.so' + read lib + cmp ../../../../lib/librustc_codegen_utils-97d7b453effdc809.so librustc_codegen_utils-97d7b453effdc809.so + ln -v -f -s -t . ../../../../lib/librustc_codegen_utils-97d7b453effdc809.so './librustc_codegen_utils-97d7b453effdc809.so' -> '../../../../lib/librustc_codegen_utils-97d7b453effdc809.so' + read lib + cmp ../../../../lib/librustc_typeck-2fbcd401705917d6.so librustc_typeck-2fbcd401705917d6.so + ln -v -f -s -t . ../../../../lib/librustc_typeck-2fbcd401705917d6.so './librustc_typeck-2fbcd401705917d6.so' -> '../../../../lib/librustc_typeck-2fbcd401705917d6.so' + read lib + cmp ../../../../lib/libtest-027149a50a7732ce.so libtest-027149a50a7732ce.so + ln -v -f -s -t . ../../../../lib/libtest-027149a50a7732ce.so './libtest-027149a50a7732ce.so' -> '../../../../lib/libtest-027149a50a7732ce.so' + read lib + cmp ../../../../lib/libserialize-d88ca88a763b050e.so libserialize-d88ca88a763b050e.so + ln -v -f -s -t . ../../../../lib/libserialize-d88ca88a763b050e.so './libserialize-d88ca88a763b050e.so' -> '../../../../lib/libserialize-d88ca88a763b050e.so' + read lib + cmp ../../../../lib/libarena-8fc96444c77cd6c0.so libarena-8fc96444c77cd6c0.so + ln -v -f -s -t . ../../../../lib/libarena-8fc96444c77cd6c0.so './libarena-8fc96444c77cd6c0.so' -> '../../../../lib/libarena-8fc96444c77cd6c0.so' + read lib + cmp ../../../../lib/librustc_traits-3075759a2bcb3c0d.so librustc_traits-3075759a2bcb3c0d.so + ln -v -f -s -t . ../../../../lib/librustc_traits-3075759a2bcb3c0d.so './librustc_traits-3075759a2bcb3c0d.so' -> '../../../../lib/librustc_traits-3075759a2bcb3c0d.so' + read lib + cmp ../../../../lib/librustc_errors-096876a0b0709f19.so librustc_errors-096876a0b0709f19.so + ln -v -f -s -t . ../../../../lib/librustc_errors-096876a0b0709f19.so './librustc_errors-096876a0b0709f19.so' -> '../../../../lib/librustc_errors-096876a0b0709f19.so' + read lib + cmp ../../../../lib/libterm-c31031be1b451ae2.so libterm-c31031be1b451ae2.so + ln -v -f -s -t . ../../../../lib/libterm-c31031be1b451ae2.so './libterm-c31031be1b451ae2.so' -> '../../../../lib/libterm-c31031be1b451ae2.so' + read lib + cmp ../../../../lib/librustc_plugin-fc82009d062015ea.so librustc_plugin-fc82009d062015ea.so + ln -v -f -s -t . ../../../../lib/librustc_plugin-fc82009d062015ea.so './librustc_plugin-fc82009d062015ea.so' -> '../../../../lib/librustc_plugin-fc82009d062015ea.so' + read lib + cmp ../../../../lib/librustc_driver-a93616382a707c76.so librustc_driver-a93616382a707c76.so + ln -v -f -s -t . ../../../../lib/librustc_driver-a93616382a707c76.so './librustc_driver-a93616382a707c76.so' -> '../../../../lib/librustc_driver-a93616382a707c76.so' + read lib + cmp ../../../../lib/librustc_save_analysis-d0d9f3113c840878.so librustc_save_analysis-d0d9f3113c840878.so + ln -v -f -s -t . ../../../../lib/librustc_save_analysis-d0d9f3113c840878.so './librustc_save_analysis-d0d9f3113c840878.so' -> '../../../../lib/librustc_save_analysis-d0d9f3113c840878.so' + read lib + cmp ../../../../lib/librustc_macros-a66b9872f2b7490a.so librustc_macros-a66b9872f2b7490a.so + ln -v -f -s -t . ../../../../lib/librustc_macros-a66b9872f2b7490a.so './librustc_macros-a66b9872f2b7490a.so' -> '../../../../lib/librustc_macros-a66b9872f2b7490a.so' + read lib + cmp ../../../../lib/libstd-5c450fec7662f1f2.so libstd-5c450fec7662f1f2.so + ln -v -f -s -t . ../../../../lib/libstd-5c450fec7662f1f2.so './libstd-5c450fec7662f1f2.so' -> '../../../../lib/libstd-5c450fec7662f1f2.so' + read lib + find /builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/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.i386/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.i386/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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/manifest-rust-analysis-i686-unknown-linux-gnu' removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/manifest-rust-std-i686-unknown-linux-gnu' removed '/builddir/build/BUILDROOT/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libterm-c31031be1b451ae2.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libterm-c31031be1b451ae2.rlib(term-c31031be1b451ae2.term.a2dln26p-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libscoped_tls-6ac81a4eac46f8b0.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libscoped_tls-6ac81a4eac46f8b0.rlib(scoped_tls-6ac81a4eac46f8b0.scoped_tls.aipap0zl-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libscoped_tls-6ac81a4eac46f8b0.rlib(scoped_tls-6ac81a4eac46f8b0.scoped_tls.aipap0zl-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libscoped_tls-6ac81a4eac46f8b0.rlib(scoped_tls-6ac81a4eac46f8b0.scoped_tls.aipap0zl-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libscoped_tls-6ac81a4eac46f8b0.rlib(scoped_tls-6ac81a4eac46f8b0.scoped_tls.aipap0zl-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libscoped_tls-6ac81a4eac46f8b0.rlib(scoped_tls-6ac81a4eac46f8b0.scoped_tls.aipap0zl-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libgetopts-ab2ef8be74b3f676.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libgetopts-ab2ef8be74b3f676.rlib(getopts-ab2ef8be74b3f676.getopts.cda7f4ds-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.rlib(flate2-0395ef351c01e81f.flate2.84m5g5p9-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.rlib(flate2-0395ef351c01e81f.flate2.84m5g5p9-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.rlib(flate2-0395ef351c01e81f.flate2.84m5g5p9-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.rlib(flate2-0395ef351c01e81f.flate2.84m5g5p9-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.rlib(flate2-0395ef351c01e81f.flate2.84m5g5p9-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.rlib(flate2-0395ef351c01e81f.flate2.84m5g5p9-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.rlib(flate2-0395ef351c01e81f.flate2.84m5g5p9-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.rlib(flate2-0395ef351c01e81f.flate2.84m5g5p9-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.rlib(flate2-0395ef351c01e81f.flate2.84m5g5p9-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.rlib(flate2-0395ef351c01e81f.flate2.84m5g5p9-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.rlib(flate2-0395ef351c01e81f.flate2.84m5g5p9-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.rlib(flate2-0395ef351c01e81f.flate2.84m5g5p9-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.rlib(flate2-0395ef351c01e81f.flate2.84m5g5p9-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.rlib(flate2-0395ef351c01e81f.flate2.84m5g5p9-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.rlib(flate2-0395ef351c01e81f.flate2.84m5g5p9-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-0395ef351c01e81f.rlib(flate2-0395ef351c01e81f.flate2.84m5g5p9-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-cb10710d24eda154.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-cb10710d24eda154.rlib(rls_span-cb10710d24eda154.rls_span.15x28ra3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-cb10710d24eda154.rlib(rls_span-cb10710d24eda154.rls_span.15x28ra3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-cb10710d24eda154.rlib(rls_span-cb10710d24eda154.rls_span.15x28ra3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-cb10710d24eda154.rlib(rls_span-cb10710d24eda154.rls_span.15x28ra3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-cb10710d24eda154.rlib(rls_span-cb10710d24eda154.rls_span.15x28ra3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-cb10710d24eda154.rlib(rls_span-cb10710d24eda154.rls_span.15x28ra3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-cb10710d24eda154.rlib(rls_span-cb10710d24eda154.rls_span.15x28ra3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-cb10710d24eda154.rlib(rls_span-cb10710d24eda154.rls_span.15x28ra3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-cb10710d24eda154.rlib(rls_span-cb10710d24eda154.rls_span.15x28ra3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-cb10710d24eda154.rlib(rls_span-cb10710d24eda154.rls_span.15x28ra3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-cb10710d24eda154.rlib(rls_span-cb10710d24eda154.rls_span.15x28ra3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-cb10710d24eda154.rlib(rls_span-cb10710d24eda154.rls_span.15x28ra3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-cb10710d24eda154.rlib(rls_span-cb10710d24eda154.rls_span.15x28ra3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-cb10710d24eda154.rlib(rls_span-cb10710d24eda154.rls_span.15x28ra3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-cb10710d24eda154.rlib(rls_span-cb10710d24eda154.rls_span.15x28ra3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.rlib(crossbeam_epoch-42fd8ba634de7cbe.crossbeam_epoch.d897yevz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.rlib(crossbeam_epoch-42fd8ba634de7cbe.crossbeam_epoch.d897yevz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.rlib(crossbeam_epoch-42fd8ba634de7cbe.crossbeam_epoch.d897yevz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.rlib(crossbeam_epoch-42fd8ba634de7cbe.crossbeam_epoch.d897yevz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.rlib(crossbeam_epoch-42fd8ba634de7cbe.crossbeam_epoch.d897yevz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.rlib(crossbeam_epoch-42fd8ba634de7cbe.crossbeam_epoch.d897yevz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.rlib(crossbeam_epoch-42fd8ba634de7cbe.crossbeam_epoch.d897yevz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.rlib(crossbeam_epoch-42fd8ba634de7cbe.crossbeam_epoch.d897yevz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.rlib(crossbeam_epoch-42fd8ba634de7cbe.crossbeam_epoch.d897yevz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.rlib(crossbeam_epoch-42fd8ba634de7cbe.crossbeam_epoch.d897yevz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.rlib(crossbeam_epoch-42fd8ba634de7cbe.crossbeam_epoch.d897yevz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.rlib(crossbeam_epoch-42fd8ba634de7cbe.crossbeam_epoch.d897yevz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.rlib(crossbeam_epoch-42fd8ba634de7cbe.crossbeam_epoch.d897yevz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.rlib(crossbeam_epoch-42fd8ba634de7cbe.crossbeam_epoch.d897yevz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.rlib(crossbeam_epoch-42fd8ba634de7cbe.crossbeam_epoch.d897yevz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-42fd8ba634de7cbe.rlib(crossbeam_epoch-42fd8ba634de7cbe.crossbeam_epoch.d897yevz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libremove_dir_all-99a95a87f5e9a7a0.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libremove_dir_all-99a95a87f5e9a7a0.rlib(remove_dir_all-99a95a87f5e9a7a0.remove_dir_all.bnv61tdf-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libatty-0b4ed96d08833e09.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libatty-0b4ed96d08833e09.rlib(atty-0b4ed96d08833e09.atty.3ghcl5oc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libowning_ref-e557adc7bdbbfa73.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libowning_ref-e557adc7bdbbfa73.rlib(owning_ref-e557adc7bdbbfa73.owning_ref.c91jcb97-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-b86f6d5465a96960.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-b86f6d5465a96960.rlib(rustc_apfloat-b86f6d5465a96960.rustc_apfloat.7p6xh92n-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-b86f6d5465a96960.rlib(rustc_apfloat-b86f6d5465a96960.rustc_apfloat.7p6xh92n-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-b86f6d5465a96960.rlib(rustc_apfloat-b86f6d5465a96960.rustc_apfloat.7p6xh92n-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-b86f6d5465a96960.rlib(rustc_apfloat-b86f6d5465a96960.rustc_apfloat.7p6xh92n-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-b86f6d5465a96960.rlib(rustc_apfloat-b86f6d5465a96960.rustc_apfloat.7p6xh92n-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-b86f6d5465a96960.rlib(rustc_apfloat-b86f6d5465a96960.rustc_apfloat.7p6xh92n-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-b86f6d5465a96960.rlib(rustc_apfloat-b86f6d5465a96960.rustc_apfloat.7p6xh92n-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-b86f6d5465a96960.rlib(rustc_apfloat-b86f6d5465a96960.rustc_apfloat.7p6xh92n-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-b86f6d5465a96960.rlib(rustc_apfloat-b86f6d5465a96960.rustc_apfloat.7p6xh92n-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-b86f6d5465a96960.rlib(rustc_apfloat-b86f6d5465a96960.rustc_apfloat.7p6xh92n-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-b86f6d5465a96960.rlib(rustc_apfloat-b86f6d5465a96960.rustc_apfloat.7p6xh92n-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-b86f6d5465a96960.rlib(rustc_apfloat-b86f6d5465a96960.rustc_apfloat.7p6xh92n-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-b86f6d5465a96960.rlib(rustc_apfloat-b86f6d5465a96960.rustc_apfloat.7p6xh92n-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-b86f6d5465a96960.rlib(rustc_apfloat-b86f6d5465a96960.rustc_apfloat.7p6xh92n-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-6a8e57fb0102a51a.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-6a8e57fb0102a51a.rlib(libc-6a8e57fb0102a51a.libc.dyd2nylm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-6a8e57fb0102a51a.rlib(libc-6a8e57fb0102a51a.libc.dyd2nylm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-6a8e57fb0102a51a.rlib(libc-6a8e57fb0102a51a.libc.dyd2nylm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-6a8e57fb0102a51a.rlib(libc-6a8e57fb0102a51a.libc.dyd2nylm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-6a8e57fb0102a51a.rlib(libc-6a8e57fb0102a51a.libc.dyd2nylm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-6a8e57fb0102a51a.rlib(libc-6a8e57fb0102a51a.libc.dyd2nylm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-6a8e57fb0102a51a.rlib(libc-6a8e57fb0102a51a.libc.dyd2nylm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-6a8e57fb0102a51a.rlib(libc-6a8e57fb0102a51a.libc.dyd2nylm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.rlib(backtrace-8ba0626341ca078b.backtrace.d21qsldn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.rlib(backtrace-8ba0626341ca078b.backtrace.d21qsldn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.rlib(backtrace-8ba0626341ca078b.backtrace.d21qsldn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.rlib(backtrace-8ba0626341ca078b.backtrace.d21qsldn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.rlib(backtrace-8ba0626341ca078b.backtrace.d21qsldn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.rlib(backtrace-8ba0626341ca078b.backtrace.d21qsldn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.rlib(backtrace-8ba0626341ca078b.backtrace.d21qsldn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.rlib(backtrace-8ba0626341ca078b.backtrace.d21qsldn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.rlib(backtrace-8ba0626341ca078b.backtrace.d21qsldn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.rlib(backtrace-8ba0626341ca078b.backtrace.d21qsldn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.rlib(backtrace-8ba0626341ca078b.backtrace.d21qsldn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.rlib(backtrace-8ba0626341ca078b.backtrace.d21qsldn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.rlib(backtrace-8ba0626341ca078b.backtrace.d21qsldn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.rlib(backtrace-8ba0626341ca078b.backtrace.d21qsldn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.rlib(backtrace-8ba0626341ca078b.backtrace.d21qsldn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-8ba0626341ca078b.rlib(backtrace-8ba0626341ca078b.backtrace.d21qsldn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.rlib(rls_data-f8bcc26a0c689931.rls_data.bp8v74hb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.rlib(rls_data-f8bcc26a0c689931.rls_data.bp8v74hb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.rlib(rls_data-f8bcc26a0c689931.rls_data.bp8v74hb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.rlib(rls_data-f8bcc26a0c689931.rls_data.bp8v74hb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.rlib(rls_data-f8bcc26a0c689931.rls_data.bp8v74hb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.rlib(rls_data-f8bcc26a0c689931.rls_data.bp8v74hb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.rlib(rls_data-f8bcc26a0c689931.rls_data.bp8v74hb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.rlib(rls_data-f8bcc26a0c689931.rls_data.bp8v74hb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.rlib(rls_data-f8bcc26a0c689931.rls_data.bp8v74hb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.rlib(rls_data-f8bcc26a0c689931.rls_data.bp8v74hb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.rlib(rls_data-f8bcc26a0c689931.rls_data.bp8v74hb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.rlib(rls_data-f8bcc26a0c689931.rls_data.bp8v74hb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.rlib(rls_data-f8bcc26a0c689931.rls_data.bp8v74hb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.rlib(rls_data-f8bcc26a0c689931.rls_data.bp8v74hb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.rlib(rls_data-f8bcc26a0c689931.rls_data.bp8v74hb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-f8bcc26a0c689931.rlib(rls_data-f8bcc26a0c689931.rls_data.bp8v74hb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.rlib(rustc_serialize-f9d5afe302750367.rustc_serialize.8ycld0cm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.rlib(rustc_serialize-f9d5afe302750367.rustc_serialize.8ycld0cm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.rlib(rustc_serialize-f9d5afe302750367.rustc_serialize.8ycld0cm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.rlib(rustc_serialize-f9d5afe302750367.rustc_serialize.8ycld0cm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.rlib(rustc_serialize-f9d5afe302750367.rustc_serialize.8ycld0cm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.rlib(rustc_serialize-f9d5afe302750367.rustc_serialize.8ycld0cm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.rlib(rustc_serialize-f9d5afe302750367.rustc_serialize.8ycld0cm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.rlib(rustc_serialize-f9d5afe302750367.rustc_serialize.8ycld0cm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.rlib(rustc_serialize-f9d5afe302750367.rustc_serialize.8ycld0cm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.rlib(rustc_serialize-f9d5afe302750367.rustc_serialize.8ycld0cm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.rlib(rustc_serialize-f9d5afe302750367.rustc_serialize.8ycld0cm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.rlib(rustc_serialize-f9d5afe302750367.rustc_serialize.8ycld0cm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.rlib(rustc_serialize-f9d5afe302750367.rustc_serialize.8ycld0cm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.rlib(rustc_serialize-f9d5afe302750367.rustc_serialize.8ycld0cm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.rlib(rustc_serialize-f9d5afe302750367.rustc_serialize.8ycld0cm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_serialize-f9d5afe302750367.rlib(rustc_serialize-f9d5afe302750367.rustc_serialize.8ycld0cm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-d63deacce0f8e47d.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-d63deacce0f8e47d.rlib(parking_lot-d63deacce0f8e47d.parking_lot.e2ledlt2-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-d63deacce0f8e47d.rlib(parking_lot-d63deacce0f8e47d.parking_lot.e2ledlt2-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-d63deacce0f8e47d.rlib(parking_lot-d63deacce0f8e47d.parking_lot.e2ledlt2-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-d63deacce0f8e47d.rlib(parking_lot-d63deacce0f8e47d.parking_lot.e2ledlt2-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-d63deacce0f8e47d.rlib(parking_lot-d63deacce0f8e47d.parking_lot.e2ledlt2-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-d63deacce0f8e47d.rlib(parking_lot-d63deacce0f8e47d.parking_lot.e2ledlt2-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-d63deacce0f8e47d.rlib(parking_lot-d63deacce0f8e47d.parking_lot.e2ledlt2-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-d63deacce0f8e47d.rlib(parking_lot-d63deacce0f8e47d.parking_lot.e2ledlt2-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-d63deacce0f8e47d.rlib(parking_lot-d63deacce0f8e47d.parking_lot.e2ledlt2-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-d63deacce0f8e47d.rlib(parking_lot-d63deacce0f8e47d.parking_lot.e2ledlt2-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-d63deacce0f8e47d.rlib(parking_lot-d63deacce0f8e47d.parking_lot.e2ledlt2-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-d63deacce0f8e47d.rlib(parking_lot-d63deacce0f8e47d.parking_lot.e2ledlt2-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-d63deacce0f8e47d.rlib(parking_lot-d63deacce0f8e47d.parking_lot.e2ledlt2-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-d63deacce0f8e47d.rlib(parking_lot-d63deacce0f8e47d.parking_lot.e2ledlt2-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcfg_if-6d144c64fbda33b7.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcfg_if-6d144c64fbda33b7.rlib(cfg_if-6d144c64fbda33b7.cfg_if.5oh9moxa-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.rlib(tempfile-05201596bc63f257.tempfile.6b4p2q84-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.rlib(tempfile-05201596bc63f257.tempfile.6b4p2q84-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.rlib(tempfile-05201596bc63f257.tempfile.6b4p2q84-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.rlib(tempfile-05201596bc63f257.tempfile.6b4p2q84-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.rlib(tempfile-05201596bc63f257.tempfile.6b4p2q84-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.rlib(tempfile-05201596bc63f257.tempfile.6b4p2q84-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.rlib(tempfile-05201596bc63f257.tempfile.6b4p2q84-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.rlib(tempfile-05201596bc63f257.tempfile.6b4p2q84-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.rlib(tempfile-05201596bc63f257.tempfile.6b4p2q84-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.rlib(tempfile-05201596bc63f257.tempfile.6b4p2q84-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.rlib(tempfile-05201596bc63f257.tempfile.6b4p2q84-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.rlib(tempfile-05201596bc63f257.tempfile.6b4p2q84-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.rlib(tempfile-05201596bc63f257.tempfile.6b4p2q84-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.rlib(tempfile-05201596bc63f257.tempfile.6b4p2q84-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.rlib(tempfile-05201596bc63f257.tempfile.6b4p2q84-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-05201596bc63f257.rlib(tempfile-05201596bc63f257.tempfile.6b4p2q84-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_core-9f6d041e149b7f18.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_core-9f6d041e149b7f18.rlib(rand_core-9f6d041e149b7f18.rand_core.bpccc4vu-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_core-9f6d041e149b7f18.rlib(rand_core-9f6d041e149b7f18.rand_core.bpccc4vu-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_core-9f6d041e149b7f18.rlib(rand_core-9f6d041e149b7f18.rand_core.bpccc4vu-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_core-9f6d041e149b7f18.rlib(rand_core-9f6d041e149b7f18.rand_core.bpccc4vu-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_core-9f6d041e149b7f18.rlib(rand_core-9f6d041e149b7f18.rand_core.bpccc4vu-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_core-9f6d041e149b7f18.rlib(rand_core-9f6d041e149b7f18.rand_core.bpccc4vu-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_core-9f6d041e149b7f18.rlib(rand_core-9f6d041e149b7f18.rand_core.bpccc4vu-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_core-9f6d041e149b7f18.rlib(rand_core-9f6d041e149b7f18.rand_core.bpccc4vu-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_core-9f6d041e149b7f18.rlib(rand_core-9f6d041e149b7f18.rand_core.bpccc4vu-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_core-9f6d041e149b7f18.rlib(rand_core-9f6d041e149b7f18.rand_core.bpccc4vu-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libsmallvec-392562f6535ef84e.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libsmallvec-392562f6535ef84e.rlib(smallvec-392562f6535ef84e.smallvec.5qpx30t7-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_std_workspace_core-e4403913fe7d8da9.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_std_workspace_core-e4403913fe7d8da9.rlib(rustc_std_workspace_core-e4403913fe7d8da9.rustc_std_workspace_core.bs5nls6z-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libarrayvec-f5aac8b8ca0bcf01.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libarrayvec-f5aac8b8ca0bcf01.rlib(arrayvec-f5aac8b8ca0bcf01.arrayvec.13p50rl7-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libunicode_width-58a37be755790397.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libunicode_width-58a37be755790397.rlib(unicode_width-58a37be755790397.unicode_width.3a3acl4q-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtest-027149a50a7732ce.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtest-027149a50a7732ce.rlib(test-027149a50a7732ce.test.9pssp4lt-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.rlib(jobserver-6c96ce50254122af.jobserver.dbesmgxr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.rlib(jobserver-6c96ce50254122af.jobserver.dbesmgxr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.rlib(jobserver-6c96ce50254122af.jobserver.dbesmgxr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.rlib(jobserver-6c96ce50254122af.jobserver.dbesmgxr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.rlib(jobserver-6c96ce50254122af.jobserver.dbesmgxr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.rlib(jobserver-6c96ce50254122af.jobserver.dbesmgxr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.rlib(jobserver-6c96ce50254122af.jobserver.dbesmgxr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.rlib(jobserver-6c96ce50254122af.jobserver.dbesmgxr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.rlib(jobserver-6c96ce50254122af.jobserver.dbesmgxr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.rlib(jobserver-6c96ce50254122af.jobserver.dbesmgxr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.rlib(jobserver-6c96ce50254122af.jobserver.dbesmgxr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.rlib(jobserver-6c96ce50254122af.jobserver.dbesmgxr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.rlib(jobserver-6c96ce50254122af.jobserver.dbesmgxr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.rlib(jobserver-6c96ce50254122af.jobserver.dbesmgxr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.rlib(jobserver-6c96ce50254122af.jobserver.dbesmgxr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-6c96ce50254122af.rlib(jobserver-6c96ce50254122af.jobserver.dbesmgxr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrc32fast-a2e85ad64c7c1316.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrc32fast-a2e85ad64c7c1316.rlib(crc32fast-a2e85ad64c7c1316.crc32fast.1sl9czry-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrc32fast-a2e85ad64c7c1316.rlib(crc32fast-a2e85ad64c7c1316.crc32fast.1sl9czry-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrc32fast-a2e85ad64c7c1316.rlib(crc32fast-a2e85ad64c7c1316.crc32fast.1sl9czry-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrc32fast-a2e85ad64c7c1316.rlib(crc32fast-a2e85ad64c7c1316.crc32fast.1sl9czry-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrc32fast-a2e85ad64c7c1316.rlib(crc32fast-a2e85ad64c7c1316.crc32fast.1sl9czry-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrc32fast-a2e85ad64c7c1316.rlib(crc32fast-a2e85ad64c7c1316.crc32fast.1sl9czry-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrc32fast-a2e85ad64c7c1316.rlib(crc32fast-a2e85ad64c7c1316.crc32fast.1sl9czry-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace_sys-82017dddea4f8188.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace_sys-82017dddea4f8188.rlib(backtrace_sys-82017dddea4f8188.backtrace_sys.d20wnj03-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_pcg-125dd4d9a56424b5.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_pcg-125dd4d9a56424b5.rlib(rand_pcg-125dd4d9a56424b5.rand_pcg.1er57r5g-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_pcg-125dd4d9a56424b5.rlib(rand_pcg-125dd4d9a56424b5.rand_pcg.1er57r5g-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_pcg-125dd4d9a56424b5.rlib(rand_pcg-125dd4d9a56424b5.rand_pcg.1er57r5g-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_pcg-125dd4d9a56424b5.rlib(rand_pcg-125dd4d9a56424b5.rand_pcg.1er57r5g-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpanic_unwind-abdad49aa920c326.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpanic_unwind-abdad49aa920c326.rlib(panic_unwind-abdad49aa920c326.panic_unwind.2kp95wem-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbitflags-127b3a2d71949dc1.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbitflags-127b3a2d71949dc1.rlib(bitflags-127b3a2d71949dc1.bitflags.5iq4yk1t-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libmemmap-619ea92ae8664894.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libmemmap-619ea92ae8664894.rlib(memmap-619ea92ae8664894.memmap.89l4lscx-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libmemmap-619ea92ae8664894.rlib(memmap-619ea92ae8664894.memmap.89l4lscx-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libmemmap-619ea92ae8664894.rlib(memmap-619ea92ae8664894.memmap.89l4lscx-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libmemmap-619ea92ae8664894.rlib(memmap-619ea92ae8664894.memmap.89l4lscx-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libmemmap-619ea92ae8664894.rlib(memmap-619ea92ae8664894.memmap.89l4lscx-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libmemmap-619ea92ae8664894.rlib(memmap-619ea92ae8664894.memmap.89l4lscx-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libmemmap-619ea92ae8664894.rlib(memmap-619ea92ae8664894.memmap.89l4lscx-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace_sys-6783af35cfb640dc.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace_sys-6783af35cfb640dc.rlib(backtrace_sys-6783af35cfb640dc.backtrace_sys.bbs0qfbl-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnodrop-030148f73eb7ed72.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnodrop-030148f73eb7ed72.rlib(nodrop-030148f73eb7ed72.nodrop.5hci0f9z-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.rlib(serialize-d88ca88a763b050e.serialize.3uh12zhd-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.rlib(serialize-d88ca88a763b050e.serialize.3uh12zhd-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.rlib(serialize-d88ca88a763b050e.serialize.3uh12zhd-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.rlib(serialize-d88ca88a763b050e.serialize.3uh12zhd-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.rlib(serialize-d88ca88a763b050e.serialize.3uh12zhd-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.rlib(serialize-d88ca88a763b050e.serialize.3uh12zhd-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.rlib(serialize-d88ca88a763b050e.serialize.3uh12zhd-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.rlib(serialize-d88ca88a763b050e.serialize.3uh12zhd-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.rlib(serialize-d88ca88a763b050e.serialize.3uh12zhd-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.rlib(serialize-d88ca88a763b050e.serialize.3uh12zhd-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.rlib(serialize-d88ca88a763b050e.serialize.3uh12zhd-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.rlib(serialize-d88ca88a763b050e.serialize.3uh12zhd-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.rlib(serialize-d88ca88a763b050e.serialize.3uh12zhd-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.rlib(serialize-d88ca88a763b050e.serialize.3uh12zhd-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.rlib(serialize-d88ca88a763b050e.serialize.3uh12zhd-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-d88ca88a763b050e.rlib(serialize-d88ca88a763b050e.serialize.3uh12zhd-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libunreachable-7c17e5546a04b8b4.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libunreachable-7c17e5546a04b8b4.rlib(unreachable-7c17e5546a04b8b4.unreachable.8u4w0fp5-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpanic_abort-12021314d354028a.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpanic_abort-12021314d354028a.rlib(panic_abort-12021314d354028a.panic_abort.f53cl8at-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog-f506caf9a8383ba8.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog-f506caf9a8383ba8.rlib(log-f506caf9a8383ba8.log.89ebflc3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog-f506caf9a8383ba8.rlib(log-f506caf9a8383ba8.log.89ebflc3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog-f506caf9a8383ba8.rlib(log-f506caf9a8383ba8.log.89ebflc3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog-f506caf9a8383ba8.rlib(log-f506caf9a8383ba8.log.89ebflc3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog-f506caf9a8383ba8.rlib(log-f506caf9a8383ba8.log.89ebflc3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog-f506caf9a8383ba8.rlib(log-f506caf9a8383ba8.log.89ebflc3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog-f506caf9a8383ba8.rlib(log-f506caf9a8383ba8.log.89ebflc3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog-f506caf9a8383ba8.rlib(log-f506caf9a8383ba8.log.89ebflc3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog-f506caf9a8383ba8.rlib(log-f506caf9a8383ba8.log.89ebflc3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libscopeguard-7fd64a8dcbaf7a3f.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libscopeguard-7fd64a8dcbaf7a3f.rlib(scopeguard-7fd64a8dcbaf7a3f.scopeguard.c0dilg6d-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.rlib(rustc_rayon_core-5eff82af19f6a226.rustc_rayon_core.msch1k07-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.rlib(rustc_rayon_core-5eff82af19f6a226.rustc_rayon_core.msch1k07-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.rlib(rustc_rayon_core-5eff82af19f6a226.rustc_rayon_core.msch1k07-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.rlib(rustc_rayon_core-5eff82af19f6a226.rustc_rayon_core.msch1k07-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.rlib(rustc_rayon_core-5eff82af19f6a226.rustc_rayon_core.msch1k07-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.rlib(rustc_rayon_core-5eff82af19f6a226.rustc_rayon_core.msch1k07-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.rlib(rustc_rayon_core-5eff82af19f6a226.rustc_rayon_core.msch1k07-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.rlib(rustc_rayon_core-5eff82af19f6a226.rustc_rayon_core.msch1k07-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.rlib(rustc_rayon_core-5eff82af19f6a226.rustc_rayon_core.msch1k07-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.rlib(rustc_rayon_core-5eff82af19f6a226.rustc_rayon_core.msch1k07-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.rlib(rustc_rayon_core-5eff82af19f6a226.rustc_rayon_core.msch1k07-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.rlib(rustc_rayon_core-5eff82af19f6a226.rustc_rayon_core.msch1k07-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.rlib(rustc_rayon_core-5eff82af19f6a226.rustc_rayon_core.msch1k07-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.rlib(rustc_rayon_core-5eff82af19f6a226.rustc_rayon_core.msch1k07-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.rlib(rustc_rayon_core-5eff82af19f6a226.rustc_rayon_core.msch1k07-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-5eff82af19f6a226.rlib(rustc_rayon_core-5eff82af19f6a226.rustc_rayon_core.msch1k07-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_chacha-2399fd839e458d6a.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_chacha-2399fd839e458d6a.rlib(rand_chacha-2399fd839e458d6a.rand_chacha.7788lm7w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_chacha-2399fd839e458d6a.rlib(rand_chacha-2399fd839e458d6a.rand_chacha.7788lm7w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_chacha-2399fd839e458d6a.rlib(rand_chacha-2399fd839e458d6a.rand_chacha.7788lm7w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_chacha-2399fd839e458d6a.rlib(rand_chacha-2399fd839e458d6a.rand_chacha.7788lm7w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_chacha-2399fd839e458d6a.rlib(rand_chacha-2399fd839e458d6a.rand_chacha.7788lm7w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_chacha-2399fd839e458d6a.rlib(rand_chacha-2399fd839e458d6a.rand_chacha.7788lm7w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_chacha-2399fd839e458d6a.rlib(rand_chacha-2399fd839e458d6a.rand_chacha.7788lm7w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_chacha-2399fd839e458d6a.rlib(rand_chacha-2399fd839e458d6a.rand_chacha.7788lm7w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_chacha-2399fd839e458d6a.rlib(rand_chacha-2399fd839e458d6a.rand_chacha.7788lm7w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_chacha-2399fd839e458d6a.rlib(rand_chacha-2399fd839e458d6a.rand_chacha.7788lm7w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblock_api-75e952607f30c602.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblock_api-75e952607f30c602.rlib(lock_api-75e952607f30c602.lock_api.qqh591d1-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libvoid-6f34058e28b69e41.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libvoid-6f34058e28b69e41.rlib(void-6f34058e28b69e41.void.9w52ozex-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.rlib(chalk_macros-fe6406adcb913e80.chalk_macros.4tol0anb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.rlib(chalk_macros-fe6406adcb913e80.chalk_macros.4tol0anb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.rlib(chalk_macros-fe6406adcb913e80.chalk_macros.4tol0anb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.rlib(chalk_macros-fe6406adcb913e80.chalk_macros.4tol0anb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.rlib(chalk_macros-fe6406adcb913e80.chalk_macros.4tol0anb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.rlib(chalk_macros-fe6406adcb913e80.chalk_macros.4tol0anb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.rlib(chalk_macros-fe6406adcb913e80.chalk_macros.4tol0anb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.rlib(chalk_macros-fe6406adcb913e80.chalk_macros.4tol0anb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.rlib(chalk_macros-fe6406adcb913e80.chalk_macros.4tol0anb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.rlib(chalk_macros-fe6406adcb913e80.chalk_macros.4tol0anb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.rlib(chalk_macros-fe6406adcb913e80.chalk_macros.4tol0anb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.rlib(chalk_macros-fe6406adcb913e80.chalk_macros.4tol0anb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.rlib(chalk_macros-fe6406adcb913e80.chalk_macros.4tol0anb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.rlib(chalk_macros-fe6406adcb913e80.chalk_macros.4tol0anb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.rlib(chalk_macros-fe6406adcb913e80.chalk_macros.4tol0anb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-fe6406adcb913e80.rlib(chalk_macros-fe6406adcb913e80.chalk_macros.4tol0anb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcore-717c5051b9bd6cd0.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcore-717c5051b9bd6cd0.rlib(core-717c5051b9bd6cd0.core.3ikmdgby-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-9e68d83470af81b4.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-9e68d83470af81b4.rlib(libc-9e68d83470af81b4.libc.407d5x9l-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libproc_macro-cc1297c1586f3def.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libproc_macro-cc1297c1586f3def.rlib(proc_macro-cc1297c1586f3def.proc_macro.74eb2cjr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libeither-b2e4ec4c0f78f52e.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libeither-b2e4ec4c0f78f52e.rlib(either-b2e4ec4c0f78f52e.either.2t31rwhz-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.rlib(termcolor-ad6ce6ea9fbdcb89.termcolor.60szsxne-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.rlib(termcolor-ad6ce6ea9fbdcb89.termcolor.60szsxne-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.rlib(termcolor-ad6ce6ea9fbdcb89.termcolor.60szsxne-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.rlib(termcolor-ad6ce6ea9fbdcb89.termcolor.60szsxne-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.rlib(termcolor-ad6ce6ea9fbdcb89.termcolor.60szsxne-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.rlib(termcolor-ad6ce6ea9fbdcb89.termcolor.60szsxne-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.rlib(termcolor-ad6ce6ea9fbdcb89.termcolor.60szsxne-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.rlib(termcolor-ad6ce6ea9fbdcb89.termcolor.60szsxne-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.rlib(termcolor-ad6ce6ea9fbdcb89.termcolor.60szsxne-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.rlib(termcolor-ad6ce6ea9fbdcb89.termcolor.60szsxne-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.rlib(termcolor-ad6ce6ea9fbdcb89.termcolor.60szsxne-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.rlib(termcolor-ad6ce6ea9fbdcb89.termcolor.60szsxne-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.rlib(termcolor-ad6ce6ea9fbdcb89.termcolor.60szsxne-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.rlib(termcolor-ad6ce6ea9fbdcb89.termcolor.60szsxne-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.rlib(termcolor-ad6ce6ea9fbdcb89.termcolor.60szsxne-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-ad6ce6ea9fbdcb89.rlib(termcolor-ad6ce6ea9fbdcb89.termcolor.60szsxne-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libquick_error-6f826fcf3e94f2c1.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libquick_error-6f826fcf3e94f2c1.rlib(quick_error-6f826fcf3e94f2c1.quick_error.7fsfmfff-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libdatafrog-032ef95c8927e514.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libdatafrog-032ef95c8927e514.rlib(datafrog-032ef95c8927e514.datafrog.4aljk2ng-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libdatafrog-032ef95c8927e514.rlib(datafrog-032ef95c8927e514.datafrog.4aljk2ng-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libdatafrog-032ef95c8927e514.rlib(datafrog-032ef95c8927e514.datafrog.4aljk2ng-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libdatafrog-032ef95c8927e514.rlib(datafrog-032ef95c8927e514.datafrog.4aljk2ng-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libdatafrog-032ef95c8927e514.rlib(datafrog-032ef95c8927e514.datafrog.4aljk2ng-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblazy_static-1c625b5710dd4323.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblazy_static-1c625b5710dd4323.rlib(lazy_static-1c625b5710dd4323.lazy_static.e2vmvojn-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.rlib(cc-06c9d44a2db7061b.cc.6uenhuv3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.rlib(cc-06c9d44a2db7061b.cc.6uenhuv3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.rlib(cc-06c9d44a2db7061b.cc.6uenhuv3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.rlib(cc-06c9d44a2db7061b.cc.6uenhuv3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.rlib(cc-06c9d44a2db7061b.cc.6uenhuv3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.rlib(cc-06c9d44a2db7061b.cc.6uenhuv3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.rlib(cc-06c9d44a2db7061b.cc.6uenhuv3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.rlib(cc-06c9d44a2db7061b.cc.6uenhuv3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.rlib(cc-06c9d44a2db7061b.cc.6uenhuv3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.rlib(cc-06c9d44a2db7061b.cc.6uenhuv3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.rlib(cc-06c9d44a2db7061b.cc.6uenhuv3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.rlib(cc-06c9d44a2db7061b.cc.6uenhuv3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.rlib(cc-06c9d44a2db7061b.cc.6uenhuv3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.rlib(cc-06c9d44a2db7061b.cc.6uenhuv3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.rlib(cc-06c9d44a2db7061b.cc.6uenhuv3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-06c9d44a2db7061b.rlib(cc-06c9d44a2db7061b.cc.6uenhuv3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhumantime-42d3cbdb73cd13a0.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhumantime-42d3cbdb73cd13a0.rlib(humantime-42d3cbdb73cd13a0.humantime.4f5eb5se-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhumantime-42d3cbdb73cd13a0.rlib(humantime-42d3cbdb73cd13a0.humantime.4f5eb5se-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhumantime-42d3cbdb73cd13a0.rlib(humantime-42d3cbdb73cd13a0.humantime.4f5eb5se-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhumantime-42d3cbdb73cd13a0.rlib(humantime-42d3cbdb73cd13a0.humantime.4f5eb5se-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhumantime-42d3cbdb73cd13a0.rlib(humantime-42d3cbdb73cd13a0.humantime.4f5eb5se-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhumantime-42d3cbdb73cd13a0.rlib(humantime-42d3cbdb73cd13a0.humantime.4f5eb5se-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhumantime-42d3cbdb73cd13a0.rlib(humantime-42d3cbdb73cd13a0.humantime.4f5eb5se-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhumantime-42d3cbdb73cd13a0.rlib(humantime-42d3cbdb73cd13a0.humantime.4f5eb5se-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhumantime-42d3cbdb73cd13a0.rlib(humantime-42d3cbdb73cd13a0.humantime.4f5eb5se-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhumantime-42d3cbdb73cd13a0.rlib(humantime-42d3cbdb73cd13a0.humantime.4f5eb5se-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhumantime-42d3cbdb73cd13a0.rlib(humantime-42d3cbdb73cd13a0.humantime.4f5eb5se-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhumantime-42d3cbdb73cd13a0.rlib(humantime-42d3cbdb73cd13a0.humantime.4f5eb5se-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libmemoffset-41f62366418105e1.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libmemoffset-41f62366418105e1.rlib(memoffset-41f62366418105e1.memoffset.ew2u1qto-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liballoc-290cbbc25875459c.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liballoc-290cbbc25875459c.rlib(alloc-290cbbc25875459c.alloc.bb6u0781-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libena-d51adc4b87c24190.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libena-d51adc4b87c24190.rlib(ena-d51adc4b87c24190.ena.22n7cpb3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libena-d51adc4b87c24190.rlib(ena-d51adc4b87c24190.ena.22n7cpb3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libena-d51adc4b87c24190.rlib(ena-d51adc4b87c24190.ena.22n7cpb3-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcompiler_builtins-82d1f879c2d9cea5.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcompiler_builtins-82d1f879c2d9cea5.rlib(compiler_builtins-82d1f879c2d9cea5.compiler_builtins.d5fhkr53-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog_settings-8890b529fca65bfa.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog_settings-8890b529fca65bfa.rlib(log_settings-8890b529fca65bfa.log_settings.erqh22ox-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog_settings-8890b529fca65bfa.rlib(log_settings-8890b529fca65bfa.log_settings.erqh22ox-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog_settings-8890b529fca65bfa.rlib(log_settings-8890b529fca65bfa.log_settings.erqh22ox-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog_settings-8890b529fca65bfa.rlib(log_settings-8890b529fca65bfa.log_settings.erqh22ox-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog_settings-8890b529fca65bfa.rlib(log_settings-8890b529fca65bfa.log_settings.erqh22ox-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog_settings-8890b529fca65bfa.rlib(log_settings-8890b529fca65bfa.log_settings.erqh22ox-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog_settings-8890b529fca65bfa.rlib(log_settings-8890b529fca65bfa.log_settings.erqh22ox-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog_settings-8890b529fca65bfa.rlib(log_settings-8890b529fca65bfa.log_settings.erqh22ox-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libstable_deref_trait-919e6a113e0b651b.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libstable_deref_trait-919e6a113e0b651b.rlib(stable_deref_trait-919e6a113e0b651b.stable_deref_trait.1izkgo0r-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpolonius_engine-2d412892e586c659.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpolonius_engine-2d412892e586c659.rlib(polonius_engine-2d412892e586c659.polonius_engine.8am8mo8w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpolonius_engine-2d412892e586c659.rlib(polonius_engine-2d412892e586c659.polonius_engine.8am8mo8w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpolonius_engine-2d412892e586c659.rlib(polonius_engine-2d412892e586c659.polonius_engine.8am8mo8w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpolonius_engine-2d412892e586c659.rlib(polonius_engine-2d412892e586c659.polonius_engine.8am8mo8w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpolonius_engine-2d412892e586c659.rlib(polonius_engine-2d412892e586c659.polonius_engine.8am8mo8w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpolonius_engine-2d412892e586c659.rlib(polonius_engine-2d412892e586c659.polonius_engine.8am8mo8w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpolonius_engine-2d412892e586c659.rlib(polonius_engine-2d412892e586c659.polonius_engine.8am8mo8w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpolonius_engine-2d412892e586c659.rlib(polonius_engine-2d412892e586c659.polonius_engine.8am8mo8w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpolonius_engine-2d412892e586c659.rlib(polonius_engine-2d412892e586c659.polonius_engine.8am8mo8w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpolonius_engine-2d412892e586c659.rlib(polonius_engine-2d412892e586c659.polonius_engine.8am8mo8w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.rlib(env_logger-17c5d54d353c8907.env_logger.68n929xc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.rlib(env_logger-17c5d54d353c8907.env_logger.68n929xc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.rlib(env_logger-17c5d54d353c8907.env_logger.68n929xc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.rlib(env_logger-17c5d54d353c8907.env_logger.68n929xc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.rlib(env_logger-17c5d54d353c8907.env_logger.68n929xc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.rlib(env_logger-17c5d54d353c8907.env_logger.68n929xc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.rlib(env_logger-17c5d54d353c8907.env_logger.68n929xc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.rlib(env_logger-17c5d54d353c8907.env_logger.68n929xc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.rlib(env_logger-17c5d54d353c8907.env_logger.68n929xc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.rlib(env_logger-17c5d54d353c8907.env_logger.68n929xc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.rlib(env_logger-17c5d54d353c8907.env_logger.68n929xc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.rlib(env_logger-17c5d54d353c8907.env_logger.68n929xc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.rlib(env_logger-17c5d54d353c8907.env_logger.68n929xc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.rlib(env_logger-17c5d54d353c8907.env_logger.68n929xc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.rlib(env_logger-17c5d54d353c8907.env_logger.68n929xc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-17c5d54d353c8907.rlib(env_logger-17c5d54d353c8907.env_logger.68n929xc-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libunwind-532468a5f8a08902.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libunwind-532468a5f8a08902.rlib(unwind-532468a5f8a08902.unwind.d49kavkm-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_demangle-9ccfc675b0ff78e0.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_demangle-9ccfc675b0ff78e0.rlib(rustc_demangle-9ccfc675b0ff78e0.rustc_demangle.drm10xxj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_demangle-9ccfc675b0ff78e0.rlib(rustc_demangle-9ccfc675b0ff78e0.rustc_demangle.drm10xxj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_demangle-9ccfc675b0ff78e0.rlib(rustc_demangle-9ccfc675b0ff78e0.rustc_demangle.drm10xxj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_demangle-9ccfc675b0ff78e0.rlib(rustc_demangle-9ccfc675b0ff78e0.rustc_demangle.drm10xxj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_demangle-9ccfc675b0ff78e0.rlib(rustc_demangle-9ccfc675b0ff78e0.rustc_demangle.drm10xxj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_demangle-9ccfc675b0ff78e0.rlib(rustc_demangle-9ccfc675b0ff78e0.rustc_demangle.drm10xxj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_demangle-9ccfc675b0ff78e0.rlib(rustc_demangle-9ccfc675b0ff78e0.rustc_demangle.drm10xxj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_demangle-9ccfc675b0ff78e0.rlib(rustc_demangle-9ccfc675b0ff78e0.rustc_demangle.drm10xxj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_demangle-9ccfc675b0ff78e0.rlib(rustc_demangle-9ccfc675b0ff78e0.rustc_demangle.drm10xxj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_isaac-bf875392fbbf540f.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_isaac-bf875392fbbf540f.rlib(rand_isaac-bf875392fbbf540f.rand_isaac.3y37vhqb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_isaac-bf875392fbbf540f.rlib(rand_isaac-bf875392fbbf540f.rand_isaac.3y37vhqb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_isaac-bf875392fbbf540f.rlib(rand_isaac-bf875392fbbf540f.rand_isaac.3y37vhqb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_isaac-bf875392fbbf540f.rlib(rand_isaac-bf875392fbbf540f.rand_isaac.3y37vhqb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_isaac-bf875392fbbf540f.rlib(rand_isaac-bf875392fbbf540f.rand_isaac.3y37vhqb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_isaac-bf875392fbbf540f.rlib(rand_isaac-bf875392fbbf540f.rand_isaac.3y37vhqb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_isaac-bf875392fbbf540f.rlib(rand_isaac-bf875392fbbf540f.rand_isaac.3y37vhqb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_isaac-bf875392fbbf540f.rlib(rand_isaac-bf875392fbbf540f.rand_isaac.3y37vhqb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_isaac-bf875392fbbf540f.rlib(rand_isaac-bf875392fbbf540f.rand_isaac.3y37vhqb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_isaac-bf875392fbbf540f.rlib(rand_isaac-bf875392fbbf540f.rand_isaac.3y37vhqb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_deque-fd4f37c642150a1a.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_deque-fd4f37c642150a1a.rlib(crossbeam_deque-fd4f37c642150a1a.crossbeam_deque.7emegxnv-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_hash-b89c88b5795c6cb3.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_hash-b89c88b5795c6cb3.rlib(rustc_hash-b89c88b5795c6cb3.rustc_hash.5xicl525-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_demangle-173dde0c1af0c61a.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_demangle-173dde0c1af0c61a.rlib(rustc_demangle-173dde0c1af0c61a.rustc_demangle.c0itgv0f-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libminiz_sys-76b1bbea0d9329bd.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libminiz_sys-76b1bbea0d9329bd.rlib(miniz_sys-76b1bbea0d9329bd.miniz_sys.7e3mcng8-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libstd-5c450fec7662f1f2.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libstd-5c450fec7662f1f2.rlib(std-5c450fec7662f1f2.std.3ah07xcr-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbyteorder-b6dfc3bd4b49dd2e.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbyteorder-b6dfc3bd4b49dd2e.rlib(byteorder-b6dfc3bd4b49dd2e.byteorder.cgv09j0q-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbyteorder-b6dfc3bd4b49dd2e.rlib(byteorder-b6dfc3bd4b49dd2e.byteorder.cgv09j0q-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbyteorder-b6dfc3bd4b49dd2e.rlib(byteorder-b6dfc3bd4b49dd2e.byteorder.cgv09j0q-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbyteorder-b6dfc3bd4b49dd2e.rlib(byteorder-b6dfc3bd4b49dd2e.byteorder.cgv09j0q-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblazy_static-217a2395a820a2ed.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblazy_static-217a2395a820a2ed.rlib(lazy_static-217a2395a820a2ed.lazy_static.8ix60lwh-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.rlib(num_cpus-af7564e608507920.num_cpus.exv5tgme-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.rlib(num_cpus-af7564e608507920.num_cpus.exv5tgme-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.rlib(num_cpus-af7564e608507920.num_cpus.exv5tgme-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.rlib(num_cpus-af7564e608507920.num_cpus.exv5tgme-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.rlib(num_cpus-af7564e608507920.num_cpus.exv5tgme-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.rlib(num_cpus-af7564e608507920.num_cpus.exv5tgme-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.rlib(num_cpus-af7564e608507920.num_cpus.exv5tgme-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.rlib(num_cpus-af7564e608507920.num_cpus.exv5tgme-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.rlib(num_cpus-af7564e608507920.num_cpus.exv5tgme-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.rlib(num_cpus-af7564e608507920.num_cpus.exv5tgme-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.rlib(num_cpus-af7564e608507920.num_cpus.exv5tgme-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.rlib(num_cpus-af7564e608507920.num_cpus.exv5tgme-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.rlib(num_cpus-af7564e608507920.num_cpus.exv5tgme-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.rlib(num_cpus-af7564e608507920.num_cpus.exv5tgme-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.rlib(num_cpus-af7564e608507920.num_cpus.exv5tgme-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-af7564e608507920.rlib(num_cpus-af7564e608507920.num_cpus.exv5tgme-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.rlib(rand-21b0960b85867722.rand.9ezui54w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.rlib(rand-21b0960b85867722.rand.9ezui54w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.rlib(rand-21b0960b85867722.rand.9ezui54w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.rlib(rand-21b0960b85867722.rand.9ezui54w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.rlib(rand-21b0960b85867722.rand.9ezui54w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.rlib(rand-21b0960b85867722.rand.9ezui54w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.rlib(rand-21b0960b85867722.rand.9ezui54w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.rlib(rand-21b0960b85867722.rand.9ezui54w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.rlib(rand-21b0960b85867722.rand.9ezui54w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.rlib(rand-21b0960b85867722.rand.9ezui54w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.rlib(rand-21b0960b85867722.rand.9ezui54w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.rlib(rand-21b0960b85867722.rand.9ezui54w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.rlib(rand-21b0960b85867722.rand.9ezui54w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.rlib(rand-21b0960b85867722.rand.9ezui54w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.rlib(rand-21b0960b85867722.rand.9ezui54w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-21b0960b85867722.rlib(rand-21b0960b85867722.rand.9ezui54w-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_hc-6e2ec8176aa79676.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_hc-6e2ec8176aa79676.rlib(rand_hc-6e2ec8176aa79676.rand_hc.6y30ov11-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_hc-6e2ec8176aa79676.rlib(rand_hc-6e2ec8176aa79676.rand_hc.6y30ov11-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_hc-6e2ec8176aa79676.rlib(rand_hc-6e2ec8176aa79676.rand_hc.6y30ov11-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_hc-6e2ec8176aa79676.rlib(rand_hc-6e2ec8176aa79676.rand_hc.6y30ov11-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_hc-6e2ec8176aa79676.rlib(rand_hc-6e2ec8176aa79676.rand_hc.6y30ov11-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_hc-6e2ec8176aa79676.rlib(rand_hc-6e2ec8176aa79676.rand_hc.6y30ov11-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_hc-6e2ec8176aa79676.rlib(rand_hc-6e2ec8176aa79676.rand_hc.6y30ov11-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-b0b218b2011b4614.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-b0b218b2011b4614.rlib(chalk_engine-b0b218b2011b4614.chalk_engine.2y3y8m20-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-b0b218b2011b4614.rlib(chalk_engine-b0b218b2011b4614.chalk_engine.2y3y8m20-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-b0b218b2011b4614.rlib(chalk_engine-b0b218b2011b4614.chalk_engine.2y3y8m20-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-b0b218b2011b4614.rlib(chalk_engine-b0b218b2011b4614.chalk_engine.2y3y8m20-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-b0b218b2011b4614.rlib(chalk_engine-b0b218b2011b4614.chalk_engine.2y3y8m20-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-b0b218b2011b4614.rlib(chalk_engine-b0b218b2011b4614.chalk_engine.2y3y8m20-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-b0b218b2011b4614.rlib(chalk_engine-b0b218b2011b4614.chalk_engine.2y3y8m20-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-b0b218b2011b4614.rlib(chalk_engine-b0b218b2011b4614.chalk_engine.2y3y8m20-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-b0b218b2011b4614.rlib(chalk_engine-b0b218b2011b4614.chalk_engine.2y3y8m20-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-b0b218b2011b4614.rlib(chalk_engine-b0b218b2011b4614.chalk_engine.2y3y8m20-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-b0b218b2011b4614.rlib(chalk_engine-b0b218b2011b4614.chalk_engine.2y3y8m20-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-b0b218b2011b4614.rlib(chalk_engine-b0b218b2011b4614.chalk_engine.2y3y8m20-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-b0b218b2011b4614.rlib(chalk_engine-b0b218b2011b4614.chalk_engine.2y3y8m20-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-b0b218b2011b4614.rlib(chalk_engine-b0b218b2011b4614.chalk_engine.2y3y8m20-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-b0b218b2011b4614.rlib(chalk_engine-b0b218b2011b4614.chalk_engine.2y3y8m20-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_xorshift-7b22fbb295d56e5e.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_xorshift-7b22fbb295d56e5e.rlib(rand_xorshift-7b22fbb295d56e5e.rand_xorshift.clkjl940-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_xorshift-7b22fbb295d56e5e.rlib(rand_xorshift-7b22fbb295d56e5e.rand_xorshift.clkjl940-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_xorshift-7b22fbb295d56e5e.rlib(rand_xorshift-7b22fbb295d56e5e.rand_xorshift.clkjl940-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_xorshift-7b22fbb295d56e5e.rlib(rand_xorshift-7b22fbb295d56e5e.rand_xorshift.clkjl940-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_xorshift-7b22fbb295d56e5e.rlib(rand_xorshift-7b22fbb295d56e5e.rand_xorshift.clkjl940-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.rlib(parking_lot_core-704ca3b004e81c07.parking_lot_core.2ud3nyzb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.rlib(parking_lot_core-704ca3b004e81c07.parking_lot_core.2ud3nyzb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.rlib(parking_lot_core-704ca3b004e81c07.parking_lot_core.2ud3nyzb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.rlib(parking_lot_core-704ca3b004e81c07.parking_lot_core.2ud3nyzb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.rlib(parking_lot_core-704ca3b004e81c07.parking_lot_core.2ud3nyzb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.rlib(parking_lot_core-704ca3b004e81c07.parking_lot_core.2ud3nyzb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.rlib(parking_lot_core-704ca3b004e81c07.parking_lot_core.2ud3nyzb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.rlib(parking_lot_core-704ca3b004e81c07.parking_lot_core.2ud3nyzb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.rlib(parking_lot_core-704ca3b004e81c07.parking_lot_core.2ud3nyzb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.rlib(parking_lot_core-704ca3b004e81c07.parking_lot_core.2ud3nyzb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.rlib(parking_lot_core-704ca3b004e81c07.parking_lot_core.2ud3nyzb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.rlib(parking_lot_core-704ca3b004e81c07.parking_lot_core.2ud3nyzb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.rlib(parking_lot_core-704ca3b004e81c07.parking_lot_core.2ud3nyzb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.rlib(parking_lot_core-704ca3b004e81c07.parking_lot_core.2ud3nyzb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.rlib(parking_lot_core-704ca3b004e81c07.parking_lot_core.2ud3nyzb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-704ca3b004e81c07.rlib(parking_lot_core-704ca3b004e81c07.parking_lot_core.2ud3nyzb-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_utils-d6ac4ae2cc6dcaec.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_utils-d6ac4ae2cc6dcaec.rlib(crossbeam_utils-d6ac4ae2cc6dcaec.crossbeam_utils.39tyb4fj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_utils-d6ac4ae2cc6dcaec.rlib(crossbeam_utils-d6ac4ae2cc6dcaec.crossbeam_utils.39tyb4fj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_utils-d6ac4ae2cc6dcaec.rlib(crossbeam_utils-d6ac4ae2cc6dcaec.crossbeam_utils.39tyb4fj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_utils-d6ac4ae2cc6dcaec.rlib(crossbeam_utils-d6ac4ae2cc6dcaec.crossbeam_utils.39tyb4fj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_utils-d6ac4ae2cc6dcaec.rlib(crossbeam_utils-d6ac4ae2cc6dcaec.crossbeam_utils.39tyb4fj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_utils-d6ac4ae2cc6dcaec.rlib(crossbeam_utils-d6ac4ae2cc6dcaec.crossbeam_utils.39tyb4fj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_utils-d6ac4ae2cc6dcaec.rlib(crossbeam_utils-d6ac4ae2cc6dcaec.crossbeam_utils.39tyb4fj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_utils-d6ac4ae2cc6dcaec.rlib(crossbeam_utils-d6ac4ae2cc6dcaec.crossbeam_utils.39tyb4fj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_utils-d6ac4ae2cc6dcaec.rlib(crossbeam_utils-d6ac4ae2cc6dcaec.crossbeam_utils.39tyb4fj-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon-37168f421195ab9b.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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon-37168f421195ab9b.rlib(rustc_rayon-37168f421195ab9b.rustc_rayon.6rgfsqcg-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon-37168f421195ab9b.rlib(rustc_rayon-37168f421195ab9b.rustc_rayon.6rgfsqcg-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon-37168f421195ab9b.rlib(rustc_rayon-37168f421195ab9b.rustc_rayon.6rgfsqcg-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon-37168f421195ab9b.rlib(rustc_rayon-37168f421195ab9b.rustc_rayon.6rgfsqcg-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon-37168f421195ab9b.rlib(rustc_rayon-37168f421195ab9b.rustc_rayon.6rgfsqcg-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon-37168f421195ab9b.rlib(rustc_rayon-37168f421195ab9b.rustc_rayon.6rgfsqcg-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon-37168f421195ab9b.rlib(rustc_rayon-37168f421195ab9b.rustc_rayon.6rgfsqcg-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon-37168f421195ab9b.rlib(rustc_rayon-37168f421195ab9b.rustc_rayon.6rgfsqcg-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon-37168f421195ab9b.rlib(rustc_rayon-37168f421195ab9b.rustc_rayon.6rgfsqcg-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon-37168f421195ab9b.rlib(rustc_rayon-37168f421195ab9b.rustc_rayon.6rgfsqcg-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon-37168f421195ab9b.rlib(rustc_rayon-37168f421195ab9b.rustc_rayon.6rgfsqcg-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.i386/opt/rh/rust-toolset-1.35/root/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon-37168f421195ab9b.rlib(rustc_rayon-37168f421195ab9b.rustc_rayon.6rgfsqcg-cgu.9.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.YDyTj1 + 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.25s Building stage0 tool tidy (i686-unknown-linux-gnu) Compiling tidy v0.1.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/tidy) Finished release [optimized] target(s) in 0.74s 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 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Copying stage0 std from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 test artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.22s Copying stage0 test from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 compiler artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.28s Copying stage0 rustc from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 codegen artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu, llvm) Finished release [optimized] target(s) in 0.23s Assembling stage1 compiler (i686-unknown-linux-gnu) Building stage1 std artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Copying stage1 std from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 test artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.22s Copying stage1 test from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 compiler artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.29s Copying stage1 rustc from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 codegen artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu, llvm) Finished release [optimized] target(s) in 0.23s Assembling stage2 compiler (i686-unknown-linux-gnu) Uplifting stage1 std (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 std from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Uplifting stage1 test (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 test from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building test helpers running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m32" "-march=i686" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/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/i686-unknown-linux-gnu/native/rust-test-helpers/librust_test_helpers.a" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/native/rust-test-helpers/rust_test_helpers.o" exit code: 0 Building stage0 tool compiletest (i686-unknown-linux-gnu) 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-i686-unknown-linux-gnu/usr/bin/cargo" "build" "--target" "i686-unknown-linux-gnu" "-j" "40" "--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:00:31 + : + python2 ./x.py test --no-fail-fast cargo Finished dev [unoptimized] target(s) in 0.25s Building stage0 std artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Copying stage0 std from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 test artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.23s Copying stage0 test from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 compiler artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.28s Copying stage0 rustc from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 codegen artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu, llvm) Finished release [optimized] target(s) in 0.23s Assembling stage1 compiler (i686-unknown-linux-gnu) Building stage1 std artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Copying stage1 std from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 test artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.23s Copying stage1 test from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 compiler artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.29s Copying stage1 rustc from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 codegen artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu, llvm) Finished release [optimized] target(s) in 0.23s Assembling stage2 compiler (i686-unknown-linux-gnu) Uplifting stage1 std (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 std from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Uplifting stage1 test (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 test from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Uplifting stage1 rustc (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 rustc from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage2 tool cargo (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.30s Building rustdoc for stage2 (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.23s 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 47.40s Running build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/deps/cargo-ea50436fc57d152c running 25 tests test sources::git::source::test::test_canonicalize_cannot_be_a_base_urls ... ok test core::package_id_spec::tests::bad_parsing ... ok test core::package_id_spec::tests::good_parsing ... ok test sources::git::source::test::test_url_to_path_ident_with_path ... ok test sources::git::source::test::test_canonicalize_idents_different_protocols ... ok test sources::git::source::test::test_canonicalize_idents_by_stripping_trailing_url_slash ... ok test sources::git::source::test::test_canonicalize_idents_by_stripping_dot_git ... ok test sources::git::source::test::test_canonicalize_idents_by_lowercasing_github_urls ... ok test sources::registry::index::two_hyphen ... ok test sources::registry::index::no_hyphen ... ok test sources::git::source::test::test_url_to_path_ident_without_path ... ok test core::source::source_id::tests::github_sources_equal ... ok test core::package_id::tests::invalid_version_handled_nicely ... ok test sources::registry::index::overflow_hyphen ... ok test util::dependency_queue::test::deep_first ... ok test util::progress::test_progress_status_too_short ... ok test util::progress::test_progress_status_percentage ... ok test core::package_id::tests::display ... ok test sources::registry::escaped_cher_in_json ... ok test core::package_id_spec::tests::matching ... ok test util::progress::test_progress_status ... ok test core::package_id::tests::debug ... ok test util::network::with_retry_finds_nested_spurious_errors ... ok test util::network::with_retry_repeats_the_call_then_works ... ok warning: spurious network error (2 tries remaining): A second chained error warning: spurious network error (1 tries remaining): A non-spurious wrapping err 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 test util::lev_distance::test_lev_distance ... ok test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Running build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/deps/testsuite-da89b62dff8f0ad8 running 1554 tests test aaa_trigger_cross_compile_disabled_check ... ok test bad_config::bad2 ... ok test bad_config::bad4 ... ok test bad_config::bad_cargo_config_jobs ... ok test bad_config::bad_source_config6 ... ok test bad_config::bad_debuginfo ... ok test bad_config::bad_source_config5 ... ok test bad_config::bad_cargo_lock ... ok test bad_config::bad_dependency ... ok test bad_config::bad_source_config2 ... ok test bad_config::bad_git_dependency ... ok test bad_config::bad_source_config4 ... ok test bad_config::bad_source_config1 ... ok test bad_config::bad_opt_level ... ok test bad_config::ambiguous_git_reference ... ok test bad_config::both_git_and_path_specified ... ok test bad_config::invalid_global_config ... 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_example_names ... ok test bad_config::duplicate_deps_diff_sources ... ok test bad_config::malformed_override ... ok test bad_config::ignored_git_revision ... ok test bad_config::bad_source_config3 ... ok test bad_manifest_path::bench_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::bench_dir_plus_file ... ok test bad_manifest_path::bench_dir_containing_cargo_toml ... ok test bad_manifest_path::bench_dir_plus_path ... ok test bad_config::bad1 ... ok test bad_manifest_path::build_dir_containing_cargo_toml ... ok test bad_manifest_path::build_dir_plus_path ... ok test bad_manifest_path::build_dir_plus_file ... 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::doc_dir_containing_cargo_toml ... ok test bad_manifest_path::clean_dir_plus_path ... ok test bad_manifest_path::doc_dir_plus_file ... ok test bad_manifest_path::clean_dir_plus_file ... ok test bad_manifest_path::clean_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::doc_dir_plus_path ... ok test alt_registry::passwords_in_url_forbidden ... ok test bad_manifest_path::doc_dir_to_nonexistent_cargo_toml ... ok test alt_registry::registry_incompatible_with_git ... ok test bad_config::bad_source_config7 ... ok test bad_config::bad3 ... ok test bad_config::bad6 ... ok test bad_manifest_path::fetch_dir_plus_file ... ok test bad_manifest_path::fetch_dir_plus_path ... ok test bad_config::duplicate_packages_in_cargo_lock ... ok test bad_manifest_path::fetch_dir_containing_cargo_toml ... ok test bad_manifest_path::generate_lockfile_dir_plus_file ... ok test bad_manifest_path::generate_lockfile_dir_containing_cargo_toml ... ok test bad_manifest_path::fetch_dir_to_nonexistent_cargo_toml ... ok test bad_config::bad_source_in_cargo_lock ... 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_plus_path ... ok test bad_manifest_path::package_dir_containing_cargo_toml ... ok test bad_manifest_path::package_dir_plus_file ... ok test bad_manifest_path::pkgid_dir_plus_file ... ok test bad_manifest_path::pkgid_dir_containing_cargo_toml ... ok test bad_manifest_path::package_dir_to_nonexistent_cargo_toml ... 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_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::publish_dir_containing_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 alt_registry::cannot_publish_to_crates_io_with_registry_dependency ... ok test bad_manifest_path::run_dir_plus_file ... ok test bad_manifest_path::run_dir_plus_path ... ok test bad_manifest_path::rustc_dir_containing_cargo_toml ... ok test bad_manifest_path::run_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::rustc_dir_plus_file ... 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::rustc_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::rustc_dir_plus_path ... ok test bad_manifest_path::test_dir_containing_cargo_toml ... ok test bad_manifest_path::test_dir_plus_file ... ok test alt_registry::bad_registry_name ... 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_plus_file ... ok test bad_manifest_path::update_dir_plus_path ... ok test bad_config::bad_crate_type ... ok test bad_manifest_path::update_dir_containing_cargo_toml ... ok test bad_manifest_path::update_dir_to_nonexistent_cargo_toml ... ok test bad_manifest_path::verify_project_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_path ... ok test bad_manifest_path::verify_project_dir_plus_file ... ok test alt_registry::alt_reg_metadata ... ok test bench::bench_all_exclude ... ok test bench::bench_all_virtual_manifest ... ok test bench::bench_autodiscover_2015 ... ok test bench::bench_all_workspace ... ok test bench::bench_bin_implicit ... ok test bench::bench_dylib ... ok test bench::bench_bench_implicit ... ok test bench::bench_twice_with_build_cmd ... ok test bench::bench_multiple_targets ... ok test bench::bench_virtual_manifest_all_implied ... ok test bench::bench_with_examples ... ok test bench::bench_with_deep_lib_dep ... ok test bench::bench_tarname ... 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_verbose ... ok test bench::cargo_bench_twice ... ok test bench::dont_run_examples ... ok test build::bad_cargo_config ... ok test bench::external_bench_implicit ... ok test bench::external_bench_explicit ... ok test bench::json_artifact_includes_executable_for_benchmark ... ok test bench::legacy_bench_name ... ok test bench::many_similar_names ... ok test bench::lib_with_standard_name ... ok test bench::test_a_bench ... ok test bench::lib_bin_same_name ... ok test bench::lib_with_standard_name2 ... ok test bench::test_bench_multiple_packages ... ok test bad_config::bad_dependency_in_lockfile ... ok test bad_config::default_cargo_config_jobs ... ok test bench::test_bench_no_fail_fast ... ok test bench::test_bench_no_run ... ok test bench::pass_through_command_line ... ok test bad_config::good_cargo_config_jobs ... ok test build::cargo_build_empty_target ... ok test bad_config::unused_keys_in_virtual_manifest ... ok test build::cargo_compile_offline_not_try_update ... 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_with_empty_package_name ... ok test build::cargo_compile_with_filename ... ok test bad_config::warn_semver_metadata ... ok test bad_config::invalid_toml_historically_allowed_is_warned ... ok test build::building_a_dependent_crate_witout_bin_should_fail ... ok test build::bad_platform_specific_dependency ... ok test build::cargo_compile_with_forbidden_bin_target_name ... ok test build::cargo_compile_with_invalid_bin_target_name ... 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::build_all_virtual_manifest ... ok test build::cargo_compile_with_invalid_manifest3 ... ok test alt_registry::block_publish_due_to_no_token ... ok test build::cargo_compile_with_invalid_package_name ... ok test build::cargo_compile_with_invalid_non_numeric_dep_version ... ok test build::cargo_compile_with_invalid_version ... ok test build::build_virtual_manifest_all_implied ... ok test build::build_virtual_manifest_one_project ... ok test alt_registry::patch_alt_reg ... ok test build::cargo_compile_without_manifest ... ok test build::cargo_compile_with_workspace_excluded ... ok test alt_registry::publish_to_alt_registry ... ok test alt_registry::no_api ... ok test bad_config::empty_dependencies ... ok test build::build_all_member_dependency_same_name ... ok test build::bad_cargo_toml_in_target_dir ... ok test build::cargo_compile_path_with_offline ... ok test alt_registry::registry_and_path_dep_works ... ok test alt_registry::publish_with_crates_io_dep ... ok test alt_registry::alt_registry_and_crates_io_deps ... ok test build::cargo_compile_with_invalid_code_in_deps ... ok test alt_registry::publish_with_registry_dependency ... ok test build::cargo_compile_with_invalid_code ... ok test build::cargo_compile_manifest_path ... ok test build::build_all_exclude ... ok test build::cargo_compile_simple ... ok test build::all_targets_no_lib ... ok test alt_registry::depend_on_alt_registry_depends_on_same_registry_no_index ... ok test alt_registry::depend_on_alt_registry_depends_on_same_registry ... ok test build::dashes_in_crate_name_bad ... ok test build::cyclic_deps_rejected ... ok test build::avoid_dev_deps ... ok test build::build_all_workspace ... ok test alt_registry::unknown_registry ... ok test build::build_all_virtual_manifest_implicit_examples ... ok test build::cargo_fail_with_no_stderr ... ok test build::build_with_fake_libc_not_loading ... ok test alt_registry::depend_on_alt_registry_depends_on_crates_io ... ok test build::build_multiple_packages ... ok test build::compile_offline_while_transitive_dep_not_cached ... ok test build::build_all_workspace_implicit_examples ... ok test build::cdylib_final_outputs ... ok test build::cdylib_not_lifted ... ok test build::cargo_compile_with_warnings_in_the_root_package ... ok test build::dep_no_libs ... ok test build::cargo_compile_with_downloaded_dependency_with_offline ... ok test build::cargo_platform_specific_dependency_wrong_platform ... ok test build::cargo_compile_with_warnings_in_a_dep_package ... ok test bad_config::unused_keys ... ok test build::compile_then_delete ... ok test build::cargo_compile_incremental ... ok test alt_registry::depend_on_alt_registry ... ok test build::example_as_lib ... ok test build::cargo_compile_duplicate_build_targets ... ok test build::example_as_rlib ... ok test build::incompatible_dependencies_with_multi_semver ... ok test build::dotdir_root ... ok test build::compile_path_dep_then_change_version ... ok test build::incompatible_dependencies ... ok test build::inferred_bins_duplicate_name ... ok test build::example_bin_same_name ... ok test build::ignore_bad_directories ... ok test build::dashes_to_underscores ... ok test build::invalid_jobs ... ok test build::cargo_default_env_metadata_env_var ... ok test build::invalid_spec ... ok test build::explicit_bins_without_paths ... ok test build::deletion_causes_failure ... ok test build::example_as_dylib ... ok test build::explicit_color_config_is_propagated_to_rustc ... ok test build::ignore_broken_symlinks ... ok test build::ignore_dotdirs ... ok test build::ignore_dotfile ... ok test build::explicit_examples ... ok test build::crate_library_path_env_var ... ok test build::cargo_compile_with_nested_deps_shorthand ... ok test build::cargo_compile_with_nested_deps_longhand ... ok test build::no_bin_in_src_with_lib ... ok test build::example_as_proc_macro ... ok test build::missing_lib_and_bin ... ok test build::non_existing_binary ... ok test build::deterministic_cfg_flags ... ok test build::non_existing_example ... ok test build::filtering ... ok test build::filtering_implicit_bins ... ok test build::cargo_compile_with_nested_deps_correct_bin ... ok test build::cargo_compile_with_nested_deps_inferred ... ok test build::compiler_json_error_format ... ok test build::filtering_implicit_examples ... ok test build::ignores_carriage_return_in_lockfile ... ok test build::inferred_main_bin ... ok test build::manifest_with_bom_is_ok ... ok test build::freshness_ignores_excluded ... ok test build::rustc_env_var ... ok test build::compile_offline_without_maxvers_cached ... ok test build::inferred_bin_path ... ok test build::self_dependency ... ok test build::no_warn_about_package_metadata ... ok test build::inferred_bins ... ok test build::rustc_wrapper_from_path ... ok test build::rustc_wrapper_relative ... ok test build::implicit_examples ... ok test build::opt_out_of_bin ... ok test build::inferred_examples ... ok test build::panic_abort_compiles_with_panic_abort ... ok test build::inferred_benchmarks ... ok test build::target_filters_workspace_not_found ... ok test build::recompile_space_in_name ... ok test build::lib_with_standard_name ... ok test build::target_edition ... ok test build::uplift_pdb_of_bin_on_windows ... ok test build::release_build_ndebug ... ok test build::json_parse_fail ... ok test build::uplift_dsym_of_bin_on_mac ... ok test build::rustc_wrapper ... ok test build::wrong_message_format_option ... ok test build::inferred_tests ... ok test build::message_format_json_forward_stderr ... ok test build::many_crate_types_old_style_lib_location ... ok test build_auth::ssh_something_happens ... ok test build::incremental_config ... ok test build_auth::https_something_happens ... ok test build_lib::build_with_no_lib ... ok test build::many_crate_types_correct ... ok test build::run_proper_binary ... ok test build::run_proper_alias_binary_from_src ... ok test build::simple_staticlib ... ok test build::run_proper_alias_binary_main_rs ... ok test build::single_lib ... ok test build::crate_authors_env_vars ... ok test build::standard_build_no_ndebug ... ok test build::cargo_platform_specific_dependency ... ok test build_script::build_script_only ... ok test build::run_proper_binary_main_rs_as_foo ... ok test build::target_edition_override ... ok test build::predictable_filenames ... ok test build::custom_target_dir_env ... ok test build::no_linkable_target ... ok test build::offline_missing_optional ... ok test build::verbose_release_build ... ok test build::verbose_build ... ok test build::signal_display ... ok test build::staticlib_rlib_and_bin ... ok test build_plan::cargo_build_plan_build_script ... ok test build_plan::build_plan_with_dev_dep ... ok test build_script::custom_build_env_var_rustc_linker ... ok test build::run_proper_binary_main_rs ... ok test build_plan::cargo_build_plan_simple ... ok test build_plan::cargo_build_plan_single_dep ... ok test build::build_filter_infer_profile ... ok test build::crate_env_vars ... ok test build_lib::build_lib_only ... ok test build::targets_selected_default ... ok test build::transitive_dependencies_not_available ... ok test build::verbose_release_build_deps ... ok test build::offline_unused_target_dep ... ok test build::targets_selected_all ... ok test build::vv_prints_rustc_env_vars ... ok test build_auth::http_auth_offered ... ok test build::target_filters_workspace ... ok test build_script::links_duplicates ... ok test build_script::links_duplicates_with_cycle ... ok test build::rebuild_preserves_out_dir ... ok test build_script::links_duplicates_deep_dependency ... ok test build_lib::build_with_relative_cargo_home_path ... ok test build::custom_target_dir_line_parameter ... ok test build::same_metadata_different_directory ... ok test build_script::links_no_build_cmd ... ok test build_script::cfg_override ... ok test build::incremental_profile ... ok test build_script::changing_an_override_invalidates ... ok test build_script::custom_build_script_failed ... ok test build_script::build_script_with_lto ... 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::custom_build_script_wrong_rustc_flags ... ok test build_script::build_deps_simple ... ok test build_script::links_with_dots ... ok test build_script::build_deps_not_for_normal ... ok test build_script::adding_an_override_invalidates ... ok test build::legacy_binary_paths_warnings ... ok test build_script::if_build_set_to_false_dont_treat_build_rs_as_build_script ... ok test build_script::assume_build_script_when_build_rs_present ... ok test build_script::rename_with_link_search_path_cross ... ok test build_script::custom_target_dir ... ok test build_script::cfg_feedback ... ok test build_script::diamond_passes_args_only_once ... ok test build_script::cfg_env_vars_available ... ok test build_script::env_build ... ok test build_script::output_separate_lines ... ok test build_script::output_separate_lines_new ... ok test build_script::build_cmd_with_a_build_cmd ... ok test build_script::doctest_receives_build_link_args ... ok test build_script::only_rerun_build_script ... ok test build_script::links_passes_env_vars ... ok test build_script::deterministic_rustc_dependency_flags ... ok test build_script::please_respect_the_dag ... ok test build_script::cfg_override_test ... ok test build_script::release_with_build_script ... ok test build_script::custom_build_env_vars ... ok test build_script::non_utf8_output ... ok test build_script::code_generation ... ok test cargo_alias_config::alias_incorrect_config_type ... ok test build_script::overrides_and_links ... ok test build_script::profile_debug_0 ... ok test build_script::output_shows_on_vv ... ok test build_script::env_test ... ok test build_script::propagation_of_l_flags_new ... ok test build_script::cfg_test ... ok test build_script::propagation_of_l_flags ... ok test cargo_command::displays_subcommand_on_error ... ok test cargo_command::cargo_help ... ok test cargo_command::explain ... ok test cargo_command::find_closest_dont_correct_nonsense ... ok test cargo_command::list_command_looks_at_path ... ok test build_script::out_dir_is_preserved ... ok test cargo_command::list_command_resolves_symlinks ... ok test cargo_alias_config::alias_cannot_shadow_builtin_command ... ok test cargo_command::list_commands_with_descriptions ... ok test build_script::build_script_with_dynamic_native_dependency ... ok test cargo_command::z_flags_help ... ok test cargo_command::override_cargo_home ... ok test build_script::warnings_emitted ... ok test cargo_features::feature_required ... ok test build_script::unused_overrides ... ok test cargo_alias_config::alias_config ... ok test cargo_features::unknown_feature ... ok test cargo_alias_config::alias_with_flags_config ... ok test build_script::profile_and_opt_level_set_correctly ... ok test cargo_alias_config::alias_override_builtin_alias ... ok test cargo_alias_config::recursive_alias ... ok test cfg::cfg_expr ... ok test cfg::cfg_expr_bad ... ok test cfg::cfg_matches ... ok test cfg::cfg_syntax ... ok test cfg::bad_target_spec ... ok test cfg::cfg_syntax_bad ... ok test cargo_alias_config::alias_list_test ... ok test cfg::bad_target_spec2 ... ok test build_script::flags_go_into_tests ... ok test build_script::test_duplicate_deps ... ok test build_script::warnings_hidden_for_upstream ... ok test build_script::shared_dep_with_a_build_script ... ok test build_script::warnings_printed_on_vv ... ok test build_script::rebuild_continues_to_pass_env_vars ... ok test build_script::rustc_and_rustdoc_set_correctly ... ok test cargo_features::cant_publish ... ok test cargo_alias_config::builtin_alias_takes_options ... ok test build_script::test_dev_dep_build_script ... ok test cargo_features::stable_feature_warns ... ok test cargo_features::publish_allowed ... ok test cargo_features::nightly_feature_requires_nightly ... ok test cargo_command::cargo_subcommand_env ... ok test build_script::optional_build_dep_and_required_normal_dep ... ok test cargo_command::find_closest_biuld_to_build ... ok test cfg::dont_include ... ok test cargo_features::z_flags_rejected ... ok test build_script::rename_with_link_search_path ... ok test cfg::any_ok ... ok test cfg::cfg_easy ... ok test cargo_features::nightly_feature_requires_nightly_in_dep ... ok test build_script::test_a_lib_with_a_build_command ... ok test build_script::optional_build_script_dep ... ok test build_script::transitive_dep_host ... ok test cfg::ignore_version_from_other_platform ... ok test check::does_not_use_empty_rustc_wrapper ... ok test cfg::multiple_match_ok ... ok test cargo_command::cargo_subcommand_args ... ok test check::check_virtual_all_implied ... ok test check::check_fail ... ok test check::exclude_warns_on_non_existing_package ... ok test cfg::works_through_the_registry ... ok test check::check_success ... ok test check::check_all ... ok test check::check_unit_test_profile ... ok test cargo_command::cargo_help_external_subcommand ... ok test check::issue_3418 ... ok test check::rustc_check_err ... ok test check::error_from_deep_recursion ... ok test check::short_message_format ... ok test check::rustc_check ... ok test build_script::panic_abort_with_build_scripts ... ok test check::targets_selected_default ... ok test check::targets_selected_all ... 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 check::issue_3419 ... ok test config::config_toml_errors ... ok test config::config_relative_path ... ok test config::get_config ... ok test config::get_errors ... ok test config::config_unused_fields ... ok test config::load_nested ... ok test build_script::switch_features_rerun ... ok test check::build_check ... ok test cross_compile::build_deps_for_the_right_arch ... ok test clean::cargo_clean_simple ... ok test cross_compile::build_script_needed_for_host_and_target ... 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 cross_compile::build_script_only_host ... ok test custom_target::custom_target_dependency ... ok test collisions::collision_dylib ... ok test clean::clean_multiple_packages ... ok test custom_target::custom_target_minimal ... ok test check::dylib_check_preserves_build_cache ... ok test check::proc_macro ... ok test check::check_build ... ok test clean::different_dir ... ok test collisions::collision_export ... ok test collisions::collision_example ... ok test build_script::env_doc ... ok test concurrent::concurrent_installs ... ok test check::custom_derive ... ok test directory::git_override_requires_lockfile ... ok test build_script_env::rerun_if_env_changes ... ok test directory::not_there ... ok test concurrent::one_install_should_be_bad ... ok test directory::bad_file_checksum ... ok test concurrent::multiple_installs ... ok test directory::simple_install_fail ... ok test directory::version_missing ... ok test concurrent::git_same_repo_different_tags ... ok test dep_info::no_rewrite_if_no_change ... ok test concurrent::no_deadlock_with_git_dependencies ... ok test concurrent::same_project ... ok test dep_info::build_dep_info_rlib ... ok test build::lto_build ... ok test doc::doc_cap_lints ... ok test directory::crates_io_then_bad_checksum ... ok test dep_info::build_dep_info ... ok test clean::clean_verbose ... ok test directory::only_dot_files_ok ... ok test directory::random_files_ok ... ok test config::read_env_vars_for_config ... ok test concurrent::debug_release_ok ... ok test clean::registry ... ok test build_script_env::rerun_if_env_or_file_changes ... ok test doc::doc_message_format ... ok test clean::clean_git ... ok test directory::multiple ... ok test doc::doc_multiple_targets_same_name_bin ... ok test directory::simple ... ok test concurrent::multiple_registry_fetches ... ok test dep_info::build_dep_info_lib ... ok test doc::doc_multiple_targets_same_name_lib ... ok test death::ctrl_c_kills_everyone ... ok test directory::install_without_feature_dep ... ok test dep_info::build_dep_info_dylib ... ok test directory::git_lock_file_doesnt_change ... ok test doc::doc_no_libs ... ok test directory::crates_io_then_directory ... ok test corrupt_git::deleting_database_files ... ok test directory::simple_install ... ok test concurrent::git_same_branch_different_revs ... ok test directory::workspace_different_locations ... ok test check::check_filters ... ok test corrupt_git::deleting_checkout_files ... ok test doc::doc_target ... ok test concurrent::killing_cargo_releases_the_lock ... ok test clean::clean_release ... ok test check::check_artifacts ... ok test doc::short_message_format ... ok test build_script::rebuild_only_on_explicit_paths ... ok test build_script::cfg_doc ... ok test build_script::cfg_override_doc ... ok test doc::doc_all_virtual_manifest ... ok test doc::doc_lib_bin_same_name_documents_lib ... ok test doc::doc_multiple_targets_same_name_undoced ... ok test doc::doc_lib_bin_same_name_documents_named_bin_when_requested ... ok test doc::doc_multiple_deps ... ok test doc::doc_lib_bin_same_name_documents_lib_when_requested ... ok test features::cyclic_feature ... ok test doc::doc_private_items ... ok test doc::doc_lib_bin_same_name_documents_bins_when_requested ... ok test doc::doc_no_deps ... ok test doc::doc_virtual_manifest_all_implied ... ok test build_script::testing_and_such ... ok test doc::document_only_lib ... ok test doc::doc_multiple_targets_same_name ... ok test clean::build_script ... ok test features::invalid1 ... ok test doc::doc_twice ... ok test features::invalid2 ... ok test features::invalid3 ... ok test features::activating_feature_activates_dep ... ok test features::everything_in_the_lockfile ... ok test doc::doc_workspace_open_binary ... ok test edition::edition_works_for_build_script ... ok test features::invalid4 ... ok test features::invalid5 ... ok test features::invalid8 ... ok test features::invalid6 ... ok test features::invalid7 ... ok test features::namespaced_implicit_non_optional ... ok test features::namespaced_invalid_dependency ... ok test features::namespaced_invalid_feature ... ok test doc::doc_workspace_open_different_library_and_package_names ... ok test features::namespaced_non_optional_dependency ... ok test doc::doc_release ... ok test features::namespaced_shadowed_non_optional ... ok test features::namespaced_shadowed_dep ... ok test features::all_features_all_crates ... ok test doc::doc_same_name ... ok test features::no_transitive_dep_feature_requirement ... ok test doc::no_document_build_deps ... ok test doc::doc_workspace_open_help_message ... ok test features::cyclic_feature2 ... ok test doc::plugins_no_use_target ... ok test doc::doc_edition ... ok test fetch::fetch_all_platform_dependencies_when_no_target_is_given ... ok test doc::doc_target_edition ... ok test doc::doc_private_ws ... ok test fetch::fetch_platform_specific_dependencies ... ok test features::empty_features ... ok test fix::both_edition_migrate_flags ... ok test features::all_features_flag_enables_all_features ... ok test features::combining_features_and_package ... ok test fetch::no_deps ... ok test features::groups_on_groups_on_groups ... ok test doc::doc_workspace_open_binary_and_library ... ok test features::optional_and_dev_dep ... ok test features::namespaced_implicit_feature ... ok test features::many_cli_features ... ok test features::invalid9 ... ok test features::many_features_no_rebuilds ... ok test features::many_cli_features_comma_delimited ... ok test features::many_cli_features_comma_and_space_delimited ... ok test features::namespaced_same_name ... ok test features::invalid10 ... ok test features::only_dep_is_optional ... ok test features::no_rebuild_when_frobbing_default_feature ... ok test features::warn_if_default_features ... ok test features::default_feature_pulled_in ... ok test features::feature_off_dylib ... ok test features::transitive_features ... ok test fix::does_not_crash_with_rustc_wrapper ... ok test features::unions_work_with_no_default_features ... ok test features::dep_feature_in_cmd_line ... ok test fix::does_not_warn_about_dirty_ignored_files ... ok test clean::clean_doc ... ok test fix::do_not_fix_non_relevant_deps ... ok test fix::does_not_warn_about_clean_working_directory ... ok test features::union_features ... ok test fix::fix_deny_warnings ... ok test fix::fix_broken_if_requested ... ok test fix::fix_all_targets_by_default ... ok test fix::do_not_fix_broken_builds ... ok test features::no_feature_doesnt_build ... ok test fix::prepare_for_and_enable ... ok test fix::fix_deny_warnings_but_not_others ... ok test fix::fix_two_files ... ok test fix::fix_idioms ... ok test fix::fixes_extra_mut ... ok test doc::target_specific_not_documented ... ok test fix::fix_overlapping ... ok test fix::idioms_2015_ok ... ok test fix::no_changes_necessary ... ok test fix::local_paths ... ok test fix::fixes_two_missing_ampersands ... ok test doc::doc_all_member_dependency_same_name ... ok test fix::fix_path_deps ... ok test fix::only_warn_for_relevant_crates ... ok test fix::preserve_line_endings ... ok test fix::prepare_for_2018 ... ok test fix::shows_warnings ... ok test fix::doesnt_rebuild_dependencies ... ok test fix::specify_rustflags ... ok test fix::fix_with_common ... ok test fix::fix_in_existing_repo_weird_ignore ... ok test fix::tricky ... ok test fix::warns_about_staged_working_directory ... ok test doc::doc_all_workspace ... ok test doc::doc_dash_p ... ok test fix::warns_if_no_vcs_detected ... ok test fix::warns_about_dirty_working_directory ... ok test freshness::changing_lib_features_caches_targets ... ok test fix::upgrade_extern_crate ... ok test freshness::no_rebuild_if_build_artifacts_move_backwards_in_time ... ok test freshness::changing_rustflags_is_cached ... ok test freshness::change_panic_mode ... ok test freshness::no_rebuild_when_rename_dir ... ok test freshness::edition_change_invalidates ... ok test doc::doc_deps ... ok test fix::fix_features ... ok test fix::shows_warnings_on_second_run_without_changes ... ok test freshness::changing_bin_features_caches_targets ... ok test freshness::bust_patched_dep ... ok test generate_lockfile::cargo_update_generate_lockfile ... ok test freshness::path_dev_dep_registry_updates ... ok test generate_lockfile::duplicate_entries_in_lockfile ... ok test generate_lockfile::adding_and_removing_packages ... ok test freshness::changing_profiles_caches_targets ... ok test git::cargo_compile_forbird_git_httpsrepo_offline ... ok test generate_lockfile::no_index_update ... ok test doc::simple ... ok test generate_lockfile::preserve_line_endings_issue_2076 ... ok test doc::doc_only_bin ... ok test freshness::rebuild_if_build_artifacts_move_forward_in_time ... ok test freshness::metadata_change_invalidates ... ok test git::cargo_compile_with_short_ssh_git ... ok test freshness::modifying_and_moving ... ok test fix::broken_fixes_backed_out ... ok test git::dep_with_bad_submodule ... ok test freshness::dont_rebuild_based_on_plugins ... ok test fix::fix_to_broken_code ... ok test freshness::unused_optional_dep ... ok test freshness::reuse_panic_pm ... ok test freshness::rerun_if_changed_in_dep ... ok test freshness::no_rebuild_transitive_target_deps ... ok test doc::output_not_captured ... ok test freshness::fingerprint_cleaner_does_not_rebuild ... ok test freshness::reuse_shared_build_dep ... ok test freshness::rebuild_if_environment_changes ... ok test git::git_with_cli_force ... ok test git::include_overrides_gitignore ... ignored test freshness::rebuild_sub_package_then_while_package ... ok test git::invalid_git_dependency_manifest ... ok test freshness::same_build_dir_cached_packages ... ok test git::failed_submodule_checkout ... ok test generate_lockfile::preserve_metadata ... ok test doc::rerun_when_dir_removed ... ok test freshness::reuse_workspace_lib ... ok test freshness::reuse_panic_build_dep_test ... ok test git::denied_lints_are_allowed ... ok test git::fetch_downloads ... ok test git::cargo_compile_with_malformed_nested_paths ... ok test git::cargo_compile_simple_git_dep ... 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::use_the_cli ... ok test git::update_one_dep_in_repo_with_many_deps ... ok test git::cargo_compile_with_meta_package ... ok test init::auto_git ... ok test git::update_ambiguous ... ok test init::bin_already_exists_explicit_nosrc ... ok test init::bin_already_exists_explicit ... 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 git::cargo_compile_with_nested_paths ... ok test init::both_lib_and_bin ... ok test init::cargo_lock_gitignored_if_lib1 ... ok test init::confused_by_multiple_lib_files ... ok test init::cargo_lock_not_gitignored_if_bin2 ... ok test init::cargo_lock_gitignored_if_lib2 ... ok test init::cargo_lock_not_gitignored_if_bin1 ... ok test git::dep_with_submodule ... ok test freshness::simulated_docker_deps_stay_cached ... ok test init::git_autodetect ... ok test init::gitignore_added_newline_in_existing ... ok test init::gitignore_appended_not_replaced ... ok test init::invalid_dir_name ... ok test init::gitignore_no_newline_in_new ... ok test init::lib_already_exists_nosrc ... ok test freshness::simple_deps_cleaner_does_not_rebuild ... ok test init::lib_already_exists_src ... ok test init::mercurial_added_newline_in_existing ... ok test init::mercurial_autodetect ... ok test init::multibin_project_name_clash ... ok test git::git_name_not_always_needed ... ok test init::mercurial_no_newline_in_new ... ok test init::reserved_name ... ok test init::no_filename ... ok test init::terminating_newline_in_new_mercurial_ignore ... ok test git::lints_are_suppressed ... ok test init::terminating_newline_in_existing_git_ignore ... ok test init::terminating_newline_in_existing_mercurial_ignore ... ok test init::unknown_flags ... ok test init::simple_git ... ok test init::terminating_newline_in_new_git_ignore ... ok test init::with_argument ... ok test freshness::script_fails_stay_dirty ... ok test install::bad_version ... ok test install::bad_paths ... ok test git::two_at_rev_instead_of_tag ... ok test git::dont_require_submodules_are_checked_out ... ok test install::install_empty_argument ... ok test git::templatedir_doesnt_cause_problems ... ok test install::compile_failure ... ok test init::simple_lib ... ok test doc::issue_5345 ... ok test init::simple_git_ignore_exists ... ok test fix::shows_warnings_on_second_run_without_changes_on_multiple_targets ... ok test git::two_deps_only_update_one ... ok test doc::features ... ok test git::doctest_same_name ... ok test install::install_target_foreign ... ok test git::warnings_in_git_dep ... ok test init::simple_bin ... ok test git::dev_deps_with_testing ... ok test install::install_global_cargo_config ... ok test install::install_path_config ... ok test install::installs_from_cwd_with_2018_warnings ... ok test git::two_revs_same_deps ... ok test install::do_not_rebuilds_on_local_install ... ok test install::dev_dependencies_no_check ... ok test install::git_repo ... ok test git::update_one_source_updates_all_packages_in_that_git_source ... ok test doc::target_specific_documented ... ok test install::missing ... ok test install::examples ... ok test install::multiple_crates_error ... ok test install::git_with_lockfile ... ok test install::no_binaries ... ok test freshness::dirty_both_lib_and_test ... ok test install::no_binaries_or_examples ... ok test git::switch_deps_does_not_update_transitive ... ok test install::not_both_vers_and_version ... ok test freshness::modify_only_some_files ... ok test fix::fixes_missing_ampersand ... ok test freshness::rebuild_on_mid_build_file_modification ... ok test install::dev_dependencies_lock_file_untouched ... ok test git::switch_sources ... ok test install::install_ignores_local_cargo_config ... ok test install::install_path ... ok test install::installs_beta_version_by_explicit_name_from_git ... ok test install::installs_from_cwd_by_default ... ok test install::install_twice ... ok test install::test_install_git_cannot_be_a_base_url ... ok test freshness::rebuild_tests_if_lib_changes ... ok test install::uninstall_cwd_no_project ... ok test install::uninstall_cwd_not_installed ... ok test install::uninstall_multiple_and_specifying_bin ... ok test install::uninstall_pkg_does_not_exist ... ok test install::custom_target_dir_for_git_source ... ok test git::git_dep_build_cmd ... ok test install::install_target_native ... ok test install::install_force ... ok test git::git_repo_changing_no_rebuild ... ok test git::git_build_cmd_freshness ... ok test install::git_repo_replace ... ok test install::legacy_version_requirement ... ok test install::multiple_crates_auto_binaries ... ok test list_targets::doc_list_targets ... ok test install::q_silences_warnings ... ok test install::list_error ... ok test install::install_respects_lock_file ... ok test install::install_force_bin ... ok test install::install_force_partial_overlap ... ok test install::multiple_crates_auto_examples ... ok test list_targets::build_list_targets ... ok test list_targets::install_list_targets ... ok test list_targets::run_list_targets ... ok test list_targets::bench_list_targets ... ok test local_registry::invalid_dir_bad ... ok test list_targets::check_list_targets ... ok test install::lock_file_path_deps_ok ... ok test jobserver::jobserver_and_j ... ok test list_targets::fix_list_targets ... ok test git::cargo_compile_offline_with_cached_git_dep ... ok test freshness::changing_bin_paths_common_target_features_caches_targets ... ok test list_targets::test_list_targets ... ok test list_targets::rustc_list_targets ... ok test list_targets::rustdoc_list_targets ... ok test lockfile_compat::listed_checksum_bad_if_we_cannot_compute ... ok test lockfile_compat::locked_correct_error ... ok test install::uninstall_cwd ... ok test install::readonly_dir ... ok test git::dep_with_changed_submodule ... ok test git::recompilation ... ok test install::subcommand_works_out_of_the_box ... ok test lockfile_compat::unlisted_checksum_is_bad_if_we_calculate ... ok test member_errors::member_manifest_path_io_error ... ok test login::login_with_old_and_new_credentials ... ok test login::login_with_new_credentials ... ok test member_errors::toml_deserialize_manifest_error ... ok test lockfile_compat::wrong_checksum_is_an_error ... ok test install::workspace_uses_workspace_target_dir ... ok test login::login_without_credentials ... ok test install::uninstall_piecemeal ... ok test install::pick_max_version ... ok test login::login_with_old_credentials ... ok test login::new_credentials_is_used_instead_old ... ok Updating `/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/cit/t801/registry` index test metabuild::metabuild_error_both ... ok test login::registry_credentials ... ok test metabuild::metabuild_gated ... ok test member_errors::member_manifest_version_error ... ok test metabuild::metabuild_missing_dep ... ok test metabuild::metabuild_metadata ... ok test install::multiple_crates_git_all ... ok test install::reports_unsuccessful_subcommand_result ... ok test install::uninstall_bin_does_not_exist ... ok test install::simple ... ok test install::uninstall_multiple_and_some_pkg_does_not_exist ... ok test install::version_too ... ok test install::vers_precise ... ok test metadata::cargo_metadata_no_deps_cwd ... ok test metadata::cargo_metadata_no_deps_path_to_cargo_toml_absolute ... ok test install::multiple_crates_select ... ok test metadata::cargo_metadata_no_deps_path_to_cargo_toml_parent_absolute ... ok test metadata::cargo_metadata_bad_version ... ok test metadata::cargo_metadata_no_deps_path_to_cargo_toml_relative ... ok test metadata::cargo_metadata_no_deps_path_to_cargo_toml_parent_relative ... ok test metadata::cargo_metadata_simple ... ok test metadata::cargo_metadata_with_invalid_manifest ... ok test metadata::deps_with_bin_only ... ok test metadata::example ... ok test local_registry::depend_on_yanked ... ok test metadata::example_lib ... ok test metadata::library_with_features ... ok test metadata::cargo_metadata_warns_on_implicit_version ... ok test metadata::library_with_several_crate_types ... ok test metabuild::metabuild_build_plan ... ok test metadata::multiple_features ... ok test metadata::metadata_links ... ok test metadata::package_metadata ... ok test metadata::cargo_metadata_with_deps_and_version ... ok test metadata::target_edition_2018 ... ok test git::stale_cached_version ... ok test metadata::package_edition_2018 ... ok test local_registry::multiple_names ... ok test metadata::workspace_metadata ... ok test local_registry::different_directory_replacing_the_registry_is_bad ... ok test net_config::net_retry_git_outputs_warning ... ok test net_config::net_retry_loads_from_config ... ok test metadata::workspace_metadata_no_deps ... ok test new::both_lib_and_bin ... ok test new::explicit_invalid_name_not_suggested ... ok test lockfile_compat::current_lockfile_format ... ok test new::existing ... ok test lockfile_compat::frozen_flag_preserves_old_lockfile ... ok test new::explicit_project_name ... ok test new::author_prefers_cargo ... ok Initialized empty Git repository in /builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/cit/t857/.git/ test metadata::rename_dependency ... ok test new::finds_author_email ... ok test lockfile_compat::lockfile_without_root ... ok test new::finds_author_priority ... ok test local_registry::multiple_versions ... ok test install::list ... ok test new::finds_author_user ... ok test new::finds_author_user_escaped ... ok test new::finds_git_email ... ok test new::finds_author_git ... ok test new::no_argument ... ok test new::git_prefers_command_line ... ok test new::finds_author_username ... ok test new::new_default_edition ... ok test new::new_with_edition_2018 ... ok test new::new_with_blank_email ... ok test install::use_path_workspace ... ok test new::invalid_characters ... ok test new::new_with_edition_2015 ... ok test new::finds_git_author ... ok test new::keyword_name ... ok test new::reserved_name ... ok test lockfile_compat::totally_wild_checksums_works ... ok test new::strip_angle_bracket_author_email ... ok test local_registry::path_dep_rewritten ... ok test local_registry::interdependent ... ok test new::new_with_bad_edition ... ok test install::multiple_pkgs ... ok test new::unknown_flags ... ok test new::reserved_binary_name ... ok test new::finds_local_author_git ... ok test metabuild::metabuild_override ... ok test new::subpackage_no_git ... ok test overrides::missing_version ... ok test new::subpackage_git_with_gitignore ... ok test overrides::invalid_semver_version ... ok test new::subpackage_git_with_vcs_arg ... ok test lockfile_compat::oldest_lockfile_still_works ... ok test metadata::cargo_metadata_path_to_cargo_toml_project ... ok test overrides::different_version ... ok test overrides::multiple_specs ... ok test overrides::override_plus_dep ... ok test overrides::override_wrong_version ... ok test jobserver::jobserver_exists ... ok test overrides::override_with_nothing ... ok test overrides::override_wrong_name ... ok test metabuild::metabuild_failed_build_json ... ok test git::update_with_shared_deps ... ok test new::simple_lib ... ok test overrides::test_override_dep ... ok test new::simple_git ... ok test local_registry::crates_io_registry_url_is_optional ... ok test out_dir::rlib_with_debug ... ok test metabuild::metabuild_basic ... ok test out_dir::static_library_with_debug ... ok test metabuild::metabuild_lib_name ... ok test package::broken_symlink ... ok test package::do_not_package_if_repository_is_dirty ... ok test local_registry::simple ... ok test overrides::update ... ok test package::ignore_workspace_specifier ... ok test out_dir::dynamic_library_with_debug ... ok test package::include ... ok test metabuild::metabuild_json_artifact ... ok test metabuild::metabuild_fresh ... ok test new::simple_bin ... ok test out_dir::binary_with_debug ... ok test out_dir::out_dir_is_a_file ... ok test package::generated_manifest ... ok test overrides::paths_ok_with_optional ... ok test package::package_lockfile_git_repo ... ok test package::package_git_submodule ... ok test package::exclude ... ok test overrides::no_override_self ... ok test package::edition_with_metadata ... ok test package::package_two_kinds_of_deps ... ok test package::package_weird_characters ... ok test metabuild::metabuild_external_dependency ... ok test overrides::paths_add_optional_bad ... ok test overrides::override_simple ... ok test overrides::broken_path_override_warns ... ok test package::path_dependency_no_version ... ok test metabuild::metabuild_two_versions ... ok test metabuild::metabuild_workspace ... ok test package::test_edition_malformed ... ok test overrides::no_warnings_when_replace_is_used_in_another_workspace_member ... ok test overrides::replace_registry_with_path ... ok test overrides::persists_across_rebuilds ... ok test package::vcs_file_collision ... ok test overrides::override_to_path_dep ... ok test overrides::locked_means_locked_yes_no_seriously_i_mean_locked ... ok test overrides::override_an_override ... ok test patch::non_crates_io ... ok test out_dir::include_only_the_binary_from_the_current_package ... ok test overrides::overriding_nonexistent_no_spurious ... ok test overrides::override_adds_some_deps ... ok test overrides::replace_to_path_dep ... ok test package::no_lock_file_with_library ... ok test out_dir::avoid_build_scripts ... ok test package::package_no_default_features ... ok test install::install_location_precedence ... ok test patch::replace_with_crates_io ... ok test metabuild::metabuild_links ... ok test metabuild::metabuild_optional_dep ... ok test overrides::override_with_default_feature ... ok test overrides::transitive ... ok test package::test_edition ... ok test package::lock_file_and_workspace ... ok test path::error_message_for_missing_manifest ... ok test patch::no_warn_ws_patch ... ok test path::missing_path_dependency ... ok test package::no_duplicates_from_modified_tracked_files ... ok test package::package_with_all_features ... ok test overrides::use_a_spec_to_select ... ok test jobserver::makes_jobserver_used ... ok test patch::new_minor ... ok test path::cargo_compile_with_root_dev_deps ... ok test package::package_with_select_features ... ok test package::package_verbose ... ok test package::package_lib_with_bin ... ok test patch::patch_in_virtual ... ok test patch::nonexistent ... ok test patch::patch_git ... ok test patch::remove_patch ... ok test patch::patch_to_git ... ok test plugins::panic_abort_plugins ... ok test patch::patch_depends_on_another_patch ... ok test patch::unused ... ok test plugins::plugin_with_dynamic_native_dependency ... ok test plugins::plugin_to_the_max ... ok test package::do_not_package_if_src_was_modified ... ok test plugins::shared_panic_abort_plugins ... ok test patch::unused_git ... ok test proc_macro::plugin_and_proc_macro ... ok test patch::transitive_new_major ... ok test patch::replace ... ok test patch::transitive_new_minor ... ok test proc_macro::proc_macro_crate_type_multiple ... ok test profile_config::profile_config_error_paths ... ok test profile_config::profile_config_all_options ... ok test patch::replace_prerelease ... ok test patch::add_patch ... ok test path::custom_target_no_rebuild ... ok test patch::new_major ... ok test patch::add_ignored_patch ... ok test profile_config::profile_config_syntax_errors ... ok test profile_config::profile_config_override_spec_multiple ... ok test profile_config::profile_config_validate_errors ... ok test path::cargo_compile_with_transitive_dev_deps ... ok test path::override_path_dep ... ok test path::override_relative ... ok test plugins::native_plugin_dependency_with_custom_ar_linker ... ok test path::invalid_path_dep_in_workspace_with_lockfile ... ok test profile_overrides::profile_override_dev_release_only ... ok test profile_overrides::profile_override_bad_settings ... ok test path::workspace_produces_rlib ... ok test profile_overrides::profile_override_spec_multiple ... ok test profile_overrides::profile_override_gated ... ok test package::package_lockfile ... ok test package::ignore_nested ... ok test package::package_verification ... ok test path::cargo_compile_with_root_dev_deps_with_testing ... ok test path::override_and_depend ... ok test package::repackage_on_source_change ... ok test profile_config::profile_config_no_warn_unknown_override ... ok test profile_config::profile_config_gated ... ok test profile_config::profile_config_mixed_types ... ok test package::simple ... ok test profile_config::profile_config_validate_warnings ... ok test path::dev_deps_no_rebuild_lib ... ok test path::override_self ... ok test out_dir::replaces_artifacts ... ok test proc_macro::proc_macro_crate_type_warning_plugin ... ok test proc_macro::proc_macro_crate_type_warning ... ok test plugins::doctest_a_plugin ... ok test path::no_rebuild_two_deps ... ok test profile_config::profile_config_override_precedence ... ok test profile_overrides::profile_override_basic ... ok test publish::block_publish_no_registry ... ok test profile_overrides::profile_override_warnings ... ok test profile_overrides::profile_override_spec ... ok test package::metadata_warning ... ok test publish::dont_publish_dirty ... ok test publish::git_deps ... ok test profiles::opt_level_override_0 ... ok test profiles::debug_override_1 ... ok test publish::new_crate_rejected ... ok test publish::path_dependency_no_version ... ok test publish::old_token_location ... ok test publish::publish_empty_list ... ok test profiles::profile_doc_deprecated ... ok test profiles::profile_overrides ... ok test profiles::profile_panic_test_bench ... ok test proc_macro::noop ... ok test publish::registry_not_in_publish_list ... ok test publish::simple ... ok test plugins::plugin_integration ... ok test proc_macro::probe_cfg_before_crate_type_discovery ... ok test profiles::top_level_overrides_deps ... ok test profile_overrides::profile_override_hierarchy ... ok test publish::unpublishable_crate ... ok test publish::simple_with_host ... ok test publish::simple_with_index_and_host ... ok test read_manifest::cargo_read_manifest_cwd ... ok test profiles::profile_in_virtual_manifest_works ... ok test profile_overrides::override_proc_macro ... 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 profiles::profile_in_non_root_manifest_triggers_a_warning ... ok test publish::publish_with_no_default_features ... ok test registry::disallow_network ... ok test proc_macro::impl_and_derive ... ok test profiles::panic_unwind_does_not_build_twice ... ok test publish::ignore_when_crate_ignored ... ok test proc_macro::proc_macro_doctest ... ok test publish::publish_allowed_registry ... ok test publish::dry_run ... ok test publish::publish_clean ... ok test registry::bad_and_or_malicious_packages_rejected ... ok test registry::bad_cksum ... ok test publish::publish_when_ignored ... ok test registry::fetch_downloads ... ok test registry::login_with_no_cargo_dir ... ok test publish::publish_in_sub_repo ... ok test registry::mis_hyphenated ... ok test registry::nonexistent ... ok test registry::login_with_differently_sized_token ... ok test publish::publish_with_all_features ... ok test path::path_dep_build_cmd ... ok test profile_targets::profile_selection_check_all_targets ... ok test profile_targets::profile_selection_check_all_targets_test ... ok test registry::relying_on_a_yank_is_bad ... ok test publish::publish_with_select_features ... ok test proc_macro::proc_macro_crate_type ... ok test registry::update_offline ... ok test profile_targets::profile_selection_check_all_targets_release ... ok test profile_targets::profile_selection_build ... ok test path::nested_deps_recompile ... ok test registry::update_backtracking_ok ... ok test path::no_rebuild_dependency ... ok test registry::bad_license_file ... ok test registry::update_same_prefix_oh_my_how_was_this_a_bug ... ok test registry::wrong_case ... ok test registry::dev_dependency_not_used ... ok test registry::wrong_version ... ok test profile_targets::profile_selection_build_release ... ok test registry::lockfile_locks ... ok test registry::bundled_crate_in_registry ... ok test registry::old_version_req ... ok test registry::lockfile_locks_transitively ... ok test path::cargo_compile_with_nested_deps_shorthand ... ok test registry::git_and_registry_dep ... ok test registry::old_version_req_upstream ... ok test profile_targets::profile_selection_build_all_targets ... ok test registry::deps ... ok test profile_targets::profile_selection_test ... ok test rename_deps::features_not_working ... ok test profile_targets::profile_selection_build_all_targets_release ... ok test profile_targets::profile_selection_bench ... ok test registry::git_init_templatedir_missing ... ok test registry::only_download_relevant ... ok test registry::resolve_and_backtracking ... ok test registry::package_with_path_deps ... ok test profile_targets::profile_selection_test_release ... ok test required_features::bench_arg_features ... ok test profiles::opt_level_overrides ... ok test required_features::bench_multiple_required_features ... ok test required_features::bench_default_features ... ok test rename_deps::rename_twice ... ok test registry::add_dep_dont_update_registry ... ok test registry::update_with_lockfile_if_packages_missing ... ok test registry::use_semver ... ok test registry::toml_lies_but_index_is_truth ... ok test registry::upstream_warnings_on_extra_verbose ... ok test registry::bump_version_dont_update_registry ... ok test required_features::run_default_multiple_required_features ... ok test registry::update_registry ... ok test registry::vv_prints_warnings ... 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 rename_deps::rename_with_dash ... ok test registry::update_multiple_packages ... ok test rename_deps::rename_dependency ... ok test rename_deps::rename_with_different_names ... ok test rename_deps::rename_and_patch ... ok test resolve::minimal_version_cli ... 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 registry::yanks_in_lockfiles_are_ok ... 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 rename_deps::lots_of_names ... ok test required_features::build_bin_arg_features ... ok test rename_deps::rename_affects_fingerprint ... ok test resolve::resolving_with_many_versions ... ok test resolve::resolving_with_sys_crates ... ok test registry::update_transitive_dependency ... ok test resolve::resolving_with_specific_version ... ok test resolve::test_dependency_with_empty_name ... ok test resolve::test_resolving_common_transitive_deps ... ok test resolve::resolving_wrong_case_from_registry ... ok test resolve::test_resolving_empty_dependency_list ... ok test resolve::test_resolving_multiple_deps ... ok test resolve::test_resolving_maximum_version_with_transitive_deps ... ok test resolve::test_resolving_only_package ... ok test resolve::test_resolving_one_dep ... ok test resolve::test_resolving_minimum_version_with_transitive_deps ... ok test resolve::test_resolving_with_dev_deps ... ok test resolve::test_resolving_transitive_deps ... ok test resolve::test_resolving_with_same_name ... ok test rename_deps::features_still_work ... ok test run::bogus_default_run ... ok test run::autobins_disables ... ok test required_features::build_example_arg_features ... ok test registry::yanks_are_not_used ... ok test run::default_run_unstable ... ok test run::either_name_or_example ... ok test registry::yanks_in_lockfiles_are_ok_for_other_update ... ok test publish::publish_with_patch ... ok test required_features::build_example_default_features ... ok test run::no_main_file ... ok test required_features::install_arg_features ... ok test registry::simple ... ok test rename_deps::can_run_doc_tests ... ok test required_features::test_arg_features ... ok test required_features::build_bin_default_features ... ok test registry::updating_a_dep ... ok test run::run_bins ... ok test required_features::build_bin_multiple_required_features ... ok test required_features::run_default ... ok test required_features::test_default_features ... ok test run::run_example_autodiscover_2015 ... ok test run::run_example_autodiscover_2015_with_autoexamples_disabled ... ok test registry::yanks_in_lockfiles_are_ok_with_new_dep ... ok test required_features::test_skips_compiling_bin_with_missing_required_features ... ok test run::run_library_example ... ok test run::default_run_workspace ... ok test run::exit_code ... ok test path::thin_lto_works ... ok test run::exit_code_verbose ... ok test registry::update_lockfile ... ok test run::run_with_filename ... ok test run::fail_no_extra_verbose ... ok test required_features::install_multiple_required_features ... ok test run::simple_quiet_and_verbose ... ok test run::quiet_and_verbose_config ... ok test run::too_many_bins ... ok test run::release_works ... ok test registry::update_publish_then_update ... ok test run::run_bin_different_name ... ok test run::explicit_bin_with_args ... ok test required_features::install_default_features ... ok test registry::rename_deps_and_features ... ok test rustc::fails_when_trying_to_build_main_and_lib_with_args ... ok test rustc::fail_with_multiple_packages ... ok test run::one_bin_multiple_examples ... ok test run::dashes_are_forwarded ... ok test required_features::build_example_multiple_required_features ... ok test rustc::fails_with_args_to_all_binaries ... ok test required_features::test_multiple_required_features ... ok test run::run_example_autodiscover_2018 ... ok test run::run_dylib_dep ... ok test run::run_example_autodiscover_2015_with_autoexamples_enabled ... ok test run::run_bin_example ... ok test run::run_example ... ok test run::run_from_executable_folder ... ok test rustc::build_lib_for_foo ... ok test run::run_workspace ... ok test run::simple ... ok test rustc::build_only_bar_dependency ... ok test rustc::lib ... ok test run::simple_quiet ... ok test run::library_paths_sorted_alphabetically ... ok test run::example_with_release_flag ... ok test rustc::build_foo_with_bar_dependency ... ok test rustdocflags::bad_flags ... ok test run::simple_with_args ... ok test rustc::rustc_fingerprint ... ok test rustc::build_with_args_to_one_of_multiple_binaries ... ok test rustc::build_main_and_allow_unstable_options ... ok test rustc::rustc_test_with_implicit_bin ... ok test rustc::targets_selected_default ... ok test required_features::dep_feature_in_toml ... ok test rustc::targets_selected_all ... ok test rustc::build_with_args_to_one_of_multiple_tests ... ok test run::run_with_library_paths ... ok test rustc::rustc_with_other_profile ... ok test required_features::dep_feature_in_cmd_line ... ok test rustdocflags::rustdocflags_passed_to_rustdoc_through_cargo_test_only_once ... ok test run::specify_name ... ok test resolve::resolving_with_deep_traps ... ok test run::specify_default_run ... ok test rustflags::build_rustflags_no_recompile ... ok test rustflags::build_rustflags_plugin ... ok test run::run_multiple_packages ... ok test rustflags::build_rustflags_plugin_with_target ... ok test rustflags::build_rustflags_build_script ... ok test rustflags::build_rustflags_recompile ... ok test rustflags::build_rustflags_with_home_config ... ok test rustflags::build_rustflags_plugin_dep ... ok test rustflags::build_rustflags_recompile2 ... ok test rustdocflags::rustdocflags_passed_to_rustdoc_through_cargo_test ... ok test rustflags::build_rustflags_normal_source ... ok test rustflags::build_rustflags_plugin_dep_with_target ... ok test rustflags::build_rustflags_build_script_dep ... ok test rustflags::build_rustflags_build_script_with_target ... ok test rustflags::build_rustflags_build_script_dep_with_target ... ok test rustflags::env_rustflags_no_recompile ... ok test rustflags::env_rustflags_build_script ... ok test rustflags::env_rustflags_plugin ... ok test rustflags::build_rustflags_normal_source_with_target ... ok test rustflags::env_rustflags_recompile ... ok test rustflags::env_rustflags_plugin_with_target ... ok test rustflags::env_rustflags_recompile2 ... ok test path::deep_dependencies_trigger_rebuild ... ok Updating `/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/cit/t1238/registry` index test rustflags::env_rustflags_plugin_dep ... ok test search::multiple_query_params ... ok test search::help ... ok test rustflags::env_rustflags_normal_source ... ok test search::replace_default ... ok test search::simple ... ok test rustflags::env_rustflags_build_script_dep ... ok test search::not_update ... ok test support::lines_match_works ... ok test support::resolver::meta_test_deep_pretty_print_registry ... ok test search::simple_with_host ... ok test search::simple_with_index_and_host ... ok test rustflags::env_rustflags_misspelled_build_script ... ok test rustflags::env_rustflags_build_script_with_target ... ok test rustflags::env_rustflags_plugin_dep_with_target ... ok test rustflags::env_rustflags_build_script_dep_with_target ... ok test test::bench_without_name ... ok test test::bad_example ... ok test test::bin_without_name ... ok test test::can_not_no_run_doc_tests ... ok test rustflags::target_rustflags_normal_source ... ok test profile_targets::profile_selection_doc ... ok test shell_quoting::features_are_quoted ... ok test rustflags::target_rustflags_precedence ... ok test rustflags::env_rustflags_normal_source_with_target ... ok test rustflags::two_matching_in_config ... ok test rustflags::target_rustflags_string_and_array_form1 ... ok test rustc_info_cache::rustc_info_cache ... ok test rustflags::target_rustflags_string_and_array_form2 ... ok test support::resolver::meta_test_multiple_versions_strategy ... ok test resolve::resolving_with_constrained_cousins_backtrack ... ok test test::cargo_test_quiet_no_harness ... ok test test::cargo_test_env ... ok test rustflags::env_rustflags_misspelled ... ok test test::cargo_test_failing_test_in_lib ... ok test test::almost_cyclic_but_not_quite ... ok test test::cargo_test_quiet_with_harness ... ok test test::cargo_test_overflow_checks ... ok test support::resolver::meta_test_deep_trees_from_strategy ... ok test test::bin_there_for_integration ... ok test test::bin_is_preserved ... ok test rustdoc::features ... ok test rustdoc::rustdoc_simple ... ok test rustdoc::rustdoc_same_name_documents_lib ... ok test test::cfg_test_even_with_no_harness ... ok test test::build_then_selective_test ... ok test rustflags::cfg_rustflags_normal_source ... ok test rustflags::cfg_rustflags_precedence ... ok test rustdoc::rustdoc_only_bar_dependency ... ok test rustdocflags::parses_env ... ok test test::cargo_test_twice ... ok test test::cargo_test_failing_test_in_bin ... ok test test::example_without_name ... ok test test::cargo_test_failing_test_in_test ... ok test test::cargo_test_verbose ... ok test rustdocflags::rustdocflags_misspelled ... ok test test::cargo_test_release ... ok test rustdoc::rustdoc_foo_with_bar_dependency ... ok test rustdocflags::parses_config ... ok test test::cargo_test_simple ... ok test test::dylib_doctest2 ... ok test rustdoc::rustdoc_args ... ok test test::doctest_skip_staticlib ... ok test test::cyclic_dev ... ok test test::doctest_only_with_dev_dep ... ok test test::can_not_mix_doc_tests_and_regular_tests ... ok test test::dashes_to_underscores ... ok test test::example_with_dev_dep ... ok test test::dont_run_examples ... ok test test::json_artifact_includes_executable_for_integration_tests ... ok test test::doctest_dev_dep ... ok test test::json_artifact_includes_executable_for_library_tests ... ok test test::json_artifact_includes_test_flag ... ok test test::cyclic_dev_dep_doc_test ... ok test test::doctest_feature ... ok test test::dev_dep_with_build_script ... ok test test::filter_no_doc_tests ... ok test test::dylib_doctest ... ok test test::external_test_explicit ... ok test test::lib_with_standard_name2 ... ok test test::test_dep_with_dev ... ok test test::lib_without_name ... ok test test::lib_bin_same_name ... ok test test::bin_does_not_rebuild_tests ... ok test test::only_test_docs ... ok test test::external_test_implicit ... ok test test::example_bin_same_name ... ok test test::external_test_named_test ... ok test test::doctest_and_registry ... ok test test::many_similar_names ... ok test test::selective_test_optional_dep ... ok test test::pass_through_command_line ... ok test test::panic_abort_multiple ... ok test test::lib_with_standard_name ... ok test test::test_all_targets_lib ... ok test test::selective_testing_with_docs ... ok test test::test_build_script_links ... ok test test::selective_test_wonky_profile ... ok test test::no_fail_fast ... ok test test::test_all_exclude ... ok test test::test_no_harness ... ok test test::test_filtered_excludes_compiling_examples ... ok test test::test_no_run ... ok test test::test_multiple_packages ... ok test test::find_dependency_of_proc_macro_dependency_with_target ... ok test test::test_all_virtual_manifest ... ok test test::test_without_name ... ok test test::example_dev_dep ... ok test test::test_many_targets ... ok test test::test_hint_workspace ... ok test test::pass_correct_cfgs_flags_to_rustdoc ... ok test test::test_all_member_dependency_same_name ... ok test test::test_run_implicit_bin_target ... ok test test::test_all_workspace ... ok test test::test_panic_abort_with_dep ... ok test tool_paths::custom_runner_cfg_collision ... ok test test::test_order ... ok test test::test_many_with_features ... ok test small_fd_limits::use_git_gc ... ok test update::preserve_top_comment ... ok test test::test_run_specific_bin_target ... ok test tool_paths::absolute_tools ... ok test test::test_dylib ... ok test test::publish_a_crate_without_tests ... ok test small_fd_limits::avoid_using_git ... ok test verify_project::cargo_verify_project_cwd ... ok test version::version_works_with_bad_config ... ok test test::test_run_specific_test_target ... 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 test::test_run_implicit_test_target ... ok test verify_project::cargo_verify_project_honours_unstable_features ... ok test version::simple ... ok test tool_paths::relative_tools ... ok test version::version_works_with_bad_target_dir ... ok test test::test_with_example_twice ... ok test test::test_run_implicit_bench_target ... ok test version::version_works_without_rustc ... ok test tool_paths::custom_runner_cfg ... ok test update::change_package_version ... ok test tool_paths::pathless_tools ... ok test workspaces::dangling_member ... ok test workspaces::cycle ... ok test workspaces::error_if_parent_cargo_toml_is_invalid ... ok test test::test_hint_not_masked_by_doctest ... ok test test::test_then_build ... ok test workspaces::glob_syntax_invalid_members ... ok test workspaces::include_virtual ... ok test test::test_release_ignore_panic ... ok test workspaces::invalid_members ... ok test test::test_virtual_manifest_all_implied ... ok test tool_paths::custom_runner_cfg_precedence ... ok test workspaces::invalid_parent_pointer ... ok test workspaces::fetch_fetches_all ... ok test test::selective_testing ... ok test workspaces::new_warns_you_this_will_not_work ... ok test workspaces::parent_doesnt_point_to_child ... ok test workspaces::cargo_home_at_root_works ... ok test update::add_dep_deep_new_requirement ... ok test workspaces::bare_workspace_ok ... ok test update::update_precise ... ok test test::test_with_deep_lib_dep ... ok test test::test_twice_with_build_cmd ... ok test rustdocflags::rerun ... ok test workspaces::same_names_in_workspace ... ok test workspaces::explicit_package_argument_works_with_virtual_manifest ... ok test update::update_via_new_member ... ok test update::conservative ... ok test test::test_with_lib_dep ... ok test update::transitive_minor_update ... ok test update::dry_run_update ... ok test workspaces::excluded_simple ... ok test workspaces::two_roots ... ok test workspaces::virtual_build_no_members ... ok test workspaces::lockfile_can_specify_nonexistant_members ... ok test workspaces::virtual_default_member_is_not_a_member ... ok test update::update_via_new_dep ... ok test workspaces::virtual_misconfigure ... ok test workspaces::path_dep_outside_workspace_is_not_member ... ok test warn_on_failure::warning_on_lib_failure ... ok test workspaces::workspace_isnt_root ... ok test update::everything_real_deep ... ok test update::minor_update_two_places ... ok test workspaces::exclude_members_preferred ... ok test workspaces::ws_rustc_err ... ok test workspaces::you_cannot_generate_lockfile_for_empty_workspaces ... ok test warn_on_failure::no_warning_on_bin_failure ... ok test workspaces::lock_doesnt_change_depending_on_crate ... ok test workspaces::inferred_root ... ok test workspaces::members_include_path_deps ... ok test workspaces::relative_path_for_root_works ... ok test warn_on_failure::no_warning_on_success ... ok test test::test_run_implicit_example_target ... ok test workspaces::exclude_but_also_depend ... ok test workspaces::simple_explicit_default_members ... ok test workspaces::ws_warn_path ... ok test workspaces::dont_recurse_out_of_cargo_home ... ok test workspaces::ws_err_unused ... ok test workspaces::inferred_path_dep ... ok test workspaces::share_dependencies ... ok test workspaces::virtual_build_all_implied ... ok test workspaces::virtual_default_members ... ok test tool_paths::custom_runner ... ok test workspaces::workspace_in_git ... ok test workspaces::virtual_works ... ok test workspaces::parent_pointer_works ... ok test workspaces::test_path_dependency_under_member ... ok test workspaces::relative_path_for_member_works ... ok test workspaces::simple_explicit ... ok test resolve::large_conflict_cache ... ok test workspaces::lock_works_for_everyone ... ok test workspaces::dep_used_with_separate_features ... ok test workspaces::workspace_with_transitive_dev_deps ... ok test workspaces::test_in_and_out_of_workspace ... ok test workspaces::relative_rustc ... ok test workspaces::ws_warn_unused ... ok test workspaces::glob_syntax ... ok test workspaces::transitive_path_dep ... ok test resolve::prop_removing_a_dep_cant_break ... ok test resolve::prop_minimum_version_errors_the_same ... ok test workspaces::rebuild_please ... ok test resolve::prop_passes_validation ... ok test resolve::prop_limited_independence_of_irrelevant_alternatives ... ok test resolve::resolving_with_many_equivalent_backtracking ... 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:01:25 + python2 ./x.py test --no-fail-fast clippy Finished dev [unoptimized] target(s) in 0.25s Building stage0 std artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Copying stage0 std from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 test artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.23s Copying stage0 test from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 compiler artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.28s Copying stage0 rustc from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 codegen artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu, llvm) Finished release [optimized] target(s) in 0.23s Assembling stage1 compiler (i686-unknown-linux-gnu) Building stage1 std artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.25s Copying stage1 std from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 test artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.23s Copying stage1 test from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 compiler artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.29s Copying stage1 rustc from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 codegen artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu, llvm) Finished release [optimized] target(s) in 0.23s Assembling stage2 compiler (i686-unknown-linux-gnu) Uplifting stage1 std (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 std from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Uplifting stage1 test (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 test from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Uplifting stage1 rustc (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 rustc from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage2 tool clippy-driver (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.26s Building rustdoc for stage2 (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s 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 15.35s Running build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/deps/clippy_driver-ac16243438982cef running 1 test test test_arg_value ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Running build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/deps/compile_test-0d1ab24c7ae2501d running 1 test running 289 tests test [ui] ui/author/matches.rs ... ok test [ui] ui/assertions_on_constants.rs ... FAILED test [ui] ui/attrs.rs ... FAILED test [ui] ui/assign_ops2.rs ... FAILED test [ui] ui/const_static_lifetime.rs ... FAILED test [ui] ui/absurd-extreme-comparisons.rs ... FAILED test [ui] ui/clone_on_copy_mut.rs ... ok test [ui] ui/bool_comparison.rs ... FAILED test [ui] ui/approx_const.rs ... ok test [ui] ui/block_in_if_condition.rs ... FAILED test [ui] ui/cmp_owned.rs ... FAILED test [ui] ui/borrow_box.rs ... FAILED test [ui] ui/complex_types.rs ... FAILED test [ui] ui/arithmetic.rs ... ok test [ui] ui/booleans.rs ... FAILED test [ui] ui/blacklisted_name.rs ... ok test [ui] ui/assign_ops.rs ... ok test [ui] ui/char_lit_as_u8.rs ... ok test [ui] ui/cast_alignment.rs ... ok test [ui] ui/cmp_null.rs ... ok test [ui] ui/collapsible_if.rs ... FAILED test [ui] ui/cognitive_complexity.rs ... FAILED test [ui] ui/cmp_nan.rs ... ok test [ui] ui/cast_size.rs ... FAILED test [ui] ui/cast.rs ... ok test [ui] ui/copy_iterator.rs ... ok test [ui] ui/bit_masks.rs ... ok test [ui] ui/cast_ref_to_mut.rs ... ok test [ui] ui/checked_unwrap.rs ... ok test [ui] ui/box_vec.rs ... ok test [ui] ui/author.rs ... ok test [ui] ui/builtin-type-shadow.rs ... ok test [ui] ui/author/call.rs ... ok test [ui] ui/cognitive_complexity_attr_used.rs ... ok test [ui] ui/bytecount.rs ... ok test [ui] ui/clone_on_copy_impl.rs ... ok test [ui] ui/author/for_loop.rs ... ok test [ui] ui/crashes/ice-1782.rs ... FAILED test [ui] ui/crashes/ice-2774.rs ... FAILED test [ui] ui/crashes/enum-glob-import-crate.rs ... ok test [ui] ui/crashes/needless_borrow_fp.rs ... FAILED test [ui] ui/crashes/single-match-else.rs ... FAILED test [ui] ui/crashes/procedural_macro.rs ... FAILED test [ui] ui/crashes/ice-1969.rs ... ok test [ui] ui/crashes/ice-1588.rs ... ok test [ui] ui/crashes/cc_seme.rs ... ok test [ui] ui/crashes/match_same_arms_const.rs ... ok test [ui] ui/cfg_attr_rustfmt.rs ... ok test [ui] ui/crashes/associated-constant-ice.rs ... ok test [ui] ui/crashes/ice-2499.rs ... ok test [ui] ui/decimal_literal_representation.rs ... ok test [ui] ui/crashes/if_same_then_else.rs ... ok test [ui] ui/default_trait_access.rs ... FAILED test [ui] ui/cstring.rs ... ok test [ui] ui/crashes/issues_loop_mut_cond.rs ... ok test [ui] ui/crashes/ice-3462.rs ... ok test [ui] ui/enums_clike.rs ... ignored test [ui] ui/crashes/ice_exacte_size.rs ... ok test [ui] ui/crashes/ice-700.rs ... ok test [ui] ui/crashes/ice-2865.rs ... ok test [ui] ui/crashes/issue-825.rs ... ok test [ui] ui/crashes/issue-2862.rs ... ok test [ui] ui/crashes/ice-2594.rs ... ok test [ui] ui/cast_lossless_float.rs ... ok test [ui] ui/crashes/ice-3151.rs ... ok test [ui] ui/crashes/ice-2760.rs ... ok test [ui] ui/crashes/needless_lifetimes_impl_trait.rs ... ok test [ui] ui/cast_lossless_integer.rs ... ok test [ui] ui/crashes/ice-3747.rs ... ok test [ui] ui/crashes/regressions.rs ... ok test [ui] ui/crashes/ice-2727.rs ... ok test [ui] ui/crashes/returns.rs ... ok test [ui] ui/crashes/mut_mut_macro.rs ... ok test [ui] ui/deprecated.rs ... ok test [ui] ui/crashes/whitelist/conf_whitelisted.rs ... ok test [ui] ui/dbg_macro.rs ... ok test [ui] ui/crashes/used_underscore_binding_macro.rs ... ok test [ui] ui/derive.rs ... FAILED test [ui] ui/dlist.rs ... FAILED test [ui] ui/diverging_sub_expression.rs ... ok test [ui] ui/doc.rs ... ok test [ui] ui/duration_subsec.rs ... FAILED test [ui] ui/double_neg.rs ... ok test [ui] ui/drop_bounds.rs ... ok test [ui] ui/duplicate_underscore_argument.rs ... ok test [ui] ui/empty_line_after_outer_attribute.rs ... FAILED test [ui] ui/else_if_without_else.rs ... FAILED test [ui] ui/empty_enum.rs ... ok test [ui] ui/drop_forget_ref.rs ... ok test [ui] ui/eq_op.rs ... FAILED test [ui] ui/escape_analysis.rs ... FAILED test [ui] ui/enum_variants.rs ... ok test [ui] ui/enum_glob_use.rs ... ok test [ui] ui/expect_fun_call.rs ... FAILED test [ui] ui/drop_forget_copy.rs ... ok test [ui] ui/erasing_op.rs ... ok test [ui] ui/double_parens.rs ... ok test [ui] ui/explicit_write.rs ... FAILED test [ui] ui/fn_to_numeric_cast.rs ... FAILED test [ui] ui/eval_order_dependence.rs ... ok test [ui] ui/float_cmp.rs ... FAILED test [ui] ui/entry.rs ... ok test [ui] ui/fallible_impl_from.rs ... ok test [ui] ui/functions.rs ... FAILED test [ui] ui/formatting.rs ... ok test [ui] ui/for_kv_map.rs ... ok test [ui] ui/float_cmp_const.rs ... ok test [ui] ui/for_loop_over_option_result.rs ... ok test [ui] ui/eta.rs ... ok test [ui] ui/filter_methods.rs ... ok test [ui] ui/explicit_counter_loop.rs ... ok test [ui] ui/crashes/ice-3741.rs ... FAILED test [ui] ui/fxhash.rs ... ok test [ui] ui/functions_maxlines.rs ... ok test [ui] ui/ice-2636.rs ... ok test [ui] ui/ice-3717.rs ... ok test [ui] ui/if_not_else.rs ... FAILED test [ui] ui/identity_op.rs ... ok test [ui] ui/infinite_loop.rs ... FAILED test [ui] ui/for_loop.rs ... ok test [ui] ui/implicit_hasher.rs ... FAILED test [ui] ui/infinite_iter.rs ... FAILED test [ui] ui/inline_fn_without_body.rs ... ok test [ui] ui/impl.rs ... ok test [ui] ui/implicit_return.rs ... ok test [ui] ui/identity_conversion.rs ... ok test [ui] ui/int_plus_one.rs ... ok test [ui] ui/invalid_upcast_comparisons.rs ... FAILED test [ui] ui/issue-3145.rs ... ok test [ui] ui/issue_3849.rs ... FAILED test [ui] ui/ifs_same_cond.rs ... ok test [ui] ui/item_after_statement.rs ... FAILED test [ui] ui/iter_skip_next.rs ... FAILED test [ui] ui/invalid_ref.rs ... ok test [ui] ui/indexing_slicing.rs ... ok test [ui] ui/if_same_then_else.rs ... ok test [ui] ui/issue_2356.rs ... ok test [ui] ui/large_enum_variant.rs ... ok test [ui] ui/double_comparison.rs ... ok test [ui] ui/let_return.rs ... ok test [ui] ui/lifetimes.rs ... FAILED test [ui] ui/let_unit.rs ... FAILED test [ui] ui/let_if_seq.rs ... ok test [ui] ui/len_zero.rs ... ok test [ui] ui/literals.rs ... ok test [ui] ui/excessive_precision.rs ... ok test [ui] ui/manual_memcpy.rs ... ok test [ui] ui/map_flatten.rs ... ok test [ui] ui/matches.rs ... FAILED test [ui] ui/match_overlapping_arm.rs ... ok test [ui] ui/methods.rs ... FAILED test [ui] ui/missing-doc-crate-missing.rs ... ok test [ui] ui/match_bool.rs ... ok test [ui] ui/mem_forget.rs ... ok test [ui] ui/min_max.rs ... ok test [ui] ui/mem_discriminant.rs ... ok test [ui] ui/missing_const_for_fn/could_be_const.rs ... FAILED test [ui] ui/match_same_arms.rs ... ok test [ui] ui/module_inception.rs ... ok test [ui] ui/missing-doc.rs ... ok test [ui] ui/map_unit_fn.rs ... ok test [ui] ui/module_name_repetitions.rs ... ok test [ui] ui/mut_from_ref.rs ... FAILED test [ui] ui/modulo_one.rs ... ok test [ui] ui/missing-doc-crate.rs ... ok test [ui] ui/missing_inline.rs ... ok test [ui] ui/inconsistent_digit_grouping.rs ... ok test [ui] ui/mut_mut.rs ... ok test [ui] ui/large_digit_groups.rs ... FAILED test [ui] ui/format.rs ... ok test [ui] ui/infallible_destructuring_match.rs ... ok test [ui] ui/mut_reference.rs ... ok test [ui] ui/mut_range_bound.rs ... ok test [ui] ui/mutex_atomic.rs ... ok test [ui] ui/missing_const_for_fn/cant_be_const.rs ... ok test [ui] ui/needless_bool.rs ... ok test [ui] ui/needless_borrow.rs ... FAILED test [ui] ui/my_lint.rs ... FAILED test [ui] ui/lint_without_lint_pass.rs ... FAILED test [ui] ui/needless_borrowed_ref.rs ... ok test [ui] ui/needless_continue.rs ... FAILED test [ui] ui/needless_collect.rs ... ok test [ui] ui/needless_pass_by_value.rs ... FAILED test [ui] ui/needless_return.rs ... ok test [ui] ui/needless_range_loop.rs ... FAILED test [ui] ui/needless_update.rs ... ok test [ui] ui/new_without_default.rs ... FAILED test [ui] ui/non_copy_const.rs ... FAILED test [ui] ui/ok_expect.rs ... FAILED test [ui] ui/ok_if_let.rs ... ok test [ui] ui/non_expressive_names.rs ... FAILED test [ui] ui/neg_multiply.rs ... ok test [ui] ui/new_ret_no_self.rs ... ok test [ui] ui/option_map_unit_fn.rs ... FAILED test [ui] ui/op_ref.rs ... ok test [ui] ui/neg_cmp_op_on_partial_ord.rs ... ok test [ui] ui/open_options.rs ... ok test [ui] ui/no_effect.rs ... ok test [ui] ui/never_loop.rs ... ok test [ui] ui/print.rs ... FAILED test [ui] ui/panic_unimplemented.rs ... FAILED test [ui] ui/patterns.rs ... ok test [ui] ui/mistyped_literal_suffix.rs ... ok test [ui] ui/partialeq_ne_impl.rs ... ok test [ui] ui/print_with_newline.rs ... ok test [ui] ui/mem_replace.rs ... ok test [ui] ui/option_option.rs ... ok test [ui] ui/print_literal.rs ... ok test [ui] ui/proc_macro.rs ... ok test [ui] ui/overflow_check_conditional.rs ... ok test [ui] ui/needless_pass_by_value_proc_macro.rs ... ok test [ui] ui/ptr_arg.rs ... ok test [ui] ui/transmute_64bit.rs ... ignored test [ui] ui/question_mark.rs ... ok test [ui] ui/map_clone.rs ... ok test [ui] ui/range.rs ... ok test [ui] ui/into_iter_on_ref.rs ... ok test [ui] ui/get_unwrap.rs ... ok test [ui] ui/range_plus_minus_one.rs ... ok test [ui] ui/redundant_closure_call.rs ... ok test [ui] ui/redundant_field_names.rs ... FAILED test [ui] ui/redundant_clone.rs ... ok test [ui] ui/redundant_pattern_matching.rs ... ok test [ui] ui/reference.rs ... ok test [ui] ui/rename.rs ... ok test [ui] ui/result_map_unwrap_or_else.rs ... FAILED test [ui] ui/renamed_builtin_attr.rs ... ok test [ui] ui/similar_names.rs ... FAILED test [ui] ui/serde.rs ... ok test [ui] ui/regex.rs ... ok test [ui] ui/result_map_unit_fn.rs ... ok test [ui] ui/string_extend.rs ... FAILED test [ui] ui/single_match_else.rs ... ok test [ui] ui/short_circuit_statement.rs ... ok test [ui] ui/slow_vector_initialization.rs ... ok test [ui] ui/shadow.rs ... ok test [ui] ui/temporary_assignment.rs ... ok test [ui] ui/strings.rs ... FAILED test [ui] ui/suspicious_arithmetic_impl.rs ... FAILED test [ui] ui/single_match.rs ... ok test [ui] ui/transmute.rs ... FAILED test [ui] ui/trailing_zeros.rs ... ok test [ui] ui/swap.rs ... ok test [ui] ui/toplevel_ref_arg.rs ... ok test [ui] ui/transmute_32bit.rs ... FAILED test [ui] ui/println_empty_string.rs ... ok test [ui] ui/transmuting_null.rs ... ok test [ui] ui/trivially_copy_pass_by_ref.rs ... FAILED test [ui] ui/precedence.rs ... ok test [ui] ui/ptr_offset_with_cast.rs ... ok test [ui] ui/unicode.rs ... ok test [ui] ui/unknown_attribute.rs ... ok test [ui] ui/unknown_clippy_lints.rs ... ok test [ui] ui/unnecessary_filter_map.rs ... FAILED test [ui] ui/unit_cmp.rs ... ok test [ui] ui/unnecessary_clone.rs ... FAILED test [ui] ui/unnecessary_operation.rs ... FAILED test [ui] ui/ty_fn_sig.rs ... ok test [ui] ui/unused_labels.rs ... FAILED test [ui] ui/unneeded_field_pattern.rs ... ok test [ui] ui/unsafe_removed_from_name.rs ... ok test [ui] ui/unused_io_amount.rs ... FAILED test [ui] ui/unused_lt.rs ... FAILED test [ui] ui/use_self.rs ... FAILED test [ui] ui/unwrap_or.rs ... ok test [ui] ui/used_underscore_binding.rs ... FAILED test [ui] ui/replace_consts.rs ... ok test [ui] ui/vec.rs ... FAILED test [ui] ui/useful_asref.rs ... ok test [ui] ui/wildcard_enum_match_arm.rs ... FAILED test [ui] ui/string_lit_as_bytes.rs ... ok test [ui] ui/starts_ends_with.rs ... ok test [ui] ui/write_literal.rs ... ok test [ui] ui/write_with_newline.rs ... ok test [ui] ui/zero_div_zero.rs ... ok test [ui] ui/while_loop.rs ... ok test [ui] ui/wrong_self_convention.rs ... ok test [ui] ui/zero_ptr.rs ... ok test [ui] ui/types.rs ... ok test [ui] ui/single_char_pattern.rs ... ok test [ui] ui/unreadable_literal.rs ... FAILED test [ui] ui/unnecessary_ref.rs ... ok test [ui] ui/unit_arg.rs ... ok test [ui] ui/useless_attribute.rs ... ok test [ui] ui/vec_box_sized.rs ... ok test [ui] ui/unnecessary_fold.rs ... ok test [ui] ui/unused_unit.rs ... ok test [ui] ui/writeln_empty_string.rs ... ok test [ui] ui/useless_asref.rs ... ok failures: ---- [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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/assertions_on_constants.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/assertions_on_constants.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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 note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. ---- [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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/attrs.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/attrs.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/assign_ops2.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/assign_ops2.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/const_static_lifetime.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/const_static_lifetime.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/absurd-extreme-comparisons.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/absurd-extreme-comparisons.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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 ---- [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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/bool_comparison.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/bool_comparison.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/block_in_if_condition.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/block_in_if_condition.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/cmp_owned.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/cmp_owned.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/borrow_box.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/borrow_box.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/complex_types.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/complex_types.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/booleans.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/booleans.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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 | } | 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 | } | 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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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") && (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" { 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" && (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!") -} + } 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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/collapsible_if.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/collapsible_if.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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"} {"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":299,"byte_end":428,"line_start":15,"line_end":19,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" if x == \"hello\" || x == \"world\" {","highlight_start":5,"highlight_end":38},{"text":" if y == \"world\" || y == \"hello\" {","highlight_start":1,"highlight_end":42},{"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":"try","code":null,"level":"help","spans":[{"file_name":"tests/ui/collapsible_if.rs","byte_start":299,"byte_end":428,"line_start":15,"line_end":19,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" if x == \"hello\" || x == \"world\" {","highlight_start":5,"highlight_end":38},{"text":" if y == \"world\" || y == \"hello\" {","highlight_start":1,"highlight_end":42},{"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\" || x == \"world\") && (y == \"world\" || y == \"hello\") {\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:15:5\n |\nLL | / if x == \"hello\" || x == \"world\" {\nLL | | if y == \"world\" || y == \"hello\" {\nLL | | println!(\"Hello world!\");\nLL | | }\nLL | | }\n | |_____^\nhelp: try\n |\nLL | if (x == \"hello\" || x == \"world\") && (y == \"world\" || y == \"hello\") {\nLL | println!(\"Hello world!\");\nLL | }\n |\n\n"} {"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":434,"byte_end":563,"line_start":21,"line_end":25,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" if x == \"hello\" && x == \"world\" {","highlight_start":5,"highlight_end":38},{"text":" if y == \"world\" || y == \"hello\" {","highlight_start":1,"highlight_end":42},{"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":"try","code":null,"level":"help","spans":[{"file_name":"tests/ui/collapsible_if.rs","byte_start":434,"byte_end":563,"line_start":21,"line_end":25,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" if x == \"hello\" && x == \"world\" {","highlight_start":5,"highlight_end":38},{"text":" if y == \"world\" || y == \"hello\" {","highlight_start":1,"highlight_end":42},{"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\" && x == \"world\" && (y == \"world\" || y == \"hello\") {\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:21:5\n |\nLL | / if x == \"hello\" && x == \"world\" {\nLL | | if y == \"world\" || y == \"hello\" {\nLL | | println!(\"Hello world!\");\nLL | | }\nLL | | }\n | |_____^\nhelp: try\n |\nLL | if x == \"hello\" && x == \"world\" && (y == \"world\" || y == \"hello\") {\nLL | println!(\"Hello world!\");\nLL | }\n |\n\n"} {"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":569,"byte_end":698,"line_start":27,"line_end":31,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" if x == \"hello\" || x == \"world\" {","highlight_start":5,"highlight_end":38},{"text":" if y == \"world\" && y == \"hello\" {","highlight_start":1,"highlight_end":42},{"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":"try","code":null,"level":"help","spans":[{"file_name":"tests/ui/collapsible_if.rs","byte_start":569,"byte_end":698,"line_start":27,"line_end":31,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" if x == \"hello\" || x == \"world\" {","highlight_start":5,"highlight_end":38},{"text":" if y == \"world\" && y == \"hello\" {","highlight_start":1,"highlight_end":42},{"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\" || x == \"world\") && y == \"world\" && y == \"hello\" {\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:27:5\n |\nLL | / if x == \"hello\" || x == \"world\" {\nLL | | if y == \"world\" && y == \"hello\" {\nLL | | println!(\"Hello world!\");\nLL | | }\nLL | | }\n | |_____^\nhelp: try\n |\nLL | if (x == \"hello\" || x == \"world\") && y == \"world\" && y == \"hello\" {\nLL | println!(\"Hello world!\");\nLL | }\n |\n\n"} {"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":704,"byte_end":833,"line_start":33,"line_end":37,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" if x == \"hello\" && x == \"world\" {","highlight_start":5,"highlight_end":38},{"text":" if y == \"world\" && y == \"hello\" {","highlight_start":1,"highlight_end":42},{"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":"try","code":null,"level":"help","spans":[{"file_name":"tests/ui/collapsible_if.rs","byte_start":704,"byte_end":833,"line_start":33,"line_end":37,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" if x == \"hello\" && x == \"world\" {","highlight_start":5,"highlight_end":38},{"text":" if y == \"world\" && y == \"hello\" {","highlight_start":1,"highlight_end":42},{"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\" && x == \"world\" && y == \"world\" && y == \"hello\" {\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:33:5\n |\nLL | / if x == \"hello\" && x == \"world\" {\nLL | | if y == \"world\" && y == \"hello\" {\nLL | | println!(\"Hello world!\");\nLL | | }\nLL | | }\n | |_____^\nhelp: try\n |\nLL | if x == \"hello\" && x == \"world\" && y == \"world\" && y == \"hello\" {\nLL | println!(\"Hello world!\");\nLL | }\n |\n\n"} {"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":839,"byte_end":925,"line_start":39,"line_end":43,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" if 42 == 1337 {","highlight_start":5,"highlight_end":20},{"text":" if 'a' != 'A' {","highlight_start":1,"highlight_end":24},{"text":" println!(\"world!\")","highlight_start":1,"highlight_end":31},{"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":"try","code":null,"level":"help","spans":[{"file_name":"tests/ui/collapsible_if.rs","byte_start":839,"byte_end":925,"line_start":39,"line_end":43,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" if 42 == 1337 {","highlight_start":5,"highlight_end":20},{"text":" if 'a' != 'A' {","highlight_start":1,"highlight_end":24},{"text":" println!(\"world!\")","highlight_start":1,"highlight_end":31},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" }","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":"if 42 == 1337 && 'a' != 'A' {\n println!(\"world!\")\n}","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: this if statement can be collapsed\n --> tests/ui/collapsible_if.rs:39:5\n |\nLL | / if 42 == 1337 {\nLL | | if 'a' != 'A' {\nLL | | println!(\"world!\")\nLL | | }\nLL | | }\n | |_____^\nhelp: try\n |\nLL | if 42 == 1337 && 'a' != 'A' {\nLL | println!(\"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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/cognitive_complexity.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/cognitive_complexity.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/cast_size.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/cast_size.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/crashes/ice-1782.rs stdout ---- thread '[ui] ui/crashes/ice-1782.rs' panicked at 'failed to exec `"/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/crashes/ice-1782.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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/single-match-else.rs stdout ---- thread '[ui] ui/crashes/single-match-else.rs' panicked at 'failed to exec `"/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/crashes/single-match-else.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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/default_trait_access.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/default_trait_access.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/derive.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/derive.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/dlist.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/dlist.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/duration_subsec.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/duration_subsec.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/empty_line_after_outer_attribute.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/empty_line_after_outer_attribute.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/else_if_without_else.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/else_if_without_else.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/eq_op.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/eq_op.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/escape_analysis.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/escape_analysis.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/expect_fun_call.rs stdout ---- normalized stderr: expected stderr: error: use of `expect` followed by a function call --> $DIR/expect_fun_call.rs:28:26 | LL | with_none_and_format.expect(&format!("Error {}: fake error", error_code)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| panic!("Error {}: fake error", error_code))` | = note: `-D clippy::expect-fun-call` implied by `-D warnings` error: use of `expect` followed by a function call --> $DIR/expect_fun_call.rs:31:26 | LL | with_none_and_as_str.expect(format!("Error {}: fake error", error_code).as_str()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| panic!("Error {}: fake error", error_code))` error: use of `expect` followed by a function call --> $DIR/expect_fun_call.rs:41:25 | LL | with_err_and_format.expect(&format!("Error {}: fake error", error_code)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Error {}: fake error", error_code))` error: use of `expect` followed by a function call --> $DIR/expect_fun_call.rs:44:25 | LL | with_err_and_as_str.expect(format!("Error {}: fake error", error_code).as_str()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Error {}: fake error", error_code))` error: use of `expect` followed by a function call --> $DIR/expect_fun_call.rs:56:17 | LL | Some("foo").expect(format!("{} {}", 1, 2).as_ref()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| panic!("{} {}", 1, 2))` error: use of `expect` followed by a function call --> $DIR/expect_fun_call.rs:77:21 | LL | Some("foo").expect(&get_string()); | ^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| { panic!(get_string()) })` error: use of `expect` followed by a function call --> $DIR/expect_fun_call.rs:78:21 | LL | Some("foo").expect(get_string().as_ref()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| { panic!(get_string()) })` error: use of `expect` followed by a function call --> $DIR/expect_fun_call.rs:79:21 | LL | Some("foo").expect(get_string().as_str()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| { panic!(get_string()) })` error: use of `expect` followed by a function call --> $DIR/expect_fun_call.rs:81:21 | LL | Some("foo").expect(get_static_str()); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| { panic!(get_static_str()) })` error: use of `expect` followed by a function call --> $DIR/expect_fun_call.rs:82:21 | LL | Some("foo").expect(get_non_static_str(&0)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| { panic!(get_non_static_str(&0).to_string()) })` error: use of `expect` followed by a function call --> $DIR/expect_fun_call.rs:86:16 | LL | Some(true).expect(&format!("key {}, {}", 1, 2)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| panic!("key {}, {}", 1, 2))` error: aborting due to 11 previous errors diff of stderr: -error: use of `expect` followed by a function call - --> $DIR/expect_fun_call.rs:28:26 - | -LL | with_none_and_format.expect(&format!("Error {}: fake error", error_code)); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| panic!("Error {}: fake error", error_code))` - | - = note: `-D clippy::expect-fun-call` implied by `-D warnings` - -error: use of `expect` followed by a function call - --> $DIR/expect_fun_call.rs:31:26 - | -LL | with_none_and_as_str.expect(format!("Error {}: fake error", error_code).as_str()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| panic!("Error {}: fake error", error_code))` - -error: use of `expect` followed by a function call - --> $DIR/expect_fun_call.rs:41:25 - | -LL | with_err_and_format.expect(&format!("Error {}: fake error", error_code)); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Error {}: fake error", error_code))` - -error: use of `expect` followed by a function call - --> $DIR/expect_fun_call.rs:44:25 - | -LL | with_err_and_as_str.expect(format!("Error {}: fake error", error_code).as_str()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Error {}: fake error", error_code))` - -error: use of `expect` followed by a function call - --> $DIR/expect_fun_call.rs:56:17 - | -LL | Some("foo").expect(format!("{} {}", 1, 2).as_ref()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| panic!("{} {}", 1, 2))` - -error: use of `expect` followed by a function call - --> $DIR/expect_fun_call.rs:77:21 - | -LL | Some("foo").expect(&get_string()); - | ^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| { panic!(get_string()) })` - -error: use of `expect` followed by a function call - --> $DIR/expect_fun_call.rs:78:21 - | -LL | Some("foo").expect(get_string().as_ref()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| { panic!(get_string()) })` - -error: use of `expect` followed by a function call - --> $DIR/expect_fun_call.rs:79:21 - | -LL | Some("foo").expect(get_string().as_str()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| { panic!(get_string()) })` - -error: use of `expect` followed by a function call - --> $DIR/expect_fun_call.rs:81:21 - | -LL | Some("foo").expect(get_static_str()); - | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| { panic!(get_static_str()) })` - -error: use of `expect` followed by a function call - --> $DIR/expect_fun_call.rs:82:21 - | -LL | Some("foo").expect(get_non_static_str(&0)); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| { panic!(get_non_static_str(&0).to_string()) })` - -error: use of `expect` followed by a function call - --> $DIR/expect_fun_call.rs:86:16 - | -LL | Some(true).expect(&format!("key {}, {}", 1, 2)); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| panic!("key {}, {}", 1, 2))` - -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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/expect_fun_call.stderr normalized fixed: // run-rustfix #![warn(clippy::expect_fun_call)] /// Checks implementation of the `EXPECT_FUN_CALL` lint fn main() { struct Foo; impl Foo { fn new() -> Self { Foo } fn expect(&self, msg: &str) { panic!("{}", msg) } } let with_some = Some("value"); with_some.expect("error"); let with_none: Option = None; with_none.expect("error"); let error_code = 123_i32; let with_none_and_format: Option = None; with_none_and_format.expect(&format!("Error {}: fake error", error_code)); let with_none_and_as_str: Option = None; with_none_and_as_str.expect(format!("Error {}: fake error", error_code).as_str()); let with_ok: Result<(), ()> = Ok(()); with_ok.expect("error"); let with_err: Result<(), ()> = Err(()); with_err.expect("error"); let error_code = 123_i32; let with_err_and_format: Result<(), ()> = Err(()); with_err_and_format.expect(&format!("Error {}: fake error", error_code)); let with_err_and_as_str: Result<(), ()> = Err(()); with_err_and_as_str.expect(format!("Error {}: fake error", error_code).as_str()); let with_dummy_type = Foo::new(); with_dummy_type.expect("another test string"); let with_dummy_type_and_format = Foo::new(); with_dummy_type_and_format.expect(&format!("Error {}: fake error", error_code)); let with_dummy_type_and_as_str = Foo::new(); with_dummy_type_and_as_str.expect(format!("Error {}: fake error", error_code).as_str()); //Issue #2937 Some("foo").expect(format!("{} {}", 1, 2).as_ref()); //Issue #2979 - this should not lint { let msg = "bar"; Some("foo").expect(msg); } { fn get_string() -> String { "foo".to_string() } fn get_static_str() -> &'static str { "foo" } fn get_non_static_str(_: &u32) -> &str { "foo" } Some("foo").expect(&get_string()); Some("foo").expect(get_string().as_ref()); Some("foo").expect(get_string().as_str()); Some("foo").expect(get_static_str()); Some("foo").expect(get_non_static_str(&0)); } //Issue #3839 Some(true).expect(&format!("key {}, {}", 1, 2)); } expected fixed: // run-rustfix #![warn(clippy::expect_fun_call)] /// Checks implementation of the `EXPECT_FUN_CALL` lint fn main() { struct Foo; impl Foo { fn new() -> Self { Foo } fn expect(&self, msg: &str) { panic!("{}", msg) } } let with_some = Some("value"); with_some.expect("error"); let with_none: Option = None; with_none.expect("error"); let error_code = 123_i32; let with_none_and_format: Option = None; with_none_and_format.unwrap_or_else(|| panic!("Error {}: fake error", error_code)); let with_none_and_as_str: Option = None; with_none_and_as_str.unwrap_or_else(|| panic!("Error {}: fake error", error_code)); let with_ok: Result<(), ()> = Ok(()); with_ok.expect("error"); let with_err: Result<(), ()> = Err(()); with_err.expect("error"); let error_code = 123_i32; let with_err_and_format: Result<(), ()> = Err(()); with_err_and_format.unwrap_or_else(|_| panic!("Error {}: fake error", error_code)); let with_err_and_as_str: Result<(), ()> = Err(()); with_err_and_as_str.unwrap_or_else(|_| panic!("Error {}: fake error", error_code)); let with_dummy_type = Foo::new(); with_dummy_type.expect("another test string"); let with_dummy_type_and_format = Foo::new(); with_dummy_type_and_format.expect(&format!("Error {}: fake error", error_code)); let with_dummy_type_and_as_str = Foo::new(); with_dummy_type_and_as_str.expect(format!("Error {}: fake error", error_code).as_str()); //Issue #2937 Some("foo").unwrap_or_else(|| panic!("{} {}", 1, 2)); //Issue #2979 - this should not lint { let msg = "bar"; Some("foo").expect(msg); } { fn get_string() -> String { "foo".to_string() } fn get_static_str() -> &'static str { "foo" } fn get_non_static_str(_: &u32) -> &str { "foo" } Some("foo").unwrap_or_else(|| { panic!(get_string()) }); Some("foo").unwrap_or_else(|| { panic!(get_string()) }); Some("foo").unwrap_or_else(|| { panic!(get_string()) }); Some("foo").unwrap_or_else(|| { panic!(get_static_str()) }); Some("foo").unwrap_or_else(|| { panic!(get_non_static_str(&0).to_string()) }); } //Issue #3839 Some(true).unwrap_or_else(|| panic!("key {}, {}", 1, 2)); } diff of fixed: // run-rustfix #![warn(clippy::expect_fun_call)] /// Checks implementation of the `EXPECT_FUN_CALL` lint fn main() { struct Foo; impl Foo { fn new() -> Self { Foo } fn expect(&self, msg: &str) { panic!("{}", msg) } } let with_some = Some("value"); with_some.expect("error"); let with_none: Option = None; with_none.expect("error"); let error_code = 123_i32; let with_none_and_format: Option = None; - with_none_and_format.unwrap_or_else(|| panic!("Error {}: fake error", error_code)); + with_none_and_format.expect(&format!("Error {}: fake error", error_code)); let with_none_and_as_str: Option = None; - with_none_and_as_str.unwrap_or_else(|| panic!("Error {}: fake error", error_code)); + with_none_and_as_str.expect(format!("Error {}: fake error", error_code).as_str()); let with_ok: Result<(), ()> = Ok(()); with_ok.expect("error"); let with_err: Result<(), ()> = Err(()); with_err.expect("error"); let error_code = 123_i32; let with_err_and_format: Result<(), ()> = Err(()); - with_err_and_format.unwrap_or_else(|_| panic!("Error {}: fake error", error_code)); + with_err_and_format.expect(&format!("Error {}: fake error", error_code)); let with_err_and_as_str: Result<(), ()> = Err(()); - with_err_and_as_str.unwrap_or_else(|_| panic!("Error {}: fake error", error_code)); + with_err_and_as_str.expect(format!("Error {}: fake error", error_code).as_str()); let with_dummy_type = Foo::new(); with_dummy_type.expect("another test string"); let with_dummy_type_and_format = Foo::new(); with_dummy_type_and_format.expect(&format!("Error {}: fake error", error_code)); let with_dummy_type_and_as_str = Foo::new(); with_dummy_type_and_as_str.expect(format!("Error {}: fake error", error_code).as_str()); //Issue #2937 - Some("foo").unwrap_or_else(|| panic!("{} {}", 1, 2)); + Some("foo").expect(format!("{} {}", 1, 2).as_ref()); //Issue #2979 - this should not lint { let msg = "bar"; Some("foo").expect(msg); } { fn get_string() -> String { "foo".to_string() } fn get_static_str() -> &'static str { "foo" } fn get_non_static_str(_: &u32) -> &str { "foo" } - Some("foo").unwrap_or_else(|| { panic!(get_string()) }); - Some("foo").unwrap_or_else(|| { panic!(get_string()) }); - Some("foo").unwrap_or_else(|| { panic!(get_string()) }); + Some("foo").expect(&get_string()); + Some("foo").expect(get_string().as_ref()); + Some("foo").expect(get_string().as_str()); - Some("foo").unwrap_or_else(|| { panic!(get_static_str()) }); - Some("foo").unwrap_or_else(|| { panic!(get_non_static_str(&0).to_string()) }); + Some("foo").expect(get_static_str()); + Some("foo").expect(get_non_static_str(&0)); } //Issue #3839 - Some(true).unwrap_or_else(|| panic!("key {}, {}", 1, 2)); + Some(true).expect(&format!("key {}, {}", 1, 2)); } The actual fixed differed from the expected fixed. Actual fixed saved to /builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/expect_fun_call.fixed To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base' 'expect_fun_call.rs' error: 2 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/expect_fun_call.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/expect_fun_call.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/expect_fun_call.stage-id.aux" "-A" "unused" 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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/explicit_write.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/explicit_write.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/fn_to_numeric_cast.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/fn_to_numeric_cast.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/float_cmp.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/float_cmp.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/functions.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/functions.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/if_not_else.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/if_not_else.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/infinite_loop.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/infinite_loop.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/implicit_hasher.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/implicit_hasher.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/infinite_iter.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/infinite_iter.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/invalid_upcast_comparisons.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/invalid_upcast_comparisons.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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_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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/issue_3849.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/issue_3849.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/item_after_statement.rs stdout ---- normalized stderr: error: adding items after statements is confusing, since items exist from the start of the scope --> $DIR/item_after_statement.rs:12:5 | LL | / fn foo() { LL | | println!("foo"); LL | | } | |_____^ | = note: `-D clippy::items-after-statements` implied by `-D warnings` error: adding items after statements is confusing, since items exist from the start of the scope --> $DIR/item_after_statement.rs:19:5 | LL | / fn foo() { LL | | println!("foo"); LL | | } | |_____^ expected stderr: error: adding items after statements is confusing, since items exist from the start of the scope --> $DIR/item_after_statement.rs:12:5 | LL | / fn foo() { LL | | println!("foo"); LL | | } | |_____^ | = note: `-D clippy::items-after-statements` implied by `-D warnings` error: adding items after statements is confusing, since items exist from the start of the scope --> $DIR/item_after_statement.rs:19:5 | LL | / fn foo() { LL | | println!("foo"); LL | | } | |_____^ error: aborting due to 2 previous errors diff of stderr: error: adding items after statements is confusing, since items exist from the start of the scope --> $DIR/item_after_statement.rs:12:5 | LL | / fn foo() { LL | | println!("foo"); LL | | } | |_____^ | = note: `-D clippy::items-after-statements` implied by `-D warnings` error: adding items after statements is confusing, since items exist from the start of the scope --> $DIR/item_after_statement.rs:19:5 | LL | / fn foo() { LL | | println!("foo"); 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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/item_after_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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base' 'item_after_statement.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/item_after_statement.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/item_after_statement.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/item_after_statement.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"adding items after statements is confusing, since items exist from the start of the scope","code":{"code":"clippy::items_after_statements","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/item_after_statement.rs","byte_start":139,"byte_end":180,"line_start":12,"line_end":14,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" fn foo() {","highlight_start":5,"highlight_end":15},{"text":" println!(\"foo\");","highlight_start":1,"highlight_end":25},{"text":" }","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::items-after-statements` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error: adding items after statements is confusing, since items exist from the start of the scope\n --> tests/ui/item_after_statement.rs:12:5\n |\nLL | / fn foo() {\nLL | | println!(\"foo\");\nLL | | }\n | |_____^\n |\n = note: `-D clippy::items-after-statements` implied by `-D warnings`\n\n"} {"message":"adding items after statements is confusing, since items exist from the start of the scope","code":{"code":"clippy::items_after_statements","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/item_after_statement.rs","byte_start":211,"byte_end":252,"line_start":19,"line_end":21,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" fn foo() {","highlight_start":5,"highlight_end":15},{"text":" println!(\"foo\");","highlight_start":1,"highlight_end":25},{"text":" }","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: adding items after statements is confusing, since items exist from the start of the scope\n --> tests/ui/item_after_statement.rs:19:5\n |\nLL | / fn foo() {\nLL | | println!(\"foo\");\nLL | | }\n | |_____^\n\n"} ------------------------------------------ thread '[ui] ui/item_after_statement.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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/auxiliary/option_helpers.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "--out-dir" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/iter_skip_next.stage-id.aux" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "--crate-type" "dylib" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/lifetimes.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/lifetimes.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/let_unit.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/let_unit.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/matches.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/matches.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/auxiliary/option_helpers.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "--out-dir" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/methods.stage-id.aux" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "--crate-type" "dylib" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/missing_const_for_fn/could_be_const.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/mut_from_ref.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/mut_from_ref.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/large_digit_groups.fixed" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/large_digit_groups.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/needless_borrow.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/needless_borrow.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/my_lint.rs stdout ---- normalized stdout: if_chain! { then { // report your lint here } } expected stdout: diff of stdout: +if_chain! { + 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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/my_lint.stdout To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base' 'my_lint.rs' error: 1 errors occurred comparing output. status: exit code: 0 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/my_lint.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/my_lint.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/my_lint.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ if_chain! { then { // report your lint here } } ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/my_lint.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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/lint_without_lint_pass.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/lint_without_lint_pass.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/needless_continue.rs stdout ---- normalized stderr: error: This else block is redundant. --> $DIR/needless_continue.rs:28:16 | LL | } else { | ________________^ LL | | continue; LL | | } | |_________^ | = note: `-D clippy::needless-continue` implied by `-D warnings` = help: Consider dropping the else clause and merging the code that follows (in the loop) with the if block, like so: if i % 2 == 0 && i % 3 == 0 { println!("{}", i); println!("{}", i + 1); if i % 5 == 0 { println!("{}", i + 2); } let i = 0; println!("bar {} ", i); // Merged code follows...println!("bleh"); { println!("blah"); } if !(!(i == 2) || !(i == 5)) { println!("lama"); } if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 { continue; } else { println!("Blabber"); println!("Jabber"); } println!("bleh"); } error: There is no need for an explicit `else` block for this `if` expression --> $DIR/needless_continue.rs:43:9 | LL | / if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 { LL | | continue; LL | | } else { LL | | println!("Blabber"); LL | | println!("Jabber"); LL | | } | |_________^ | = help: Consider dropping the else clause, and moving out the code in the else block, like so: if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 { continue; } println!("Blabber"); println!("Jabber"); ... expected stderr: error: This else block is redundant. --> $DIR/needless_continue.rs:28:16 | LL | } else { | ________________^ LL | | continue; LL | | } | |_________^ | = note: `-D clippy::needless-continue` implied by `-D warnings` = help: Consider dropping the else clause and merging the code that follows (in the loop) with the if block, like so: if i % 2 == 0 && i % 3 == 0 { println!("{}", i); println!("{}", i + 1); if i % 5 == 0 { println!("{}", i + 2); } let i = 0; println!("bar {} ", i); // Merged code follows...println!("bleh"); { println!("blah"); } if !(!(i == 2) || !(i == 5)) { println!("lama"); } if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 { continue; } else { println!("Blabber"); println!("Jabber"); } println!("bleh"); } error: There is no need for an explicit `else` block for this `if` expression --> $DIR/needless_continue.rs:43:9 | LL | / if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 { LL | | continue; LL | | } else { LL | | println!("Blabber"); LL | | println!("Jabber"); LL | | } | |_________^ | = help: Consider dropping the else clause, and moving out the code in the else block, like so: if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 { continue; } println!("Blabber"); println!("Jabber"); ... error: This else block is redundant. --> $DIR/needless_continue.rs:100:24 | LL | } else { | ________________________^ LL | | continue 'inner; // should lint here LL | | } | |_________________^ | = help: Consider dropping the else clause and merging the code that follows (in the loop) with the if block, like so: if condition() { println!("bar-3"); // Merged code follows...println!("bar-4"); update_condition(); if condition() { continue; // should lint here } else { println!("bar-5"); } println!("bar-6"); } error: There is no need for an explicit `else` block for this `if` expression --> $DIR/needless_continue.rs:106:17 | LL | / if condition() { LL | | continue; // should lint here LL | | } else { LL | | println!("bar-5"); LL | | } | |_________________^ | = help: Consider dropping the else clause, and moving out the code in the else block, like so: if condition() { continue; } println!("bar-5"); ... error: aborting due to 4 previous errors diff of stderr: error: This else block is redundant. --> $DIR/needless_continue.rs:28:16 | LL | } else { | ________________^ LL | | continue; LL | | } | |_________^ | = note: `-D clippy::needless-continue` implied by `-D warnings` = help: Consider dropping the else clause and merging the code that follows (in the loop) with the if block, like so: if i % 2 == 0 && i % 3 == 0 { println!("{}", i); println!("{}", i + 1); if i % 5 == 0 { println!("{}", i + 2); } let i = 0; println!("bar {} ", i); // Merged code follows...println!("bleh"); { println!("blah"); } if !(!(i == 2) || !(i == 5)) { println!("lama"); } if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 { continue; } else { println!("Blabber"); println!("Jabber"); } println!("bleh"); } error: There is no need for an explicit `else` block for this `if` expression --> $DIR/needless_continue.rs:43:9 | LL | / if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 { LL | | continue; LL | | } else { LL | | println!("Blabber"); LL | | println!("Jabber"); LL | | } | |_________^ | = help: Consider dropping the else clause, and moving out the code in the else block, like so: if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 { continue; } println!("Blabber"); println!("Jabber"); ... -error: This else block is redundant. - - --> $DIR/needless_continue.rs:100:24 - | -LL | } else { - | ________________________^ -LL | | continue 'inner; // should lint here -LL | | } - | |_________________^ - | - = help: Consider dropping the else clause and merging the code that follows (in the loop) with the if block, like so: - if condition() { - println!("bar-3"); - // Merged code follows...println!("bar-4"); - update_condition(); - if condition() { - continue; // should lint here - } else { - println!("bar-5"); - } - println!("bar-6"); - } - - -error: There is no need for an explicit `else` block for this `if` expression - - --> $DIR/needless_continue.rs:106:17 - | -LL | / if condition() { -LL | | continue; // should lint here -LL | | } else { -LL | | println!("bar-5"); -LL | | } - | |_________________^ - | - = help: Consider dropping the else clause, and moving out the code in the else block, like so: - if condition() { - continue; - } - println!("bar-5"); - ... - -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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/needless_continue.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base' 'needless_continue.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/needless_continue.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/needless_continue.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/needless_continue.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"This else block is redundant.\n","code":{"code":"clippy::needless_continue","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/needless_continue.rs","byte_start":499,"byte_end":532,"line_start":28,"line_end":30,"column_start":16,"column_end":10,"is_primary":true,"text":[{"text":" } else {","highlight_start":16,"highlight_end":17},{"text":" continue;","highlight_start":1,"highlight_end":22},{"text":" }","highlight_start":1,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::needless-continue` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"Consider dropping the else clause and merging the code that follows (in the loop) with the if block, like so:\nif i % 2 == 0 && i % 3 == 0 {\nprintln!(\"{}\", i);\nprintln!(\"{}\", i + 1);\nif i % 5 == 0 {\n println!(\"{}\", i + 2);\n}\nlet i = 0;\nprintln!(\"bar {} \", i);\n// Merged code follows...println!(\"bleh\");\n{\n println!(\"blah\");\n}\nif !(!(i == 2) || !(i == 5)) {\n println!(\"lama\");\n}\nif (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 {\n continue;\n} else {\n println!(\"Blabber\");\n println!(\"Jabber\");\n}\nprintln!(\"bleh\");\n}\n","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error: This else block is redundant.\n\n --> tests/ui/needless_continue.rs:28:16\n |\nLL | } else {\n | ________________^\nLL | | continue;\nLL | | }\n | |_________^\n |\n = note: `-D clippy::needless-continue` implied by `-D warnings`\n = help: Consider dropping the else clause and merging the code that follows (in the loop) with the if block, like so:\n if i % 2 == 0 && i % 3 == 0 {\n println!(\"{}\", i);\n println!(\"{}\", i + 1);\n if i % 5 == 0 {\n println!(\"{}\", i + 2);\n }\n let i = 0;\n println!(\"bar {} \", i);\n // Merged code follows...println!(\"bleh\");\n {\n println!(\"blah\");\n }\n if !(!(i == 2) || !(i == 5)) {\n println!(\"lama\");\n }\n if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 {\n continue;\n } else {\n println!(\"Blabber\");\n println!(\"Jabber\");\n }\n println!(\"bleh\");\n }\n \n\n"} {"message":"There is no need for an explicit `else` block for this `if` expression\n","code":{"code":"clippy::needless_continue","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/needless_continue.rs","byte_start":822,"byte_end":988,"line_start":43,"line_end":48,"column_start":9,"column_end":10,"is_primary":true,"text":[{"text":" if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 {","highlight_start":9,"highlight_end":61},{"text":" continue;","highlight_start":1,"highlight_end":22},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" println!(\"Blabber\");","highlight_start":1,"highlight_end":33},{"text":" println!(\"Jabber\");","highlight_start":1,"highlight_end":32},{"text":" }","highlight_start":1,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"Consider dropping the else clause, and moving out the code in the else block, like so:\nif (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 {\n continue;\n}\nprintln!(\"Blabber\");\nprintln!(\"Jabber\");\n...","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error: There is no need for an explicit `else` block for this `if` expression\n\n --> tests/ui/needless_continue.rs:43:9\n |\nLL | / if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 {\nLL | | continue;\nLL | | } else {\nLL | | println!(\"Blabber\");\nLL | | println!(\"Jabber\");\nLL | | }\n | |_________^\n |\n = help: Consider dropping the else clause, and moving out the code in the else block, like so:\n if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 {\n continue;\n }\n println!(\"Blabber\");\n println!(\"Jabber\");\n ...\n\n"} ------------------------------------------ thread '[ui] ui/needless_continue.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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/needless_pass_by_value.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/needless_pass_by_value.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/needless_range_loop.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/needless_range_loop.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/new_without_default.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/new_without_default.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/non_copy_const.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/non_copy_const.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/ok_expect.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/ok_expect.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/non_expressive_names.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/non_expressive_names.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/option_map_unit_fn.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/option_map_unit_fn.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/print.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/print.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/panic_unimplemented.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/panic_unimplemented.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/redundant_field_names.rs stdout ---- normalized stderr: error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:34:9 | LL | gender: gender, | ^^^^^^^^^^^^^^ help: replace it with: `gender` | = note: `-D clippy::redundant-field-names` implied by `-D warnings` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:35:9 | LL | age: age, | ^^^^^^^^ help: replace it with: `age` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:56:25 | LL | let _ = RangeFrom { start: start }; | ^^^^^^^^^^^^ help: replace it with: `start` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:57:23 | LL | let _ = RangeTo { end: end }; | ^^^^^^^^ help: replace it with: `end` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:58:21 | LL | let _ = Range { start: start, end: end }; | ^^^^^^^^^^^^ help: replace it with: `start` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:58:35 | LL | let _ = Range { start: start, end: end }; | ^^^^^^^^ help: replace it with: `end` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:60:32 | LL | let _ = RangeToInclusive { end: end }; | ^^^^^^^^ help: replace it with: `end` expected stderr: error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:34:9 | LL | gender: gender, | ^^^^^^^^^^^^^^ help: replace it with: `gender` | = note: `-D clippy::redundant-field-names` implied by `-D warnings` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:35:9 | LL | age: age, | ^^^^^^^^ help: replace it with: `age` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:56:25 | LL | let _ = RangeFrom { start: start }; | ^^^^^^^^^^^^ help: replace it with: `start` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:57:23 | LL | let _ = RangeTo { end: end }; | ^^^^^^^^ help: replace it with: `end` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:58:21 | LL | let _ = Range { start: start, end: end }; | ^^^^^^^^^^^^ help: replace it with: `start` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:58:35 | LL | let _ = Range { start: start, end: end }; | ^^^^^^^^ help: replace it with: `end` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:60:32 | LL | let _ = RangeToInclusive { end: end }; | ^^^^^^^^ help: replace it with: `end` error: aborting due to 7 previous errors diff of stderr: error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:34:9 | LL | gender: gender, | ^^^^^^^^^^^^^^ help: replace it with: `gender` | = note: `-D clippy::redundant-field-names` implied by `-D warnings` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:35:9 | LL | age: age, | ^^^^^^^^ help: replace it with: `age` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:56:25 | LL | let _ = RangeFrom { start: start }; | ^^^^^^^^^^^^ help: replace it with: `start` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:57:23 | LL | let _ = RangeTo { end: end }; | ^^^^^^^^ help: replace it with: `end` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:58:21 | LL | let _ = Range { start: start, end: end }; | ^^^^^^^^^^^^ help: replace it with: `start` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:58:35 | LL | let _ = Range { start: start, end: end }; | ^^^^^^^^ help: replace it with: `end` error: redundant field names in struct initialization --> $DIR/redundant_field_names.rs:60:32 | LL | let _ = RangeToInclusive { end: end }; | ^^^^^^^^ help: replace it with: `end` -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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/redundant_field_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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base' 'redundant_field_names.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/redundant_field_names.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/redundant_field_names.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/redundant_field_names.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ {"message":"redundant field names in struct initialization","code":{"code":"clippy::redundant_field_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/redundant_field_names.rs","byte_start":539,"byte_end":553,"line_start":34,"line_end":34,"column_start":9,"column_end":23,"is_primary":true,"text":[{"text":" gender: gender,","highlight_start":9,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::redundant-field-names` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"replace it with","code":null,"level":"help","spans":[{"file_name":"tests/ui/redundant_field_names.rs","byte_start":539,"byte_end":553,"line_start":34,"line_end":34,"column_start":9,"column_end":23,"is_primary":true,"text":[{"text":" gender: gender,","highlight_start":9,"highlight_end":23}],"label":null,"suggested_replacement":"gender","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: redundant field names in struct initialization\n --> tests/ui/redundant_field_names.rs:34:9\n |\nLL | gender: gender,\n | ^^^^^^^^^^^^^^ help: replace it with: `gender`\n |\n = note: `-D clippy::redundant-field-names` implied by `-D warnings`\n\n"} {"message":"redundant field names in struct initialization","code":{"code":"clippy::redundant_field_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/redundant_field_names.rs","byte_start":563,"byte_end":571,"line_start":35,"line_end":35,"column_start":9,"column_end":17,"is_primary":true,"text":[{"text":" age: age,","highlight_start":9,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"replace it with","code":null,"level":"help","spans":[{"file_name":"tests/ui/redundant_field_names.rs","byte_start":563,"byte_end":571,"line_start":35,"line_end":35,"column_start":9,"column_end":17,"is_primary":true,"text":[{"text":" age: age,","highlight_start":9,"highlight_end":17}],"label":null,"suggested_replacement":"age","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: redundant field names in struct initialization\n --> tests/ui/redundant_field_names.rs:35:9\n |\nLL | age: age,\n | ^^^^^^^^ help: replace it with: `age`\n\n"} {"message":"redundant field names in struct initialization","code":{"code":"clippy::redundant_field_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/redundant_field_names.rs","byte_start":1004,"byte_end":1016,"line_start":56,"line_end":56,"column_start":25,"column_end":37,"is_primary":true,"text":[{"text":" let _ = RangeFrom { start: start };","highlight_start":25,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"replace it with","code":null,"level":"help","spans":[{"file_name":"tests/ui/redundant_field_names.rs","byte_start":1004,"byte_end":1016,"line_start":56,"line_end":56,"column_start":25,"column_end":37,"is_primary":true,"text":[{"text":" let _ = RangeFrom { start: start };","highlight_start":25,"highlight_end":37}],"label":null,"suggested_replacement":"start","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: redundant field names in struct initialization\n --> tests/ui/redundant_field_names.rs:56:25\n |\nLL | let _ = RangeFrom { start: start };\n | ^^^^^^^^^^^^ help: replace it with: `start`\n\n"} {"message":"redundant field names in struct initialization","code":{"code":"clippy::redundant_field_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/redundant_field_names.rs","byte_start":1042,"byte_end":1050,"line_start":57,"line_end":57,"column_start":23,"column_end":31,"is_primary":true,"text":[{"text":" let _ = RangeTo { end: end };","highlight_start":23,"highlight_end":31}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"replace it with","code":null,"level":"help","spans":[{"file_name":"tests/ui/redundant_field_names.rs","byte_start":1042,"byte_end":1050,"line_start":57,"line_end":57,"column_start":23,"column_end":31,"is_primary":true,"text":[{"text":" let _ = RangeTo { end: end };","highlight_start":23,"highlight_end":31}],"label":null,"suggested_replacement":"end","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: redundant field names in struct initialization\n --> tests/ui/redundant_field_names.rs:57:23\n |\nLL | let _ = RangeTo { end: end };\n | ^^^^^^^^ help: replace it with: `end`\n\n"} {"message":"redundant field names in struct initialization","code":{"code":"clippy::redundant_field_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/redundant_field_names.rs","byte_start":1074,"byte_end":1086,"line_start":58,"line_end":58,"column_start":21,"column_end":33,"is_primary":true,"text":[{"text":" let _ = Range { start: start, end: end };","highlight_start":21,"highlight_end":33}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"replace it with","code":null,"level":"help","spans":[{"file_name":"tests/ui/redundant_field_names.rs","byte_start":1074,"byte_end":1086,"line_start":58,"line_end":58,"column_start":21,"column_end":33,"is_primary":true,"text":[{"text":" let _ = Range { start: start, end: end };","highlight_start":21,"highlight_end":33}],"label":null,"suggested_replacement":"start","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: redundant field names in struct initialization\n --> tests/ui/redundant_field_names.rs:58:21\n |\nLL | let _ = Range { start: start, end: end };\n | ^^^^^^^^^^^^ help: replace it with: `start`\n\n"} {"message":"redundant field names in struct initialization","code":{"code":"clippy::redundant_field_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/redundant_field_names.rs","byte_start":1088,"byte_end":1096,"line_start":58,"line_end":58,"column_start":35,"column_end":43,"is_primary":true,"text":[{"text":" let _ = Range { start: start, end: end };","highlight_start":35,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"replace it with","code":null,"level":"help","spans":[{"file_name":"tests/ui/redundant_field_names.rs","byte_start":1088,"byte_end":1096,"line_start":58,"line_end":58,"column_start":35,"column_end":43,"is_primary":true,"text":[{"text":" let _ = Range { start: start, end: end };","highlight_start":35,"highlight_end":43}],"label":null,"suggested_replacement":"end","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: redundant field names in struct initialization\n --> tests/ui/redundant_field_names.rs:58:35\n |\nLL | let _ = Range { start: start, end: end };\n | ^^^^^^^^ help: replace it with: `end`\n\n"} {"message":"redundant field names in struct initialization","code":{"code":"clippy::redundant_field_names","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/redundant_field_names.rs","byte_start":1176,"byte_end":1184,"line_start":60,"line_end":60,"column_start":32,"column_end":40,"is_primary":true,"text":[{"text":" let _ = RangeToInclusive { end: end };","highlight_start":32,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"replace it with","code":null,"level":"help","spans":[{"file_name":"tests/ui/redundant_field_names.rs","byte_start":1176,"byte_end":1184,"line_start":60,"line_end":60,"column_start":32,"column_end":40,"is_primary":true,"text":[{"text":" let _ = RangeToInclusive { end: end };","highlight_start":32,"highlight_end":40}],"label":null,"suggested_replacement":"end","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error: redundant field names in struct initialization\n --> tests/ui/redundant_field_names.rs:60:32\n |\nLL | let _ = RangeToInclusive { end: end };\n | ^^^^^^^^ help: replace it with: `end`\n\n"} ------------------------------------------ thread '[ui] ui/redundant_field_names.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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/auxiliary/option_helpers.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "--out-dir" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/result_map_unwrap_or_else.stage-id.aux" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "--crate-type" "dylib" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/similar_names.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/similar_names.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/string_extend.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/string_extend.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/strings.rs stdout ---- normalized stderr: expected stderr: error: manual implementation of an assign operation --> $DIR/strings.rs:8:9 | LL | x = x + "."; | ^^^^^^^^^^^ help: replace it with: `x += "."` | = note: `-D clippy::assign-op-pattern` implied by `-D warnings` error: you added something to a string. Consider using `String::push_str()` instead --> $DIR/strings.rs:8:13 | LL | x = x + "."; | ^^^^^^^ | = note: `-D clippy::string-add` implied by `-D warnings` error: you added something to a string. Consider using `String::push_str()` instead --> $DIR/strings.rs:12:13 | LL | let z = y + "..."; | ^^^^^^^^^ error: you assigned the result of adding something to this string. Consider using `String::push_str()` instead --> $DIR/strings.rs:22:9 | LL | x = x + "."; | ^^^^^^^^^^^ | = note: `-D clippy::string-add-assign` implied by `-D warnings` error: manual implementation of an assign operation --> $DIR/strings.rs:22:9 | LL | x = x + "."; | ^^^^^^^^^^^ help: replace it with: `x += "."` error: you assigned the result of adding something to this string. Consider using `String::push_str()` instead --> $DIR/strings.rs:36:9 | LL | x = x + "."; | ^^^^^^^^^^^ error: manual implementation of an assign operation --> $DIR/strings.rs:36:9 | LL | x = x + "."; | ^^^^^^^^^^^ help: replace it with: `x += "."` error: you added something to a string. Consider using `String::push_str()` instead --> $DIR/strings.rs:40:13 | LL | let z = y + "..."; | ^^^^^^^^^ error: aborting due to 8 previous errors diff of stderr: -error: manual implementation of an assign operation - --> $DIR/strings.rs:8:9 - | -LL | x = x + "."; - | ^^^^^^^^^^^ help: replace it with: `x += "."` - | - = note: `-D clippy::assign-op-pattern` implied by `-D warnings` - -error: you added something to a string. Consider using `String::push_str()` instead - --> $DIR/strings.rs:8:13 - | -LL | x = x + "."; - | ^^^^^^^ - | - = note: `-D clippy::string-add` implied by `-D warnings` - -error: you added something to a string. Consider using `String::push_str()` instead - --> $DIR/strings.rs:12:13 - | -LL | let z = y + "..."; - | ^^^^^^^^^ - -error: you assigned the result of adding something to this string. Consider using `String::push_str()` instead - --> $DIR/strings.rs:22:9 - | -LL | x = x + "."; - | ^^^^^^^^^^^ - | - = note: `-D clippy::string-add-assign` implied by `-D warnings` - -error: manual implementation of an assign operation - --> $DIR/strings.rs:22:9 - | -LL | x = x + "."; - | ^^^^^^^^^^^ help: replace it with: `x += "."` - -error: you assigned the result of adding something to this string. Consider using `String::push_str()` instead - --> $DIR/strings.rs:36:9 - | -LL | x = x + "."; - | ^^^^^^^^^^^ - -error: manual implementation of an assign operation - --> $DIR/strings.rs:36:9 - | -LL | x = x + "."; - | ^^^^^^^^^^^ help: replace it with: `x += "."` - -error: you added something to a string. Consider using `String::push_str()` instead - --> $DIR/strings.rs:40:13 - | -LL | let z = y + "..."; - | ^^^^^^^^^ - -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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/strings.stderr To update references, run this command from build directory: tests/ui/update-references.sh '/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base' 'strings.rs' error: 1 errors occurred comparing output. status: signal: 11 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/strings.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/strings.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/strings.stage-id.aux" "-A" "unused" stdout: ------------------------------------------ ------------------------------------------ stderr: ------------------------------------------ ------------------------------------------ thread '[ui] ui/strings.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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/suspicious_arithmetic_impl.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/suspicious_arithmetic_impl.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/transmute.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/transmute.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/transmute_32bit.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/transmute_32bit.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/trivially_copy_pass_by_ref.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/trivially_copy_pass_by_ref.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/unnecessary_filter_map.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/unnecessary_filter_map.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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_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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/unnecessary_clone.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/unnecessary_clone.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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_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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/unnecessary_operation.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/unnecessary_operation.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/unused_labels.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/unused_labels.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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_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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/unused_io_amount.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/unused_io_amount.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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_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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/unused_lt.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/unused_lt.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/use_self.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/use_self.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/used_underscore_binding.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/used_underscore_binding.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/vec.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/vec.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/wildcard_enum_match_arm.rs" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/wildcard_enum_match_arm.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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/unreadable_literal.rs stdout ---- error: failed to compile fixed code status: exit code: 1 command: "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/unreadable_literal.fixed" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base" "--target=i686-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/out/test_build_base/unreadable_literal.stage-id" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/release/deps" "-Dwarnings" "-Zui-testing" "-L" "/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/build/clippy-d6c998dfe0fa9f31/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 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/cast_size.rs [ui] ui/cmp_owned.rs [ui] ui/cognitive_complexity.rs [ui] ui/collapsible_if.rs [ui] ui/complex_types.rs [ui] ui/const_static_lifetime.rs [ui] ui/crashes/ice-1782.rs [ui] ui/crashes/ice-2774.rs [ui] ui/crashes/ice-3741.rs [ui] ui/crashes/needless_borrow_fp.rs [ui] ui/crashes/procedural_macro.rs [ui] ui/crashes/single-match-else.rs [ui] ui/default_trait_access.rs [ui] ui/derive.rs [ui] ui/dlist.rs [ui] ui/duration_subsec.rs [ui] ui/else_if_without_else.rs [ui] ui/empty_line_after_outer_attribute.rs [ui] ui/eq_op.rs [ui] ui/escape_analysis.rs [ui] ui/expect_fun_call.rs [ui] ui/explicit_write.rs [ui] ui/float_cmp.rs [ui] ui/fn_to_numeric_cast.rs [ui] ui/functions.rs [ui] ui/if_not_else.rs [ui] ui/implicit_hasher.rs [ui] ui/infinite_iter.rs [ui] ui/infinite_loop.rs [ui] ui/invalid_upcast_comparisons.rs [ui] ui/issue_3849.rs [ui] ui/item_after_statement.rs [ui] ui/iter_skip_next.rs [ui] ui/large_digit_groups.rs [ui] ui/let_unit.rs [ui] ui/lifetimes.rs [ui] ui/lint_without_lint_pass.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/my_lint.rs [ui] ui/needless_borrow.rs [ui] ui/needless_continue.rs [ui] ui/needless_pass_by_value.rs [ui] ui/needless_range_loop.rs [ui] ui/new_without_default.rs [ui] ui/non_copy_const.rs [ui] ui/non_expressive_names.rs [ui] ui/ok_expect.rs [ui] ui/option_map_unit_fn.rs [ui] ui/panic_unimplemented.rs [ui] ui/print.rs [ui] ui/redundant_field_names.rs [ui] ui/result_map_unwrap_or_else.rs [ui] ui/similar_names.rs [ui] ui/string_extend.rs [ui] ui/strings.rs [ui] ui/suspicious_arithmetic_impl.rs [ui] ui/transmute.rs [ui] ui/transmute_32bit.rs [ui] ui/trivially_copy_pass_by_ref.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/use_self.rs [ui] ui/used_underscore_binding.rs [ui] ui/vec.rs [ui] ui/wildcard_enum_match_arm.rs test result: FAILED. 206 passed; 81 failed; 2 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-i686-unknown-linux-gnu/usr/bin/cargo" "test" "--target" "i686-unknown-linux-gnu" "-j" "40" "--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-i686-unknown-linux-gnu/usr/bin/cargo" "test" "--target" "i686-unknown-linux-gnu" "-j" "40" "--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:00:26 error: test failed, to rerun pass '--test compile-test' + : + python2 ./x.py test --no-fail-fast rls Finished dev [unoptimized] target(s) in 0.25s Building stage0 std artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Copying stage0 std from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 test artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.22s Copying stage0 test from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 compiler artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.28s Copying stage0 rustc from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 codegen artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu, llvm) Finished release [optimized] target(s) in 0.24s Assembling stage1 compiler (i686-unknown-linux-gnu) Building stage1 std artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Copying stage1 std from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 test artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.22s Copying stage1 test from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 compiler artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.28s Copying stage1 rustc from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 codegen artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu, llvm) Finished release [optimized] target(s) in 0.23s Assembling stage2 compiler (i686-unknown-linux-gnu) Uplifting stage1 std (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 std from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Uplifting stage1 test (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 test from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Uplifting stage1 rustc (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 rustc from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage2 tool clippy-driver (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.27s Building stage2 tool rls (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.34s Building rustdoc for stage2 (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s 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 tokio-io v0.1.11 Compiling signal-hook v0.1.7 Compiling tokio-threadpool v0.1.10 Compiling tokio-timer v0.2.8 Compiling tokio-current-thread v0.1.4 Compiling mio v0.6.16 Compiling tokio-codec v0.1.1 Compiling lsp-codec v0.1.2 Compiling tokio-fs v0.1.5 Compiling mio-uds v0.6.7 Compiling tokio-reactor v0.1.8 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 40.64s Running build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/deps/rls-28912c21fa92f13e running 65 tests test actions::diagnostics::diagnostic_message_test::message_mismatched_types ... 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::macro_expected_token_nested_expansion ... ok test actions::diagnostics::diagnostic_message_test::message_clippy_identity_op ... ok test actions::diagnostics::diagnostic_message_test::macro_error_no_trait ... ok test actions::diagnostics::diagnostic_message_test::message_move_out_of_borrow ... ok test actions::diagnostics::diagnostic_message_test::message_not_mutable ... ok test actions::diagnostics::diagnostic_message_test::message_use_after_move ... 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_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_use_when_cannot_find_type ... ok test actions::diagnostics::diagnostic_suggestion_test::suggest_mut_when_not_mut ... ok test actions::hover::test::test_noindent ... ok test actions::hover::test::test_extract_decl_multiline_empty_function ... ok test actions::hover::test::test_extract_docs_comment_first_line ... 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_comment_block ... ok test actions::hover::test::test_extract_decl ... ok test actions::hover::test::test_extract_docs_module_docs ... ok test actions::hover::test::test_extract_docs_attributes ... ok test actions::hover::test::test_extract_docs_module_docs_with_attribute ... ok test actions::hover::test::test_process_docs_bash_block ... ok test actions::hover::test::test_process_docs_racer_returns_extra_slashes ... ok test actions::requests::test::test_sort_deglob_str ... ok test actions::hover::test::test_process_docs_rust_blocks ... ok test actions::test::test_find_word_at_pos ... ok test actions::test::did_save_relevant_files ... ok test build::dont_auto_tune_build_wait_configured ... ok test build::auto_tune_build_wait_no_config ... ok test cmd::url_workaround_unc_canonicals ... ok test build::cargo::test::test_dedup_flags ... ok test actions::test::file_watch_relevant_files ... ok test server::io::tests::read_message_fails_on_empty_input ... ok test config::clippy_preference_from_str ... ok test server::io::tests::read_message_fails_when_header_line_is_invalid ... ok test server::io::tests::read_message_fails_when_content_is_not_valid_utf8 ... ok test server::io::tests::read_message_fails_when_content_type_is_invalid ... ok test server::io::tests::read_message_fails_when_input_contains_only_header ... ok test build::external::tests::dirty_units_path_heuristics ... ok test server::io::tests::read_message_fails_when_length_is_not_numeric ... ok test build::external::tests::topological_sort ... ok test build::external::tests::dirties_transitive ... ok test server::io::tests::read_message_fails_when_length_header_is_missing ... ok test server::io::tests::read_message_returns_message_from_input_with_multiple_headers ... 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_unknown_headers ... ok test server::io::tests::read_message_returns_message_from_valid_lsr_input ... ok test server::message::test::deserialize_message_empty_params ... ok test server::message::test::raw_message_with_string_id_parses_into_request ... ok test server::message::test::serialize_message_empty_params ... ok test server::message::test::serialize_message_no_params ... ok test server::test::test_use_root_path ... ok test server::message::test::test_parse_as_notification ... 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::test::parse_shutdown_object_params ... ok test actions::notifications::test::learn_client_use_change_watched ... ok test server::test::test_use_root_uri ... ok test actions::format::tests::calc_text_edits ... ok test actions::hover::test::test_format_object ... ok test actions::hover::test::test_format_method ... ok test result: ok. 65 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Running build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/deps/client-36f93f7a142c23d0 running 50 tests test client_completion ... ignored test client_find_all_refs_test ... ignored test client_hover_after_src_line_change ... ignored test client_parse_error_on_malformed_input ... ok test client_invalid_toml_manifest ... ok test client_invalid_member_toml_manifest ... ok test client_init_duplicated_and_unknown_settings ... ok test client_invalid_member_dependency_resolution ... ok test client_borrow_error ... ok test client_find_definitions ... ok test client_infer_lib ... ok test client_fail_uninitialized_request ... ok test client_omit_init_build ... ok test client_shutdown ... ok test client_dependency_typo_and_fix ... ok test client_features ... ok test client_format_utf16_range ... ok test client_test_infer_custom_bin ... ok test client_find_all_refs_no_cfg_test ... ok test client_all_features ... ok test client_lens_run ... ok test client_changing_workspace_lib_retains_diagnostics ... ok test client_no_default_features ... ok test client_implicit_workspace_pick_up_lib_changes ... ok test client_test_simple_workspace ... ok test client_find_impls ... ok test client_use_statement_completion_doesnt_suggest_arguments ... ok test client_deglob ... ok test client_workspace_symbol ... ok test client_hover ... ok test client_init_with_configuration_mixed_case ... ok test client_workspace_symbol_duplicates ... ok test client_handle_utf16_unit_text_edits ... ok test client_reformat ... ok test client_test_infer_lib ... ok test client_init_with_configuration_kebab_case ... ok test client_rename ... ok test client_highlight ... ok test client_test_infer_bin ... ok test client_did_change_configuration_duplicated_and_unknown_settings ... ok test client_reformat_with_range ... ok test client_goto_def ... ok test client_init_with_configuration_camel_case ... ok test client_multiple_binaries ... ok test client_ignore_uninitialized_notification ... ok test client_init_with_configuration_snake_case ... ok thread panicked while panicking. aborting. error: process didn't exit successfully: `/builddir/build/BUILD/rustc-1.35.0-src/build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/deps/client-36f93f7a142c23d0` (signal: 4, SIGILL: illegal instruction) command did not execute successfully: "/builddir/build/BUILD/rust-1.34.2-i686-unknown-linux-gnu/usr/bin/cargo" "test" "--target" "i686-unknown-linux-gnu" "-j" "40" "--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-i686-unknown-linux-gnu/usr/bin/cargo" "test" "--target" "i686-unknown-linux-gnu" "-j" "40" "--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:00:59 + : + python2 ./x.py test --no-fail-fast rustfmt Finished dev [unoptimized] target(s) in 0.25s Building stage0 std artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Copying stage0 std from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 test artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.23s Copying stage0 test from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 compiler artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.28s Copying stage0 rustc from stage0 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage0 codegen artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu, llvm) Finished release [optimized] target(s) in 0.24s Assembling stage1 compiler (i686-unknown-linux-gnu) Building stage1 std artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.24s Copying stage1 std from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 test artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.23s Copying stage1 test from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 compiler artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.29s Copying stage1 rustc from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage1 codegen artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu, llvm) Finished release [optimized] target(s) in 0.23s Assembling stage2 compiler (i686-unknown-linux-gnu) Uplifting stage1 std (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 std from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Uplifting stage1 test (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 test from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Uplifting stage1 rustc (i686-unknown-linux-gnu -> i686-unknown-linux-gnu) Copying stage2 rustc from stage1 (i686-unknown-linux-gnu -> i686-unknown-linux-gnu / i686-unknown-linux-gnu) Building stage2 tool rustfmt (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.28s Building rustdoc for stage2 (i686-unknown-linux-gnu) Finished release [optimized] target(s) in 0.23s Compiling rustfmt-nightly v1.2.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/tools/rustfmt) Finished release [optimized] target(s) in 27.89s Running build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/deps/rustfmt_nightly-4e9e4be7cc9cf608 running 82 tests test comment::test::test_find_uncommented ... ok test comment::test::char_classes ... 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::comment_code_slices ... ok test comment::test::test_uncommented ... ok test comment::test::test_filter_normal_code ... 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 config::file_lines::test::test_range_merge ... ok test config::test::test_config_set ... ok test config::options::test_newline_style_auto_detect ... ok test config::options::test_newline_style_auto_apply ... ok test config::license::test::test_parse_license_template ... ok test expr::test::test_last_line_offsetted ... ok test config::test::test_print_docs_exclude_unstable ... ok test issues::issue_type ... ok test config::file_lines::test::file_lines_to_json ... ok test issues::find_issue ... ok test issues::find_unnumbered_issue ... ok test config::test::test_config_used_to_toml ... ok test config::test::test_print_docs_include_unstable ... ok test imports::test::test_use_tree_normalize ... ok test imports::test::test_use_tree_ord ... ok test imports::test::test_use_tree_flatten ... ok test rustfmt_diff::test::diff_simple ... ok test rustfmt_diff::test::diff_trailing_newline ... ok test rustfmt_diff::test::diff_simple2 ... ok test imports::test::test_use_tree_merge ... ok test shape::test::indent_add_sub ... ok test shape::test::indent_add_sub_alignment ... ok test rustfmt_diff::test::diff_zerocontext ... ok test rustfmt_diff::test::modified_lines_from_str ... ok test shape::test::indent_to_string_spaces ... ok test shape::test::shape_block_indent_with_alignment ... ok test shape::test::indent_to_string_hard_tabs ... ok test shape::test::shape_block_indent_without_alignment ... ok test shape::test::shape_visual_indent ... ok test string::test::issue343 ... ok test config::test::test_was_set ... ok test string::test::big_whitespace ... ok test string::test::detect_urls ... ok test string::test::nothing_to_break ... ok test string::test::should_break_forward ... ok test string::test::should_break_on_punctuation ... ok test string::test::should_break_on_whitespace ... ok test string::test::significant_whitespaces ... ok test test::rustfmt_diff_no_diff_test ... ok test test::self_tests ... ok test test::rustfmt_diff_make_diff_tests ... ok test string::test::newline_in_candidate_line ... ok test string::test::last_line_fit_with_newline ... ok test string::test::overflow_in_non_string_content_with_line_end ... ok test string::test::overflow_in_non_string_content ... ok test test::stdin_disable_all_formatting_test ... ok test string::test::last_line_fit_with_trailing_whitespaces ... ok test string::test::blank_line_with_non_empty_line_start ... ok test string::test::retain_blank_lines ... ok test test::idempotence_tests ... ok test test::string_eq_ignore_newline_repr_test ... ok test string::test::boundary_on_edge ... ok test comment::test::format_doc_comments ... ok test utils::test::test_remove_trailing_white_spaces ... ok test utils::test::test_trim_left_preserve_layout ... ok test unit_tests::test_no_panic_on_format_snippet_and_format_code_block ... ok test test::format_lines_errors_are_reported ... ok test test::stdin_formatting_smoke_test ... ok test test::stdin_works_with_modified_lines ... ok test test::format_lines_errors_are_reported_with_tabs ... ok test unit_tests::test_format_code_block_fail ... 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 unit_tests::test_format_snippet ... ok test test::modified_test ... ok test test::stdin_parser_panic_caught ... ok test test::coverage_tests ... ok test test::checkstyle_test ... ok test unit_tests::test_format_code_block ... ok test test::verify_check_works ... ok test test::verify_config_test_names ... ok test test::configuration_snippet_tests ... 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/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/deps/cargo_fmt-11992dee1fe40817 running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Running build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/deps/git_rustfmt-de1dc23815da9ff3 running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Running build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/deps/rustfmt-6b577c1af5d4931b running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Running build/i686-unknown-linux-gnu/stage2-tools/i686-unknown-linux-gnu/release/deps/rustfmt_format_diff-12526de23292c30c 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:00:32 + exit 0 Processing files: rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yJXlXG + 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.i386/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.i386/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.i386/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.GhxGCm + 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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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(x86-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(x86-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.so.2 ld-linux.so.2(GLIBC_2.3) libLLVM-7.so libLLVM-7.so(LLVM_7) libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.2) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.4) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.2) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3) libgcc_s.so.1(GCC_4.2.0) libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1) libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.2) libpthread.so.0(GLIBC_2.2.3) libpthread.so.0(GLIBC_2.3.2) libpthread.so.0(GLIBC_2.3.3) librt.so.1 librt.so.1(GLIBC_2.2) libstdc++.so.6 libstdc++.so.6(CXXABI_1.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.i686 Provides: rust-toolset-1.35-rust-std-static = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-rust-std-static(x86-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.i686 Provides: rust-toolset-1.35-rust-lldb = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-rust-lldb(x86-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.i686 Provides: rust-toolset-1.35-rust-doc = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-rust-doc(x86-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.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sQcOtZ + 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.i386/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.i386/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.i386/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.kE1UmC + 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.i386/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.i386/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.i386/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.i386/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.i386/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(x86-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.so.2 ld-linux.so.2(GLIBC_2.3) libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.2) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.16) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.4) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.2) libc.so.6(GLIBC_2.3.4) 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.0) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3) libgcc_s.so.1(GCC_4.2.0) libm.so.6 libm.so.6(GLIBC_2.0) libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.2) libpthread.so.0(GLIBC_2.2.3) libpthread.so.0(GLIBC_2.3.2) libpthread.so.0(GLIBC_2.3.3) librt.so.1 librt.so.1(GLIBC_2.2) 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.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4Uycbg + 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.i386/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.i386/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.i386/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.y35a1T + 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.i386/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.i386/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.i386/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(x86-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.so.2 ld-linux.so.2(GLIBC_2.3) libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.2) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.4) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libdl.so.2 libdl.so.2(GLIBC_2.0) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3) libgcc_s.so.1(GCC_4.2.0) libm.so.6 libm.so.6(GLIBC_2.1) libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.2) libpthread.so.0(GLIBC_2.2.3) libpthread.so.0(GLIBC_2.3.2) libpthread.so.0(GLIBC_2.3.3) librt.so.1 librt.so.1(GLIBC_2.2) 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.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uZiqdy + 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.i386/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.i386/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.i386/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.owZsrc + 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.i386/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.i386/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.i386/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(x86-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.so.2 ld-linux.so.2(GLIBC_2.3) libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.2) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.16) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.4) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.2) libc.so.6(GLIBC_2.3.4) 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.0) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3) libgcc_s.so.1(GCC_4.2.0) libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1) libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.3.2) librt.so.1 librt.so.1(GLIBC_2.2) 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.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.C8KhhR + 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.i386/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.i386/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.i386/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.5aeS8v + 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.i386/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.i386/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.i386/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(x86-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.so.2 ld-linux.so.2(GLIBC_2.3) libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.4) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libdl.so.2 libdl.so.2(GLIBC_2.0) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3) libgcc_s.so.1(GCC_4.2.0) libm.so.6 libm.so.6(GLIBC_2.0) libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.2) libpthread.so.0(GLIBC_2.2.3) libpthread.so.0(GLIBC_2.3.2) libpthread.so.0(GLIBC_2.3.3) 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.i686 Provides: rust-toolset-1.35-rust-analysis = 1.35.0-0.el7.0.0.bootstrap rust-toolset-1.35-rust-analysis(x86-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.i386 Wrote: /builddir/build/RPMS/rust-toolset-1.35-rust-1.35.0-0.el7.0.0.bootstrap.i686.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-rust-std-static-1.35.0-0.el7.0.0.bootstrap.i686.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.i686.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-rust-doc-1.35.0-0.el7.0.0.bootstrap.i686.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-cargo-1.35.0-0.el7.0.0.bootstrap.i686.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.i686.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-rls-1.35.0-0.el7.0.0.bootstrap.i686.rpm Wrote: /builddir/build/RPMS/rust-toolset-1.35-clippy-1.35.0-0.el7.0.0.bootstrap.i686.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.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4lFLme + 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.i386 + exit 0 Child return code was: 0