Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/prefixdevname.spec'], chrootPath='/var/lib/mock/dist-an23-build-469934-74027/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=982gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hte8bv1e:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hte8bv1e:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5efc1956883849ae861e42c508b762f3', '-D', '/var/lib/mock/dist-an23-build-469934-74027/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hte8bv1e:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1758153600 Wrote: /builddir/build/SRPMS/prefixdevname-0.1.0-5.an23.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/prefixdevname.spec'], chrootPath='/var/lib/mock/dist-an23-build-469934-74027/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=982gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hte8bv1e:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hte8bv1e:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bb38845d78694ba6a070cc686df18bf9', '-D', '/var/lib/mock/dist-an23-build-469934-74027/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hte8bv1e:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1758153600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bmY1QN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf prefixdevname-0.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/prefixdevname-0.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd prefixdevname-0.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0999-sema-fix-cast-needed-to-build-with-rust-1.26.patch):' Patch #0 (0999-sema-fix-cast-needed-to-build-with-rust-1.26.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/sema.rs + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + /usr/bin/tar -xoaf /builddir/build/SOURCES/prefixdevname-0.1.0-vendor.tar.gz + cat + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8cWhqH + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd prefixdevname-0.1.0 + /usr/bin/env CARGO_HOME=.cargo 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none' /usr/bin/cargo build -j80 --profile rpm warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Compiling libc v0.2.42 Compiling void v1.0.2 Compiling pkg-config v0.3.11 Compiling lazy_static v1.0.1 Compiling ucd-util v0.1.1 Compiling regex v1.0.1 Running `/usr/bin/rustc --crate-name libc --edition=2015 /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 -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "use_std"))' -C metadata=87bc8c95d0f7d521 -C extra-filename=-87bc8c95d0f7d521 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Running `/usr/bin/rustc --crate-name void --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=fdd5ac7d087dec84 -C extra-filename=-fdd5ac7d087dec84 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Running `/usr/bin/rustc --crate-name pkg_config --edition=2015 /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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=626172b464115022 -C extra-filename=-626172b464115022 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Compiling cfg-if v0.1.3 Compiling utf8-ranges v1.0.0 Compiling quick-error v1.2.2 Compiling termcolor v0.3.6 Compiling rust-ini v0.12.2 Running `/usr/bin/rustc --crate-name lazy_static --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("nightly", "spin", "spin_no_std"))' -C metadata=736ee1207cb2f11a -C extra-filename=-736ee1207cb2f11a --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Running `/usr/bin/rustc --crate-name ucd_util --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=d692c2ff69c9cdb6 -C extra-filename=-d692c2ff69c9cdb6 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "pattern", "unstable", "use_std"))' -C metadata=cd7f7e87045a39ee -C extra-filename=-cd7f7e87045a39ee --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/build/regex-cd7f7e87045a39ee -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Running `/usr/bin/rustc --crate-name cfg_if --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=16ab0bdba4e680ae -C extra-filename=-16ab0bdba4e680ae --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Running `/usr/bin/rustc --crate-name quick_error --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=594531972793e855 -C extra-filename=-594531972793e855 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Running `/usr/bin/rustc --crate-name utf8_ranges --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=52ecb4d1a9d78375 -C extra-filename=-52ecb4d1a9d78375 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Running `/usr/bin/rustc --crate-name termcolor --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=e89bfe7b9e3c09d0 -C extra-filename=-e89bfe7b9e3c09d0 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Running `/usr/bin/rustc --crate-name ini --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=12ce2400104f5ca9 -C extra-filename=-12ce2400104f5ca9 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Compiling log v0.4.3 Running `/usr/bin/rustc --crate-name log --edition=2015 /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 -C codegen-units=1 -C debuginfo=2 --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "serde", "std"))' -C metadata=fadb4b98150a9c3a -C extra-filename=-fadb4b98150a9c3a --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libcfg_if-16ab0bdba4e680ae.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Compiling unreachable v1.0.0 Running `/usr/bin/rustc --crate-name unreachable --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=138dc280fa69048f -C extra-filename=-138dc280fa69048f --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --extern void=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libvoid-fdd5ac7d087dec84.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Compiling humantime v1.1.1 Running `/usr/bin/rustc --crate-name humantime --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=4f79de3c29f727e6 -C extra-filename=-4f79de3c29f727e6 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --extern quick_error=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libquick_error-594531972793e855.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Compiling thread_local v0.3.5 Running `/usr/bin/rustc --crate-name thread_local --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=bd00e363381f8f8f -C extra-filename=-bd00e363381f8f8f --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --extern lazy_static=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblazy_static-736ee1207cb2f11a.rmeta --extern unreachable=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libunreachable-138dc280fa69048f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Compiling regex-syntax v0.6.1 Running `/usr/bin/rustc --crate-name regex_syntax --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=f9c4171a29c0b17f -C extra-filename=-f9c4171a29c0b17f --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --extern ucd_util=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libucd_util-d692c2ff69c9cdb6.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Compiling memchr v2.0.1 Compiling atty v0.2.10 Running `/usr/bin/rustc --crate-name atty --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=9bce75458a91ca5a -C extra-filename=-9bce75458a91ca5a --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --extern libc=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblibc-87bc8c95d0f7d521.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Running `/usr/bin/rustc --crate-name memchr --edition=2015 /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 -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="use_std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "libc", "use_std"))' -C metadata=b091898da3051718 -C extra-filename=-b091898da3051718 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --extern libc=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblibc-87bc8c95d0f7d521.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Compiling aho-corasick v0.6.4 Running `/usr/bin/rustc --crate-name aho_corasick --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=4f440199ea16e2d3 -C extra-filename=-4f440199ea16e2d3 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --extern memchr=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libmemchr-b091898da3051718.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Running `/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/build/regex-cd7f7e87045a39ee/build-script-build` Running `/usr/bin/rustc --crate-name regex --edition=2015 /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 -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "pattern", "unstable", "use_std"))' -C metadata=de6561d7fa8232e1 -C extra-filename=-de6561d7fa8232e1 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --extern aho_corasick=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libaho_corasick-4f440199ea16e2d3.rmeta --extern memchr=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libmemchr-b091898da3051718.rmeta --extern regex_syntax=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libregex_syntax-f9c4171a29c0b17f.rmeta --extern thread_local=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libthread_local-bd00e363381f8f8f.rmeta --extern utf8_ranges=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libutf8_ranges-52ecb4d1a9d78375.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cfg regex_runtime_teddy_ssse3 --cfg regex_runtime_teddy_avx2` Compiling libudev-sys v0.1.4 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=a1e72ac5003fb8d6 -C extra-filename=-a1e72ac5003fb8d6 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/build/libudev-sys-a1e72ac5003fb8d6 -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --extern pkg_config=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libpkg_config-626172b464115022.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Compiling env_logger v0.5.10 Running `/usr/bin/rustc --crate-name env_logger --edition=2015 /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 -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="regex"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "regex"))' -C metadata=2da12122a04402a0 -C extra-filename=-2da12122a04402a0 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --extern atty=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libatty-9bce75458a91ca5a.rmeta --extern humantime=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libhumantime-4f79de3c29f727e6.rmeta --extern log=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblog-fadb4b98150a9c3a.rmeta --extern regex=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libregex-de6561d7fa8232e1.rmeta --extern termcolor=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libtermcolor-e89bfe7b9e3c09d0.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` Running `/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/build/libudev-sys-a1e72ac5003fb8d6/build-script-build` Running `/usr/bin/rustc --crate-name libudev_sys --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=cf591399a4f12a1b -C extra-filename=-cf591399a4f12a1b --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --extern libc=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblibc-87bc8c95d0f7d521.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -L native=/usr/lib64 -l udev --cfg hwdb` Compiling libudev v0.2.0 Running `/usr/bin/rustc --crate-name libudev --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=89438a4fc25b42f5 -C extra-filename=-89438a4fc25b42f5 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --extern libc=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblibc-87bc8c95d0f7d521.rmeta --extern libudev_sys=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblibudev_sys-cf591399a4f12a1b.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -L native=/usr/lib64` Compiling prefixdevname v0.1.0 (/builddir/build/BUILD/prefixdevname-0.1.0) Running `/usr/bin/rustc --crate-name prefixdevname --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=7be48da5ef1ac04a -C extra-filename=-7be48da5ef1ac04a --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps --extern env_logger=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libenv_logger-2da12122a04402a0.rlib --extern lazy_static=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblazy_static-736ee1207cb2f11a.rlib --extern libc=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblibc-87bc8c95d0f7d521.rlib --extern libudev=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblibudev-89438a4fc25b42f5.rlib --extern log=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblog-fadb4b98150a9c3a.rlib --extern regex=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libregex-de6561d7fa8232e1.rlib --extern ini=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libini-12ce2400104f5ca9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -L native=/usr/lib64` warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (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> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: if this is a dyn-compatible trait, use `dyn` | 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: if this is a dyn-compatible trait, use `dyn` | 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: if this is a dyn-compatible trait, use `dyn` | 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: if this is a dyn-compatible trait, use `dyn` | 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: if this is a dyn-compatible trait, use `dyn` | 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: if this is a dyn-compatible trait, use `dyn` | 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: if this is a dyn-compatible trait, use `dyn` | 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: if this is a dyn-compatible trait, use `dyn` | 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: if this is a dyn-compatible trait, use `dyn` | 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: if this is a dyn-compatible trait, use `dyn` | 14 | pub fn new_with_name(name: &str) -> Result> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/util.rs:39:72 | 39 | 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: if this is a dyn-compatible trait, use `dyn` | 39 | pub fn hwaddr_normalize(hwaddr: &T) -> Result> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/util.rs:54:57 | 54 | 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: if this is a dyn-compatible trait, use `dyn` | 54 | pub fn hwaddr_from_event_device() -> Result> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/util.rs:67:63 | 67 | 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: if this is a dyn-compatible trait, use `dyn` | 67 | pub fn get_prefix_from_file(path: &str) -> Result> { | +++ warning: use of deprecated method `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 method | 42 | let i = name.trim_start_matches(&prefix).parse::()?; | ~~~~~~~~~~~~~~~~~~ warning: use of deprecated method `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 method | 66 | let i = name.trim_start_matches(&prefix).parse::()?; | ~~~~~~~~~~~~~~~~~~ warning: use of deprecated method `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 method | 169 | let last_index = last.name.trim_start_matches(&self.ifname_prefix).parse::()?; | ~~~~~~~~~~~~~~~~~~ warning: field `name` is never read --> src/sema.rs:10:5 | 8 | pub struct Semaphore { | --------- field in this struct 9 | raw_sema: *mut libc::sem_t, 10 | name: CString | ^^^^ | = note: `Semaphore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default warning: `prefixdevname` (bin "prefixdevname") generated 19 warnings (run `cargo fix --bin "prefixdevname"` to apply 16 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 15.80s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lXJ9bB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64 ++ dirname /builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd prefixdevname-0.1.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64/usr/lib/udev/rules.d mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64/usr/lib/dracut/modules.d/71prefixdevname install -p -m 0755 target/release/prefixdevname /builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64/usr/lib/udev/ install -p -m 644 rules/71-prefixdevname.rules /builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64/usr/lib/udev/rules.d/ install -p -m 0755 dracut/71prefixdevname/module-setup.sh /builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64/usr/lib/dracut/modules.d/71prefixdevname/ + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 0.1.0-5.an23 --unique-debug-suffix -0.1.0-5.an23.aarch64 --unique-debug-src-base prefixdevname-0.1.0-5.an23.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/prefixdevname-0.1.0 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/prefixdevname-0.1.0-5.an23.aarch64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs mangling shebang in /usr/lib/dracut/modules.d/71prefixdevname/module-setup.sh from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 -j80 + /usr/lib/rpm/anolis/brp-python-hardlink Processing files: prefixdevname-0.1.0-5.an23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4OybYz + umask 022 + cd /builddir/build/BUILD + cd prefixdevname-0.1.0 + DOCDIR=/builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64/usr/share/doc/prefixdevname + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64/usr/share/doc/prefixdevname + cp -pr README.md /builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64/usr/share/doc/prefixdevname + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ZUWGwU + umask 022 + cd /builddir/build/BUILD + cd prefixdevname-0.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64/usr/share/licenses/prefixdevname + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64/usr/share/licenses/prefixdevname + cp -pr LICENSE /builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64/usr/share/licenses/prefixdevname + RPM_EC=0 ++ jobs -p + exit 0 Provides: prefixdevname = 0.1.0-5.an23 prefixdevname(aarch-64) = 0.1.0-5.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.18)(64bit) libc.so.6(GLIBC_2.25)(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_4.2.0)(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) rtld(GNU_HASH) Processing files: prefixdevname-debugsource-0.1.0-5.an23.aarch64 Provides: prefixdevname-debugsource = 0.1.0-5.an23 prefixdevname-debugsource(aarch-64) = 0.1.0-5.an23 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-5.an23.aarch64 Provides: debuginfo(build-id) = 6156549496010339e5b05b52570db030e63dadb2 prefixdevname-debuginfo = 0.1.0-5.an23 prefixdevname-debuginfo(aarch-64) = 0.1.0-5.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: prefixdevname-debugsource(aarch-64) = 0.1.0-5.an23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/prefixdevname-0.1.0-5.an23.aarch64 Wrote: /builddir/build/RPMS/prefixdevname-0.1.0-5.an23.aarch64.rpm Wrote: /builddir/build/RPMS/prefixdevname-debugsource-0.1.0-5.an23.aarch64.rpm Wrote: /builddir/build/RPMS/prefixdevname-debuginfo-0.1.0-5.an23.aarch64.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0