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/f38-build-719465-97016/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=604800uid=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=1683676800 Wrote: /builddir/build/SRPMS/rust-pretty-git-prompt-0.2.1-17.fc38.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/f38-build-719465-97016/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=604800uid=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=1683676800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6BMY6g + 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 + /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 -eu + /usr/bin/mkdir -p .cargo + 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.c9QAsw + 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-17.fc38.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/f38-build-719465-97016/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=604800uid=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=1683676800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Oo7two + 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 + /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 -eu + /usr/bin/mkdir -p .cargo + 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.H2nJby + 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-17.fc38.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/f38-build-719465-97016/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=604800uid=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=1683676800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.uilYsr + 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.HBt7cE + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j4 -Z avoid-dev-deps --release Compiling libc v0.2.144 Compiling pkg-config v0.3.26 Compiling tinyvec_macros v0.1.1 Compiling unicode-bidi v0.3.13 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.144/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=d68bc4b51c2686a1 -C extra-filename=-d68bc4b51c2686a1 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/build/libc-d68bc4b51c2686a1 -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name pkg_config /usr/share/cargo/registry/pkg-config-0.3.26/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=3d137fe8bf85882d -C extra-filename=-3d137fe8bf85882d --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name unicode_bidi --edition=2018 /usr/share/cargo/registry/unicode-bidi-0.3.13/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 --cfg 'feature="default"' --cfg 'feature="hardcoded-data"' --cfg 'feature="std"' -C metadata=6c1d57f987360064 -C extra-filename=-6c1d57f987360064 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` 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 metadata=e014227780ffc715 -C extra-filename=-e014227780ffc715 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` 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 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="tinyvec_macros"' -C metadata=7fd3157d14a5c268 -C extra-filename=-7fd3157d14a5c268 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern tinyvec_macros=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libtinyvec_macros-e014227780ffc715.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/build/libc-d68bc4b51c2686a1/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.144/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=67e70eb71b3ac73d -C extra-filename=-67e70eb71b3ac73d --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --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/release/build/libc-d68bc4b51c2686a1/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.144/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 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=38adf6b4532dc70e -C extra-filename=-38adf6b4532dc70e --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --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 jobserver v0.1.26 Running `/usr/bin/rustc --crate-name jobserver --edition=2018 /usr/share/cargo/registry/jobserver-0.1.26/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=f13499720f437a03 -C extra-filename=-f13499720f437a03 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern libc=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/liblibc-67e70eb71b3ac73d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling cc v1.0.79 Running `/usr/bin/rustc --crate-name cc --edition=2018 /usr/share/cargo/registry/cc-1.0.79/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="jobserver"' --cfg 'feature="parallel"' -C metadata=592bc874a0299b9d -C extra-filename=-592bc874a0299b9d --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern jobserver=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libjobserver-f13499720f437a03.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` 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 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=92f28ba8622822d5 -C extra-filename=-92f28ba8622822d5 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern tinyvec=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libtinyvec-7fd3157d14a5c268.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling log v0.4.17 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/log-0.4.17/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=925c5aa05bb4a40f -C extra-filename=-925c5aa05bb4a40f --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/build/log-925c5aa05bb4a40f -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling percent-encoding v2.2.0 Running `/usr/bin/rustc --crate-name percent_encoding --edition=2018 /usr/share/cargo/registry/percent-encoding-2.2.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 --cfg 'feature="alloc"' --cfg 'feature="default"' -C metadata=3947aa90ec27e634 -C extra-filename=-3947aa90ec27e634 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/build/log-925c5aa05bb4a40f/build-script-build` Compiling cfg-if v1.0.0 Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.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 metadata=3e26211f5c9d30a9 -C extra-filename=-3e26211f5c9d30a9 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling form_urlencoded v1.1.0 Running `/usr/bin/rustc --crate-name form_urlencoded --edition=2018 /usr/share/cargo/registry/form_urlencoded-1.1.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 metadata=81c1847c49d248f4 -C extra-filename=-81c1847c49d248f4 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern percent_encoding=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libpercent_encoding-3947aa90ec27e634.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling unicode-width v0.1.10 Running `/usr/bin/rustc --crate-name unicode_width /usr/share/cargo/registry/unicode-width-0.1.10/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 --cfg 'feature="default"' -C metadata=82ec32d82bfac6d7 -C extra-filename=-82ec32d82bfac6d7 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` 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 --cfg 'feature="default"' -C metadata=10773c723fe96d8e -C extra-filename=-10773c723fe96d8e --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` 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 metadata=617421b098902a1b -C extra-filename=-617421b098902a1b --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern unicode_width=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libunicode_width-82ec32d82bfac6d7.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name log /usr/share/cargo/registry/log-0.4.17/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 metadata=0a17f0f96fe55c09 -C extra-filename=-0a17f0f96fe55c09 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern cfg_if=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libcfg_if-3e26211f5c9d30a9.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg atomic_cas --cfg has_atomics` Compiling idna v0.3.0 Running `/usr/bin/rustc --crate-name idna --edition=2018 /usr/share/cargo/registry/idna-0.3.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 metadata=c45b15de4f7a6e8d -C extra-filename=-c45b15de4f7a6e8d --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern unicode_bidi=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libunicode_bidi-6c1d57f987360064.rmeta --extern unicode_normalization=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libunicode_normalization-92f28ba8622822d5.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` 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 metadata=70eef2489ecd5c04 -C extra-filename=-70eef2489ecd5c04 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` 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 metadata=cb2ba485bf8e9b7e -C extra-filename=-cb2ba485bf8e9b7e --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern linked_hash_map=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/liblinked_hash_map-70eef2489ecd5c04.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` 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 metadata=fd00d953e75c6923 -C extra-filename=-fd00d953e75c6923 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern bitflags=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libbitflags-10773c723fe96d8e.rmeta --extern textwrap=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libtextwrap-617421b098902a1b.rmeta --extern unicode_width=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libunicode_width-82ec32d82bfac6d7.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling url v2.3.1 Running `/usr/bin/rustc --crate-name url --edition=2018 /usr/share/cargo/registry/url-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 --cfg 'feature="default"' -C metadata=c482f12cf685279c -C extra-filename=-c482f12cf685279c --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern form_urlencoded=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libform_urlencoded-81c1847c49d248f4.rmeta --extern idna=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libidna-c45b15de4f7a6e8d.rmeta --extern percent_encoding=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libpercent_encoding-3947aa90ec27e634.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling libz-sys v1.1.9 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/libz-sys-1.1.9/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=c82bc931c26cad1e -C extra-filename=-c82bc931c26cad1e --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/build/libz-sys-c82bc931c26cad1e -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern cc=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libcc-592bc874a0299b9d.rlib --extern pkg_config=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libpkg_config-3d137fe8bf85882d.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling libgit2-sys v0.12.26 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/libgit2-sys-0.12.26/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=6a92d6193b06ce23 -C extra-filename=-6a92d6193b06ce23 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/build/libgit2-sys-6a92d6193b06ce23 -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern cc=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libcc-592bc874a0299b9d.rlib --extern pkg_config=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libpkg_config-3d137fe8bf85882d.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/build/libz-sys-c82bc931c26cad1e/build-script-build` Running `/usr/bin/rustc --crate-name libz_sys --edition=2018 /usr/share/cargo/registry/libz-sys-1.1.9/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 --cfg 'feature="libc"' -C metadata=74db3e73ff4199dc -C extra-filename=-74db3e73ff4199dc --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern libc=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/liblibc-38adf6b4532dc70e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -l z` Running `/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/build/libgit2-sys-6a92d6193b06ce23/build-script-build` Running `/usr/bin/rustc --crate-name libgit2_sys --edition=2018 /usr/share/cargo/registry/libgit2-sys-0.12.26/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 metadata=41ee545ebff09c31 -C extra-filename=-41ee545ebff09c31 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern libc=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/liblibc-38adf6b4532dc70e.rmeta --extern libz_sys=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/liblibz_sys-74db3e73ff4199dc.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/build/libgit2-sys-2ab54c40c3283702/out/build -l static=git2 --cfg libgit2_vendored` Compiling git2 v0.13.25 Running `/usr/bin/rustc --crate-name git2 --edition=2018 /usr/share/cargo/registry/git2-0.13.25/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 metadata=5208c221f0564a29 -C extra-filename=-5208c221f0564a29 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern bitflags=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libbitflags-10773c723fe96d8e.rmeta --extern libc=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/liblibc-38adf6b4532dc70e.rmeta --extern libgit2_sys=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/liblibgit2_sys-41ee545ebff09c31.rmeta --extern log=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/liblog-0a17f0f96fe55c09.rmeta --extern url=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/liburl-c482f12cf685279c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/build/libgit2-sys-2ab54c40c3283702/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 metadata=4438ecd71b033c81 -C extra-filename=-4438ecd71b033c81 --out-dir /builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps --extern clap=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libclap-fd00d953e75c6923.rlib --extern git2=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libgit2-5208c221f0564a29.rlib --extern yaml_rust=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/deps/libyaml_rust-cb2ba485bf8e9b7e.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/builddir/build/BUILD/pretty-git-prompt-0.2.1/target/release/build/libgit2-sys-2ab54c40c3283702/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 | 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 release [optimized] target(s) in 11m 30s + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /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 # MIT AND GPL-2.0-only WITH GCC-exception-2.0 AND BSD-3-Clause # MIT OR Apache-2.0 # MIT OR Apache-2.0 OR Zlib # Zlib OR Apache-2.0 OR MIT + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /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}' ++ pwd + sort -u + 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.MVIwVh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-17.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-17.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-17.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-17.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -eu ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 0 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo install -j4 -Z avoid-dev-deps --no-track --path . Installing pretty-git-prompt v0.2.1 (/builddir/build/BUILD/pretty-git-prompt-0.2.1) Fresh pkg-config v0.3.26 Fresh tinyvec_macros v0.1.1 Fresh tinyvec v1.6.0 Fresh libc v0.2.144 Fresh unicode-bidi v0.3.13 Fresh jobserver v0.1.26 Fresh unicode-normalization v0.1.22 Fresh percent-encoding v2.2.0 Fresh cc v1.0.79 Fresh form_urlencoded v1.1.0 Fresh idna v0.3.0 Fresh bitflags v1.3.2 Fresh unicode-width v0.1.10 Fresh cfg-if v1.0.0 Fresh textwrap v0.11.0 Fresh url v2.3.1 Fresh libz-sys v1.1.9 Fresh log v0.4.17 Fresh linked-hash-map v0.5.6 Fresh libgit2-sys v0.12.26 Fresh yaml-rust v0.4.5 Fresh clap v2.34.0 Fresh git2 v0.13.25 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 | 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 release [optimized] target(s) in 0.42s Installing /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-17.fc38.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-17.fc38.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-17.fc38 --unique-debug-suffix -0.2.1-17.fc38.riscv64 --unique-debug-src-base rust-pretty-git-prompt-0.2.1-17.fc38.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 extracting debug info from /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-17.fc38.riscv64/usr/bin/pretty-git-prompt 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-17.fc38.riscv64/usr/bin/pretty-git-prompt. Use `info auto-load python-scripts [REGEXP]' to list them. original debug info size: 45704kB, size after compression: 41884kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1485 blocks + /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-17.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.p0BbKN + umask 022 + cd /builddir/build/BUILD + cd pretty-git-prompt-0.2.1 + DOCDIR=/builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-17.fc38.riscv64/usr/share/doc/pretty-git-prompt + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-17.fc38.riscv64/usr/share/doc/pretty-git-prompt + cp -pr README.md /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-17.fc38.riscv64/usr/share/doc/pretty-git-prompt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.gyOdOE + umask 022 + cd /builddir/build/BUILD + cd pretty-git-prompt-0.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-17.fc38.riscv64/usr/share/licenses/pretty-git-prompt + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-17.fc38.riscv64/usr/share/licenses/pretty-git-prompt + cp -pr LICENSE /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-17.fc38.riscv64/usr/share/licenses/pretty-git-prompt + cp -pr LICENSE.dependencies /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-17.fc38.riscv64/usr/share/licenses/pretty-git-prompt + RPM_EC=0 ++ jobs -p + exit 0 Provides: pretty-git-prompt = 0.2.1-17.fc38 pretty-git-prompt(riscv-64) = 0.2.1-17.fc38 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-17.fc38.riscv64 Provides: rust-pretty-git-prompt-debugsource = 0.2.1-17.fc38 rust-pretty-git-prompt-debugsource(riscv-64) = 0.2.1-17.fc38 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-17.fc38.riscv64 Provides: debuginfo(build-id) = 75daa78ccdedb5b0584264a5bad0ac8c3283280a pretty-git-prompt-debuginfo = 0.2.1-17.fc38 pretty-git-prompt-debuginfo(riscv-64) = 0.2.1-17.fc38 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-17.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-pretty-git-prompt-0.2.1-17.fc38.riscv64 Wrote: /builddir/build/SRPMS/rust-pretty-git-prompt-0.2.1-17.fc38.src.rpm Wrote: /builddir/build/RPMS/rust-pretty-git-prompt-debugsource-0.2.1-17.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/pretty-git-prompt-0.2.1-17.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/pretty-git-prompt-debuginfo-0.2.1-17.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jZSYs5 + 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-17.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.yZcmrF + umask 022 + cd /builddir/build/BUILD + 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