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 x86_64 --nodeps /builddir/build/SPECS/rust-libmount.spec'], chrootPath='/var/lib/mock/f41-build-57431263-6552507/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z_9auwv0:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z_9auwv0:/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', '818615d8750547559abb0db970e8bb56', '-D', '/var/lib/mock/f41-build-57431263-6552507/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z_9auwv0:/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 x86_64 --nodeps /builddir/build/SPECS/rust-libmount.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1735862400 Wrote: /builddir/build/SRPMS/rust-libmount-0.1.15-16.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-libmount.spec'], chrootPath='/var/lib/mock/f41-build-57431263-6552507/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z_9auwv0:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z_9auwv0:/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', 'da142350e35346caba85e9aac7a259a6', '-D', '/var/lib/mock/f41-build-57431263-6552507/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z_9auwv0:/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 -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-libmount.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1735862400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.lPsv31 + umask 022 + cd /builddir/build/BUILD/rust-libmount-0.1.15-build + test -d /builddir/build/BUILD/rust-libmount-0.1.15-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/rust-libmount-0.1.15-build + /usr/bin/rm -rf /builddir/build/BUILD/rust-libmount-0.1.15-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-libmount-0.1.15-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-libmount-0.1.15-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WvLjVV + umask 022 + cd /builddir/build/BUILD/rust-libmount-0.1.15-build + cd /builddir/build/BUILD/rust-libmount-0.1.15-build + rm -rf libmount-0.1.15 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libmount-0.1.15.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd libmount-0.1.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libmount-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-port-to-nix-0.26.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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 + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.3651xe + umask 022 + cd /builddir/build/BUILD/rust-libmount-0.1.15-build + cd libmount-0.1.15 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-libmount-0.1.15-16.fc41.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-libmount.spec'], chrootPath='/var/lib/mock/f41-build-57431263-6552507/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z_9auwv0:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z_9auwv0:/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', '46174d7f3ddb4ab0a617521985a751c6', '-D', '/var/lib/mock/f41-build-57431263-6552507/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z_9auwv0:/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 -br --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-libmount.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1735862400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ZIlnPd + umask 022 + cd /builddir/build/BUILD/rust-libmount-0.1.15-build + cd libmount-0.1.15 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-libmount-0.1.15-16.fc41.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 /builddir/build/SPECS/rust-libmount.spec'], chrootPath='/var/lib/mock/f41-build-57431263-6552507/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z_9auwv0:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z_9auwv0:/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', '964074c8367346f7bb648bf13b9d4403', '-D', '/var/lib/mock/f41-build-57431263-6552507/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z_9auwv0:/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 -ba --noprep --noclean --target x86_64 /builddir/build/SPECS/rust-libmount.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1735862400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Q5V7lO + umask 022 + cd /builddir/build/BUILD/rust-libmount-0.1.15-build + cd libmount-0.1.15 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oUQEvX + umask 022 + cd /builddir/build/BUILD/rust-libmount-0.1.15-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libmount-0.1.15 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j6 -Z avoid-dev-deps --profile rpm warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Compiling libc v0.2.169 Compiling cfg_aliases v0.2.1 Compiling cfg-if v1.0.0 Compiling bitflags v2.8.0 Compiling quick-error v1.2.3 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.169/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="extra_traits"' --cfg 'feature="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=93268aa9d9cf61d5 -C extra-filename=-93268aa9d9cf61d5 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/build/libc-93268aa9d9cf61d5 -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name cfg_aliases --edition=2018 /usr/share/cargo/registry/cfg_aliases-0.2.1/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 '--deny=clippy::str_to_string' -C debug-assertions=off --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=5272a1ebb0b43cbb -C extra-filename=-5272a1ebb0b43cbb --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/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("compiler_builtins", "core", "rustc-dep-of-std"))' -C metadata=b056216c9cf44ec9 -C extra-filename=-b056216c9cf44ec9 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name bitflags --edition=2021 /usr/share/cargo/registry/bitflags-2.8.0/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("arbitrary", "bytemuck", "compiler_builtins", "core", "example_generated", "rustc-dep-of-std", "serde", "std"))' -C metadata=ba1284b897cdd410 -C extra-filename=-ba1284b897cdd410 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name quick_error --edition=2015 /usr/share/cargo/registry/quick-error-1.2.3/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=f3560528ced036b9 -C extra-filename=-f3560528ced036b9 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling nix v0.29.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/nix-0.29.0/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="feature"' --cfg 'feature="mount"' --cfg 'feature="uio"' --cfg 'feature="user"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("acct", "aio", "default", "dir", "env", "event", "fanotify", "feature", "fs", "hostname", "inotify", "ioctl", "kmod", "memoffset", "mman", "mount", "mqueue", "net", "personality", "pin-utils", "poll", "process", "pthread", "ptrace", "quota", "reboot", "resource", "sched", "signal", "socket", "term", "time", "ucontext", "uio", "user", "zerocopy"))' -C metadata=57a757137617ebb6 -C extra-filename=-57a757137617ebb6 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/build/nix-57a757137617ebb6 -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern cfg_aliases=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libcfg_aliases-5272a1ebb0b43cbb.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/build/libc-93268aa9d9cf61d5/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.169/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="extra_traits"' --cfg 'feature="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=694c6bc67c5516b8 -C extra-filename=-694c6bc67c5516b8 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg freebsd11 --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_new_stat_abi)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(libc_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Running `/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/build/nix-57a757137617ebb6/build-script-build` Running `/usr/bin/rustc --crate-name nix --edition=2021 /usr/share/cargo/registry/nix-0.29.0/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="feature"' --cfg 'feature="mount"' --cfg 'feature="uio"' --cfg 'feature="user"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("acct", "aio", "default", "dir", "env", "event", "fanotify", "feature", "fs", "hostname", "inotify", "ioctl", "kmod", "memoffset", "mman", "mount", "mqueue", "net", "personality", "pin-utils", "poll", "process", "pthread", "ptrace", "quota", "reboot", "resource", "sched", "signal", "socket", "term", "time", "ucontext", "uio", "user", "zerocopy"))' -C metadata=6dec6273b7738ece -C extra-filename=-6dec6273b7738ece --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libbitflags-ba1284b897cdd410.rmeta --extern cfg_if=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libcfg_if-b056216c9cf44ec9.rmeta --extern libc=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibc-694c6bc67c5516b8.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg linux --cfg linux_android --check-cfg 'cfg(android)' --check-cfg 'cfg(dragonfly)' --check-cfg 'cfg(ios)' --check-cfg 'cfg(freebsd)' --check-cfg 'cfg(illumos)' --check-cfg 'cfg(linux)' --check-cfg 'cfg(macos)' --check-cfg 'cfg(netbsd)' --check-cfg 'cfg(openbsd)' --check-cfg 'cfg(solaris)' --check-cfg 'cfg(watchos)' --check-cfg 'cfg(tvos)' --check-cfg 'cfg(visionos)' --check-cfg 'cfg(apple_targets)' --check-cfg 'cfg(bsd)' --check-cfg 'cfg(bsd_without_apple)' --check-cfg 'cfg(linux_android)' --check-cfg 'cfg(freebsdlike)' --check-cfg 'cfg(netbsdlike)' --check-cfg 'cfg(solarish)' --check-cfg 'cfg(apple_targets)' --check-cfg 'cfg(bsd)' --check-cfg 'cfg(bsd_without_apple)' --check-cfg 'cfg(linux_android)' --check-cfg 'cfg(freebsdlike)' --check-cfg 'cfg(netbsdlike)' --check-cfg 'cfg(solarish)' --check-cfg 'cfg(fbsd14)' --check-cfg 'cfg(qemu)'` Compiling libmount v0.1.15 (/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15) Running `/usr/bin/rustc --crate-name libmount --edition=2015 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=bb7bf35e6ad0fa2a -C extra-filename=-bb7bf35e6ad0fa2a --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern libc=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibc-694c6bc67c5516b8.rmeta --extern nix=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libnix-6dec6273b7738ece.rmeta --extern quick_error=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libquick_error-f3560528ced036b9.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: use of deprecated macro `try`: use the `?` operator instead --> src/bind.rs:75:13 | 75 | try!(Remount::new(OsStr::from_bytes(self.target.as_bytes())) | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/bind.rs:92:13 | 92 | try!(write!(fmt, "recursive ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:191:13 | 191 | try!(write!(fmt, "{}bind", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:195:13 | 195 | try!(write!(fmt, "{}ro", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:199:13 | 199 | try!(write!(fmt, "{}nodev", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:203:13 | 203 | try!(write!(fmt, "{}noexec", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:207:13 | 207 | try!(write!(fmt, "{}nosuid", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:211:13 | 211 | try!(write!(fmt, "{}noatime", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:215:13 | 215 | try!(write!(fmt, "{}nodiratime", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:219:13 | 219 | try!(write!(fmt, "{}relatime", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:223:13 | 223 | try!(write!(fmt, "{}strictatime", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:227:13 | 227 | try!(write!(fmt, "{}dirsync", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:231:13 | 231 | try!(write!(fmt, "{}sync", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:235:13 | 235 | try!(write!(fmt, "{}mand", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:244:13 | 244 | try!(write!(fmt, "{} ", self.flags)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:272:5 | 272 | try!(mountinfo_file.read_to_end(&mut mountinfo_content) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:263:25 | 263 | let mut mpath = try!(current_dir()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:269:30 | 269 | let mut mountinfo_file = try!(File::open(mountinfo_path) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:175:27 | 175 | let (mount_id, row) = try!(parse_int(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:176:28 | 176 | let (parent_id, row) = try!(parse_int(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:177:31 | 177 | let (major, minor, row) = try!(parse_major_minor(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:178:23 | 178 | let (root, row) = try!(parse_os_str(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:179:30 | 179 | let (mount_point, row) = try!(parse_os_str(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:180:32 | 180 | let (mount_options, row) = try!(parse_os_str(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:181:34 | 181 | let (optional_fields, row) = try!(parse_optional(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:182:25 | 182 | let (fstype, row) = try!(parse_os_str(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:183:31 | 183 | let (mount_source, row) = try!(parse_os_str(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:184:30 | 184 | let (super_options, _) = try!(parse_os_str(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:238:25 | 238 | let (field, tail) = try!(parse_field(data, b" ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:245:25 | 245 | let (field, tail) = try!(parse_field(data, b" ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:246:13 | 246 | let v = try!(std::str::from_utf8(field).map_err(|e| { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:250:13 | 250 | let v = try!(c_ulong::from_str_radix(v, 10).map_err(|e| { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:259:31 | 259 | let (major_field, data) = try!(parse_field(data, b":")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:260:31 | 260 | let (minor_field, tail) = try!(parse_field(data, b" ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:261:22 | 261 | let (major, _) = try!(parse_int(major_field)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:262:22 | 262 | let (minor, _) = try!(parse_int(minor_field)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:269:25 | 269 | let (field, tail) = try!(parse_field(data, b"- ")); | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:78:36 | 78 | pub struct OSError(MountError, Box); | ^^^^^^^^^^^ | = 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` | 78 | pub struct OSError(MountError, Box); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:96:22 | 96 | pub struct Error(Box, io::Error, String); | ^^^^^^^^^^^ | = 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` | 96 | pub struct Error(Box, io::Error, String); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:81:53 | 81 | fn from_remount(err: RemountError, explain: Box) -> OSError { | ^^^^^^^^^^^ | = 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` | 81 | fn from_remount(err: RemountError, explain: Box) -> OSError { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:85:47 | 85 | fn from_nix(err: nix::Error, explain: Box) -> OSError { | ^^^^^^^^^^^ | = 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` | 85 | fn from_nix(err: nix::Error, explain: Box) -> OSError { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:35:32 | 35 | fn cause(&self) -> Option<&StdError> { | ^^^^^^^^ | = 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` | 35 | fn cause(&self) -> Option<&dyn StdError> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:50:32 | 50 | fn cause(&self) -> Option<&StdError> { | ^^^^^^^^ | = 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` | 50 | fn cause(&self) -> Option<&dyn StdError> { | +++ warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:39:16 | 39 | self.0.description() | ^^^^^^^^^^^ warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:54:15 | 54 | self.1.description() | ^^^^^^^^^^^ warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/mountinfo.rs:51:32 | 51 | self.row_num, self.description(), self.row) | ^^^^^^^^^^^ warning: variable does not need to be mutable --> src/tmpfs.rs:116:13 | 116 | let mut options = self.format_options(); | ----^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: `libmount` (lib) generated 47 warnings (run `cargo fix --lib -p libmount` to apply 7 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 5.67s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PgMZwq + umask 022 + cd /builddir/build/BUILD/rust-libmount-0.1.15-build + '[' /builddir/build/BUILD/rust-libmount-0.1.15-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rust-libmount-0.1.15-build/BUILDROOT ++ dirname /builddir/build/BUILD/rust-libmount-0.1.15-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rust-libmount-0.1.15-build + mkdir /builddir/build/BUILD/rust-libmount-0.1.15-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libmount-0.1.15 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=libmount ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.15 + REG_DIR=/builddir/build/BUILD/rust-libmount-0.1.15-build/BUILDROOT/usr/share/cargo/registry/libmount-0.1.15 + /usr/bin/mkdir -p /builddir/build/BUILD/rust-libmount-0.1.15-build/BUILDROOT/usr/share/cargo/registry/libmount-0.1.15 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILD/rust-libmount-0.1.15-build/BUILDROOT/usr/share/cargo/registry/libmount-0.1.15 warning: no (git) VCS found for `/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILD/rust-libmount-0.1.15-build/BUILDROOT/usr/share/cargo/registry/libmount-0.1.15/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILD/rust-libmount-0.1.15-build/BUILDROOT/usr/share/cargo/registry/libmount-0.1.15/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j6 /builddir/build/BUILD/rust-libmount-0.1.15-build/BUILDROOT Scanned 8 directories and 24 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/rust-libmount-0.1.15-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.u62q2y + umask 022 + cd /builddir/build/BUILD/rust-libmount-0.1.15-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libmount-0.1.15 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j6 -Z avoid-dev-deps --profile rpm --no-fail-fast warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Compiling memchr v2.7.4 Fresh cfg_aliases v0.2.1 Compiling regex-syntax v0.8.5 Compiling utf8parse v0.2.2 Compiling anstyle v1.0.10 Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.4/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="alloc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=7dfb8a927fc629b7 -C extra-filename=-7dfb8a927fc629b7 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Fresh libc v0.2.169 Running `/usr/bin/rustc --crate-name utf8parse --edition=2018 /usr/share/cargo/registry/utf8parse-0.2.2/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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "nightly"))' -C metadata=3d8cf385685b3c9f -C extra-filename=-3d8cf385685b3c9f --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name regex_syntax --edition=2021 /usr/share/cargo/registry/regex-syntax-0.8.5/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("arbitrary", "default", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"))' -C metadata=39a8ad2d4fd6a987 -C extra-filename=-39a8ad2d4fd6a987 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling anstyle-query v1.1.2 Running `/usr/bin/rustc --crate-name anstyle --edition=2021 /usr/share/cargo/registry/anstyle-1.0.10/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 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::uninlined_format_args' '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=043ecf3d1cf38689 -C extra-filename=-043ecf3d1cf38689 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Fresh bitflags v2.8.0 Compiling colorchoice v1.0.3 Running `/usr/bin/rustc --crate-name anstyle_query --edition=2021 /usr/share/cargo/registry/anstyle-query-1.1.2/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 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::uninlined_format_args' '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=6884641ede59043e -C extra-filename=-6884641ede59043e --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name colorchoice --edition=2021 /usr/share/cargo/registry/colorchoice-1.0.3/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 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::uninlined_format_args' '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=1d8d7f05f62bcf75 -C extra-filename=-1d8d7f05f62bcf75 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling anstyle-parse v0.2.6 Running `/usr/bin/rustc --crate-name anstyle_parse --edition=2021 /usr/share/cargo/registry/anstyle-parse-0.2.6/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 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::uninlined_format_args' '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --cfg 'feature="default"' --cfg 'feature="utf8"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("core", "default", "utf8"))' -C metadata=a796302ebba16a70 -C extra-filename=-a796302ebba16a70 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern utf8parse=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libutf8parse-3d8cf385685b3c9f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling log v0.4.25 Running `/usr/bin/rustc --crate-name log --edition=2021 /usr/share/cargo/registry/log-0.4.25/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("kv", "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=e154e99e360af3b3 -C extra-filename=-e154e99e360af3b3 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Fresh cfg-if v1.0.0 Fresh nix v0.29.0 Compiling humantime v2.1.0 Running `/usr/bin/rustc --crate-name humantime --edition=2018 /usr/share/cargo/registry/humantime-2.1.0/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=94f31eb486fd5b50 -C extra-filename=-94f31eb486fd5b50 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling anstream v0.6.18 Running `/usr/bin/rustc --crate-name anstream --edition=2021 /usr/share/cargo/registry/anstream-0.6.18/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 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::uninlined_format_args' '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --cfg 'feature="auto"' --cfg 'feature="wincon"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("auto", "default", "test", "wincon"))' -C metadata=dda065ff9ce33c9a -C extra-filename=-dda065ff9ce33c9a --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern anstyle=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libanstyle-043ecf3d1cf38689.rmeta --extern anstyle_parse=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libanstyle_parse-a796302ebba16a70.rmeta --extern anstyle_query=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libanstyle_query-6884641ede59043e.rmeta --extern colorchoice=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libcolorchoice-1d8d7f05f62bcf75.rmeta --extern utf8parse=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libutf8parse-3d8cf385685b3c9f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Fresh quick-error v1.2.3 Compiling argparse v0.2.2 Running `/usr/bin/rustc --crate-name argparse --edition=2015 /usr/share/cargo/registry/argparse-0.2.2/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=1533d3b9b630b218 -C extra-filename=-1533d3b9b630b218 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: use of deprecated macro `try`: use the `?` operator instead --> src/bind.rs:75:13 | 75 | try!(Remount::new(OsStr::from_bytes(self.target.as_bytes())) | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/bind.rs:92:13 | 92 | try!(write!(fmt, "recursive ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:191:13 | 191 | try!(write!(fmt, "{}bind", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:195:13 | 195 | try!(write!(fmt, "{}ro", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:199:13 | 199 | try!(write!(fmt, "{}nodev", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:203:13 | 203 | try!(write!(fmt, "{}noexec", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:207:13 | 207 | try!(write!(fmt, "{}nosuid", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:211:13 | 211 | try!(write!(fmt, "{}noatime", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:215:13 | 215 | try!(write!(fmt, "{}nodiratime", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:219:13 | 219 | try!(write!(fmt, "{}relatime", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:223:13 | 223 | try!(write!(fmt, "{}strictatime", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:227:13 | 227 | try!(write!(fmt, "{}dirsync", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:231:13 | 231 | try!(write!(fmt, "{}sync", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:235:13 | 235 | try!(write!(fmt, "{}mand", prefix)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:244:13 | 244 | try!(write!(fmt, "{} ", self.flags)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:272:5 | 272 | try!(mountinfo_file.read_to_end(&mut mountinfo_content) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:263:25 | 263 | let mut mpath = try!(current_dir()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/remount.rs:269:30 | 269 | let mut mountinfo_file = try!(File::open(mountinfo_path) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:175:27 | 175 | let (mount_id, row) = try!(parse_int(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:176:28 | 176 | let (parent_id, row) = try!(parse_int(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:177:31 | 177 | let (major, minor, row) = try!(parse_major_minor(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:178:23 | 178 | let (root, row) = try!(parse_os_str(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:179:30 | 179 | let (mount_point, row) = try!(parse_os_str(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:180:32 | 180 | let (mount_options, row) = try!(parse_os_str(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:181:34 | 181 | let (optional_fields, row) = try!(parse_optional(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:182:25 | 182 | let (fstype, row) = try!(parse_os_str(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:183:31 | 183 | let (mount_source, row) = try!(parse_os_str(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:184:30 | 184 | let (super_options, _) = try!(parse_os_str(row)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:238:25 | 238 | let (field, tail) = try!(parse_field(data, b" ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:245:25 | 245 | let (field, tail) = try!(parse_field(data, b" ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:246:13 | 246 | let v = try!(std::str::from_utf8(field).map_err(|e| { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:250:13 | 250 | let v = try!(c_ulong::from_str_radix(v, 10).map_err(|e| { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:259:31 | 259 | let (major_field, data) = try!(parse_field(data, b":")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:260:31 | 260 | let (minor_field, tail) = try!(parse_field(data, b" ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:261:22 | 261 | let (major, _) = try!(parse_int(major_field)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:262:22 | 262 | let (minor, _) = try!(parse_int(minor_field)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/mountinfo.rs:269:25 | 269 | let (field, tail) = try!(parse_field(data, b"- ")); | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:78:36 | 78 | pub struct OSError(MountError, Box); | ^^^^^^^^^^^ | = 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` | 78 | pub struct OSError(MountError, Box); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:96:22 | 96 | pub struct Error(Box, io::Error, String); | ^^^^^^^^^^^ | = 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` | 96 | pub struct Error(Box, io::Error, String); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:81:53 | 81 | fn from_remount(err: RemountError, explain: Box) -> OSError { | ^^^^^^^^^^^ | = 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` | 81 | fn from_remount(err: RemountError, explain: Box) -> OSError { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:85:47 | 85 | fn from_nix(err: nix::Error, explain: Box) -> OSError { | ^^^^^^^^^^^ | = 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` | 85 | fn from_nix(err: nix::Error, explain: Box) -> OSError { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:35:32 | 35 | fn cause(&self) -> Option<&StdError> { | ^^^^^^^^ | = 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` | 35 | fn cause(&self) -> Option<&dyn StdError> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:50:32 | 50 | fn cause(&self) -> Option<&StdError> { | ^^^^^^^^ | = 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` | 50 | fn cause(&self) -> Option<&dyn StdError> { | +++ warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:39:16 | 39 | self.0.description() | ^^^^^^^^^^^ warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:54:15 | 54 | self.1.description() | ^^^^^^^^^^^ warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/mountinfo.rs:51:32 | 51 | self.row_num, self.description(), self.row) | ^^^^^^^^^^^ warning: variable does not need to be mutable --> src/tmpfs.rs:116:13 | 116 | let mut options = self.format_options(); | ----^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: `libmount` (lib) generated 47 warnings (run `cargo fix --lib -p libmount` to apply 7 suggestions) Compiling aho-corasick v1.1.3 Running `/usr/bin/rustc --crate-name aho_corasick --edition=2021 /usr/share/cargo/registry/aho-corasick-1.1.3/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="perf-literal"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "logging", "perf-literal", "std"))' -C metadata=e26afc997be70796 -C extra-filename=-e26afc997be70796 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern memchr=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libmemchr-7dfb8a927fc629b7.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling regex-automata v0.4.9 Running `/usr/bin/rustc --crate-name regex_automata --edition=2021 /usr/share/cargo/registry/regex-automata-0.4.9/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="alloc"' --cfg 'feature="dfa-onepass"' --cfg 'feature="hybrid"' --cfg 'feature="meta"' --cfg 'feature="nfa-backtrack"' --cfg 'feature="nfa-pikevm"' --cfg 'feature="nfa-thompson"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-literal-multisubstring"' --cfg 'feature="perf-literal-substring"' --cfg 'feature="std"' --cfg 'feature="syntax"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "dfa", "dfa-build", "dfa-onepass", "dfa-search", "hybrid", "internal-instrument", "internal-instrument-pikevm", "logging", "meta", "nfa", "nfa-backtrack", "nfa-pikevm", "nfa-thompson", "perf", "perf-inline", "perf-literal", "perf-literal-multisubstring", "perf-literal-substring", "std", "syntax", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unicode-word-boundary"))' -C metadata=850775a94c2ddd04 -C extra-filename=-850775a94c2ddd04 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern aho_corasick=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libaho_corasick-e26afc997be70796.rmeta --extern memchr=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libmemchr-7dfb8a927fc629b7.rmeta --extern regex_syntax=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libregex_syntax-39a8ad2d4fd6a987.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling regex v1.11.1 Running `/usr/bin/rustc --crate-name regex --edition=2021 /usr/share/cargo/registry/regex-1.11.1/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="perf"' --cfg 'feature="perf-backtrack"' --cfg 'feature="perf-cache"' --cfg 'feature="perf-dfa"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-onepass"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "logging", "pattern", "perf", "perf-backtrack", "perf-cache", "perf-dfa", "perf-dfa-full", "perf-inline", "perf-literal", "perf-onepass", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unstable", "use_std"))' -C metadata=a3a2991a2c520a12 -C extra-filename=-a3a2991a2c520a12 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern aho_corasick=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libaho_corasick-e26afc997be70796.rmeta --extern memchr=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libmemchr-7dfb8a927fc629b7.rmeta --extern regex_automata=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libregex_automata-850775a94c2ddd04.rmeta --extern regex_syntax=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libregex_syntax-39a8ad2d4fd6a987.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling env_filter v0.1.3 Running `/usr/bin/rustc --crate-name env_filter --edition=2021 /usr/share/cargo/registry/env_filter-0.1.3/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 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::uninlined_format_args' '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--allow=clippy::result_large_err' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --cfg 'feature="regex"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "regex"))' -C metadata=0284d9a52dd81da6 -C extra-filename=-0284d9a52dd81da6 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern log=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblog-e154e99e360af3b3.rmeta --extern regex=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libregex-a3a2991a2c520a12.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling env_logger v0.11.6 Running `/usr/bin/rustc --crate-name env_logger --edition=2021 /usr/share/cargo/registry/env_logger-0.11.6/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 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::uninlined_format_args' '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--allow=clippy::result_large_err' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --cfg 'feature="auto-color"' --cfg 'feature="color"' --cfg 'feature="default"' --cfg 'feature="humantime"' --cfg 'feature="regex"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("auto-color", "color", "default", "humantime", "regex", "unstable-kv"))' -C metadata=fdb1f7171635d60e -C extra-filename=-fdb1f7171635d60e --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern anstream=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libanstream-dda065ff9ce33c9a.rmeta --extern anstyle=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libanstyle-043ecf3d1cf38689.rmeta --extern env_filter=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libenv_filter-0284d9a52dd81da6.rmeta --extern humantime=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libhumantime-94f31eb486fd5b50.rmeta --extern log=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblog-e154e99e360af3b3.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling libmount v0.1.15 (/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15) Running `/usr/bin/rustc --crate-name libmount --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=bbe5c371f20e4565 -C extra-filename=-bbe5c371f20e4565 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern argparse=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libargparse-1533d3b9b630b218.rlib --extern env_logger=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libenv_logger-fdb1f7171635d60e.rlib --extern libc=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibc-694c6bc67c5516b8.rlib --extern log=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblog-e154e99e360af3b3.rlib --extern nix=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libnix-6dec6273b7738ece.rlib --extern quick_error=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libquick_error-f3560528ced036b9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name tmpfs --edition=2015 examples/tmpfs.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=d3666bc6c7d89164 -C extra-filename=-d3666bc6c7d89164 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern argparse=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libargparse-1533d3b9b630b218.rlib --extern env_logger=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libenv_logger-fdb1f7171635d60e.rlib --extern libc=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibc-694c6bc67c5516b8.rlib --extern libmount=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibmount-bb7bf35e6ad0fa2a.rlib --extern log=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblog-e154e99e360af3b3.rlib --extern nix=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libnix-6dec6273b7738ece.rlib --extern quick_error=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libquick_error-f3560528ced036b9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name overlay_writable --edition=2015 examples/overlay_writable.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=a44ac8a19ab64768 -C extra-filename=-a44ac8a19ab64768 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern argparse=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libargparse-1533d3b9b630b218.rlib --extern env_logger=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libenv_logger-fdb1f7171635d60e.rlib --extern libc=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibc-694c6bc67c5516b8.rlib --extern libmount=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibmount-bb7bf35e6ad0fa2a.rlib --extern log=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblog-e154e99e360af3b3.rlib --extern nix=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libnix-6dec6273b7738ece.rlib --extern quick_error=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libquick_error-f3560528ced036b9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name remount --edition=2015 examples/remount.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=94f2e21baa643949 -C extra-filename=-94f2e21baa643949 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern argparse=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libargparse-1533d3b9b630b218.rlib --extern env_logger=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libenv_logger-fdb1f7171635d60e.rlib --extern libc=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibc-694c6bc67c5516b8.rlib --extern libmount=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibmount-bb7bf35e6ad0fa2a.rlib --extern log=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblog-e154e99e360af3b3.rlib --extern nix=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libnix-6dec6273b7738ece.rlib --extern quick_error=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libquick_error-f3560528ced036b9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name move --edition=2015 examples/move.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=a6556a14d69e077c -C extra-filename=-a6556a14d69e077c --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern argparse=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libargparse-1533d3b9b630b218.rlib --extern env_logger=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libenv_logger-fdb1f7171635d60e.rlib --extern libc=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibc-694c6bc67c5516b8.rlib --extern libmount=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibmount-bb7bf35e6ad0fa2a.rlib --extern log=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblog-e154e99e360af3b3.rlib --extern nix=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libnix-6dec6273b7738ece.rlib --extern quick_error=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libquick_error-f3560528ced036b9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name overlay_readonly --edition=2015 examples/overlay_readonly.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=adbcc4f8e2fe6c58 -C extra-filename=-adbcc4f8e2fe6c58 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern argparse=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libargparse-1533d3b9b630b218.rlib --extern env_logger=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libenv_logger-fdb1f7171635d60e.rlib --extern libc=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibc-694c6bc67c5516b8.rlib --extern libmount=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibmount-bb7bf35e6ad0fa2a.rlib --extern log=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblog-e154e99e360af3b3.rlib --extern nix=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libnix-6dec6273b7738ece.rlib --extern quick_error=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libquick_error-f3560528ced036b9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name bind_mount --edition=2015 examples/bind_mount.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=db999e234090f1d4 -C extra-filename=-db999e234090f1d4 --out-dir /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern argparse=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libargparse-1533d3b9b630b218.rlib --extern env_logger=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libenv_logger-fdb1f7171635d60e.rlib --extern libc=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibc-694c6bc67c5516b8.rlib --extern libmount=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibmount-bb7bf35e6ad0fa2a.rlib --extern log=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblog-e154e99e360af3b3.rlib --extern nix=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libnix-6dec6273b7738ece.rlib --extern quick_error=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libquick_error-f3560528ced036b9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: `libmount` (lib test) generated 47 warnings (47 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 26.14s Running `/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libmount-bbe5c371f20e4565` running 23 tests test mountinfo::test::test_is_octal_encoding ... ok test mountinfo::test::test_mount_info_parser_comment ... ok test mountinfo::test::test_mount_info_parser_escaping ... ok test mountinfo::test::test_mount_info_parser_crlf ... ok test mountinfo::test::test_mount_info_parser_incomplete_row ... ok test mountinfo::test::test_mount_info_parser_invalid_int ... ok test mountinfo::test::test_mount_info_parser_invalid_escape ... ok test mountinfo::test::test_mount_info_parser_missing_optional_fields ... ok test mountinfo::test::test_mount_info_parser_more_optional_fields ... ok test mountinfo::test::test_mount_info_parser_non_utf8 ... ok test mountinfo::test::test_mount_info_parser_overflowed_escape ... ok test mountinfo::test::test_mount_info_parser_overflowed_int ... ok test mountinfo::test::test_mount_info_parser_proc ... ok test mountinfo::test::test_parse_octal ... ok test mountinfo::test::test_unescape_octals ... ok test remount::test::test_get_mountpoint_flags_from ... ok test remount::test::test_get_mountpoint_flags_from_dups ... ok test remount::test::test_mount_flags ... ok test remount::test::test_remount ... ok test remount::test::test_get_mountpoint_flags ... ok test tmpfs::test::test_tmpfs_options ... ok test remount::test::test_get_mountpoint_flags_unknown ... ok test remount::test::test_remount_unknown_mountpoint ... ok test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests libmount Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name libmount --test src/lib.rs --test-run-directory /builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15 -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps --extern argparse=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libargparse-1533d3b9b630b218.rlib --extern env_logger=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libenv_logger-fdb1f7171635d60e.rlib --extern libc=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibc-694c6bc67c5516b8.rlib --extern libmount=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblibmount-bb7bf35e6ad0fa2a.rlib --extern log=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/liblog-e154e99e360af3b3.rlib --extern nix=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libnix-6dec6273b7738ece.rlib --extern quick_error=/builddir/build/BUILD/rust-libmount-0.1.15-build/libmount-0.1.15/target/rpm/deps/libquick_error-f3560528ced036b9.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' --error-format human` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-libmount-devel-0.1.15-16.fc41.noarch warning: File listed twice: /usr/share/cargo/registry/libmount-0.1.15/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/libmount-0.1.15/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/libmount-0.1.15/README.md Provides: crate(libmount) = 0.1.15 rust-libmount-devel = 0.1.15-16.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(libc/default) >= 0.2.28 with crate(libc/default) < 0.3.0~) (crate(nix/default) >= 0.29.0 with crate(nix/default) < 0.30.0~) (crate(nix/mount) >= 0.29.0 with crate(nix/mount) < 0.30.0~) (crate(nix/user) >= 0.29.0 with crate(nix/user) < 0.30.0~) (crate(quick-error/default) >= 1.2.0 with crate(quick-error/default) < 2.0.0~) cargo Processing files: rust-libmount+default-devel-0.1.15-16.fc41.noarch Provides: crate(libmount/default) = 0.1.15 rust-libmount+default-devel = 0.1.15-16.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libmount) = 0.1.15 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/rust-libmount-0.1.15-build/BUILDROOT Wrote: /builddir/build/SRPMS/rust-libmount-0.1.15-16.fc41.src.rpm Wrote: /builddir/build/RPMS/rust-libmount+default-devel-0.1.15-16.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-libmount-devel-0.1.15-16.fc41.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/libmount-0.1.15/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/libmount-0.1.15/LICENSE-MIT File listed twice: /usr/share/cargo/registry/libmount-0.1.15/README.md Child return code was: 0