Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-libmount.spec'], chrootPath='/var/lib/mock/f39-build-1969236-43312/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=864000uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1701993600 Wrote: /builddir/build/SRPMS/rust-libmount-0.1.15-1.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-libmount.spec'], chrootPath='/var/lib/mock/f39-build-1969236-43312/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=864000uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1701993600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NvkbAI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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 + rm -rf /builddir/build/BUILD/libmount-0.1.15-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/libmount-0.1.15-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + 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.jhPVx3 + umask 022 + cd /builddir/build/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-1.fc39.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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-libmount.spec'], chrootPath='/var/lib/mock/f39-build-1969236-43312/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=864000uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1701993600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DQKaFI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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 + rm -rf /builddir/build/BUILD/libmount-0.1.15-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/libmount-0.1.15-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + 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.UDgMGM + umask 022 + cd /builddir/build/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-1.fc39.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 riscv64 --nodeps /builddir/build/SPECS/rust-libmount.spec'], chrootPath='/var/lib/mock/f39-build-1969236-43312/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=864000uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1701993600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.0ZVNZU + umask 022 + cd /builddir/build/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.2w1WHo + umask 022 + cd /builddir/build/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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j64 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.150 Compiling nix v0.14.1 Compiling bitflags v1.3.2 Compiling void v1.0.2 Compiling cfg-if v0.1.10 Compiling quick-error v1.2.3 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.150/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=714be6a4480f9062 -C extra-filename=-714be6a4480f9062 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/build/libc-714be6a4480f9062 -L dependency=/builddir/build/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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/nix-0.14.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=c4e847b846567510 -C extra-filename=-c4e847b846567510 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/build/nix-c4e847b846567510 -L dependency=/builddir/build/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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name void /usr/share/cargo/registry/void-1.0.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"' --cfg 'feature="std"' -C metadata=415d88f3075d2abf -C extra-filename=-415d88f3075d2abf --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name bitflags --edition=2018 /usr/share/cargo/registry/bitflags-1.3.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"' -C metadata=052f2961673cff32 -C extra-filename=-052f2961673cff32 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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-0.1.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 -C metadata=83fc4fdd038157b3 -C extra-filename=-83fc4fdd038157b3 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name quick_error /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 -C metadata=38488584c921defe -C extra-filename=-38488584c921defe --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/libmount-0.1.15/target/rpm/build/nix-c4e847b846567510/build-script-build` Running `/builddir/build/BUILD/libmount-0.1.15/target/rpm/build/libc-714be6a4480f9062/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.150/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=727a43331c17ed30 -C extra-filename=-727a43331c17ed30 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Running `/usr/bin/rustc --crate-name nix /usr/share/cargo/registry/nix-0.14.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 -C metadata=5b4867548e6e1098 -C extra-filename=-5b4867548e6e1098 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps --extern bitflags=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libbitflags-052f2961673cff32.rmeta --extern cfg_if=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libcfg_if-83fc4fdd038157b3.rmeta --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-727a43331c17ed30.rmeta --extern void=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libvoid-415d88f3075d2abf.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling libmount v0.1.15 (/builddir/build/BUILD/libmount-0.1.15) Running `/usr/bin/rustc --crate-name libmount 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 -C metadata=9d96085d70c94193 -C extra-filename=-9d96085d70c94193 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-727a43331c17ed30.rmeta --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-5b4867548e6e1098.rmeta --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-38488584c921defe.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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: use `dyn` | 78 | pub struct OSError(MountError, Box); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:101:22 | 101 | 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: use `dyn` | 101 | 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: 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: 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: 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: 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 [optimized + debuginfo] target(s) in 39.61s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yseRwP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-libmount-0.1.15-1.fc39.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-libmount-0.1.15-1.fc39.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-libmount-0.1.15-1.fc39.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-libmount-0.1.15-1.fc39.riscv64 + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 ']' ++ /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/BUILDROOT/rust-libmount-0.1.15-1.fc39.riscv64/usr/share/cargo/registry/libmount-0.1.15 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-libmount-0.1.15-1.fc39.riscv64/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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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/BUILDROOT/rust-libmount-0.1.15-1.fc39.riscv64/usr/share/cargo/registry/libmount-0.1.15 warning: No (git) VCS found for `/builddir/build/BUILD/libmount-0.1.15` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-libmount-0.1.15-1.fc39.riscv64/usr/share/cargo/registry/libmount-0.1.15/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-libmount-0.1.15-1.fc39.riscv64/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 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.wwF29C + umask 022 + cd /builddir/build/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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j64 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh libc v0.2.150 Compiling memchr v2.6.4 Fresh quick-error v1.2.3 Compiling regex-syntax v0.8.2 Fresh cfg-if v0.1.10 Fresh void v1.0.2 Fresh bitflags v1.3.2 Compiling atty v0.2.14 Compiling log v0.4.20 Compiling termcolor v1.4.0 Compiling argparse v0.2.2 Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.6.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="default"' --cfg 'feature="std"' -C metadata=666a83ea1851e1a7 -C extra-filename=-666a83ea1851e1a7 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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.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"' --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=fc533c8410a53cdb -C extra-filename=-fc533c8410a53cdb --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name atty /usr/share/cargo/registry/atty-0.2.14/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 -C metadata=30da88a06dc1125f -C extra-filename=-30da88a06dc1125f --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-727a43331c17ed30.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name log /usr/share/cargo/registry/log-0.4.20/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"' -C metadata=f388283698fd4307 -C extra-filename=-f388283698fd4307 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling humantime v1.3.0 Running `/usr/bin/rustc --crate-name termcolor --edition=2018 /usr/share/cargo/registry/termcolor-1.4.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 -C metadata=2fee8845c59c2419 -C extra-filename=-2fee8845c59c2419 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name argparse /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 -C metadata=3a1b4d5177243313 -C extra-filename=-3a1b4d5177243313 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Fresh nix v0.14.1 Running `/usr/bin/rustc --crate-name humantime /usr/share/cargo/registry/humantime-1.3.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 -C metadata=d36b4a5e348f1ef3 -C extra-filename=-d36b4a5e348f1ef3 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-38488584c921defe.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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: use `dyn` | 78 | pub struct OSError(MountError, Box); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:101:22 | 101 | 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: use `dyn` | 101 | 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: 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: 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: 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: 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.2 Running `/usr/bin/rustc --crate-name aho_corasick --edition=2021 /usr/share/cargo/registry/aho-corasick-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 --cfg 'feature="default"' --cfg 'feature="perf-literal"' --cfg 'feature="std"' -C metadata=0756dedcced46d87 -C extra-filename=-0756dedcced46d87 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps --extern memchr=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libmemchr-666a83ea1851e1a7.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling regex-automata v0.4.3 Running `/usr/bin/rustc --crate-name regex_automata --edition=2021 /usr/share/cargo/registry/regex-automata-0.4.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="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"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --cfg 'feature="unicode-word-boundary"' -C metadata=0a6bd8a5885f708d -C extra-filename=-0a6bd8a5885f708d --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps --extern aho_corasick=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libaho_corasick-0756dedcced46d87.rmeta --extern memchr=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libmemchr-666a83ea1851e1a7.rmeta --extern regex_syntax=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libregex_syntax-fc533c8410a53cdb.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling regex v1.10.2 Running `/usr/bin/rustc --crate-name regex --edition=2021 /usr/share/cargo/registry/regex-1.10.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"' --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"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=026892e493bbe67c -C extra-filename=-026892e493bbe67c --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps --extern aho_corasick=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libaho_corasick-0756dedcced46d87.rmeta --extern memchr=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libmemchr-666a83ea1851e1a7.rmeta --extern regex_automata=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libregex_automata-0a6bd8a5885f708d.rmeta --extern regex_syntax=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libregex_syntax-fc533c8410a53cdb.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling env_logger v0.5.13 Running `/usr/bin/rustc --crate-name env_logger /usr/share/cargo/registry/env_logger-0.5.13/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="regex"' -C metadata=dae7baedb9295190 -C extra-filename=-dae7baedb9295190 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps --extern atty=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libatty-30da88a06dc1125f.rmeta --extern humantime=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libhumantime-d36b4a5e348f1ef3.rmeta --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-f388283698fd4307.rmeta --extern regex=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libregex-026892e493bbe67c.rmeta --extern termcolor=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libtermcolor-2fee8845c59c2419.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling libmount v0.1.15 (/builddir/build/BUILD/libmount-0.1.15) Running `/usr/bin/rustc --crate-name libmount 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 -C metadata=843dea6d2a41abe3 -C extra-filename=-843dea6d2a41abe3 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps --extern argparse=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libargparse-3a1b4d5177243313.rlib --extern env_logger=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libenv_logger-dae7baedb9295190.rlib --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-727a43331c17ed30.rlib --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-f388283698fd4307.rlib --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-5b4867548e6e1098.rlib --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-38488584c921defe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name move 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 -C metadata=2fa37a08d7fee8ef -C extra-filename=-2fa37a08d7fee8ef --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/examples -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps --extern argparse=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libargparse-3a1b4d5177243313.rlib --extern env_logger=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libenv_logger-dae7baedb9295190.rlib --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-727a43331c17ed30.rlib --extern libmount=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibmount-9d96085d70c94193.rlib --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-f388283698fd4307.rlib --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-5b4867548e6e1098.rlib --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-38488584c921defe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name bind_mount 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 -C metadata=ddeeec31bc6a502a -C extra-filename=-ddeeec31bc6a502a --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/examples -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps --extern argparse=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libargparse-3a1b4d5177243313.rlib --extern env_logger=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libenv_logger-dae7baedb9295190.rlib --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-727a43331c17ed30.rlib --extern libmount=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibmount-9d96085d70c94193.rlib --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-f388283698fd4307.rlib --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-5b4867548e6e1098.rlib --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-38488584c921defe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name tmpfs 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 -C metadata=d7d0a39fe6ef21cf -C extra-filename=-d7d0a39fe6ef21cf --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/examples -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps --extern argparse=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libargparse-3a1b4d5177243313.rlib --extern env_logger=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libenv_logger-dae7baedb9295190.rlib --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-727a43331c17ed30.rlib --extern libmount=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibmount-9d96085d70c94193.rlib --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-f388283698fd4307.rlib --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-5b4867548e6e1098.rlib --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-38488584c921defe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name remount 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 -C metadata=65f9767a82a17834 -C extra-filename=-65f9767a82a17834 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/examples -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps --extern argparse=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libargparse-3a1b4d5177243313.rlib --extern env_logger=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libenv_logger-dae7baedb9295190.rlib --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-727a43331c17ed30.rlib --extern libmount=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibmount-9d96085d70c94193.rlib --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-f388283698fd4307.rlib --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-5b4867548e6e1098.rlib --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-38488584c921defe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name overlay_writable 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 -C metadata=83c47058e893b8d6 -C extra-filename=-83c47058e893b8d6 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/examples -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps --extern argparse=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libargparse-3a1b4d5177243313.rlib --extern env_logger=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libenv_logger-dae7baedb9295190.rlib --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-727a43331c17ed30.rlib --extern libmount=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibmount-9d96085d70c94193.rlib --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-f388283698fd4307.rlib --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-5b4867548e6e1098.rlib --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-38488584c921defe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name overlay_readonly 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 -C metadata=bb398f63abc88520 -C extra-filename=-bb398f63abc88520 --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/examples -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps --extern argparse=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libargparse-3a1b4d5177243313.rlib --extern env_logger=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libenv_logger-dae7baedb9295190.rlib --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-727a43331c17ed30.rlib --extern libmount=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibmount-9d96085d70c94193.rlib --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-f388283698fd4307.rlib --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-5b4867548e6e1098.rlib --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-38488584c921defe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: `libmount` (lib test) generated 47 warnings (47 duplicates) Finished rpm [optimized + debuginfo] target(s) in 2m 29s Running `/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libmount-843dea6d2a41abe3` 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_crlf ... ok test mountinfo::test::test_mount_info_parser_escaping ... ok test mountinfo::test::test_mount_info_parser_incomplete_row ... ok test mountinfo::test::test_mount_info_parser_invalid_escape ... ok test mountinfo::test::test_mount_info_parser_invalid_int ... 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 ... FAILED test remount::test::test_get_mountpoint_flags_from_dups ... ok test remount::test::test_mount_flags ... ok test remount::test::test_get_mountpoint_flags_unknown ... ok test remount::test::test_remount ... ok test tmpfs::test::test_tmpfs_options ... ok test remount::test::test_remount_unknown_mountpoint ... ok failures: ---- remount::test::test_get_mountpoint_flags stdout ---- thread 'remount::test::test_get_mountpoint_flags' panicked at src/remount.rs:378:9: assertion failed: get_mountpoint_flags(Path::new(\"/\")).is_ok() note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace failures: remount::test::test_get_mountpoint_flags test result: FAILED. 22 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s error: test failed, to rerun pass `--lib` Doc-tests libmount Running `/usr/bin/rustdoc --crate-type lib --crate-name libmount --test src/lib.rs --test-run-directory /builddir/build/BUILD/libmount-0.1.15 -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps -L dependency=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps --extern argparse=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libargparse-3a1b4d5177243313.rlib --extern env_logger=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libenv_logger-dae7baedb9295190.rlib --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-727a43331c17ed30.rlib --extern libmount=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibmount-9d96085d70c94193.rlib --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-f388283698fd4307.rlib --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-5b4867548e6e1098.rlib --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-38488584c921defe.rlib -C embed-bitcode=no --error-format human` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s error: 1 target failed: `--lib` error: Bad exit status from /var/tmp/rpm-tmp.wwF29C (%check) Bad exit status from /var/tmp/rpm-tmp.wwF29C (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-libmount.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-libmount.spec