Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/prefixdevname.spec'], chrootPath='/var/lib/mock/rocky-9-ppc64le/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=0uid=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/prefixdevname.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1628553600 Wrote: /builddir/build/SRPMS/prefixdevname-0.1.0-8.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/prefixdevname.spec"], chrootPath='/var/lib/mock/rocky-9-ppc64le/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=0uid=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/prefixdevname.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1628553600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nwnOgd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf prefixdevname-0.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/prefixdevname-0.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd prefixdevname-0.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (0001-udev-assign-new-name-to-the-interface-directly-and-d.patch): + echo 'Patch #1 (0001-udev-assign-new-name-to-the-interface-directly-and-d.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file rules/71-prefixdevname.rules patching file src/main.rs Patch #2 (0002-dracut-introduce-new-dracut-module-prefixdevname-too.patch): + echo 'Patch #2 (0002-dracut-introduce-new-dracut-module-prefixdevname-too.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile patching file dracut/71prefixdevname-tools/module-setup.sh Patch #3 (0003-core-don-t-rename-interfaces-that-already-have-the-n.patch): + echo 'Patch #3 (0003-core-don-t-rename-interfaces-that-already-have-the-n.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/main.rs patching file src/util.rs Patch #4 (0004-core-if-interface-already-has-name-in-expected-forma.patch): + echo 'Patch #4 (0004-core-if-interface-already-has-name-in-expected-forma.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/main.rs patching file src/util.rs Patch #5 (0005-core-don-t-assign-names-to-virtual-network-devices.patch): + echo 'Patch #5 (0005-core-don-t-assign-names-to-virtual-network-devices.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/main.rs patching file src/util.rs Patch #999 (0999-sema-fix-cast-needed-to-build-with-rust-1.26.patch): + echo 'Patch #999 (0999-sema-fix-cast-needed-to-build-with-rust-1.26.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cast --fuzz=0 patching file src/sema.rs + /usr/bin/mkdir -p .cargo + cat + /usr/bin/tar -xoaf /builddir/build/SOURCES/prefixdevname-0.1.0-vendor.tar.gz + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SSRMWs + umask 022 + cd /builddir/build/BUILD + cd prefixdevname-0.1.0 + /usr/bin/env CARGO_HOME=.cargo /usr/bin/cargo build --release -j8 Compiling libc v0.2.42 Compiling pkg-config v0.3.11 Compiling void v1.0.2 Compiling lazy_static v1.0.1 Compiling regex v1.0.1 Compiling ucd-util v0.1.1 Compiling cfg-if v0.1.3 Compiling quick-error v1.2.2 Running `/usr/bin/rustc --crate-name libc /builddir/build/BUILD/prefixdevname-0.1.0/vendor/libc/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=a2cca046222e1195 -C extra-filename=-a2cca046222e1195 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Running `/usr/bin/rustc --crate-name pkg_config /builddir/build/BUILD/prefixdevname-0.1.0/vendor/pkg-config/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=14149dd3d398ca11 -C extra-filename=-14149dd3d398ca11 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Running `/usr/bin/rustc --crate-name void /builddir/build/BUILD/prefixdevname-0.1.0/vendor/void/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=95104b415da2ee28 -C extra-filename=-95104b415da2ee28 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Running `/usr/bin/rustc --crate-name lazy_static /builddir/build/BUILD/prefixdevname-0.1.0/vendor/lazy_static/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=acd97df992833db5 -C extra-filename=-acd97df992833db5 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Running `/usr/bin/rustc --crate-name build_script_build /builddir/build/BUILD/prefixdevname-0.1.0/vendor/regex/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=3a797b5cb4cd8cd0 -C extra-filename=-3a797b5cb4cd8cd0 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/build/regex-3a797b5cb4cd8cd0 -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Running `/usr/bin/rustc --crate-name cfg_if /builddir/build/BUILD/prefixdevname-0.1.0/vendor/cfg-if/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=71330dcf036a4cec -C extra-filename=-71330dcf036a4cec --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Running `/usr/bin/rustc --crate-name quick_error /builddir/build/BUILD/prefixdevname-0.1.0/vendor/quick-error/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=80fc0538949c2ad6 -C extra-filename=-80fc0538949c2ad6 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Running `/usr/bin/rustc --crate-name ucd_util /builddir/build/BUILD/prefixdevname-0.1.0/vendor/ucd-util/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=a17fae867b1ca193 -C extra-filename=-a17fae867b1ca193 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Compiling utf8-ranges v1.0.0 Running `/usr/bin/rustc --crate-name utf8_ranges /builddir/build/BUILD/prefixdevname-0.1.0/vendor/utf8-ranges/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=eba791f142ce590e -C extra-filename=-eba791f142ce590e --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Compiling termcolor v0.3.6 Running `/usr/bin/rustc --crate-name termcolor /builddir/build/BUILD/prefixdevname-0.1.0/vendor/termcolor/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=7878dd6111e1c3ff -C extra-filename=-7878dd6111e1c3ff --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Compiling rust-ini v0.12.2 Running `/usr/bin/rustc --crate-name ini /builddir/build/BUILD/prefixdevname-0.1.0/vendor/rust-ini/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=cd3cbd9f91e5632a -C extra-filename=-cd3cbd9f91e5632a --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Compiling log v0.4.3 Running `/usr/bin/rustc --crate-name log /builddir/build/BUILD/prefixdevname-0.1.0/vendor/log/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' -C metadata=35c43f45b2114e14 -C extra-filename=-35c43f45b2114e14 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --extern cfg_if=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libcfg_if-71330dcf036a4cec.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Compiling unreachable v1.0.0 Running `/usr/bin/rustc --crate-name unreachable /builddir/build/BUILD/prefixdevname-0.1.0/vendor/unreachable/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=efc95265f7349668 -C extra-filename=-efc95265f7349668 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --extern void=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libvoid-95104b415da2ee28.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Compiling humantime v1.1.1 Running `/usr/bin/rustc --crate-name humantime /builddir/build/BUILD/prefixdevname-0.1.0/vendor/humantime/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=68566a9a26b23597 -C extra-filename=-68566a9a26b23597 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --extern quick_error=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libquick_error-80fc0538949c2ad6.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Compiling regex-syntax v0.6.1 Running `/usr/bin/rustc --crate-name regex_syntax /builddir/build/BUILD/prefixdevname-0.1.0/vendor/regex-syntax/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=d693644fd0ec3695 -C extra-filename=-d693644fd0ec3695 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --extern ucd_util=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libucd_util-a17fae867b1ca193.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Compiling memchr v2.0.1 Running `/usr/bin/rustc --crate-name memchr /builddir/build/BUILD/prefixdevname-0.1.0/vendor/memchr/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="use_std"' -C metadata=e19486330f9dbec9 -C extra-filename=-e19486330f9dbec9 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --extern libc=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblibc-a2cca046222e1195.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Compiling atty v0.2.10 Running `/usr/bin/rustc --crate-name atty /builddir/build/BUILD/prefixdevname-0.1.0/vendor/atty/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=4125c37b47ff9cd5 -C extra-filename=-4125c37b47ff9cd5 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --extern libc=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblibc-a2cca046222e1195.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Compiling thread_local v0.3.5 Running `/usr/bin/rustc --crate-name thread_local /builddir/build/BUILD/prefixdevname-0.1.0/vendor/thread_local/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=662e2eaf03e328be -C extra-filename=-662e2eaf03e328be --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --extern lazy_static=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblazy_static-acd97df992833db5.rmeta --extern unreachable=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libunreachable-efc95265f7349668.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Compiling aho-corasick v0.6.4 Running `/usr/bin/rustc --crate-name aho_corasick /builddir/build/BUILD/prefixdevname-0.1.0/vendor/aho-corasick/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=33712d1f571d7751 -C extra-filename=-33712d1f571d7751 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --extern memchr=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libmemchr-e19486330f9dbec9.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Running `/builddir/build/BUILD/prefixdevname-0.1.0/target/release/build/regex-3a797b5cb4cd8cd0/build-script-build` Compiling libudev-sys v0.1.4 Running `/usr/bin/rustc --crate-name build_script_build /builddir/build/BUILD/prefixdevname-0.1.0/vendor/libudev-sys/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=e8cea2420b1bfb72 -C extra-filename=-e8cea2420b1bfb72 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/build/libudev-sys-e8cea2420b1bfb72 -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --extern pkg_config=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libpkg_config-14149dd3d398ca11.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Running `/usr/bin/rustc --crate-name regex /builddir/build/BUILD/prefixdevname-0.1.0/vendor/regex/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=941dacc4681eae0e -C extra-filename=-941dacc4681eae0e --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --extern aho_corasick=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libaho_corasick-33712d1f571d7751.rmeta --extern memchr=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libmemchr-e19486330f9dbec9.rmeta --extern regex_syntax=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libregex_syntax-d693644fd0ec3695.rmeta --extern thread_local=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libthread_local-662e2eaf03e328be.rmeta --extern utf8_ranges=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libutf8_ranges-eba791f142ce590e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now --cfg regex_runtime_teddy_ssse3 --cfg regex_runtime_teddy_avx2` Running `/builddir/build/BUILD/prefixdevname-0.1.0/target/release/build/libudev-sys-e8cea2420b1bfb72/build-script-build` Running `/usr/bin/rustc --crate-name libudev_sys /builddir/build/BUILD/prefixdevname-0.1.0/vendor/libudev-sys/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=17df911ac2380c15 -C extra-filename=-17df911ac2380c15 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --extern libc=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblibc-a2cca046222e1195.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -L native=/usr/lib64 --cfg hwdb -l udev` Compiling libudev v0.2.0 Running `/usr/bin/rustc --crate-name libudev /builddir/build/BUILD/prefixdevname-0.1.0/vendor/libudev/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=67060f35238750ea -C extra-filename=-67060f35238750ea --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --extern libc=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblibc-a2cca046222e1195.rmeta --extern libudev_sys=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblibudev_sys-17df911ac2380c15.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -L native=/usr/lib64` Compiling env_logger v0.5.10 Running `/usr/bin/rustc --crate-name env_logger /builddir/build/BUILD/prefixdevname-0.1.0/vendor/env_logger/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="regex"' -C metadata=be069e8d5761cad2 -C extra-filename=-be069e8d5761cad2 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --extern atty=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libatty-4125c37b47ff9cd5.rmeta --extern humantime=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libhumantime-68566a9a26b23597.rmeta --extern log=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblog-35c43f45b2114e14.rmeta --extern regex=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libregex-941dacc4681eae0e.rmeta --extern termcolor=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libtermcolor-7878dd6111e1c3ff.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Compiling prefixdevname v0.1.0 (/builddir/build/BUILD/prefixdevname-0.1.0) Running `/usr/bin/rustc --crate-name prefixdevname src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C metadata=07b75856c626045f -C extra-filename=-07b75856c626045f --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps --extern env_logger=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libenv_logger-be069e8d5761cad2.rlib --extern lazy_static=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblazy_static-acd97df992833db5.rlib --extern libc=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblibc-a2cca046222e1195.rlib --extern libudev=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblibudev-67060f35238750ea.rlib --extern log=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblog-35c43f45b2114e14.rlib --extern regex=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libregex-941dacc4681eae0e.rlib --extern ini=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libini-cd3cbd9f91e5632a.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -L native=/usr/lib64` warning: trait objects without an explicit `dyn` are deprecated --> src/config.rs:29:72 | 29 | pub fn new(link_name: &T) -> Result> { | ^^^^^ help: use `dyn`: `dyn Error` | = note: `#[warn(bare_trait_objects)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! = note: for more information, see issue #80165 warning: trait objects without an explicit `dyn` are deprecated --> src/config.rs:53:96 | 53 | pub fn new_with_hwaddr(link_name: &T, hwaddr: &T) -> Result> { | ^^^^^ help: use `dyn`: `dyn Error` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! = note: for more information, see issue #80165 warning: trait objects without an explicit `dyn` are deprecated --> src/config.rs:77:73 | 77 | pub fn link_name_sane(link_name: &T) -> Result<(), Box> { | ^^^^^ help: use `dyn`: `dyn Error` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! = note: for more information, see issue #80165 warning: trait objects without an explicit `dyn` are deprecated --> src/config.rs:98:53 | 98 | pub fn write_link_file(&self) -> Result<(), Box> { | ^^^^^ help: use `dyn`: `dyn Error` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! = note: for more information, see issue #80165 warning: trait objects without an explicit `dyn` are deprecated --> src/config.rs:142:46 | 142 | pub fn load(&mut self) -> Result<(), Box> { | ^^^^^ help: use `dyn`: `dyn Error` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! = note: for more information, see issue #80165 warning: trait objects without an explicit `dyn` are deprecated --> src/config.rs:163:56 | 163 | pub fn next_link_name(&self) -> Result> { | ^^^^^ help: use `dyn`: `dyn Error` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! = note: for more information, see issue #80165 warning: trait objects without an explicit `dyn` are deprecated --> src/config.rs:174:89 | 174 | fn match_ethernet_links(udev_enumerate: &mut libudev::Enumerator) -> Result<(), Box> { | ^^^^^ help: use `dyn`: `dyn Error` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! = note: for more information, see issue #80165 warning: trait objects without an explicit `dyn` are deprecated --> src/config.rs:181:63 | 181 | fn enumerate_links_from_udev(&mut self) -> Result<(), Box> { | ^^^^^ help: use `dyn`: `dyn Error` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! = note: for more information, see issue #80165 warning: trait objects without an explicit `dyn` are deprecated --> src/config.rs:215:64 | 215 | fn enumerate_links_from_files(&mut self) -> Result<(), Box> { | ^^^^^ help: use `dyn`: `dyn Error` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! = note: for more information, see issue #80165 warning: trait objects without an explicit `dyn` are deprecated --> src/sema.rs:14:63 | 14 | pub fn new_with_name(name: &str) -> Result> { | ^^^^^ help: use `dyn`: `dyn Error` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! = note: for more information, see issue #80165 warning: trait objects without an explicit `dyn` are deprecated --> src/util.rs:14:70 | 14 | pub fn rename_needed(ifname: &str, prefix: &str) -> Result> { | ^^^^^ help: use `dyn`: `dyn Error` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! = note: for more information, see issue #80165 warning: trait objects without an explicit `dyn` are deprecated --> src/util.rs:57:72 | 57 | pub fn hwaddr_normalize(hwaddr: &T) -> Result> { | ^^^^^ help: use `dyn`: `dyn Error` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! = note: for more information, see issue #80165 warning: trait objects without an explicit `dyn` are deprecated --> src/util.rs:72:57 | 72 | pub fn hwaddr_from_event_device() -> Result> { | ^^^^^ help: use `dyn`: `dyn Error` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! = note: for more information, see issue #80165 warning: trait objects without an explicit `dyn` are deprecated --> src/util.rs:85:63 | 85 | pub fn get_prefix_from_file(path: &str) -> Result> { | ^^^^^ help: use `dyn`: `dyn Error` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! = note: for more information, see issue #80165 warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/config.rs:33:9 | 33 | / lazy_static! { 34 | | static ref RE: Regex = Regex::new(r"([[:alpha:]]+)\d+").unwrap(); 35 | | } | |_________^ | = note: `#[warn(deprecated)]` on by default = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/config.rs:58:9 | 58 | / lazy_static! { 59 | | static ref RE: Regex = Regex::new(r"([[:alpha:]]+)\d+").unwrap(); 60 | | } | |_________^ | = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` --> src/config.rs:42:22 | 42 | let i = name.trim_left_matches(&prefix).parse::()?; | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` --> src/config.rs:66:22 | 66 | let i = name.trim_left_matches(&prefix).parse::()?; | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` --> src/config.rs:169:36 | 169 | let last_index = last.name.trim_left_matches(&self.ifname_prefix).parse::()?; | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` warning: 19 warnings emitted Finished release [optimized] target(s) in 16.32s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Dp7M9c + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le ++ dirname /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le + cd prefixdevname-0.1.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le/usr/lib/udev/rules.d mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le/usr/lib/dracut/modules.d/71prefixdevname mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le/usr/lib/dracut/modules.d/71prefixdevname-tools install -p -m 0755 target/release/prefixdevname /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le/usr/lib/udev/ install -p -m 644 rules/71-prefixdevname.rules /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le/usr/lib/udev/rules.d/ install -p -m 0755 dracut/71prefixdevname/module-setup.sh /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le/usr/lib/dracut/modules.d/71prefixdevname/ install -p -m 0755 dracut/71prefixdevname-tools/module-setup.sh /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le/usr/lib/dracut/modules.d/71prefixdevname-tools/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 0.1.0-8.el9 --unique-debug-suffix -0.1.0-8.el9.ppc64le --unique-debug-src-base prefixdevname-0.1.0-8.el9.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/prefixdevname-0.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le/usr/lib/udev/prefixdevname extracting debug info from /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le/usr/lib/udev/prefixdevname warning: Unsupported auto-load script at offset 0 in section .debug_gdb_scripts of file /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le/usr/lib/udev/prefixdevname. Use `info auto-load python-scripts [REGEXP]' to list them. original debug info size: 13804kB, size after compression: 11428kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2878 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/dracut/modules.d/71prefixdevname/module-setup.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/dracut/modules.d/71prefixdevname-tools/module-setup.sh from /bin/bash to #!/usr/bin/bash Processing files: prefixdevname-0.1.0-8.el9.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Zyz1Pm + umask 022 + cd /builddir/build/BUILD + cd prefixdevname-0.1.0 + DOCDIR=/builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le/usr/share/doc/prefixdevname + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le/usr/share/doc/prefixdevname + cp -pr README.md /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le/usr/share/doc/prefixdevname + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cZmWZt + umask 022 + cd /builddir/build/BUILD + cd prefixdevname-0.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le/usr/share/licenses/prefixdevname + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le/usr/share/licenses/prefixdevname + cp -pr LICENSE /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le/usr/share/licenses/prefixdevname + RPM_EC=0 ++ jobs -p + exit 0 Provides: prefixdevname = 0.1.0-8.el9 prefixdevname(ppc-64) = 0.1.0-8.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash ld64.so.2()(64bit) ld64.so.2(GLIBC_2.22)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.18)(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_4.2.0)(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) rtld(GNU_HASH) Processing files: prefixdevname-debugsource-0.1.0-8.el9.ppc64le Provides: prefixdevname-debugsource = 0.1.0-8.el9 prefixdevname-debugsource(ppc-64) = 0.1.0-8.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: prefixdevname-debuginfo-0.1.0-8.el9.ppc64le Provides: debuginfo(build-id) = de126c0e213a8f52bb08f09157ba04d80c76a668 prefixdevname-debuginfo = 0.1.0-8.el9 prefixdevname-debuginfo(ppc-64) = 0.1.0-8.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: prefixdevname-debugsource(ppc-64) = 0.1.0-8.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le Wrote: /builddir/build/RPMS/prefixdevname-debugsource-0.1.0-8.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/prefixdevname-0.1.0-8.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/prefixdevname-debuginfo-0.1.0-8.el9.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pDgU02 + umask 022 + cd /builddir/build/BUILD + cd prefixdevname-0.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/prefixdevname-0.1.0-8.el9.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0