Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/prefixdevname.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-166025-58781/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/prefixdevname-0.1.0-6.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/prefixdevname.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-166025-58781/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.y3n9ec + 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 . + echo 'Patch #1 (0001-udev-assign-new-name-to-the-interface-directly-and-d.patch):' 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 + echo 'Patch #4 (0004-core-if-interface-already-has-name-in-expected-forma.patch):' 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 + echo 'Patch #5 (0005-core-don-t-assign-names-to-virtual-network-devices.patch):' 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 + /usr/bin/mkdir -p .cargo + cat + /usr/bin/tar -xoaf /builddir/build/SOURCES/prefixdevname-0.1.0-vendor.tar.gz + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.X58gAL + umask 022 + cd /builddir/build/BUILD + cd prefixdevname-0.1.0 + /usr/bin/env CARGO_HOME=.cargo /usr/bin/cargo build --release -j64 Compiling libc v0.2.42 Compiling void v1.0.2 Compiling pkg-config v0.3.11 Compiling lazy_static v1.0.1 Compiling regex v1.0.1 Compiling ucd-util v0.1.1 Compiling utf8-ranges v1.0.0 Compiling quick-error v1.2.2 Compiling cfg-if v0.1.3 Compiling termcolor v0.3.6 Compiling rust-ini v0.12.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,future-incompat --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=5b15c0d1f4778f6f -C extra-filename=-5b15c0d1f4778f6f --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,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=ed1ac4d9ac72d6d2 -C extra-filename=-ed1ac4d9ac72d6d2 --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,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=92d2f77148740041 -C extra-filename=-92d2f77148740041 --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,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=55a149f45af09963 -C extra-filename=-55a149f45af09963 --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,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=d2a75928d2cc482e -C extra-filename=-d2a75928d2cc482e --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/build/regex-d2a75928d2cc482e -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,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=69c75d829e69bd88 -C extra-filename=-69c75d829e69bd88 --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 utf8_ranges /builddir/build/BUILD/prefixdevname-0.1.0/vendor/utf8-ranges/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=0648ffd0c51cf0c2 -C extra-filename=-0648ffd0c51cf0c2 --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,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=fd50e3f39dff98b1 -C extra-filename=-fd50e3f39dff98b1 --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 cfg_if /builddir/build/BUILD/prefixdevname-0.1.0/vendor/cfg-if/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=e59fe970ecfb8d39 -C extra-filename=-e59fe970ecfb8d39 --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 termcolor /builddir/build/BUILD/prefixdevname-0.1.0/vendor/termcolor/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=8b49ca65dbbdd18b -C extra-filename=-8b49ca65dbbdd18b --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 ini /builddir/build/BUILD/prefixdevname-0.1.0/vendor/rust-ini/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=9a04b82b9c9ad6bf -C extra-filename=-9a04b82b9c9ad6bf --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,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' -C metadata=4a2163aaddbc2e17 -C extra-filename=-4a2163aaddbc2e17 --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-e59fe970ecfb8d39.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,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=176730f4abc8cece -C extra-filename=-176730f4abc8cece --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-ed1ac4d9ac72d6d2.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,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=93e2f7b07c5e3c68 -C extra-filename=-93e2f7b07c5e3c68 --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-fd50e3f39dff98b1.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,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=76df735f6825038b -C extra-filename=-76df735f6825038b --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-55a149f45af09963.rmeta --extern unreachable=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libunreachable-176730f4abc8cece.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,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=977428d1b9be0d9e -C extra-filename=-977428d1b9be0d9e --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-69c75d829e69bd88.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Compiling memchr v2.0.1 Compiling atty v0.2.10 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,future-incompat --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=0d6e207b2627679b -C extra-filename=-0d6e207b2627679b --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-5b15c0d1f4778f6f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` 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,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=9c8b260ab2951af3 -C extra-filename=-9c8b260ab2951af3 --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-5b15c0d1f4778f6f.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,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=93a490fe9bdb0f9b -C extra-filename=-93a490fe9bdb0f9b --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-0d6e207b2627679b.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-d2a75928d2cc482e/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,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=4db3bdd10694f2ce -C extra-filename=-4db3bdd10694f2ce --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/release/build/libudev-sys-4db3bdd10694f2ce -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-92d2f77148740041.rlib --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/libudev-sys-4db3bdd10694f2ce/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,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=8afba2b3ea386e6c -C extra-filename=-8afba2b3ea386e6c --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-5b15c0d1f4778f6f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -L native=/usr/lib64 --cfg hwdb -l udev` 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,future-incompat --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=7b5a912d77e9a128 -C extra-filename=-7b5a912d77e9a128 --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-93a490fe9bdb0f9b.rmeta --extern memchr=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libmemchr-0d6e207b2627679b.rmeta --extern regex_syntax=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libregex_syntax-977428d1b9be0d9e.rmeta --extern thread_local=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libthread_local-76df735f6825038b.rmeta --extern utf8_ranges=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libutf8_ranges-0648ffd0c51cf0c2.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` 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,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=3e2db0bc16e9778b -C extra-filename=-3e2db0bc16e9778b --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-5b15c0d1f4778f6f.rmeta --extern libudev_sys=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblibudev_sys-8afba2b3ea386e6c.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,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="regex"' -C metadata=5c7948ead8ebb6e0 -C extra-filename=-5c7948ead8ebb6e0 --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-9c8b260ab2951af3.rmeta --extern humantime=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libhumantime-93e2f7b07c5e3c68.rmeta --extern log=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblog-4a2163aaddbc2e17.rmeta --extern regex=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libregex-7b5a912d77e9a128.rmeta --extern termcolor=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libtermcolor-8b49ca65dbbdd18b.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,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C metadata=a238deab16ac770b -C extra-filename=-a238deab16ac770b --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-5c7948ead8ebb6e0.rlib --extern lazy_static=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblazy_static-55a149f45af09963.rlib --extern libc=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblibc-5b15c0d1f4778f6f.rlib --extern libudev=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblibudev-3e2db0bc16e9778b.rlib --extern log=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/liblog-4a2163aaddbc2e17.rlib --extern regex=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libregex-7b5a912d77e9a128.rlib --extern ini=/builddir/build/BUILD/prefixdevname-0.1.0/target/release/deps/libini-9a04b82b9c9ad6bf.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -L native=/usr/lib64` 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: trait objects without an explicit `dyn` are deprecated --> src/config.rs:29:72 | 29 | pub fn new(link_name: &T) -> Result> { | ^^^^^ | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 29 - pub fn new(link_name: &T) -> Result> { 29 + pub fn new(link_name: &T) -> Result> { | 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> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 53 - pub fn new_with_hwaddr(link_name: &T, hwaddr: &T) -> Result> { 53 + pub fn new_with_hwaddr(link_name: &T, hwaddr: &T) -> Result> { | 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> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 77 - pub fn link_name_sane(link_name: &T) -> Result<(), Box> { 77 + pub fn link_name_sane(link_name: &T) -> Result<(), Box> { | warning: trait objects without an explicit `dyn` are deprecated --> src/config.rs:98:53 | 98 | pub fn write_link_file(&self) -> Result<(), Box> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 98 - pub fn write_link_file(&self) -> Result<(), Box> { 98 + pub fn write_link_file(&self) -> Result<(), Box> { | warning: trait objects without an explicit `dyn` are deprecated --> src/config.rs:142:46 | 142 | pub fn load(&mut self) -> Result<(), Box> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 142 - pub fn load(&mut self) -> Result<(), Box> { 142 + pub fn load(&mut self) -> Result<(), Box> { | warning: trait objects without an explicit `dyn` are deprecated --> src/config.rs:163:56 | 163 | pub fn next_link_name(&self) -> Result> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 163 - pub fn next_link_name(&self) -> Result> { 163 + pub fn next_link_name(&self) -> Result> { | 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> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 174 - fn match_ethernet_links(udev_enumerate: &mut libudev::Enumerator) -> Result<(), Box> { 174 + fn match_ethernet_links(udev_enumerate: &mut libudev::Enumerator) -> Result<(), Box> { | warning: trait objects without an explicit `dyn` are deprecated --> src/config.rs:181:63 | 181 | fn enumerate_links_from_udev(&mut self) -> Result<(), Box> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 181 - fn enumerate_links_from_udev(&mut self) -> Result<(), Box> { 181 + fn enumerate_links_from_udev(&mut self) -> Result<(), Box> { | warning: trait objects without an explicit `dyn` are deprecated --> src/config.rs:215:64 | 215 | fn enumerate_links_from_files(&mut self) -> Result<(), Box> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 215 - fn enumerate_links_from_files(&mut self) -> Result<(), Box> { 215 + fn enumerate_links_from_files(&mut self) -> Result<(), Box> { | warning: trait objects without an explicit `dyn` are deprecated --> src/sema.rs:14:63 | 14 | pub fn new_with_name(name: &str) -> Result> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 14 - pub fn new_with_name(name: &str) -> Result> { 14 + pub fn new_with_name(name: &str) -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> src/util.rs:14:70 | 14 | pub fn rename_needed(ifname: &str, prefix: &str) -> Result> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 14 - pub fn rename_needed(ifname: &str, prefix: &str) -> Result> { 14 + pub fn rename_needed(ifname: &str, prefix: &str) -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> src/util.rs:57:72 | 57 | pub fn hwaddr_normalize(hwaddr: &T) -> Result> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 57 - pub fn hwaddr_normalize(hwaddr: &T) -> Result> { 57 + pub fn hwaddr_normalize(hwaddr: &T) -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> src/util.rs:72:57 | 72 | pub fn hwaddr_from_event_device() -> Result> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 72 - pub fn hwaddr_from_event_device() -> Result> { 72 + pub fn hwaddr_from_event_device() -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> src/util.rs:85:63 | 85 | pub fn get_prefix_from_file(path: &str) -> Result> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 85 - pub fn get_prefix_from_file(path: &str) -> Result> { 85 + pub fn get_prefix_from_file(path: &str) -> Result> { | 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: field is never read: `name` --> src/sema.rs:10:5 | 10 | name: CString | ^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default note: `Semaphore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis --> src/sema.rs:7:10 | 7 | #[derive(Debug)] | ^^^^^ = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `prefixdevname` (bin "prefixdevname") generated 20 warnings Finished release [optimized] target(s) in 12.28s + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FKaYAc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64 ++ dirname /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64 + cd prefixdevname-0.1.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64/usr/lib/udev/rules.d mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64/usr/lib/dracut/modules.d/71prefixdevname mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64/usr/lib/dracut/modules.d/71prefixdevname-tools install -p -m 0755 target/release/prefixdevname /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64/usr/lib/udev/ install -p -m 644 rules/71-prefixdevname.rules /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64/usr/lib/udev/rules.d/ install -p -m 0755 dracut/71prefixdevname/module-setup.sh /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64/usr/lib/dracut/modules.d/71prefixdevname/ install -p -m 0755 dracut/71prefixdevname-tools/module-setup.sh /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64/usr/lib/dracut/modules.d/71prefixdevname-tools/ + /usr/lib/rpm/find-debuginfo.sh -j64 --strict-build-id -m -i --build-id-seed 0.1.0-6.0.1.an8 --unique-debug-suffix -0.1.0-6.0.1.an8.x86_64 --unique-debug-src-base prefixdevname-0.1.0-6.0.1.an8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/prefixdevname-0.1.0 extracting debug info from /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64/usr/lib/udev/prefixdevname /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2993 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: prefixdevname-0.1.0-6.0.1.an8.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Rvbiif + umask 022 + cd /builddir/build/BUILD + cd prefixdevname-0.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64/usr/share/licenses/prefixdevname + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64/usr/share/licenses/prefixdevname + cp -pr LICENSE /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64/usr/share/licenses/prefixdevname + exit 0 Provides: prefixdevname = 0.1.0-6.0.1.an8 prefixdevname(x86-64) = 0.1.0-6.0.1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.18)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libdl.so.2()(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) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) rtld(GNU_HASH) Processing files: prefixdevname-doc-0.1.0-6.0.1.an8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XI2jtX + umask 022 + cd /builddir/build/BUILD + cd prefixdevname-0.1.0 + DOCDIR=/builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64/usr/share/doc/prefixdevname-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64/usr/share/doc/prefixdevname-doc + cp -pr README.md /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64/usr/share/doc/prefixdevname-doc + exit 0 Provides: prefixdevname-doc = 0.1.0-6.0.1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: prefixdevname-debugsource-0.1.0-6.0.1.an8.x86_64 Provides: prefixdevname-debugsource = 0.1.0-6.0.1.an8 prefixdevname-debugsource(x86-64) = 0.1.0-6.0.1.an8 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-6.0.1.an8.x86_64 Provides: debuginfo(build-id) = 3a1a0778acaa19f73ce3294084aa30d1578f0fad prefixdevname-debuginfo = 0.1.0-6.0.1.an8 prefixdevname-debuginfo(x86-64) = 0.1.0-6.0.1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: prefixdevname-debugsource(x86-64) = 0.1.0-6.0.1.an8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64 Wrote: /builddir/build/RPMS/prefixdevname-0.1.0-6.0.1.an8.x86_64.rpm Wrote: /builddir/build/RPMS/prefixdevname-doc-0.1.0-6.0.1.an8.noarch.rpm Wrote: /builddir/build/RPMS/prefixdevname-debugsource-0.1.0-6.0.1.an8.x86_64.rpm Wrote: /builddir/build/RPMS/prefixdevname-debuginfo-0.1.0-6.0.1.an8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jM2r0T + umask 022 + cd /builddir/build/BUILD + cd prefixdevname-0.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/prefixdevname-0.1.0-6.0.1.an8.x86_64 + exit 0 Child return code was: 0