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 x86_64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/module-rust-toolset-an8-8080020230629052319-27f5fd19-build-294836-65762/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rust-1.66.1-2.module+an8.8.0+11065+305ae3b2.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/module-rust-toolset-an8-8080020230629052319-27f5fd19-build-294836-65762/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0pjbCQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wasi-libc-wasi-sdk-17 + /usr/bin/gzip -dc /builddir/build/SOURCES/wasi-libc-wasi-sdk-17.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wasi-libc-wasi-sdk-17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf rustc-1.66.1-src + /usr/bin/xz -dc /builddir/build/SOURCES/rustc-1.66.1-src.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.66.1-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 -p1 --fuzz=0 patching file compiler/rustc_target/src/spec/wasm_base.rs + echo 'Patch #2 (rustc-1.61.0-rust-gdb-substitute-path.patch):' Patch #2 (rustc-1.61.0-rust-gdb-substitute-path.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/etc/rust-gdb Patch #3 (0001-compiletest-set-the-dylib-path-when-gathering-target.patch): + echo 'Patch #3 (0001-compiletest-set-the-dylib-path-when-gathering-target.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/tools/compiletest/src/common.rs patching file src/tools/compiletest/src/runtest.rs patching file src/tools/compiletest/src/util.rs Patch #4 (0001-Improve-generating-Custom-entry-function.patch): + echo 'Patch #4 (0001-Improve-generating-Custom-entry-function.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/rustc_codegen_llvm/src/abi.rs patching file compiler/rustc_codegen_llvm/src/context.rs patching file compiler/rustc_codegen_llvm/src/declare.rs patching file compiler/rustc_codegen_ssa/src/back/symbol_export.rs patching file compiler/rustc_target/src/abi/call/mod.rs patching file compiler/rustc_target/src/json.rs patching file compiler/rustc_target/src/spec/mod.rs Hunk #2 succeeded at 1668 (offset -1 lines). Hunk #3 succeeded at 1892 (offset -1 lines). Hunk #4 succeeded at 2411 (offset -1 lines). Hunk #5 succeeded at 2542 (offset -1 lines). Hunk #6 succeeded at 2794 (offset -1 lines). Patch #5 (0001-Mangle-main-as-__main_void-on-wasm32-wasi.patch): + echo 'Patch #5 (0001-Mangle-main-as-__main_void-on-wasm32-wasi.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/rustc_target/src/spec/wasm32_wasi.rs Hunk #1 succeeded at 100 (offset -4 lines). Patch #100 (rustc-1.65.0-disable-libssh2.patch): + echo 'Patch #100 (rustc-1.65.0-disable-libssh2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Cargo.lock Hunk #1 succeeded at 1989 (offset 18 lines). Hunk #2 succeeded at 2021 (offset 18 lines). patching file vendor/git2/Cargo.toml Patch #1000 (0001-cargo-CVE-2023-38497.patch): + echo 'Patch #1000 (0001-cargo-CVE-2023-38497.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/tools/cargo/src/cargo/sources/registry/mod.rs patching file src/tools/cargo/src/cargo/util/mod.rs patching file src/tools/cargo/tests/testsuite/registry.rs patching file src/tools/cargo/tests/testsuite/vendor.rs + sed -i.try-python -e '/^try python3 /i try "/usr/libexec/platform-python" "$@"' ./configure + sed -i.rust-src -e s#@BUILDDIR@#/builddir/build/BUILD/rustc-1.66.1-src# ./src/etc/rust-gdb + rm -rf src/llvm-project/ + mkdir -p src/llvm-project/libunwind/ + rm -rf vendor/curl-sys/curl/ + rm -rf vendor/jemalloc-sys/jemalloc/ vendor/tikv-jemalloc-sys/jemalloc/ + rm -rf vendor/libmimalloc-sys/c_src/mimalloc/ + rm -rf vendor/libssh2-sys/libssh2/ + rm -rf vendor/libz-sys/src/zlib/ + rm -rf vendor/libz-sys/src/zlib-ng/ + rm -rf vendor/lzma-sys/xz-5.2/ + rm -rf vendor/openssl-src/openssl/ + rm -rf vendor/libssh2-sys/ + 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 './vendor/type-map/src/lib.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/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/unicode-normalization/src/no_std_prelude.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gimli-0.26.1/tests/parse_self.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/gimli-0.25.0/tests/parse_self.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 './src/tools/rust-analyzer/crates/ide/src/folding_ranges.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4mWrzs + umask 022 export CONFIG_SITE="NONE" export HISTCONTROL="ignoredups" export HISTSIZE="1000" export HOME="/builddir" export HOSTNAME="" export LANG="C" export LESSOPEN="||/usr/bin/lesspipe.sh %s" export LOADEDMODULES="" export LOGNAME="mockbuild" export MAIL="/var/spool/mail/mockbuild" export MANPATH=":" export MODULEPATH="/etc/scl/modulefiles:/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles" export MODULEPATH_modshare="/usr/share/Modules/modulefiles:2:/etc/modulefiles:2:/usr/share/modulefiles:2" export MODULESHOME="/usr/share/Modules" export MODULES_CMD="/usr/share/Modules/libexec/modulecmd.tcl" export MODULES_RUN_QUARANTINE="LD_LIBRARY_PATH LD_PRELOAD" export OLDPWD="/builddir/build/BUILD" export PATH="/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" export PKG_CONFIG_PATH=":/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PROMPT_COMMAND="printf \"\\033]0;\\007\"" export PWD="/builddir/build/BUILD/rustc-1.66.1-src" export PYTHON_DISALLOW_AMBIGUOUS_VERSION="warn" export RPM_ARCH="x86_64" export RPM_BUILD_DIR="/builddir/build/BUILD" export RPM_BUILD_NCPUS="80" export RPM_BUILD_ROOT="/builddir/build/BUILDROOT/rust-1.66.1-2.module+an8.8.0+11065+305ae3b2.x86_64" export RPM_DOC_DIR="/usr/share/doc" export RPM_LD_FLAGS="-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" + cd /builddir/build/BUILD + cd rustc-1.66.1-src + export ++ /usr/bin/getconf _NPROCESSORS_ONLN + ncpus=80 export RPM_OPT_FLAGS="-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection" export RPM_OS="linux" export RPM_PACKAGE_NAME="rust" export RPM_PACKAGE_RELEASE="2.module+an8.8.0+11065+305ae3b2" export RPM_PACKAGE_VERSION="1.66.1" export RPM_SOURCE_DIR="/builddir/build/SOURCES" export SHELL="/bin/bash" export SHLVL="2" export TERM="vt100" export USER="mockbuild" export which_declare="declare -f" ++ free -g ++ awk '/^Mem:/{print $2}' + max_cpus=94 + '[' 94 -ge 1 -a 94 -lt 80 ']' + /usr/bin/make -O -j80 --quiet -C /builddir/build/BUILD/wasi-libc-wasi-sdk-17 CC=clang AR=llvm-ar NM=llvm-nm find: '/builddir/build/BUILD/wasi-libc-wasi-sdk-17/build': No such file or directory + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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/redhat/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/redhat/config.sub ./vendor/libffi-sys/libffi/config.sub '/usr/lib/rpm/redhat/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/redhat/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/redhat/config.guess ./vendor/libffi-sys/libffi/config.guess '/usr/lib/rpm/redhat/config.guess' -> './vendor/libffi-sys/libffi/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld"~' ./vendor/libffi-sys/libffi/ltmain.sh + ./configure --build=x86_64-Anolis-linux --host=x86_64-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=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --set target.x86_64-unknown-linux-gnu.linker=gcc --set target.x86_64-unknown-linux-gnu.cc=gcc --set target.x86_64-unknown-linux-gnu.cxx=g++ --set target.x86_64-unknown-linux-gnu.ar=ar --set target.x86_64-unknown-linux-gnu.ranlib=/usr/bin/ranlib --set target.wasm32-wasi.wasi-root=/builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot --python=/usr/libexec/platform-python --local-rust-root=/usr --set build.rustfmt=/bin/true --llvm-root=/usr --enable-llvm-link-shared --disable-llvm-static-stdcpp --disable-rpath --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=analysis,cargo,clippy,rls,rust-analyzer,rustfmt,src --enable-vendor --enable-verbose-tests --dist-compression-formats=gz --release-channel=stable '--release-description=Red Hat 1.66.1-2.module+an8.8.0+11065+305ae3b2' configure: processing command line configure: configure: build.build := x86_64-unknown-linux-gnu configure: build.host := ['x86_64-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 := ['x86_64-unknown-linux-gnu'] configure: target.x86_64-unknown-linux-gnu.linker := gcc configure: target.x86_64-unknown-linux-gnu.cc := gcc configure: target.x86_64-unknown-linux-gnu.cxx := g++ configure: target.x86_64-unknown-linux-gnu.ar := ar configure: target.x86_64-unknown-linux-gnu.ranlib := /usr/bin/ranlib configure: target.wasm32-wasi.wasi-root := /builddir/build/BUILD/wasi-libc-wasi-s ... 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/libexec/platform-python configure: build.rustc := /usr/bin/rustc configure: build.cargo := /usr/bin/cargo configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/bin/llvm-config configure: llvm.link-shared := True configure: llvm.static-libstdcpp := False configure: rust.rpath := False configure: rust.debuginfo-level := 2 configure: build.extended := True configure: build.tools := ['analysis', 'cargo', 'clippy', 'rls', 'rust-a ... configure: build.vendor := True configure: rust.verbose-tests := True configure: dist.compression-formats := ['gz'] configure: rust.channel := stable configure: rust.description := Red Hat 1.66.1-2.module+an8.8.0+11065+305ae3b2 ... configure: build.configure-args := ['--build=x86_64-Anolis-linux', '--host=x86_64 ... 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.66.1-src/x.py --help` + /usr/libexec/platform-python ./x.py build -j 80 Building rustbuild Compiling cfg-if v1.0.0 Compiling proc-macro2 v1.0.46 Compiling memchr v2.5.0 Compiling libc v0.2.126 Compiling unicode-ident v1.0.0 Compiling typenum v1.15.0 Compiling version_check v0.9.4 Compiling syn v1.0.102 Compiling serde_derive v1.0.137 Compiling lazy_static v1.4.0 Compiling cc v1.0.73 Compiling regex-automata v0.1.10 Compiling io-lifetimes v0.7.2 Compiling pkg-config v0.3.25 Compiling serde v1.0.137 Compiling log v0.4.17 Compiling regex-syntax v0.6.26 Compiling crossbeam-utils v0.8.8 Compiling rustix v0.35.6 Compiling bitflags v1.3.2 Compiling serde_json v1.0.81 Compiling same-file v1.0.6 Compiling once_cell v1.12.0 Compiling linux-raw-sys v0.0.46 Compiling fnv v1.0.7 Compiling itoa v1.0.2 Compiling bootstrap v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/bootstrap) Compiling cpufeatures v0.2.2 Compiling unicode-width v0.1.9 Compiling ryu v1.0.10 Compiling hex v0.4.3 Compiling getopts v0.2.21 Compiling walkdir v2.3.2 Compiling thread_local v1.1.4 Compiling generic-array v0.14.5 Compiling cmake v0.1.48 Compiling quote v1.0.18 Compiling bstr v0.2.17 Compiling aho-corasick v0.7.18 Compiling lzma-sys v0.1.17 Compiling filetime v0.2.16 Compiling xattr v0.2.3 Compiling tar v0.4.38 Compiling xz2 v0.1.6 Compiling opener v0.5.0 Compiling block-buffer v0.10.2 Compiling crypto-common v0.1.3 Compiling digest v0.10.3 Compiling sha2 v0.10.2 Compiling regex v1.5.6 Compiling fd-lock v3.0.6 Compiling globset v0.4.8 Compiling ignore v0.4.18 Compiling toml v0.5.9 Finished dev [unoptimized] target(s) in 19.92s Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) Compiling compiler_builtins v0.1.82 Compiling core v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/core) Compiling libc v0.2.135 Compiling cc v1.0.73 Compiling memchr v2.5.0 Compiling std v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/std) Compiling unwind v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/unwind) Compiling rustc-std-workspace-core v1.99.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/alloc) Compiling cfg-if v0.1.10 Compiling adler v0.2.3 Compiling cfg-if v1.0.0 Compiling rustc-demangle v0.1.21 Compiling rustc-std-workspace-alloc v1.99.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/rustc-std-workspace-alloc) Compiling panic_unwind v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/panic_unwind) Compiling panic_abort v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/panic_abort) Compiling gimli v0.25.0 Compiling std_detect v0.1.5 (/builddir/build/BUILD/rustc-1.66.1-src/library/stdarch/crates/std_detect) Compiling hashbrown v0.12.3 Compiling miniz_oxide v0.4.0 Compiling object v0.26.2 Compiling addr2line v0.16.0 Compiling rustc-std-workspace-std v1.99.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/rustc-std-workspace-std) Compiling proc_macro v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-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.66.1-src/library/test) Finished release [optimized + debuginfo] target(s) in 1m 07s Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu) Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) Compiling proc-macro2 v1.0.46 Compiling unicode-ident v1.0.5 Compiling syn v1.0.102 Compiling libc v0.2.135 Compiling cfg-if v1.0.0 Compiling version_check v0.9.3 Compiling autocfg v1.1.0 Compiling cfg-if v0.1.10 Compiling once_cell v1.12.0 Compiling getrandom v0.2.0 Compiling proc-macro-hack v0.5.19 Compiling tinystr v0.3.4 Compiling smallvec v1.8.1 Compiling log v0.4.14 Compiling parking_lot_core v0.8.5 Compiling cc v1.0.73 Compiling scopeguard v1.1.0 Compiling rustc-hash v1.1.0 Compiling unicode-xid v0.2.4 Compiling pin-project-lite v0.2.8 Compiling typenum v1.16.0 Compiling bitflags v1.3.2 Compiling self_cell v0.10.2 Compiling ppv-lite86 v0.2.8 Compiling unicode-width v0.1.10 Compiling stable_deref_trait v1.2.0 Compiling thin-vec v0.2.8 Compiling arrayvec v0.7.0 Compiling remove_dir_all v0.5.3 Compiling serde_derive v1.0.147 Compiling rustc_graphviz v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_graphviz) Compiling cpufeatures v0.2.1 Compiling serde v1.0.147 Compiling unic-common v0.9.0 Compiling unic-char-range v0.9.0 Compiling scoped-tls v1.0.0 Compiling ryu v1.0.5 Compiling serde_json v1.0.85 Compiling itoa v1.0.2 Compiling lazy_static v1.4.0 Compiling termcolor v1.1.2 Compiling rustc_fs_util v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_fs_util) Compiling either v1.6.0 Compiling datafrog v2.0.1 Compiling memchr v2.5.0 Compiling tinyvec_macros v0.1.0 Compiling regex-syntax v0.6.26 Compiling crossbeam-utils v0.8.8 Compiling crc32fast v1.3.2 Compiling snap v1.0.1 Compiling ansi_term v0.12.1 Compiling adler v0.2.3 Compiling unicode-script v0.5.5 Compiling fixedbitset v0.2.0 Compiling fallible-iterator v0.2.0 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.66.1-src/compiler/rustc_error_codes) Compiling rustc-main v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc) Compiling instant v0.1.12 Compiling odht v0.3.1 Compiling libloading v0.7.1 Compiling type-map v0.4.0 Compiling tinyvec v1.6.0 Compiling unic-langid-impl v0.9.0 Compiling sharded-slab v0.1.1 Compiling tracing-core v0.1.28 Compiling thread_local v1.1.4 Compiling annotate-snippets v0.9.1 Compiling unic-ucd-version v0.9.0 Compiling miniz_oxide v0.4.0 Compiling unic-char-property v0.9.0 Compiling rustc_arena v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_arena) Compiling rustc_apfloat v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_apfloat) Compiling getopts v0.2.21 Compiling itertools v0.10.5 Compiling unic-emoji-char v0.9.0 Compiling ahash v0.7.4 Compiling generic-array v0.14.4 Compiling ena v0.14.0 Compiling indexmap v1.9.1 Compiling lock_api v0.4.7 Compiling rustc_lexer v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_lexer) Compiling polonius-engine v0.13.0 Compiling rustc_parse_format v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_parse_format) Compiling tracing-log v0.1.2 Compiling crossbeam-channel v0.5.4 Compiling quote v1.0.18 Compiling aho-corasick v0.7.18 Compiling cstr v0.2.8 Compiling memmap2 v0.2.1 Compiling perf-event-open-sys v1.0.1 Compiling jobserver v0.1.24 Compiling atty v0.2.14 Compiling termize v0.1.1 Compiling flate2 v1.0.16 Compiling psm v0.1.16 Compiling stacker v0.1.14 Compiling rustc_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_llvm) Compiling unicode-normalization v0.1.22 Compiling rand_core v0.6.2 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-security v0.1.0 Compiling regex v1.5.6 Compiling regex-automata v0.1.10 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.2 Compiling digest v0.10.6 Compiling tempfile v3.2.0 Compiling md-5 v0.10.0 Compiling sha2 v0.10.1 Compiling sha-1 v0.10.0 Compiling rustc_serialize v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_serialize) Compiling petgraph v0.5.1 Compiling gimli v0.26.1 Compiling object v0.29.0 Compiling matchers v0.1.0 Compiling synstructure v0.12.6 Compiling unic-langid-macros-impl v0.9.0 Compiling thiserror-impl v1.0.33 Compiling tracing-attributes v0.1.22 Compiling chalk-derive v0.80.0 Compiling unic-langid-macros v0.9.0 Compiling unic-langid v0.9.0 Compiling intl_pluralrules v7.0.1 Compiling fluent-langneg v0.13.0 Compiling intl-memoizer v0.5.1 Compiling chalk-ir v0.80.0 Compiling thiserror v1.0.33 Compiling fluent-syntax v0.11.0 Compiling tracing v0.1.35 Compiling tracing-subscriber v0.3.3 Compiling thorin-dwp v0.3.0 Compiling fluent-bundle v0.15.2 Compiling rustc_macros v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_macros) Compiling tracing-tree v0.2.0 Compiling chalk-solve v0.80.0 Compiling rustc_log v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_log) Compiling rustc_index v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_index) Compiling chalk-engine v0.80.0 Compiling rustc_data_structures v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_data_structures) Compiling gsgdt v0.1.2 Compiling rls-span v0.5.3 Compiling rustc_span v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_span) Compiling rustc_type_ir v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_type_ir) Compiling rls-data v0.19.1 Compiling rustc_feature v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_feature) Compiling rustc_ast v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ast) Compiling rustc_error_messages v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_error_messages) Compiling rustc_target v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_target) Compiling rustc_ast_pretty v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ast_pretty) Compiling rustc_hir v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_hir) Compiling rustc_lint_defs v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_lint_defs) Compiling rustc_hir_pretty v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_hir_pretty) Compiling rustc_errors v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_errors) Compiling rustc_session v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_session) Compiling rustc_attr v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_attr) Compiling rustc_query_system v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_query_system) Compiling rustc_parse v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_parse) Compiling rustc_middle v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_middle) Compiling rustc_ast_passes v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ast_passes) Compiling rustc_expand v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_expand) Compiling rustc_builtin_macros v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_builtin_macros) Compiling rustc_infer v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_infer) Compiling rustc_mir_dataflow v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_mir_dataflow) Compiling rustc_metadata v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_metadata) Compiling rustc_incremental v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_incremental) Compiling rustc_symbol_mangling v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_symbol_mangling) Compiling rustc_passes v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_passes) Compiling rustc_ast_lowering v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ast_lowering) Compiling rustc_monomorphize v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_monomorphize) Compiling rustc_query_impl v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_query_impl) Compiling rustc_save_analysis v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_save_analysis) Compiling rustc_resolve v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_resolve) Compiling rustc_transmute v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_transmute) Compiling rustc_trait_selection v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_trait_selection) Compiling rustc_const_eval v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_const_eval) Compiling rustc_lint v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_lint) Compiling rustc_traits v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_traits) Compiling rustc_ty_utils v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ty_utils) Compiling rustc_mir_build v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_mir_build) Compiling rustc_hir_analysis v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_hir_analysis) Compiling rustc_plugin_impl v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_plugin_impl) Compiling rustc_codegen_ssa v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_codegen_ssa) Compiling rustc_mir_transform v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_mir_transform) Compiling rustc_borrowck v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_borrowck) Compiling rustc_hir_typeck v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_hir_typeck) Compiling rustc_privacy v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_privacy) Compiling rustc_codegen_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_codegen_llvm) Compiling rustc_interface v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_interface) Compiling rustc_driver v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_driver) Compiling rustc_smir v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_smir) Finished release [optimized + debuginfo] target(s) in 3m 34s Copying stage0 rustc from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu) Assembling stage1 compiler (x86_64-unknown-linux-gnu) Building stage1 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) Compiling compiler_builtins v0.1.82 Compiling core v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/core) Compiling libc v0.2.135 Compiling cc v1.0.73 Compiling memchr v2.5.0 Compiling std v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/std) Compiling unwind v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/unwind) Compiling rustc-std-workspace-core v1.99.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/alloc) Compiling cfg-if v0.1.10 Compiling adler v0.2.3 Compiling cfg-if v1.0.0 Compiling rustc-demangle v0.1.21 Compiling rustc-std-workspace-alloc v1.99.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/rustc-std-workspace-alloc) Compiling panic_abort v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/panic_abort) Compiling panic_unwind v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/panic_unwind) Compiling gimli v0.25.0 Compiling std_detect v0.1.5 (/builddir/build/BUILD/rustc-1.66.1-src/library/stdarch/crates/std_detect) Compiling hashbrown v0.12.3 Compiling object v0.26.2 Compiling miniz_oxide v0.4.0 Compiling addr2line v0.16.0 Compiling rustc-std-workspace-std v1.99.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/rustc-std-workspace-std) Compiling proc_macro v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-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.66.1-src/library/test) Finished release [optimized + debuginfo] target(s) in 1m 05s Copying stage1 std from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu) Building stage1 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) Compiling proc-macro2 v1.0.46 Compiling unicode-ident v1.0.5 Compiling syn v1.0.102 Compiling libc v0.2.135 Compiling cfg-if v1.0.0 Compiling version_check v0.9.3 Compiling autocfg v1.1.0 Compiling getrandom v0.2.0 Compiling once_cell v1.12.0 Compiling cfg-if v0.1.10 Compiling proc-macro-hack v0.5.19 Compiling tinystr v0.3.4 Compiling smallvec v1.8.1 Compiling log v0.4.14 Compiling parking_lot_core v0.8.5 Compiling cc v1.0.73 Compiling scopeguard v1.1.0 Compiling unicode-xid v0.2.4 Compiling pin-project-lite v0.2.8 Compiling typenum v1.16.0 Compiling rustc-hash v1.1.0 Compiling bitflags v1.3.2 Compiling unicode-width v0.1.10 Compiling self_cell v0.10.2 Compiling ppv-lite86 v0.2.8 Compiling stable_deref_trait v1.2.0 Compiling thin-vec v0.2.8 Compiling remove_dir_all v0.5.3 Compiling arrayvec v0.7.0 Compiling cpufeatures v0.2.1 Compiling serde_derive v1.0.147 Compiling rustc_graphviz v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_graphviz) Compiling serde v1.0.147 Compiling unic-char-range v0.9.0 Compiling scoped-tls v1.0.0 Compiling unic-common v0.9.0 Compiling ryu v1.0.5 Compiling serde_json v1.0.85 Compiling itoa v1.0.2 Compiling lazy_static v1.4.0 Compiling termcolor v1.1.2 Compiling rustc_fs_util v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_fs_util) Compiling either v1.6.0 Compiling datafrog v2.0.1 Compiling memchr v2.5.0 Compiling tinyvec_macros v0.1.0 Compiling regex-syntax v0.6.26 Compiling crossbeam-utils v0.8.8 Compiling ansi_term v0.12.1 Compiling crc32fast v1.3.2 Compiling snap v1.0.1 Compiling unicode-script v0.5.5 Compiling adler v0.2.3 Compiling fixedbitset v0.2.0 Compiling fallible-iterator v0.2.0 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.66.1-src/compiler/rustc_error_codes) Compiling rustc-main v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc) Compiling instant v0.1.12 Compiling odht v0.3.1 Compiling libloading v0.7.1 Compiling type-map v0.4.0 Compiling tinyvec v1.6.0 Compiling unic-ucd-version v0.9.0 Compiling annotate-snippets v0.9.1 Compiling sharded-slab v0.1.1 Compiling tracing-core v0.1.28 Compiling thread_local v1.1.4 Compiling unic-langid-impl v0.9.0 Compiling unic-char-property v0.9.0 Compiling miniz_oxide v0.4.0 Compiling getopts v0.2.21 Compiling rustc_arena v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_arena) Compiling rustc_apfloat v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_apfloat) Compiling unic-emoji-char v0.9.0 Compiling itertools v0.10.5 Compiling ahash v0.7.4 Compiling generic-array v0.14.4 Compiling rustc_lexer v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_lexer) Compiling indexmap v1.9.1 Compiling lock_api v0.4.7 Compiling ena v0.14.0 Compiling polonius-engine v0.13.0 Compiling rustc_parse_format v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_parse_format) Compiling tracing-log v0.1.2 Compiling crossbeam-channel v0.5.4 Compiling aho-corasick v0.7.18 Compiling quote v1.0.18 Compiling psm v0.1.16 Compiling stacker v0.1.14 Compiling rustc_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_llvm) Compiling unicode-normalization v0.1.22 Compiling memmap2 v0.2.1 Compiling perf-event-open-sys v1.0.1 Compiling jobserver v0.1.24 Compiling atty v0.2.14 Compiling termize v0.1.1 Compiling flate2 v1.0.16 Compiling cstr v0.2.8 Compiling rand_core v0.6.2 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-security v0.1.0 Compiling regex v1.5.6 Compiling regex-automata v0.1.10 Compiling block-buffer v0.10.2 Compiling crypto-common v0.1.6 Compiling digest v0.10.6 Compiling sha2 v0.10.1 Compiling sha-1 v0.10.0 Compiling md-5 v0.10.0 Compiling tempfile v3.2.0 Compiling matchers v0.1.0 Compiling rustc_serialize v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_serialize) Compiling petgraph v0.5.1 Compiling gimli v0.26.1 Compiling object v0.29.0 Compiling synstructure v0.12.6 Compiling unic-langid-macros-impl v0.9.0 Compiling thiserror-impl v1.0.33 Compiling tracing-attributes v0.1.22 Compiling chalk-derive v0.80.0 Compiling unic-langid-macros v0.9.0 Compiling unic-langid v0.9.0 Compiling fluent-langneg v0.13.0 Compiling intl_pluralrules v7.0.1 Compiling intl-memoizer v0.5.1 Compiling chalk-ir v0.80.0 Compiling thiserror v1.0.33 Compiling fluent-syntax v0.11.0 Compiling tracing v0.1.35 Compiling tracing-subscriber v0.3.3 Compiling thorin-dwp v0.3.0 Compiling fluent-bundle v0.15.2 Compiling rustc_macros v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_macros) Compiling tracing-tree v0.2.0 Compiling chalk-solve v0.80.0 Compiling rustc_log v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_log) Compiling chalk-engine v0.80.0 Compiling rustc_index v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_index) Compiling rustc_data_structures v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_data_structures) Compiling gsgdt v0.1.2 Compiling rls-span v0.5.3 Compiling rustc_span v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_span) Compiling rustc_type_ir v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_type_ir) Compiling rls-data v0.19.1 Compiling rustc_ast v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ast) Compiling rustc_feature v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_feature) Compiling rustc_error_messages v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_error_messages) Compiling rustc_target v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_target) Compiling rustc_ast_pretty v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ast_pretty) Compiling rustc_hir v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_hir) Compiling rustc_lint_defs v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_lint_defs) Compiling rustc_hir_pretty v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_hir_pretty) Compiling rustc_errors v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_errors) Compiling rustc_session v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_session) Compiling rustc_attr v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_attr) Compiling rustc_query_system v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_query_system) Compiling rustc_parse v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_parse) Compiling rustc_middle v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_middle) Compiling rustc_ast_passes v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ast_passes) Compiling rustc_expand v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_expand) Compiling rustc_builtin_macros v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_builtin_macros) Compiling rustc_infer v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_infer) Compiling rustc_mir_dataflow v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_mir_dataflow) Compiling rustc_metadata v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_metadata) Compiling rustc_symbol_mangling v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_symbol_mangling) Compiling rustc_incremental v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_incremental) Compiling rustc_query_impl v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_query_impl) Compiling rustc_ast_lowering v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ast_lowering) Compiling rustc_monomorphize v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_monomorphize) Compiling rustc_passes v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_passes) Compiling rustc_save_analysis v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_save_analysis) Compiling rustc_resolve v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_resolve) Compiling rustc_transmute v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_transmute) Compiling rustc_trait_selection v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_trait_selection) Compiling rustc_lint v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_lint) Compiling rustc_const_eval v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_const_eval) Compiling rustc_traits v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_traits) Compiling rustc_ty_utils v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ty_utils) Compiling rustc_mir_build v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_mir_build) Compiling rustc_hir_analysis v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_hir_analysis) Compiling rustc_plugin_impl v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_plugin_impl) Compiling rustc_codegen_ssa v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_codegen_ssa) Compiling rustc_borrowck v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_borrowck) Compiling rustc_mir_transform v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_mir_transform) Compiling rustc_hir_typeck v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_hir_typeck) Compiling rustc_privacy v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_privacy) Compiling rustc_codegen_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_codegen_llvm) Compiling rustc_interface v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_interface) Compiling rustc_driver v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_driver) Compiling rustc_smir v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_smir) Finished release [optimized + debuginfo] target(s) in 3m 36s Copying stage1 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu) Assembling stage2 compiler (x86_64-unknown-linux-gnu) Uplifting stage1 std (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) Copying stage2 std from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu) Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu) Building stage2 tool cargo (x86_64-unknown-linux-gnu) Compiling libc v0.2.135 Compiling autocfg v1.1.0 Compiling pkg-config v0.3.25 Compiling proc-macro2 v1.0.46 Compiling syn v1.0.102 Compiling unicode-ident v1.0.5 Compiling version_check v0.9.3 Compiling cfg-if v1.0.0 Compiling serde_derive v1.0.147 Compiling serde v1.0.147 Compiling memchr v2.5.0 Compiling typenum v1.16.0 Compiling log v0.4.14 Compiling getrandom v0.2.0 Compiling cfg-if v0.1.10 Compiling crc32fast v1.3.2 Compiling bitflags v1.3.2 Compiling matches v0.1.8 Compiling tinyvec_macros v0.1.0 Compiling once_cell v1.12.0 Compiling ryu v1.0.5 Compiling lazy_static v1.4.0 Compiling percent-encoding v2.1.0 Compiling regex-syntax v0.6.26 Compiling anyhow v1.0.65 Compiling serde_json v1.0.85 Compiling regex-automata v0.1.10 Compiling os_str_bytes v6.0.0 Compiling itoa v1.0.2 Compiling hashbrown v0.12.3 Compiling ppv-lite86 v0.2.8 Compiling openssl v0.10.38 Compiling termcolor v1.1.2 Compiling foreign-types-shared v0.1.1 Compiling curl v0.4.43 Compiling openssl-probe v0.1.5 Compiling subtle v2.4.1 Compiling same-file v1.0.6 Compiling strsim v0.10.0 Compiling crossbeam-utils v0.8.8 Compiling heck v0.4.0 Compiling remove_dir_all v0.5.3 Compiling utf8parse v0.1.1 Compiling either v1.6.0 Compiling fnv v1.0.7 Compiling hex v0.3.2 Compiling bytes v1.0.1 Compiling static_assertions v1.1.0 Compiling textwrap v0.15.0 Compiling semver v1.0.12 Compiling hex v0.4.2 Compiling shell-escape v0.1.5 Compiling cpufeatures v0.2.1 Compiling humantime v2.0.1 Compiling pathdiff v0.2.1 Compiling unicode-width v0.1.10 Compiling lazycell v1.3.0 Compiling bytesize v1.0.1 Compiling glob v0.3.0 Compiling base64 v0.13.1 Compiling unicode-xid v0.2.4 Compiling home v0.5.3 Compiling unicode-bidi v0.3.4 Compiling tinyvec v1.6.0 Compiling walkdir v2.3.2 Compiling foreign-types v0.3.2 Compiling form_urlencoded v1.0.1 Compiling kstring v2.0.0 Compiling vte v0.3.3 Compiling thread_local v1.1.4 Compiling itertools v0.10.5 Compiling strip-ansi-escapes v0.1.0 Compiling clap_lex v0.2.2 Compiling clap_lex v0.3.0 Compiling generic-array v0.14.4 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling im-rc v15.1.0 Compiling indexmap v1.9.1 Compiling num-traits v0.2.12 Compiling aho-corasick v0.7.18 Compiling bstr v0.2.17 Compiling combine v4.6.6 Compiling quote v1.0.18 Compiling atty v0.2.14 Compiling socket2 v0.4.1 Compiling filetime v0.2.14 Compiling jobserver v0.1.24 Compiling unicode-normalization v0.1.22 Compiling clap v4.0.15 Compiling rand_core v0.6.2 Compiling tar v0.4.38 Compiling cc v1.0.73 Compiling rand_chacha v0.3.0 Compiling rand_xoshiro v0.6.0 Compiling bitmaps v2.1.0 Compiling opener v0.5.0 Compiling rand v0.8.5 Compiling idna v0.2.0 Compiling ordered-float v2.10.0 Compiling sized-chunks v0.6.4 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.2 Compiling libz-sys v1.1.3 Compiling openssl-sys v0.9.72 Compiling libnghttp2-sys v0.1.4+1.41.0 Compiling curl-sys v0.4.55+curl-7.83.1 Compiling libgit2-sys v0.14.1+1.5.0 Compiling regex v1.5.6 Compiling digest v0.10.6 Compiling sha1 v0.10.5 Compiling hmac v0.12.1 Compiling tempfile v3.2.0 Compiling flate2 v1.0.16 Compiling cargo v0.67.1 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/cargo) Compiling globset v0.4.9 Compiling env_logger v0.9.0 Compiling ignore v0.4.18 Compiling crypto-hash v0.3.4 Compiling cargo-util v0.2.2 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/cargo/crates/cargo-util) Compiling clap_derive v3.2.18 Compiling clap v3.2.20 Compiling url v2.2.2 Compiling toml_datetime v0.5.0 Compiling serde_ignored v0.1.2 Compiling os_info v3.5.0 Compiling cargo-platform v0.1.2 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/cargo/crates/cargo-platform) Compiling serde-value v0.7.0 Compiling toml_edit v0.15.0 Compiling git2 v0.16.0 Compiling rustfix v0.6.1 Compiling crates-io v0.34.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/cargo/crates/crates-io) Compiling rustc-workspace-hack v1.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rustc-workspace-hack) Compiling git2-curl v0.17.0 error[E0433]: failed to resolve: use of undeclared crate or module `paths` --> src/tools/cargo/src/cargo/sources/registry/mod.rs:638:21 | 638 | paths::remove_dir_all(dst.as_path_unlocked())?; | ^^^^^ use of undeclared crate or module `paths` error[E0658]: use of unstable library feature 'once_cell' --> src/tools/cargo/src/cargo/util/mod.rs:131:9 | 131 | use std::sync::OnceLock; | ^^^^^^^^^^^^^^^^^^^ | = note: see issue #74465 for more information = help: add `#![feature(once_cell)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'once_cell' --> src/tools/cargo/src/cargo/util/mod.rs:132:19 | 132 | static UMASK: OnceLock = OnceLock::new(); | ^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #74465 for more information = help: add `#![feature(once_cell)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'once_cell' --> src/tools/cargo/src/cargo/util/mod.rs:132:44 | 132 | static UMASK: OnceLock = OnceLock::new(); | ^^^^^^^^ | = note: see issue #74465 for more information = help: add `#![feature(once_cell)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'once_cell' --> src/tools/cargo/src/cargo/util/mod.rs:132:44 | 132 | static UMASK: OnceLock = OnceLock::new(); | ^^^^^^^^^^^^^ | = note: see issue #74465 for more information = help: add `#![feature(once_cell)]` to the crate attributes to enable error[E0599]: no method named `set_mask` found for mutable reference `&mut Archive` in the current scope --> src/tools/cargo/src/cargo/sources/registry/mod.rs:914:9 | 914 | tar.set_mask(crate::util::get_umask()); | ^^^^^^^^ method not found in `&mut Archive` error[E0658]: use of unstable library feature 'once_cell' --> src/tools/cargo/src/cargo/util/mod.rs:137:12 | 137 | *UMASK.get_or_init(|| unsafe { | ^^^^^^^^^^^ | = note: see issue #74465 for more information = help: add `#![feature(once_cell)]` to the crate attributes to enable Some errors have detailed explanations: E0433, E0599, E0658. For more information about an error, try `rustc --explain E0433`. error: could not compile `cargo` due to 7 previous errors warning: build failed, waiting for other jobs to finish... Build completed unsuccessfully in 0:10:40 error: Bad exit status from /var/tmp/rpm-tmp.4mWrzs (%build) Bad exit status from /var/tmp/rpm-tmp.4mWrzs (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec