Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/dist-an23-build-319883-67879/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1691366400 Wrote: /builddir/build/SRPMS/rust-1.70.0-3.an23.src.rpm RPM build warnings: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/dist-an23-build-319883-67879/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1691366400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.n3Wq0X + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rustc-1.70.0-src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rustc-1.70.0-src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.70.0-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Use-lld-provided-by-system-for-wasm.patch):' Patch #1 (0001-Use-lld-provided-by-system-for-wasm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file compiler/rustc_target/src/spec/wasm_base.rs + echo 'Patch #2 (rustc-1.70.0-rust-gdb-substitute-path.patch):' Patch #2 (rustc-1.70.0-rust-gdb-substitute-path.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/etc/rust-gdb Patch #3 (0001-Let-environment-variables-override-some-default-CPUs.patch): + echo 'Patch #3 (0001-Let-environment-variables-override-some-default-CPUs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file compiler/rustc_target/src/spec/powerpc64le_unknown_linux_gnu.rs patching file compiler/rustc_target/src/spec/s390x_unknown_linux_gnu.rs patching file compiler/rustc_target/src/spec/x86_64_unknown_linux_gnu.rs Patch #4 (0001-Rollup-merge-of-110876-mj10021-issue-110647-fix-r-b-.patch): + echo 'Patch #4 (0001-Rollup-merge-of-110876-mj10021-issue-110647-fix-r-b-.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file compiler/rustc_codegen_llvm/src/llvm/ffi.rs patching file compiler/rustc_codegen_llvm/src/llvm_util.rs patching file compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp patching file src/doc/rustc/src/codegen-options/index.md + echo 'Patch #5 (0001-Expand-the-LLVM-coverage-of-print-target-cpus.patch):' Patch #5 (0001-Expand-the-LLVM-coverage-of-print-target-cpus.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp + cd /builddir/build/BUILD + rm -rf rustc-1.70.0-src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rustc-1.70.0-src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.70.0-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Use-lld-provided-by-system-for-wasm.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rustc-1.70.0-rust-gdb-substitute-path.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Let-environment-variables-override-some-default-CPUs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Rollup-merge-of-110876-mj10021-issue-110647-fix-r-b-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Expand-the-LLVM-coverage-of-print-target-cpus.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rustc-1.70.0-disable-libssh2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rustc-1.70.0-disable-http2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i.try-python -e '/^try python3 /i try "/usr/bin/python3" "$@"' ./configure + sed -i.rust-src -e s#@BUILDDIR@#/builddir/build/BUILD/rustc-1.70.0-src# ./src/etc/rust-gdb + rm -rf src/llvm-project/ + mkdir -p src/llvm-project/libunwind/ + rm -rf vendor/libgit2-sys/libgit2/ + pushd vendor ~/build/BUILD/rustc-1.70.0-src/vendor ~/build/BUILD/rustc-1.70.0-src + rm -rf curl-sys/curl/ + rm -rf jemalloc-sys/jemalloc/ tikv-jemalloc-sys/jemalloc/ + rm -rf libmimalloc-sys/c_src/mimalloc/ + rm -rf libssh2-sys/libssh2/ + rm -rf libz-sys/src/zlib/ + rm -rf libz-sys/src/zlib-ng/ + rm -rf lzma-sys/xz-5.2/ + rm -rf openssl-src/openssl/ + popd ~/build/BUILD/rustc-1.70.0-src + sed -i.lzma -e /LZMA_API_STATIC/d src/bootstrap/tool.rs + find vendor -name .cargo-checksum.json -exec sed -i.uncheck -e 's/"files":{[^}]*}/"files":{ }/' '{}' + + find -name '*.rs' -type f -perm /111 -exec chmod -v -x '{}' + mode of './src/tools/rust-analyzer/crates/ide/src/folding_ranges.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './compiler/rustc_codegen_cranelift/scripts/filter_profile.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './compiler/rustc_codegen_cranelift/y.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gix-pack/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/type-map/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gimli/tests/parse_self.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/tests/ansi_term_compat.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/style.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/control.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/color.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/formatters.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/most_simple.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/control.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/dynamic_colors.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/nested_colors.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gimli-0.26.2/tests/parse_self.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/rayon-core/src/broadcast/test.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/unicode-normalization/src/no_std_prelude.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/cranelift-codegen-meta/src/shared/instructions.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.40kPg5 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rustc-1.70.0-src + export LIBSSH2_SYS_USE_PKG_CONFIG=1 + LIBSSH2_SYS_USE_PKG_CONFIG=1 ++ /usr/bin/getconf _NPROCESSORS_ONLN + ncpus=80 ++ free -g ++ awk '/^Mem:/{print $2}' + max_cpus=128 + '[' 128 -ge 1 -a 128 -lt 80 ']' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./vendor/libffi-sys/libffi/configure + diff -u ./vendor/libffi-sys/libffi/configure.backup ./vendor/libffi-sys/libffi/configure + mv ./vendor/libffi-sys/libffi/configure.backup ./vendor/libffi-sys/libffi/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./vendor/libffi-sys/libffi/configure + diff -u ./vendor/libffi-sys/libffi/configure.backup ./vendor/libffi-sys/libffi/configure + mv ./vendor/libffi-sys/libffi/configure.backup ./vendor/libffi-sys/libffi/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./vendor/libffi-sys/libffi/configure + diff -u ./vendor/libffi-sys/libffi/configure.backup ./vendor/libffi-sys/libffi/configure --- ./vendor/libffi-sys/libffi/configure.backup 2023-06-01 05:44:48.000000000 +0800 +++ ./vendor/libffi-sys/libffi/configure 2023-10-23 14:21:15.447891476 +0800 @@ -1823,7 +1823,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./vendor/libffi-sys/libffi/configure + diff -u ./vendor/libffi-sys/libffi/configure.backup ./vendor/libffi-sys/libffi/configure + mv ./vendor/libffi-sys/libffi/configure.backup ./vendor/libffi-sys/libffi/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./vendor/libffi-sys/libffi/configure + diff -u ./vendor/libffi-sys/libffi/configure.backup ./vendor/libffi-sys/libffi/configure --- ./vendor/libffi-sys/libffi/configure.backup 2023-10-23 14:21:15.447891476 +0800 +++ ./vendor/libffi-sys/libffi/configure 2023-10-23 14:21:15.467891577 +0800 @@ -8221,7 +8221,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -21204,7 +21204,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + mv ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + mv ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure --- ./vendor/tikv-jemalloc-sys/configure/configure.backup 2023-06-01 05:44:49.000000000 +0800 +++ ./vendor/tikv-jemalloc-sys/configure/configure 2023-10-23 14:21:15.477891628 +0800 @@ -2140,7 +2140,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + mv ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + mv ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./vendor/jemalloc-sys/configure/configure + diff -u ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + mv ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./vendor/jemalloc-sys/configure/configure + diff -u ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + mv ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./vendor/jemalloc-sys/configure/configure + diff -u ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure --- ./vendor/jemalloc-sys/configure/configure.backup 2023-06-01 05:44:48.000000000 +0800 +++ ./vendor/jemalloc-sys/configure/configure 2023-10-23 14:21:15.507891779 +0800 @@ -2140,7 +2140,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./vendor/jemalloc-sys/configure/configure + diff -u ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + mv ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./vendor/jemalloc-sys/configure/configure + diff -u ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + mv ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./vendor/libffi-sys/libffi/config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./vendor/libffi-sys/libffi/config.sub ++ basename ./vendor/libffi-sys/libffi/config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./vendor/libffi-sys/libffi/config.sub '/usr/lib/rpm/anolis/config.sub' -> './vendor/libffi-sys/libffi/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./vendor/libffi-sys/libffi/config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./vendor/libffi-sys/libffi/config.guess ++ basename ./vendor/libffi-sys/libffi/config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./vendor/libffi-sys/libffi/config.guess '/usr/lib/rpm/anolis/config.guess' -> './vendor/libffi-sys/libffi/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld"~' ./vendor/libffi-sys/libffi/ltmain.sh ++ dirname ./configure + /usr/lib/rpm/anolis/force-as-needed-for-shared-lib-in-libtool . Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/anolis/fix-libtool-ltmain-from-overlinking ++ dirname ./configure + /usr/lib/rpm/anolis/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/anolis/fix-dlsearch-path-in-libtool . lib64 + ./configure --build=aarch64-Anolis-linux --host=aarch64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-option-checking --libdir=/usr/lib --build=aarch64-unknown-linux-gnu --host=aarch64-unknown-linux-gnu --target=aarch64-unknown-linux-gnu --set target.aarch64-unknown-linux-gnu.linker=gcc --set target.aarch64-unknown-linux-gnu.cc=gcc --set target.aarch64-unknown-linux-gnu.cxx=g++ --set target.aarch64-unknown-linux-gnu.ar=ar --set target.aarch64-unknown-linux-gnu.ranlib=/usr/bin/ranlib --python=/usr/bin/python3 --local-rust-root=/usr --set build.rustfmt=/bin/true --disable-llvm-static-stdcpp --llvm-root=/usr --disable-codegen-tests --enable-llvm-link-shared --debuginfo-level=2 --set rust.codegen-units-std=1 --set build.build-stage=2 --set build.doc-stage=2 --set build.install-stage=2 --set build.test-stage=2 --enable-extended --tools=cargo,clippy,rls,rust-analyzer,rustfmt,src --enable-vendor --enable-verbose-tests --dist-compression-formats=gz --disable-rpath --release-channel=stable '--release-description=Anolis 23 1.70.0-3.an23' configure: processing command line configure: configure: build.configure-args := ['--build=aarch64-Anolis-linux', '--host=aarch ... configure: build.build := aarch64-unknown-linux-gnu configure: build.host := ['aarch64-unknown-linux-gnu'] configure: install.prefix := /usr configure: install.bindir := /usr/bin configure: install.sysconfdir := /etc configure: install.datadir := /usr/share configure: install.libdir := /usr/lib configure: install.localstatedir := /var configure: install.mandir := /usr/share/man configure: install.infodir := /usr/share/info configure: build.target := ['aarch64-unknown-linux-gnu'] configure: target.aarch64-unknown-linux-gnu.linker := gcc configure: target.aarch64-unknown-linux-gnu.cc := gcc configure: target.aarch64-unknown-linux-gnu.cxx := g++ configure: target.aarch64-unknown-linux-gnu.ar := ar configure: target.aarch64-unknown-linux-gnu.ranlib := /usr/bin/ranlib configure: build.rustfmt := /bin/true configure: rust.codegen-units-std := 1 configure: build.build-stage := 2 configure: build.doc-stage := 2 configure: build.install-stage := 2 configure: build.test-stage := 2 configure: build.python := /usr/bin/python3 configure: build.rustc := /usr/bin/rustc configure: build.cargo := /usr/bin/cargo configure: llvm.static-libstdcpp := False configure: target.aarch64-unknown-linux-gnu.llvm-config := /usr/bin/llvm-config configure: rust.codegen-tests := False configure: llvm.link-shared := True configure: rust.debuginfo-level := 2 configure: build.extended := True configure: build.tools := ['cargo', 'clippy', 'rls', 'rust-analyzer', 'r ... configure: build.vendor := True configure: rust.verbose-tests := True configure: dist.compression-formats := ['gz'] configure: rust.rpath := False configure: rust.channel := stable configure: rust.description := Anolis 23 1.70.0-3.an23 warning: localstatedir will be ignored warning: infodir will be ignored configure: configure: writing `config.toml` in current directory configure: configure: run `python /builddir/build/BUILD/rustc-1.70.0-src/x.py --help` + /usr/bin/python3 ./x.py build -j 80 Building bootstrap Compiling libc v0.2.140 Compiling memchr v2.5.0 Compiling cfg-if v1.0.0 Compiling typenum v1.15.0 Compiling version_check v0.9.4 Compiling proc-macro2 v1.0.46 Compiling cc v1.0.73 Compiling io-lifetimes v1.0.9 Compiling unicode-ident v1.0.0 Compiling lazy_static v1.4.0 Compiling pkg-config v0.3.25 Compiling log v0.4.17 Compiling serde v1.0.137 Compiling rustix v0.37.6 Compiling regex-automata v0.1.10 Compiling crossbeam-utils v0.8.14 Compiling regex-syntax v0.6.26 Compiling syn v1.0.102 Compiling bitflags v1.3.2 Compiling linux-raw-sys v0.3.1 Compiling once_cell v1.12.0 Compiling serde_json v1.0.81 Compiling serde_derive v1.0.137 Compiling fnv v1.0.7 Compiling same-file v1.0.6 Compiling ryu v1.0.10 Compiling itoa v1.0.2 Compiling bootstrap v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/src/bootstrap) Compiling unicode-width v0.1.9 Compiling build_helper v0.1.0 (/builddir/build/BUILD/rustc-1.70.0-src/src/tools/build_helper) Compiling termcolor v1.2.0 Compiling hex v0.4.3 Compiling getopts v0.2.21 Compiling generic-array v0.14.5 Compiling thread_local v1.1.4 Compiling walkdir v2.3.2 Compiling bstr v0.2.17 Compiling aho-corasick v0.7.18 Compiling object v0.29.0 Compiling cmake v0.1.48 Compiling quote v1.0.18 Compiling lzma-sys v0.1.17 Compiling opener v0.5.0 Compiling cpufeatures v0.2.5 Compiling filetime v0.2.16 Compiling xattr v0.2.3 Compiling xz2 v0.1.6 Compiling crypto-common v0.1.3 Compiling block-buffer v0.10.2 Compiling tar v0.4.38 Compiling digest v0.10.3 Compiling sha2 v0.10.2 Compiling regex v1.5.6 Compiling globset v0.4.8 Compiling ignore v0.4.18 Compiling toml v0.5.9 Compiling is-terminal v0.4.6 Compiling fd-lock v3.0.11 Finished dev [unoptimized] target(s) in 20.67s Building stage0 library artifacts (aarch64-unknown-linux-gnu) Compiling compiler_builtins v0.1.91 Compiling core v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/core) Compiling libc v0.2.140 Compiling cc v1.0.77 Compiling memchr v2.5.0 Compiling std v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/std) Compiling unwind v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/unwind) Compiling rustc-std-workspace-core v1.99.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/alloc) Compiling cfg-if v1.0.0 Compiling adler v1.0.2 Compiling rustc-demangle v0.1.21 Compiling rustc-std-workspace-alloc v1.99.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/rustc-std-workspace-alloc) Compiling panic_abort v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/panic_abort) Compiling panic_unwind v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/panic_unwind) Compiling gimli v0.26.2 Compiling miniz_oxide v0.5.3 Compiling hashbrown v0.12.3 Compiling object v0.29.0 Compiling std_detect v0.1.5 (/builddir/build/BUILD/rustc-1.70.0-src/library/stdarch/crates/std_detect) Compiling addr2line v0.17.0 Compiling rustc-std-workspace-std v1.99.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/rustc-std-workspace-std) Compiling proc_macro v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/proc_macro) Compiling unicode-width v0.1.10 Compiling getopts v0.2.21 Compiling test v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/test) Finished release [optimized + debuginfo] target(s) in 1m 14s Building compiler artifacts (stage0 -> stage1) Compiling proc-macro2 v1.0.53 Compiling unicode-ident v1.0.5 Compiling quote v1.0.26 Compiling syn v1.0.102 Compiling cfg-if v1.0.0 Compiling unicode-xid v0.2.4 Compiling libc v0.2.140 Compiling version_check v0.9.4 Compiling once_cell v1.17.1 Compiling autocfg v1.1.0 Compiling stable_deref_trait v1.2.0 Compiling proc-macro-hack v0.5.19 Compiling smallvec v1.10.0 Compiling log v0.4.14 Compiling thiserror v1.0.38 Compiling memchr v2.5.0 Compiling cc v1.0.77 Compiling parking_lot_core v0.8.5 Compiling scopeguard v1.1.0 Compiling pin-project-lite v0.2.8 Compiling rustc-hash v1.1.0 Compiling serde_derive v1.0.159 Compiling typenum v1.16.0 Compiling bitflags v1.3.2 Compiling serde v1.0.159 Compiling ryu v1.0.5 Compiling unicode-width v0.1.10 Compiling either v1.6.0 Compiling self_cell v0.10.2 Compiling thin-vec v0.2.12 Compiling serde_json v1.0.85 Compiling remove_dir_all v0.5.3 Compiling itoa v1.0.6 Compiling fastrand v1.8.0 Compiling arrayvec v0.7.0 Compiling rustc_graphviz v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_graphviz) Compiling writeable v0.5.1 Compiling litemap v0.6.1 Compiling unic-char-range v0.9.0 Compiling scoped-tls v1.0.0 Compiling unic-common v0.9.0 Compiling ppv-lite86 v0.2.8 Compiling rustc_fs_util v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_fs_util) Compiling termcolor v1.1.3 Compiling lazy_static v1.4.0 Compiling convert_case v0.4.0 Compiling datafrog v2.0.1 Compiling tinyvec_macros v0.1.0 Compiling regex-syntax v0.6.26 Compiling crossbeam-utils v0.8.14 Compiling crc32fast v1.3.2 Compiling adler v1.0.2 Compiling ansi_term v0.12.1 Compiling snap v1.1.0 Compiling unicode-script v0.5.5 Compiling fixedbitset v0.2.0 Compiling fallible-iterator v0.2.0 Compiling static_assertions v1.1.0 Compiling punycode v0.4.1 Compiling pulldown-cmark v0.9.2 Compiling rustc-demangle v0.1.21 Compiling pathdiff v0.2.1 Compiling rustc_error_codes v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_error_codes) Compiling rustc-main v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc) Compiling instant v0.1.12 Compiling odht v0.3.1 Compiling libloading v0.7.1 Compiling elsa v1.7.1 Compiling tracing-core v0.1.28 Compiling thread_local v1.1.4 Compiling rustc_arena v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_arena) Compiling itertools v0.10.5 Compiling ena v0.14.2 Compiling ahash v0.7.4 Compiling generic-array v0.14.4 Compiling ahash v0.8.2 Compiling unicase v2.6.0 Compiling rustc_apfloat v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_apfloat) Compiling sharded-slab v0.1.1 Compiling indexmap v1.9.3 Compiling lock_api v0.4.7 Compiling type-map v0.4.0 Compiling annotate-snippets v0.9.1 Compiling unic-char-property v0.9.0 Compiling unic-ucd-version v0.9.0 Compiling tinyvec v1.6.0 Compiling getopts v0.2.21 Compiling miniz_oxide v0.5.3 Compiling unic-emoji-char v0.9.0 Compiling regex-automata v0.2.0 Compiling aho-corasick v0.7.18 Compiling rustc_lexer v0.1.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_lexer) Compiling tracing-log v0.1.2 Compiling polonius-engine v0.13.0 Compiling crossbeam-channel v0.5.6 Compiling getrandom v0.2.8 Compiling jobserver v0.1.26 Compiling tempfile v3.3.0 Compiling memmap2 v0.2.1 Compiling cpufeatures v0.2.5 Compiling termize v0.1.1 Compiling atty v0.2.14 Compiling flate2 v1.0.23 Compiling psm v0.1.21 Compiling stacker v0.1.15 Compiling rustc_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_llvm) Compiling hashbrown v0.13.1 Compiling syn v2.0.8 Compiling rand_core v0.6.4 Compiling cstr v0.2.8 Compiling parking_lot v0.11.2 Compiling rand_chacha v0.3.0 Compiling rand_xoshiro v0.6.0 Compiling hashbrown v0.12.3 Compiling measureme v10.1.0 Compiling rand v0.8.5 Compiling unicode-normalization v0.1.22 Compiling unicode-security v0.1.0 Compiling regex v1.5.6 Compiling regex-automata v0.1.10 Compiling twox-hash v1.6.3 Compiling block-buffer v0.10.2 Compiling crypto-common v0.1.6 Compiling digest v0.10.6 Compiling rustc_serialize v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_serialize) Compiling petgraph v0.5.1 Compiling object v0.30.1 Compiling gimli v0.26.2 Compiling md-5 v0.10.0 Compiling sha2 v0.10.6 Compiling sha1 v0.10.5 Compiling matchers v0.1.0 Compiling synstructure v0.13.0 Compiling synstructure v0.12.6 Compiling ar_archive_writer v0.1.3 Compiling zerofrom-derive v0.1.1 Compiling yoke-derive v0.7.0 Compiling zerovec-derive v0.9.3 Compiling displaydoc v0.2.3 Compiling thiserror-impl v1.0.38 Compiling tracing-attributes v0.1.22 Compiling icu_provider_macros v1.1.0 Compiling chalk-derive v0.87.0 Compiling derive_more v0.99.17 Compiling chalk-ir v0.87.0 Compiling fluent-syntax v0.11.0 Compiling tracing v0.1.35 Compiling tracing-subscriber v0.3.3 Compiling thorin-dwp v0.4.0 Compiling zerofrom v0.1.1 Compiling yoke v0.7.0 Compiling zerovec v0.9.2 Compiling tracing-tree v0.2.0 Compiling chalk-solve v0.87.0 Compiling rustc_log v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_log) Compiling tinystr v0.7.1 Compiling unic-langid-impl v0.9.1 Compiling icu_locid v1.1.0 Compiling unic-langid-macros-impl v0.9.1 Compiling icu_provider v1.1.0 Compiling unic-langid-macros v0.9.1 Compiling unic-langid v0.9.1 Compiling fluent-langneg v0.13.0 Compiling intl_pluralrules v7.0.2 Compiling intl-memoizer v0.5.1 Compiling icu_provider_adapters v1.1.0 Compiling icu_list v1.1.0 Compiling fluent-bundle v0.15.2 Compiling rustc_baked_icu_data v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_baked_icu_data) Compiling rustc_macros v0.1.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_macros) Compiling chalk-engine v0.87.0 Compiling gsgdt v0.1.2 Compiling rustc_index v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_index) Compiling rustc_data_structures v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_data_structures) Compiling rustc_span v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_span) Compiling rustc_abi v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_abi) Compiling rustc_type_ir v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_type_ir) Compiling rustc_parse_format v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_parse_format) Compiling rustc_ast v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_ast) Compiling rustc_feature v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_feature) Compiling rustc_error_messages v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_error_messages) Compiling rustc_target v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_target) Compiling rustc_ast_pretty v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_ast_pretty) Compiling rustc_hir v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_hir) Compiling rustc_lint_defs v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_lint_defs) Compiling rustc_hir_pretty v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_hir_pretty) Compiling rustc_errors v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_errors) Compiling rustc_session v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_session) Compiling rustc_attr v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_attr) Compiling rustc_query_system v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_query_system) Compiling rustc_parse v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_parse) Compiling rustc_middle v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_middle) Compiling rustc_ast_passes v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_ast_passes) Compiling rustc_expand v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_expand) Compiling rustc_builtin_macros v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_builtin_macros) warning: llvm-wrapper/PassWrapper.cpp: In function ‘void LLVMRustPrintTargetCPUs(LLVMTargetMachineRef, const char*)’: warning: llvm-wrapper/PassWrapper.cpp:311:26: warning: unused variable ‘MCInfo’ [-Wunused-variable] warning: 311 | const MCSubtargetInfo *MCInfo = Target->getMCSubtargetInfo(); warning: | ^~~~~~ Compiling rustc_infer v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_infer) Compiling rustc_metadata v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_metadata) Compiling rustc_mir_dataflow v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_mir_dataflow) Compiling rustc_incremental v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_incremental) Compiling rustc_symbol_mangling v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_symbol_mangling) Compiling rustc_monomorphize v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_monomorphize) Compiling rustc_ast_lowering v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_ast_lowering) Compiling rustc_query_impl v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_query_impl) Compiling rustc_smir v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_smir) Compiling rustc_codegen_ssa v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_codegen_ssa) Compiling rustc_resolve v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_resolve) Compiling rustc_transmute v0.1.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_transmute) Compiling rustc_trait_selection v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_trait_selection) Compiling rustc_codegen_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_codegen_llvm) Compiling rustc_lint v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_lint) Compiling rustc_const_eval v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_const_eval) Compiling rustc_traits v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_traits) Compiling rustc_passes v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_passes) Compiling rustc_ty_utils v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_ty_utils) Compiling rustc_mir_build v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_mir_build) Compiling rustc_hir_analysis v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_hir_analysis) Compiling rustc_plugin_impl v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_plugin_impl) Compiling rustc_mir_transform v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_mir_transform) Compiling rustc_borrowck v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_borrowck) Compiling rustc_hir_typeck v0.1.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_hir_typeck) Compiling rustc_privacy v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_privacy) Compiling rustc_interface v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_interface) Compiling rustc_driver_impl v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_driver_impl) Compiling rustc_driver v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_driver) Finished release [optimized + debuginfo] target(s) in 3m 36s Assembling stage1 compiler Building stage1 library artifacts (aarch64-unknown-linux-gnu) Compiling compiler_builtins v0.1.91 Compiling core v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/core) Compiling libc v0.2.140 Compiling cc v1.0.77 Compiling memchr v2.5.0 Compiling std v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/std) Compiling unwind v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/unwind) Compiling rustc-std-workspace-core v1.99.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/alloc) Compiling cfg-if v1.0.0 Compiling adler v1.0.2 Compiling rustc-demangle v0.1.21 Compiling rustc-std-workspace-alloc v1.99.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/rustc-std-workspace-alloc) Compiling panic_abort v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/panic_abort) Compiling panic_unwind v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/panic_unwind) Compiling gimli v0.26.2 Compiling hashbrown v0.12.3 Compiling object v0.29.0 Compiling std_detect v0.1.5 (/builddir/build/BUILD/rustc-1.70.0-src/library/stdarch/crates/std_detect) Compiling miniz_oxide v0.5.3 Compiling addr2line v0.17.0 Compiling rustc-std-workspace-std v1.99.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/rustc-std-workspace-std) Compiling proc_macro v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/proc_macro) Compiling unicode-width v0.1.10 Compiling getopts v0.2.21 Compiling test v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/library/test) Finished release [optimized + debuginfo] target(s) in 1m 15s Building compiler artifacts (stage1 -> stage2) Compiling proc-macro2 v1.0.53 Compiling unicode-ident v1.0.5 Compiling quote v1.0.26 Compiling syn v1.0.102 Compiling cfg-if v1.0.0 Compiling unicode-xid v0.2.4 Compiling libc v0.2.140 Compiling version_check v0.9.4 Compiling once_cell v1.17.1 Compiling autocfg v1.1.0 Compiling stable_deref_trait v1.2.0 Compiling proc-macro-hack v0.5.19 Compiling smallvec v1.10.0 Compiling log v0.4.14 Compiling thiserror v1.0.38 Compiling memchr v2.5.0 Compiling parking_lot_core v0.8.5 Compiling cc v1.0.77 Compiling scopeguard v1.1.0 Compiling rustc-hash v1.1.0 Compiling pin-project-lite v0.2.8 Compiling serde_derive v1.0.159 Compiling typenum v1.16.0 Compiling bitflags v1.3.2 Compiling serde v1.0.159 Compiling self_cell v0.10.2 Compiling either v1.6.0 Compiling unicode-width v0.1.10 Compiling ryu v1.0.5 Compiling serde_json v1.0.85 Compiling thin-vec v0.2.12 Compiling itoa v1.0.6 Compiling fastrand v1.8.0 Compiling arrayvec v0.7.0 Compiling remove_dir_all v0.5.3 Compiling rustc_graphviz v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_graphviz) Compiling unic-char-range v0.9.0 Compiling litemap v0.6.1 Compiling scoped-tls v1.0.0 Compiling unic-common v0.9.0 Compiling writeable v0.5.1 Compiling ppv-lite86 v0.2.8 Compiling rustc_fs_util v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_fs_util) Compiling termcolor v1.1.3 Compiling lazy_static v1.4.0 Compiling convert_case v0.4.0 Compiling datafrog v2.0.1 Compiling tinyvec_macros v0.1.0 Compiling regex-syntax v0.6.26 Compiling crossbeam-utils v0.8.14 Compiling crc32fast v1.3.2 Compiling adler v1.0.2 Compiling snap v1.1.0 Compiling ansi_term v0.12.1 Compiling unicode-script v0.5.5 Compiling fixedbitset v0.2.0 Compiling fallible-iterator v0.2.0 Compiling static_assertions v1.1.0 Compiling pulldown-cmark v0.9.2 Compiling rustc-demangle v0.1.21 Compiling punycode v0.4.1 Compiling pathdiff v0.2.1 Compiling rustc_error_codes v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_error_codes) Compiling rustc-main v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc) Compiling instant v0.1.12 Compiling odht v0.3.1 Compiling libloading v0.7.1 Compiling elsa v1.7.1 Compiling type-map v0.4.0 Compiling tracing-core v0.1.28 Compiling thread_local v1.1.4 Compiling rustc_arena v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_arena) Compiling unic-ucd-version v0.9.0 Compiling ahash v0.7.4 Compiling generic-array v0.14.4 Compiling ahash v0.8.2 Compiling unicase v2.6.0 Compiling indexmap v1.9.3 Compiling lock_api v0.4.7 Compiling rustc_apfloat v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_apfloat) Compiling tinyvec v1.6.0 Compiling ena v0.14.2 Compiling annotate-snippets v0.9.1 Compiling getopts v0.2.21 Compiling unic-char-property v0.9.0 Compiling sharded-slab v0.1.1 Compiling miniz_oxide v0.5.3 Compiling itertools v0.10.5 Compiling unic-emoji-char v0.9.0 Compiling polonius-engine v0.13.0 Compiling regex-automata v0.2.0 Compiling aho-corasick v0.7.18 Compiling tracing-log v0.1.2 Compiling rustc_lexer v0.1.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_lexer) Compiling hashbrown v0.13.1 Compiling crossbeam-channel v0.5.6 Compiling syn v2.0.8 Compiling getrandom v0.2.8 Compiling jobserver v0.1.26 Compiling tempfile v3.3.0 Compiling memmap2 v0.2.1 Compiling cpufeatures v0.2.5 Compiling termize v0.1.1 Compiling atty v0.2.14 Compiling flate2 v1.0.23 Compiling cstr v0.2.8 Compiling rand_core v0.6.4 Compiling psm v0.1.21 Compiling stacker v0.1.15 Compiling rustc_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_llvm) Compiling parking_lot v0.11.2 Compiling rand_chacha v0.3.0 Compiling rand_xoshiro v0.6.0 Compiling hashbrown v0.12.3 Compiling measureme v10.1.0 Compiling rand v0.8.5 Compiling unicode-normalization v0.1.22 Compiling unicode-security v0.1.0 Compiling block-buffer v0.10.2 Compiling crypto-common v0.1.6 Compiling twox-hash v1.6.3 Compiling regex v1.5.6 Compiling regex-automata v0.1.10 Compiling digest v0.10.6 Compiling sha1 v0.10.5 Compiling sha2 v0.10.6 Compiling md-5 v0.10.0 Compiling rustc_serialize v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_serialize) Compiling object v0.30.1 Compiling petgraph v0.5.1 Compiling gimli v0.26.2 Compiling matchers v0.1.0 Compiling synstructure v0.13.0 Compiling synstructure v0.12.6 Compiling ar_archive_writer v0.1.3 Compiling zerofrom-derive v0.1.1 Compiling yoke-derive v0.7.0 Compiling zerovec-derive v0.9.3 Compiling displaydoc v0.2.3 Compiling thiserror-impl v1.0.38 Compiling tracing-attributes v0.1.22 Compiling icu_provider_macros v1.1.0 Compiling chalk-derive v0.87.0 Compiling derive_more v0.99.17 Compiling chalk-ir v0.87.0 Compiling fluent-syntax v0.11.0 Compiling tracing v0.1.35 Compiling tracing-subscriber v0.3.3 Compiling thorin-dwp v0.4.0 Compiling zerofrom v0.1.1 Compiling yoke v0.7.0 Compiling zerovec v0.9.2 Compiling tracing-tree v0.2.0 Compiling chalk-solve v0.87.0 Compiling rustc_log v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_log) Compiling tinystr v0.7.1 Compiling unic-langid-impl v0.9.1 Compiling icu_locid v1.1.0 Compiling unic-langid-macros-impl v0.9.1 Compiling icu_provider v1.1.0 Compiling unic-langid-macros v0.9.1 Compiling unic-langid v0.9.1 Compiling fluent-langneg v0.13.0 Compiling intl-memoizer v0.5.1 Compiling intl_pluralrules v7.0.2 Compiling icu_list v1.1.0 Compiling icu_provider_adapters v1.1.0 Compiling rustc_baked_icu_data v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_baked_icu_data) Compiling fluent-bundle v0.15.2 Compiling rustc_macros v0.1.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_macros) Compiling chalk-engine v0.87.0 Compiling gsgdt v0.1.2 Compiling rustc_index v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_index) Compiling rustc_data_structures v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_data_structures) Compiling rustc_span v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_span) Compiling rustc_abi v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_abi) Compiling rustc_type_ir v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_type_ir) Compiling rustc_parse_format v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_parse_format) Compiling rustc_ast v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_ast) Compiling rustc_feature v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_feature) Compiling rustc_error_messages v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_error_messages) Compiling rustc_target v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_target) Compiling rustc_ast_pretty v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_ast_pretty) Compiling rustc_hir v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_hir) Compiling rustc_lint_defs v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_lint_defs) Compiling rustc_hir_pretty v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_hir_pretty) Compiling rustc_errors v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_errors) Compiling rustc_session v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_session) Compiling rustc_attr v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_attr) Compiling rustc_query_system v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_query_system) Compiling rustc_parse v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_parse) Compiling rustc_middle v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_middle) Compiling rustc_ast_passes v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_ast_passes) Compiling rustc_expand v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_expand) Compiling rustc_builtin_macros v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_builtin_macros) warning: llvm-wrapper/PassWrapper.cpp: In function ‘void LLVMRustPrintTargetCPUs(LLVMTargetMachineRef, const char*)’: warning: llvm-wrapper/PassWrapper.cpp:311:26: warning: unused variable ‘MCInfo’ [-Wunused-variable] warning: 311 | const MCSubtargetInfo *MCInfo = Target->getMCSubtargetInfo(); warning: | ^~~~~~ Compiling rustc_infer v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_infer) Compiling rustc_metadata v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_metadata) Compiling rustc_mir_dataflow v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_mir_dataflow) Compiling rustc_incremental v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_incremental) Compiling rustc_symbol_mangling v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_symbol_mangling) Compiling rustc_monomorphize v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_monomorphize) Compiling rustc_query_impl v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_query_impl) Compiling rustc_ast_lowering v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_ast_lowering) Compiling rustc_smir v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_smir) Compiling rustc_codegen_ssa v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_codegen_ssa) Compiling rustc_resolve v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_resolve) Compiling rustc_transmute v0.1.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_transmute) Compiling rustc_trait_selection v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_trait_selection) Compiling rustc_codegen_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_codegen_llvm) Compiling rustc_lint v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_lint) Compiling rustc_const_eval v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_const_eval) Compiling rustc_traits v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_traits) Compiling rustc_passes v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_passes) Compiling rustc_mir_build v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_mir_build) Compiling rustc_ty_utils v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_ty_utils) Compiling rustc_hir_analysis v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_hir_analysis) Compiling rustc_plugin_impl v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_plugin_impl) Compiling rustc_borrowck v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_borrowck) Compiling rustc_mir_transform v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_mir_transform) Compiling rustc_privacy v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_privacy) Compiling rustc_hir_typeck v0.1.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_hir_typeck) Compiling rustc_interface v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_interface) Compiling rustc_driver_impl v0.0.0 (/builddir/build/BUILD/rustc-1.70.0-src/compiler/rustc_driver_impl)