Mock Version: 5.2 Mock Version: 5.2 Mock Version: 5.2 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/f40-build-2689249-68109/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=997gid=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=1712275200 Wrote: /builddir/build/SRPMS/rust-libmount-0.1.15-1.fc40.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/f40-build-2689249-68109/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=997gid=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=1712275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.a2Vbfg + 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.dcS4Uf + 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.fc40.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/f40-build-2689249-68109/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=997gid=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=1712275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pBV4oU + 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.iwVslK + 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.fc40.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/f40-build-2689249-68109/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=997gid=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=1712275200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.blF9rb + 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.MLTG5p + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -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=-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=-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.153 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.153/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=338563f08192dfda -C extra-filename=-338563f08192dfda --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/build/libc-338563f08192dfda -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=-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=ab152a32d232bc7a -C extra-filename=-ab152a32d232bc7a --out-dir /builddir/build/BUILD/libmount-0.1.15/target/rpm/build/nix-ab152a32d232bc7a -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=-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=14cac18ee88643b4 -C extra-filename=-14cac18ee88643b4 --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=-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=12ea60375c1a2eed -C extra-filename=-12ea60375c1a2eed --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=-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=d7717c88bebac4b9 -C extra-filename=-d7717c88bebac4b9 --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=-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=950a18257a67dd93 -C extra-filename=-950a18257a67dd93 --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=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/libmount-0.1.15/target/rpm/build/nix-ab152a32d232bc7a/build-script-build` Running `/builddir/build/BUILD/libmount-0.1.15/target/rpm/build/libc-338563f08192dfda/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.153/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=ab77939ceb88b977 -C extra-filename=-ab77939ceb88b977 --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=-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=b639acc7e1c9ec1d -C extra-filename=-b639acc7e1c9ec1d --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-14cac18ee88643b4.rmeta --extern cfg_if=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libcfg_if-d7717c88bebac4b9.rmeta --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-ab77939ceb88b977.rmeta --extern void=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libvoid-12ea60375c1a2eed.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/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=d2d0601f7a10a8cb -C extra-filename=-d2d0601f7a10a8cb --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-ab77939ceb88b977.rmeta --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-b639acc7e1c9ec1d.rmeta --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-950a18257a67dd93.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: 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 48.30s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wZpoT1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-libmount-0.1.15-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-libmount-0.1.15-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-libmount-0.1.15-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-libmount-0.1.15-1.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -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=-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 ']' + '[' 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.fc40.riscv64/usr/share/cargo/registry/libmount-0.1.15 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-libmount-0.1.15-1.fc40.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=-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.fc40.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.fc40.riscv64/usr/share/cargo/registry/libmount-0.1.15/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-libmount-0.1.15-1.fc40.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.YTNLly + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -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=-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=-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.153 Compiling memchr v2.7.1 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 termcolor v1.4.1 Compiling log v0.4.20 Compiling argparse v0.2.2 Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.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="alloc"' --cfg 'feature="std"' -C metadata=b285c75bcfa6e1e9 -C extra-filename=-b285c75bcfa6e1e9 --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=-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=326fa570521405e1 -C extra-filename=-326fa570521405e1 --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=-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=16e77f692d4ea48a -C extra-filename=-16e77f692d4ea48a --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-ab77939ceb88b977.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` Running `/usr/bin/rustc --crate-name termcolor --edition=2018 /usr/share/cargo/registry/termcolor-1.4.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=ea79b5a1b64350a9 -C extra-filename=-ea79b5a1b64350a9 --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=-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=40a8b02ff0e6b2d4 -C extra-filename=-40a8b02ff0e6b2d4 --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=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling humantime v1.3.0 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=9b0c1e445530ecae -C extra-filename=-9b0c1e445530ecae --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=-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=baa10817e19f9ef9 -C extra-filename=-baa10817e19f9ef9 --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-950a18257a67dd93.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` 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="perf-literal"' --cfg 'feature="std"' -C metadata=f0fd4e67cdec0904 -C extra-filename=-f0fd4e67cdec0904 --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-b285c75bcfa6e1e9.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.6 Running `/usr/bin/rustc --crate-name regex_automata --edition=2021 /usr/share/cargo/registry/regex-automata-0.4.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 --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=f753ff2486c6b421 -C extra-filename=-f753ff2486c6b421 --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-f0fd4e67cdec0904.rmeta --extern memchr=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libmemchr-b285c75bcfa6e1e9.rmeta --extern regex_syntax=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libregex_syntax-326fa570521405e1.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.10.3 Running `/usr/bin/rustc --crate-name regex --edition=2021 /usr/share/cargo/registry/regex-1.10.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="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=ff0ace508082fc62 -C extra-filename=-ff0ace508082fc62 --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-f0fd4e67cdec0904.rmeta --extern memchr=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libmemchr-b285c75bcfa6e1e9.rmeta --extern regex_automata=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libregex_automata-f753ff2486c6b421.rmeta --extern regex_syntax=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libregex_syntax-326fa570521405e1.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.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=868e90c39f142e26 -C extra-filename=-868e90c39f142e26 --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-16e77f692d4ea48a.rmeta --extern humantime=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libhumantime-baa10817e19f9ef9.rmeta --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-40a8b02ff0e6b2d4.rmeta --extern regex=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libregex-ff0ace508082fc62.rmeta --extern termcolor=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libtermcolor-ea79b5a1b64350a9.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/libmount-0.1.15) 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=4f464955207be826 -C extra-filename=-4f464955207be826 --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-9b0c1e445530ecae.rlib --extern env_logger=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libenv_logger-868e90c39f142e26.rlib --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-ab77939ceb88b977.rlib --extern libmount=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibmount-d2d0601f7a10a8cb.rlib --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-40a8b02ff0e6b2d4.rlib --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-b639acc7e1c9ec1d.rlib --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-950a18257a67dd93.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 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=cf3b9f26dc2e3185 -C extra-filename=-cf3b9f26dc2e3185 --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-9b0c1e445530ecae.rlib --extern env_logger=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libenv_logger-868e90c39f142e26.rlib --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-ab77939ceb88b977.rlib --extern libmount=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibmount-d2d0601f7a10a8cb.rlib --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-40a8b02ff0e6b2d4.rlib --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-b639acc7e1c9ec1d.rlib --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-950a18257a67dd93.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 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=b331f50a159faefc -C extra-filename=-b331f50a159faefc --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-9b0c1e445530ecae.rlib --extern env_logger=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libenv_logger-868e90c39f142e26.rlib --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-ab77939ceb88b977.rlib --extern libmount=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibmount-d2d0601f7a10a8cb.rlib --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-40a8b02ff0e6b2d4.rlib --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-b639acc7e1c9ec1d.rlib --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-950a18257a67dd93.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 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=20887620aad20a6a -C extra-filename=-20887620aad20a6a --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-9b0c1e445530ecae.rlib --extern env_logger=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libenv_logger-868e90c39f142e26.rlib --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-ab77939ceb88b977.rlib --extern libmount=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibmount-d2d0601f7a10a8cb.rlib --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-40a8b02ff0e6b2d4.rlib --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-b639acc7e1c9ec1d.rlib --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-950a18257a67dd93.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 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=86a1cc6b60c6994d -C extra-filename=-86a1cc6b60c6994d --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-9b0c1e445530ecae.rlib --extern env_logger=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libenv_logger-868e90c39f142e26.rlib --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-ab77939ceb88b977.rlib --extern libmount=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibmount-d2d0601f7a10a8cb.rlib --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-40a8b02ff0e6b2d4.rlib --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-b639acc7e1c9ec1d.rlib --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-950a18257a67dd93.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 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=ef27ac5939e81801 -C extra-filename=-ef27ac5939e81801 --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-9b0c1e445530ecae.rlib --extern env_logger=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libenv_logger-868e90c39f142e26.rlib --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-ab77939ceb88b977.rlib --extern libmount=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibmount-d2d0601f7a10a8cb.rlib --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-40a8b02ff0e6b2d4.rlib --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-b639acc7e1c9ec1d.rlib --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-950a18257a67dd93.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 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=883ae37495c84707 -C extra-filename=-883ae37495c84707 --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-9b0c1e445530ecae.rlib --extern env_logger=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libenv_logger-868e90c39f142e26.rlib --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-ab77939ceb88b977.rlib --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-40a8b02ff0e6b2d4.rlib --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-b639acc7e1c9ec1d.rlib --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-950a18257a67dd93.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 [optimized + debuginfo] target(s) in 2m 52s Running `/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libmount-883ae37495c84707` 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_get_mountpoint_flags_unknown ... ok test remount::test::test_mount_flags ... 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-9b0c1e445530ecae.rlib --extern env_logger=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libenv_logger-868e90c39f142e26.rlib --extern libc=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibc-ab77939ceb88b977.rlib --extern libmount=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblibmount-d2d0601f7a10a8cb.rlib --extern log=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/liblog-40a8b02ff0e6b2d4.rlib --extern nix=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libnix-b639acc7e1c9ec1d.rlib --extern quick_error=/builddir/build/BUILD/libmount-0.1.15/target/rpm/deps/libquick_error-950a18257a67dd93.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.YTNLly (%check) Bad exit status from /var/tmp/rpm-tmp.YTNLly (%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.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), 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'