Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/prefixdevname.spec'], chrootPath='/var/lib/mock/dist-an23-build-441850-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'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m847e8qf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m847e8qf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '2bdd406181e34ed296f96ff24881e7ed', '-D', '/var/lib/mock/dist-an23-build-441850-73171/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m847e8qf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '--console=pipe', '--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 loongarch64 --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 Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1748563200 Wrote: /builddir/build/SRPMS/prefixdevname-0.1.0-4.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/prefixdevname.spec'], chrootPath='/var/lib/mock/dist-an23-build-441850-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'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m847e8qf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m847e8qf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '3f97e35eedc842aabcc732eeb7a05173', '-D', '/var/lib/mock/dist-an23-build-441850-73171/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m847e8qf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '--console=pipe', '--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 loongarch64 --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 Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1748563200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nQdaou + 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 . + 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 + sed -i s/0.2.40/0.2.144/g Cargo.toml + rm -rf vendor/libc/ + cp -r /usr/share/cargo/vendor/libc vendor/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IfxlFq + 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 -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 -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 -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 -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 -j32 --profile rpm warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Locking 1 package to latest compatible version Updating libc v0.2.42 -> v0.2.144 Compiling libc v0.2.144 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /builddir/build/BUILD/prefixdevname-0.1.0/vendor/libc/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --cfg 'feature="use_std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=080118ee1736f95c -C extra-filename=-080118ee1736f95c --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/build/libc-080118ee1736f95c -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 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 quick-error v1.2.2 Compiling cfg-if v0.1.3 Compiling utf8-ranges v1.0.0 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=851ba02a55d850fd -C extra-filename=-851ba02a55d850fd --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=0400b2aeb02b666f -C extra-filename=-0400b2aeb02b666f --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/build/regex-0400b2aeb02b666f -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=9783035a5cd5d404 -C extra-filename=-9783035a5cd5d404 --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=6e74cf74d90622e7 -C extra-filename=-6e74cf74d90622e7 --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=8b61c3929bbbd322 -C extra-filename=-8b61c3929bbbd322 --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=e4e065a1e4506cab -C extra-filename=-e4e065a1e4506cab --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=c01232de0e7acca1 -C extra-filename=-c01232de0e7acca1 --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=86f319bbdab2b0b1 -C extra-filename=-86f319bbdab2b0b1 --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=f415df49e84fd377 -C extra-filename=-f415df49e84fd377 --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=3b9c4b281983c258 -C extra-filename=-3b9c4b281983c258 --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=c53d999ca972ad69 -C extra-filename=-c53d999ca972ad69 --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-8b61c3929bbbd322.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=ab5a5fc669b22d76 -C extra-filename=-ab5a5fc669b22d76 --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-9783035a5cd5d404.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=4b3027a523ce8c23 -C extra-filename=-4b3027a523ce8c23 --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-e4e065a1e4506cab.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=ce0267415f3e9c32 -C extra-filename=-ce0267415f3e9c32 --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-6e74cf74d90622e7.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=67ea13cc1c38d755 -C extra-filename=-67ea13cc1c38d755 --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-851ba02a55d850fd.rmeta --extern unreachable=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libunreachable-ab5a5fc669b22d76.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/libc-080118ee1736f95c/build-script-build` 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="std"' --cfg 'feature="use_std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=dc11f1daeabbbd63 -C extra-filename=-dc11f1daeabbbd63 --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 --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Running `/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/build/regex-0400b2aeb02b666f/build-script-build` 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=aa7d772c9362d37e -C extra-filename=-aa7d772c9362d37e --out-dir /builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/build/libudev-sys-aa7d772c9362d37e -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-c01232de0e7acca1.rlib --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-aa7d772c9362d37e/build-script-build` 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=f52e68c92bdaee7b -C extra-filename=-f52e68c92bdaee7b --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-dc11f1daeabbbd63.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=0898b15e2ea8e1f9 -C extra-filename=-0898b15e2ea8e1f9 --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-dc11f1daeabbbd63.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` 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=7e22475cf7dd5707 -C extra-filename=-7e22475cf7dd5707 --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-dc11f1daeabbbd63.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -L native=/usr/lib64 -l udev --cfg hwdb` 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=e1cc7556fa2b3a93 -C extra-filename=-e1cc7556fa2b3a93 --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-f52e68c92bdaee7b.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` 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=ffcbec43295be97b -C extra-filename=-ffcbec43295be97b --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-dc11f1daeabbbd63.rmeta --extern libudev_sys=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblibudev_sys-7e22475cf7dd5707.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -L native=/usr/lib64` 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=e18a94091a099a11 -C extra-filename=-e18a94091a099a11 --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-e1cc7556fa2b3a93.rmeta --extern memchr=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libmemchr-f52e68c92bdaee7b.rmeta --extern regex_syntax=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libregex_syntax-ce0267415f3e9c32.rmeta --extern thread_local=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libthread_local-67ea13cc1c38d755.rmeta --extern utf8_ranges=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libutf8_ranges-f415df49e84fd377.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 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=e2b7ced22e845e24 -C extra-filename=-e2b7ced22e845e24 --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-0898b15e2ea8e1f9.rmeta --extern humantime=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libhumantime-4b3027a523ce8c23.rmeta --extern log=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblog-c53d999ca972ad69.rmeta --extern regex=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libregex-e18a94091a099a11.rmeta --extern termcolor=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libtermcolor-86f319bbdab2b0b1.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none` 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=bb654a787a69d96b -C extra-filename=-bb654a787a69d96b --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-e2b7ced22e845e24.rlib --extern lazy_static=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblazy_static-851ba02a55d850fd.rlib --extern libc=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblibc-dc11f1daeabbbd63.rlib --extern libudev=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblibudev-ffcbec43295be97b.rlib --extern log=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/liblog-c53d999ca972ad69.rlib --extern regex=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libregex-e18a94091a099a11.rlib --extern ini=/builddir/build/BUILD/prefixdevname-0.1.0/target/rpm/deps/libini-3b9c4b281983c258.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 43.63s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kIUJnW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.loongarch64 ++ dirname /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.loongarch64 + 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 -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 -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 -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 -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.loongarch64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.loongarch64/usr/lib/udev/rules.d mkdir -p /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.loongarch64/usr/lib/dracut/modules.d/71prefixdevname install -p -m 0755 target/release/prefixdevname /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.loongarch64/usr/lib/udev/ install -p -m 644 rules/71-prefixdevname.rules /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.loongarch64/usr/lib/udev/rules.d/ install -p -m 0755 dracut/71prefixdevname/module-setup.sh /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.loongarch64/usr/lib/dracut/modules.d/71prefixdevname/ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.1.0-4.an23 --unique-debug-suffix -0.1.0-4.an23.loongarch64 --unique-debug-src-base prefixdevname-0.1.0-4.an23.loongarch64 --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.loongarch64 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 -j32 + /usr/lib/rpm/anolis/brp-python-hardlink Processing files: prefixdevname-0.1.0-4.an23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RX44wh + umask 022 + cd /builddir/build/BUILD + cd prefixdevname-0.1.0 + DOCDIR=/builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.loongarch64/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.loongarch64/usr/share/doc/prefixdevname + cp -pr README.md /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.loongarch64/usr/share/doc/prefixdevname + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6c4bPb + umask 022 + cd /builddir/build/BUILD + cd prefixdevname-0.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.loongarch64/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.loongarch64/usr/share/licenses/prefixdevname + cp -pr LICENSE /builddir/build/BUILDROOT/prefixdevname-0.1.0-4.an23.loongarch64/usr/share/licenses/prefixdevname + RPM_EC=0 ++ jobs -p + exit 0 Provides: prefixdevname = 0.1.0-4.an23 prefixdevname(loongarch-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 ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(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.loongarch64 Provides: prefixdevname-debugsource = 0.1.0-4.an23 prefixdevname-debugsource(loongarch-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.loongarch64 Provides: debuginfo(build-id) = 670ca2f1a69545db11da7bdb2f1ed8bf2a01be15 prefixdevname-debuginfo = 0.1.0-4.an23 prefixdevname-debuginfo(loongarch-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(loongarch-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.loongarch64 Wrote: /builddir/build/RPMS/prefixdevname-0.1.0-4.an23.loongarch64.rpm Wrote: /builddir/build/RPMS/prefixdevname-debugsource-0.1.0-4.an23.loongarch64.rpm Wrote: /builddir/build/RPMS/prefixdevname-debuginfo-0.1.0-4.an23.loongarch64.rpm Child return code was: 0