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-441849-73171/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.b9fpy6r1:/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.b9fpy6r1:/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', '25f401394b1d44c5ad37e293c5d52085', '-D', '/var/lib/mock/dist-an23-build-441849-73171/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b9fpy6r1:/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=1748563200 Wrote: /builddir/build/SRPMS/prefixdevname-0.1.0-4.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-441849-73171/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.b9fpy6r1:/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.b9fpy6r1:/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', '81cd0180ee6e4ddb8ac4f0c15c962eab', '-D', '/var/lib/mock/dist-an23-build-441849-73171/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b9fpy6r1:/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=1748563200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.P3dAQu + 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.FaLiNa + 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 regex v1.0.1 Compiling ucd-util v0.1.1 Compiling lazy_static v1.0.1 Compiling utf8-ranges v1.0.0 Compiling cfg-if v0.1.3 Compiling quick-error v1.2.2 Compiling termcolor v0.3.6 Compiling rust-ini v0.12.2 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=2d200b6e83a42e64 -C extra-filename=-2d200b6e83a42e64 --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=2998e7dc6f126502 -C extra-filename=-2998e7dc6f126502 --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=52d074162357e35f -C extra-filename=-52d074162357e35f --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=1f5d99912f86127c -C extra-filename=-1f5d99912f86127c --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/build/regex-1f5d99912f86127c -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 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=67f34481ba407ff9 -C extra-filename=-67f34481ba407ff9 --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=a3eb006e7830018d -C extra-filename=-a3eb006e7830018d --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=940617b0676ad448 -C extra-filename=-940617b0676ad448 --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 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=07a4f0dff67405a3 -C extra-filename=-07a4f0dff67405a3 --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=1d7144ca2aa8f58a -C extra-filename=-1d7144ca2aa8f58a --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=427c241fe90d9dba -C extra-filename=-427c241fe90d9dba --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=df039396a3b948ae -C extra-filename=-df039396a3b948ae --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=5bacffaed3ed806a -C extra-filename=-5bacffaed3ed806a --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-07a4f0dff67405a3.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=d8e0d31d699db86e -C extra-filename=-d8e0d31d699db86e --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-2998e7dc6f126502.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=af2962269f87b3d4 -C extra-filename=-af2962269f87b3d4 --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-1d7144ca2aa8f58a.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=46f591cd2ef9c83d -C extra-filename=-46f591cd2ef9c83d --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-67f34481ba407ff9.rmeta --extern unreachable=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libunreachable-d8e0d31d699db86e.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=980755d0a4bc12d0 -C extra-filename=-980755d0a4bc12d0 --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-a3eb006e7830018d.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 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=f8f816d1f82f09eb -C extra-filename=-f8f816d1f82f09eb --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-2d200b6e83a42e64.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` 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=d32de7c144078a78 -C extra-filename=-d32de7c144078a78 --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-2d200b6e83a42e64.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=3eee490c5b55e29e -C extra-filename=-3eee490c5b55e29e --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-f8f816d1f82f09eb.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-1f5d99912f86127c/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=e97aa5c89c02d521 -C extra-filename=-e97aa5c89c02d521 --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-3eee490c5b55e29e.rmeta --extern memchr=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libmemchr-f8f816d1f82f09eb.rmeta --extern regex_syntax=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libregex_syntax-980755d0a4bc12d0.rmeta --extern thread_local=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libthread_local-46f591cd2ef9c83d.rmeta --extern utf8_ranges=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libutf8_ranges-940617b0676ad448.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=acd9759b2e79cfb9 -C extra-filename=-acd9759b2e79cfb9 --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/build/libudev-sys-acd9759b2e79cfb9 -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-52d074162357e35f.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=8690f0728d31ae56 -C extra-filename=-8690f0728d31ae56 --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-d32de7c144078a78.rmeta --extern humantime=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libhumantime-af2962269f87b3d4.rmeta --extern log=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblog-5bacffaed3ed806a.rmeta --extern regex=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libregex-e97aa5c89c02d521.rmeta --extern termcolor=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libtermcolor-427c241fe90d9dba.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-acd9759b2e79cfb9/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=795cfbc3e5f30262 -C extra-filename=-795cfbc3e5f30262 --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-2d200b6e83a42e64.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=7532a229040ea2de -C extra-filename=-7532a229040ea2de --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-2d200b6e83a42e64.rmeta --extern libudev_sys=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblibudev_sys-795cfbc3e5f30262.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=e790cb8034c85592 -C extra-filename=-e790cb8034c85592 --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-8690f0728d31ae56.rlib --extern lazy_static=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblazy_static-67f34481ba407ff9.rlib --extern libc=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblibc-2d200b6e83a42e64.rlib --extern libudev=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblibudev-7532a229040ea2de.rlib --extern log=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblog-5bacffaed3ed806a.rlib --extern regex=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libregex-e97aa5c89c02d521.rlib --extern ini=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libini-df039396a3b948ae.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 16.43s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.c8PnPT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.aarch64 ++ dirname /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.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-4.an23.aarch64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.aarch64/usr/lib/udev/rules.d mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.aarch64/usr/lib/dracut/modules.d/71prefixdevname install -p -m 0755 target/release/prefixdevname /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.aarch64/usr/lib/udev/ install -p -m 644 rules/71-prefixdevname.rules /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.aarch64/usr/lib/udev/rules.d/ install -p -m 0755 dracut/71prefixdevname/module-setup.sh /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.aarch64/usr/lib/dracut/modules.d/71prefixdevname/ + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 0.1.0-4.an23 --unique-debug-suffix -0.1.0-4.an23.aarch64 --unique-debug-src-base prefixdevname-0.1.0-4.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-4.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-4.an23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bHYjD5 + umask 022 + cd /builddir/build/BUILD + cd prefixdevname-0.1.0 + DOCDIR=/builddir/build/BUILDROOT/prefixdevname-0.1.0-4.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-4.an23.aarch64/usr/share/doc/prefixdevname + cp -pr README.md /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.aarch64/usr/share/doc/prefixdevname + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.BYeEz6 + umask 022 + cd /builddir/build/BUILD + cd prefixdevname-0.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/prefixdevname-0.1.0-4.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-4.an23.aarch64/usr/share/licenses/prefixdevname + cp -pr LICENSE /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.aarch64/usr/share/licenses/prefixdevname + RPM_EC=0 ++ jobs -p + exit 0 Provides: prefixdevname = 0.1.0-4.an23 prefixdevname(aarch-64) = 0.1.0-4.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-4.an23.aarch64 Provides: prefixdevname-debugsource = 0.1.0-4.an23 prefixdevname-debugsource(aarch-64) = 0.1.0-4.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-4.an23.aarch64 Provides: debuginfo(build-id) = e33b52abca9b32d7db37a53efd0fa983875ef0e6 prefixdevname-debuginfo = 0.1.0-4.an23 prefixdevname-debuginfo(aarch-64) = 0.1.0-4.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-4.an23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.aarch64 Wrote: /builddir/build/RPMS/prefixdevname-0.1.0-4.an23.aarch64.rpm Wrote: /builddir/build/RPMS/prefixdevname-debugsource-0.1.0-4.an23.aarch64.rpm Wrote: /builddir/build/RPMS/prefixdevname-debuginfo-0.1.0-4.an23.aarch64.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0