Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-pretty-git-prompt.spec'], chrootPath='/var/lib/mock/f40-build-781441-131566/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-pretty-git-prompt.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1707782400 Wrote: /builddir/build/SRPMS/rust-pretty-git-prompt-0.2.1-20.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-pretty-git-prompt.spec'], chrootPath='/var/lib/mock/f40-build-781441-131566/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-pretty-git-prompt.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1707782400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.c7b914 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pretty-git-prompt-0.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pretty-git-prompt-0.2.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd pretty-git-prompt-0.2.1 + rm -rf /builddir/build/BUILD/pretty-git-prompt-0.2.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/pretty-git-prompt-0.2.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pretty-git-prompt-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.rXhn18 + umask 022 + cd /builddir/build/BUILD + cd pretty-git-prompt-0.2.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-pretty-git-prompt-0.2.1-20.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-pretty-git-prompt.spec'], chrootPath='/var/lib/mock/f40-build-781441-131566/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-pretty-git-prompt.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1707782400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DO8vNC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pretty-git-prompt-0.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pretty-git-prompt-0.2.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd pretty-git-prompt-0.2.1 + rm -rf /builddir/build/BUILD/pretty-git-prompt-0.2.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/pretty-git-prompt-0.2.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pretty-git-prompt-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.GdxHic + umask 022 + cd /builddir/build/BUILD + cd pretty-git-prompt-0.2.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-pretty-git-prompt-0.2.1-20.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/rust-pretty-git-prompt.spec'], chrootPath='/var/lib/mock/f40-build-781441-131566/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/rust-pretty-git-prompt.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1707782400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.nIAOrp + umask 022 + cd /builddir/build/BUILD + cd pretty-git-prompt-0.2.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jYn77O + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pretty-git-prompt-0.2.1 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' /usr/bin/cargo build -j4 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.153 Compiling pkg-config v0.3.30 Compiling tinyvec_macros v0.1.1 Compiling unicode-bidi v0.3.15 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.153/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=3f2ca07427581e56 -C extra-filename=-3f2ca07427581e56 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/build/libc-3f2ca07427581e56 -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Running `/usr/bin/rustc --crate-name pkg_config /usr/share/cargo/registry/pkg-config-0.3.30/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=55390568a61b5c4d -C extra-filename=-55390568a61b5c4d --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Running `/usr/bin/rustc --crate-name tinyvec_macros --edition=2018 /usr/share/cargo/registry/tinyvec_macros-0.1.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=4a0b86696daaa319 -C extra-filename=-4a0b86696daaa319 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Running `/usr/bin/rustc --crate-name unicode_bidi --edition=2018 /usr/share/cargo/registry/unicode-bidi-0.3.15/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="hardcoded-data"' --cfg 'feature="std"' -C metadata=9ba4c16daf6ed3f0 -C extra-filename=-9ba4c16daf6ed3f0 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Compiling tinyvec v1.6.0 Running `/usr/bin/rustc --crate-name tinyvec --edition=2018 /usr/share/cargo/registry/tinyvec-1.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="tinyvec_macros"' -C metadata=30396f9d5dc2296e -C extra-filename=-30396f9d5dc2296e --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --extern tinyvec_macros=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libtinyvec_macros-4a0b86696daaa319.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Running `/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/build/libc-3f2ca07427581e56/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.153/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=673e22173e1f30e5 -C extra-filename=-673e22173e1f30e5 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Running `/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/build/libc-3f2ca07427581e56/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.153/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=5c6f96daa0c9abcc -C extra-filename=-5c6f96daa0c9abcc --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Compiling cc v1.0.84 Running `/usr/bin/rustc --crate-name cc --edition=2018 /usr/share/cargo/registry/cc-1.0.84/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="parallel"' -C metadata=0854886be4092d02 -C extra-filename=-0854886be4092d02 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --extern libc=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/liblibc-673e22173e1f30e5.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Compiling unicode-normalization v0.1.22 Running `/usr/bin/rustc --crate-name unicode_normalization --edition=2018 /usr/share/cargo/registry/unicode-normalization-0.1.22/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="std"' -C metadata=0a70b35eaa50a534 -C extra-filename=-0a70b35eaa50a534 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --extern tinyvec=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libtinyvec-30396f9d5dc2296e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Compiling percent-encoding v2.3.1 Running `/usr/bin/rustc --crate-name percent_encoding --edition=2018 /usr/share/cargo/registry/percent-encoding-2.3.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=6c290e904e2fb564 -C extra-filename=-6c290e904e2fb564 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Compiling idna v0.5.0 Running `/usr/bin/rustc --crate-name idna --edition=2018 /usr/share/cargo/registry/idna-0.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=24751c6c313949ee -C extra-filename=-24751c6c313949ee --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --extern unicode_bidi=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libunicode_bidi-9ba4c16daf6ed3f0.rmeta --extern unicode_normalization=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libunicode_normalization-0a70b35eaa50a534.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Compiling form_urlencoded v1.2.1 Running `/usr/bin/rustc --crate-name form_urlencoded --edition=2018 /usr/share/cargo/registry/form_urlencoded-1.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=122411335bfb5a48 -C extra-filename=-122411335bfb5a48 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --extern percent_encoding=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libpercent_encoding-6c290e904e2fb564.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Compiling unicode-width v0.1.11 Running `/usr/bin/rustc --crate-name unicode_width /usr/share/cargo/registry/unicode-width-0.1.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=7feba1a50a6ab117 -C extra-filename=-7feba1a50a6ab117 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Compiling textwrap v0.11.0 Running `/usr/bin/rustc --crate-name textwrap /usr/share/cargo/registry/textwrap-0.11.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=9fe8017ed5c89acf -C extra-filename=-9fe8017ed5c89acf --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --extern unicode_width=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libunicode_width-7feba1a50a6ab117.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Compiling log v0.4.20 Running `/usr/bin/rustc --crate-name log /usr/share/cargo/registry/log-0.4.20/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=6ef695e1f3248338 -C extra-filename=-6ef695e1f3248338 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Compiling url v2.5.0 Running `/usr/bin/rustc --crate-name url --edition=2018 /usr/share/cargo/registry/url-2.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=a4446078599c332a -C extra-filename=-a4446078599c332a --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --extern form_urlencoded=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libform_urlencoded-122411335bfb5a48.rmeta --extern idna=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libidna-24751c6c313949ee.rmeta --extern percent_encoding=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libpercent_encoding-6c290e904e2fb564.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Compiling bitflags v1.3.2 Running `/usr/bin/rustc --crate-name bitflags --edition=2018 /usr/share/cargo/registry/bitflags-1.3.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=4bf8c5c83458c881 -C extra-filename=-4bf8c5c83458c881 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Compiling bitflags v2.4.2 Running `/usr/bin/rustc --crate-name bitflags --edition=2021 /usr/share/cargo/registry/bitflags-2.4.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=b06454318f32b8e4 -C extra-filename=-b06454318f32b8e4 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Compiling linked-hash-map v0.5.6 Running `/usr/bin/rustc --crate-name linked_hash_map /usr/share/cargo/registry/linked-hash-map-0.5.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=357c4baeb7ba3e1e -C extra-filename=-357c4baeb7ba3e1e --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Compiling yaml-rust v0.4.5 Running `/usr/bin/rustc --crate-name yaml_rust --edition=2018 /usr/share/cargo/registry/yaml-rust-0.4.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=089de2715f8438f5 -C extra-filename=-089de2715f8438f5 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --extern linked_hash_map=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/liblinked_hash_map-357c4baeb7ba3e1e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Compiling clap v2.34.0 Running `/usr/bin/rustc --crate-name clap --edition=2018 /usr/share/cargo/registry/clap-2.34.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=16efcb11ac847431 -C extra-filename=-16efcb11ac847431 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --extern bitflags=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libbitflags-4bf8c5c83458c881.rmeta --extern textwrap=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libtextwrap-9fe8017ed5c89acf.rmeta --extern unicode_width=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libunicode_width-7feba1a50a6ab117.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Compiling libz-sys v1.1.14 Compiling libgit2-sys v0.16.2 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/libz-sys-1.1.14/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="libc"' -C metadata=15868cb076d4c088 -C extra-filename=-15868cb076d4c088 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/build/libz-sys-15868cb076d4c088 -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --extern cc=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libcc-0854886be4092d02.rlib --extern pkg_config=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libpkg_config-55390568a61b5c4d.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/libgit2-sys-0.16.2/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=7b4026e2ddb81481 -C extra-filename=-7b4026e2ddb81481 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/build/libgit2-sys-7b4026e2ddb81481 -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --extern cc=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libcc-0854886be4092d02.rlib --extern pkg_config=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libpkg_config-55390568a61b5c4d.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes` Running `/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/build/libz-sys-15868cb076d4c088/build-script-build` Running `/usr/bin/rustc --crate-name libz_sys --edition=2018 /usr/share/cargo/registry/libz-sys-1.1.14/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="libc"' -C metadata=c1af3319f2b053d4 -C extra-filename=-c1af3319f2b053d4 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --extern libc=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/liblibc-5c6f96daa0c9abcc.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes -l z` Running `/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/build/libgit2-sys-7b4026e2ddb81481/build-script-build` Running `/usr/bin/rustc --crate-name libgit2_sys --edition=2018 /usr/share/cargo/registry/libgit2-sys-0.16.2/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=12607e7d5625bd6b -C extra-filename=-12607e7d5625bd6b --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --extern libc=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/liblibc-5c6f96daa0c9abcc.rmeta --extern libz_sys=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/liblibz_sys-c1af3319f2b053d4.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes -L native=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/build/libgit2-sys-dd0bcae843fa9b82/out/build -l static=git2 --cfg libgit2_vendored` Compiling git2 v0.18.2 Running `/usr/bin/rustc --crate-name git2 --edition=2018 /usr/share/cargo/registry/git2-0.18.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=33220d6971e0fe31 -C extra-filename=-33220d6971e0fe31 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --extern bitflags=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libbitflags-b06454318f32b8e4.rmeta --extern libc=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/liblibc-5c6f96daa0c9abcc.rmeta --extern libgit2_sys=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/liblibgit2_sys-12607e7d5625bd6b.rmeta --extern log=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/liblog-6ef695e1f3248338.rmeta --extern url=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/liburl-a4446078599c332a.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes -L native=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/build/libgit2-sys-dd0bcae843fa9b82/out/build` Compiling pretty-git-prompt v0.2.1 (/builddir/build/BUILD/pretty-git-prompt-0.2.1) Running `/usr/bin/rustc --crate-name pretty_git_prompt src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=c23a2d79e5b48b17 -C extra-filename=-c23a2d79e5b48b17 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps --extern clap=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libclap-16efcb11ac847431.rlib --extern git2=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libgit2-33220d6971e0fe31.rlib --extern yaml_rust=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/deps/libyaml_rust-089de2715f8438f5.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes -L native=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/rpm/build/libgit2-sys-dd0bcae843fa9b82/out/build` warning: unused imports: `File`, `OpenOptions`, `remove_file` --> src/conf.rs:300:19 | 300 | use std::fs::{File,OpenOptions,remove_file}; | ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused imports: `Read`, `Write` --> src/conf.rs:301:19 | 301 | use std::io::{Write,Read}; | ^^^^^ ^^^^ warning: unused imports: `PathBuf`, `Path` --> src/conf.rs:302:21 | 302 | use std::path::{Path,PathBuf}; | ^^^^ ^^^^^^^ warning: unused imports: `Conf`, `DEFAULT_CONF`, `create_default_config`, `get_configuration` --> src/conf.rs:303:16 | 303 | use conf::{get_configuration,create_default_config,DEFAULT_CONF,Conf}; | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ warning: unused import: `YamlLoader` --> src/conf.rs:304:21 | 304 | use yaml_rust::{YamlLoader}; | ^^^^^^^^^^ warning: unused import: `backend::Backend` --> src/conf.rs:305:9 | 305 | use backend::Backend; | ^^^^^^^^^^^^^^^^ warning: unused import: `models::DisplayMaster` --> src/conf.rs:306:9 | 306 | use models::DisplayMaster; | ^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `git2::Repository` --> src/conf.rs:307:9 | 307 | use git2::Repository; | ^^^^^^^^^^^^^^^^ warning: unused import: `std::ffi::OsStr` --> src/constants.rs:43:9 | 43 | use std::ffi::OsStr; | ^^^^^^^^^^^^^^^ warning: unused imports: `DEFAULT_CONFIG_NAME`, `get_default_config_path` --> src/constants.rs:44:21 | 44 | use constants::{get_default_config_path,DEFAULT_CONFIG_NAME}; | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ warning: method `is_display_surrounded` is never used --> src/conf.rs:153:8 | 133 | impl Separator { | -------------- method in this implementation ... 153 | fn is_display_surrounded(&self) -> bool { | ^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: field `value` is never read --> src/models.rs:163:5 | 158 | pub struct RemoteTracking<'a> { | -------------- field in this struct ... 163 | value: SimpleValue, | ^^^^^ | = note: `RemoteTracking` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: `pretty-git-prompt` (bin "pretty-git-prompt") generated 12 warnings (run `cargo fix --bin "pretty-git-prompt"` to apply 10 suggestions) Finished rpm [optimized + debuginfo] target(s) in 8m 54s + set -euo pipefail + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' /usr/bin/cargo tree -Z avoid-dev-deps --workspace --offline --edges no-build,no-dev,no-proc-macro --no-dedupe --target all --prefix none --format '# {l}' + sed -e 's: / :/:g' -e 's:/: OR :g' + sort -u # (MIT OR Apache-2.0) AND BSD-3-Clause AND GPL-2.0-only WITH GCC-exception-2.0 AND MIT # MIT # MIT OR Apache-2.0 # MIT OR Apache-2.0 OR Zlib # Zlib OR Apache-2.0 OR MIT + set -euo pipefail + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' /usr/bin/cargo tree -Z avoid-dev-deps --workspace --offline --edges no-build,no-dev,no-proc-macro --no-dedupe --target all --prefix none --format '{l}: {p}' + sort -u ++ pwd + sed -e 's: (/builddir/build/BUILD/pretty-git-prompt-0.2.1[^)]*)::g' -e 's: / :/:g' -e 's:/: OR :g' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FmSHq5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pretty-git-prompt-0.2.1 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 0 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' /usr/bin/cargo install -j4 -Z avoid-dev-deps --profile rpm --no-track --path . Installing pretty-git-prompt v0.2.1 (/builddir/build/BUILD/pretty-git-prompt-0.2.1) Fresh pkg-config v0.3.30 Fresh tinyvec_macros v0.1.1 Fresh tinyvec v1.6.0 Fresh libc v0.2.153 Fresh percent-encoding v2.3.1 Fresh cc v1.0.84 Fresh unicode-normalization v0.1.22 Fresh unicode-bidi v0.3.15 Fresh form_urlencoded v1.2.1 Fresh idna v0.5.0 Fresh unicode-width v0.1.11 Fresh url v2.5.0 Fresh textwrap v0.11.0 Fresh bitflags v2.4.2 Fresh libz-sys v1.1.14 Fresh bitflags v1.3.2 Fresh log v0.4.20 Fresh libgit2-sys v0.16.2 Fresh linked-hash-map v0.5.6 Fresh clap v2.34.0 Fresh yaml-rust v0.4.5 Fresh git2 v0.18.2 Fresh pretty-git-prompt v0.2.1 (/builddir/build/BUILD/pretty-git-prompt-0.2.1) warning: unused imports: `File`, `OpenOptions`, `remove_file` --> src/conf.rs:300:19 | 300 | use std::fs::{File,OpenOptions,remove_file}; | ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused imports: `Read`, `Write` --> src/conf.rs:301:19 | 301 | use std::io::{Write,Read}; | ^^^^^ ^^^^ warning: unused imports: `PathBuf`, `Path` --> src/conf.rs:302:21 | 302 | use std::path::{Path,PathBuf}; | ^^^^ ^^^^^^^ warning: unused imports: `Conf`, `DEFAULT_CONF`, `create_default_config`, `get_configuration` --> src/conf.rs:303:16 | 303 | use conf::{get_configuration,create_default_config,DEFAULT_CONF,Conf}; | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ warning: unused import: `YamlLoader` --> src/conf.rs:304:21 | 304 | use yaml_rust::{YamlLoader}; | ^^^^^^^^^^ warning: unused import: `backend::Backend` --> src/conf.rs:305:9 | 305 | use backend::Backend; | ^^^^^^^^^^^^^^^^ warning: unused import: `models::DisplayMaster` --> src/conf.rs:306:9 | 306 | use models::DisplayMaster; | ^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `git2::Repository` --> src/conf.rs:307:9 | 307 | use git2::Repository; | ^^^^^^^^^^^^^^^^ warning: unused import: `std::ffi::OsStr` --> src/constants.rs:43:9 | 43 | use std::ffi::OsStr; | ^^^^^^^^^^^^^^^ warning: unused imports: `DEFAULT_CONFIG_NAME`, `get_default_config_path` --> src/constants.rs:44:21 | 44 | use constants::{get_default_config_path,DEFAULT_CONFIG_NAME}; | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ warning: method `is_display_surrounded` is never used --> src/conf.rs:153:8 | 133 | impl Separator { | -------------- method in this implementation ... 153 | fn is_display_surrounded(&self) -> bool { | ^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: field `value` is never read --> src/models.rs:163:5 | 158 | pub struct RemoteTracking<'a> { | -------------- field in this struct ... 163 | value: SimpleValue, | ^^^^^ | = note: `RemoteTracking` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: `pretty-git-prompt` (bin "pretty-git-prompt") generated 12 warnings (run `cargo fix --bin "pretty-git-prompt"` to apply 10 suggestions) Finished rpm [optimized + debuginfo] target(s) in 0.36s Installing /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64/usr/bin/pretty-git-prompt Installed package `pretty-git-prompt v0.2.1 (/builddir/build/BUILD/pretty-git-prompt-0.2.1)` (executable `pretty-git-prompt`) warning: be sure to add `/builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64/usr/bin` to your PATH to be able to run the installed binaries + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.2.1-20.fc40 --unique-debug-suffix -0.2.1-20.fc40.riscv64 --unique-debug-src-base rust-pretty-git-prompt-0.2.1-20.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pretty-git-prompt-0.2.1 find-debuginfo: starting Extracting debug info from 1 files warning: Unsupported auto-load script at offset 0 in section .debug_gdb_scripts of file /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64/usr/bin/pretty-git-prompt. Use `info auto-load python-scripts [REGEXP]' to list them. DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64 1536 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: pretty-git-prompt-0.2.1-20.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.f9X7yh + umask 022 + cd /builddir/build/BUILD + cd pretty-git-prompt-0.2.1 + DOCDIR=/builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64/usr/share/doc/pretty-git-prompt + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64/usr/share/doc/pretty-git-prompt + cp -pr /builddir/build/BUILD/pretty-git-prompt-0.2.1/README.md /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64/usr/share/doc/pretty-git-prompt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.IA7buB + umask 022 + cd /builddir/build/BUILD + cd pretty-git-prompt-0.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64/usr/share/licenses/pretty-git-prompt + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64/usr/share/licenses/pretty-git-prompt + cp -pr /builddir/build/BUILD/pretty-git-prompt-0.2.1/LICENSE /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64/usr/share/licenses/pretty-git-prompt + cp -pr /builddir/build/BUILD/pretty-git-prompt-0.2.1/LICENSE.dependencies /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64/usr/share/licenses/pretty-git-prompt + RPM_EC=0 ++ jobs -p + exit 0 Provides: pretty-git-prompt = 0.2.1-20.fc40 pretty-git-prompt(riscv-64) = 0.2.1-20.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libgcc_s.so.1(GCC_4.3.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: rust-pretty-git-prompt-debugsource-0.2.1-20.fc40.riscv64 Provides: rust-pretty-git-prompt-debugsource = 0.2.1-20.fc40 rust-pretty-git-prompt-debugsource(riscv-64) = 0.2.1-20.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pretty-git-prompt-debuginfo-0.2.1-20.fc40.riscv64 Provides: debuginfo(build-id) = c9fe72dfd60a782f341f0d1fa5a62409aadc05e7 pretty-git-prompt-debuginfo = 0.2.1-20.fc40 pretty-git-prompt-debuginfo(riscv-64) = 0.2.1-20.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rust-pretty-git-prompt-debugsource(riscv-64) = 0.2.1-20.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64 Wrote: /builddir/build/SRPMS/rust-pretty-git-prompt-0.2.1-20.fc40.src.rpm Wrote: /builddir/build/RPMS/pretty-git-prompt-0.2.1-20.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/rust-pretty-git-prompt-debugsource-0.2.1-20.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/pretty-git-prompt-debuginfo-0.2.1-20.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AgMhds + umask 022 + cd /builddir/build/BUILD + cd pretty-git-prompt-0.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-20.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.EHvLTE + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/pretty-git-prompt-0.2.1-SPECPARTS + rm -rf pretty-git-prompt-0.2.1 pretty-git-prompt-0.2.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0