Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-argparse.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-86761-57856/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-argparse.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rust-argparse-0.2.2-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-argparse.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-86761-57856/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-argparse.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mMhm2M + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf argparse-0.2.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/argparse-0.2.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd argparse-0.2.2 + /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.6X5gtl + umask 022 + cd /builddir/build/BUILD + cd argparse-0.2.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-argparse-0.2.2-1.oc9.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 aarch64 --nodeps /builddir/build/SPECS/rust-argparse.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-86761-57856/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-argparse.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: aarch64 Building for target aarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.k6rst4 + umask 022 + cd /builddir/build/BUILD + cd argparse-0.2.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EoUwVw + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd argparse-0.2.2 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --profile rpm Compiling argparse v0.2.2 (/builddir/build/BUILD/argparse-0.2.2) Running `/usr/bin/rustc --crate-name argparse 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=8a0fa97c7c459ee5 -C extra-filename=-8a0fa97c7c459ee5 --out-dir /builddir/build/BUILD/argparse-0.2.2/target/rpm/deps -L dependency=/builddir/build/BUILD/argparse-0.2.2/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: anonymous parameters are deprecated and will be removed in the next edition --> src/action.rs:20:24 | 20 | fn bind<'x>(&self, Rc>) -> Action<'x>; | ^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Rc>` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! = note: for more information, see issue #41686 = note: `#[warn(anonymous_parameters)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:839:9 | 839 | try!(write!(self.buf, " {}", arg.name)); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:851:9 | 851 | try!(wrap_text(self.buf, arg.help, TOTAL_WIDTH, OPTION_WIDTH)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:852:9 | 852 | try!(write!(self.buf, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:842:13 | 842 | try!(write!(self.buf, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:844:17 | 844 | try!(write!(self.buf, " ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:848:17 | 848 | try!(write!(self.buf, " ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:858:9 | 858 | try!(write!(self.buf, " ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:861:9 | 861 | try!(write!(self.buf, "{}", name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:887:9 | 887 | try!(wrap_text(self.buf, opt.help, TOTAL_WIDTH, OPTION_WIDTH)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:888:9 | 888 | try!(write!(self.buf, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:864:13 | 864 | try!(write!(self.buf, ",")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:865:13 | 865 | try!(write!(self.buf, "{}", name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:871:17 | 871 | try!(write!(self.buf, " ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:873:17 | 873 | try!(write!(self.buf, "{}", &var.metavar[..])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:878:13 | 878 | try!(write!(self.buf, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:880:17 | 880 | try!(write!(self.buf, " ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:884:17 | 884 | try!(write!(self.buf, " ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:893:9 | 893 | try!(self.write_usage()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:894:9 | 894 | try!(write!(self.buf, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:896:13 | 896 | try!(wrap_text(self.buf, self.parser.description,TOTAL_WIDTH, 0)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:897:13 | 897 | try!(write!(self.buf, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:902:13 | 902 | try!(write!(self.buf, "\nPositional arguments:\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:904:17 | 904 | try!(self.print_argument(&**arg)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:908:21 | 908 | try!(self.print_argument(&**opt)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:916:13 | 916 | try!(write!(self.buf, "\nOptional arguments:\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:918:17 | 918 | try!(self.print_option(&**opt)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:925:9 | 925 | try!(write!(self.buf, "Usage:\n ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:926:9 | 926 | try!(write!(self.buf, "{}", self.name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:963:9 | 963 | try!(write!(self.buf, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:931:17 | 931 | try!(write!(self.buf, " [OPTIONS]")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:935:17 | 935 | try!(write!(self.buf, " ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:939:17 | 939 | try!(write!(self.buf, "{}", | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:937:21 | 937 | try!(write!(self.buf, "[")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:942:21 | 942 | try!(write!(self.buf, "]")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:948:21 | 948 | try!(write!(self.buf, " ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:952:21 | 952 | try!(write!(self.buf, "{}", | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:950:25 | 950 | try!(write!(self.buf, "[")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:955:25 | 955 | try!(write!(self.buf, " ...]")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:957:25 | 957 | try!(write!(self.buf, " [...]")); | ^^^ warning: unnecessary parentheses around match arm expression --> src/help.rs:38:36 | 38 | Some((idx, ch)) => ((idx, ch)), | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 38 - Some((idx, ch)) => ((idx, ch)), 38 + Some((idx, ch)) => (idx, ch), | warning: unnecessary parentheses around match arm expression --> src/help.rs:51:36 | 51 | Some((idx, ch)) => ((idx, ch)), | ^ ^ | help: remove these parentheses | 51 - Some((idx, ch)) => ((idx, ch)), 51 + Some((idx, ch)) => (idx, ch), | warning: use of deprecated macro `try`: use the `?` operator instead --> src/help.rs:74:13 | 74 | try!(buf.write(word.as_bytes())); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/help.rs:89:9 | 89 | try!(buf.write(word.as_bytes())); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/help.rs:80:13 | 80 | try!(buf.write(b"\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/help.rs:82:17 | 82 | try!(buf.write(b" ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/help.rs:86:13 | 86 | try!(buf.write(b" ")); | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/action.rs:13:14 | 13 | Flag(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` | 13 | Flag(Box), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/action.rs:14:16 | 14 | Single(Box), | ^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 14 | Single(Box), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/action.rs:15:14 | 15 | Push(Box), | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 15 | Push(Box), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/action.rs:16:14 | 16 | Many(Box), | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 16 | Many(Box), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/parser.rs:84:17 | 84 | action: Box, | ^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 84 | action: Box, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/parser.rs:142:24 | 142 | stderr: &'ctx mut (Write + 'ctx), | ^^^^^^^^^^^^ | = 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` | 142 | stderr: &'ctx mut (dyn Write + 'ctx), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/parser.rs:817:19 | 817 | buf: &'a mut (Write + 'a), | ^^^^^^^^^^ | = 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` | 817 | buf: &'a mut (dyn Write + 'a), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/parser.rs:462:72 | 462 | fn parse(parser: &ArgumentParser, args: &Vec, stderr: &mut Write) | ^^^^^ | = 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` | 462 | fn parse(parser: &ArgumentParser, args: &Vec, stderr: &mut dyn Write) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/parser.rs:723:55 | 723 | pub fn print_help(&self, name: &str, writer: &mut Write) -> IoResult<()> { | ^^^^^ | = 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` | 723 | pub fn print_help(&self, name: &str, writer: &mut dyn Write) -> IoResult<()> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/parser.rs:730:56 | 730 | pub fn print_usage(&self, name: &str, writer: &mut Write) -> IoResult<()> | ^^^^^ | = 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` | 730 | pub fn print_usage(&self, name: &str, writer: &mut dyn Write) -> IoResult<()> | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/parser.rs:740:22 | 740 | stdout: &mut Write, stderr: &mut Write) | ^^^^^ | = 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` | 740 | stdout: &mut dyn Write, stderr: &mut Write) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/parser.rs:740:42 | 740 | stdout: &mut Write, stderr: &mut Write) | ^^^^^ | = 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` | 740 | stdout: &mut Write, stderr: &mut dyn Write) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/parser.rs:762:68 | 762 | pub fn error(&self, command: &str, message: &str, writer: &mut Write) { | ^^^^^ | = 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` | 762 | pub fn error(&self, command: &str, message: &str, writer: &mut dyn Write) { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/parser.rs:821:74 | 821 | pub fn print_usage(parser: &ArgumentParser, name: &str, writer: &mut Write) | ^^^^^ | = 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` | 821 | pub fn print_usage(parser: &ArgumentParser, name: &str, writer: &mut dyn Write) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/parser.rs:828:73 | 828 | pub fn print_help(parser: &ArgumentParser, name: &str, writer: &mut Write) | ^^^^^ | = 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` | 828 | pub fn print_help(parser: &ArgumentParser, name: &str, writer: &mut dyn Write) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/help.rs:64:28 | 64 | pub fn wrap_text(buf: &mut Write, data: &str, width: usize, indent: usize) | ^^^^^ | = 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` | 64 | pub fn wrap_text(buf: &mut dyn Write, data: &str, width: usize, indent: usize) | +++ warning: panic message is not a string literal --> src/parser.rs:555:43 | 555 | Some(ref y) => panic!(format!( | ___________________________________________^ 556 | | "Option {} conflicts with option {}", 557 | | name, y.name)), | |_____________________________________^ | = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 = note: for more information, see = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here = note: `#[warn(non_fmt_panics)]` on by default help: remove the `format!(..)` macro call | 555 ~ Some(ref y) => panic!( 556 | "Option {} conflicts with option {}", 557 ~ name, y.name), | warning: `argparse` (lib) generated 64 warnings (run `cargo fix --lib -p argparse` to apply 20 suggestions) Finished rpm [optimized + debuginfo] target(s) in 2.86s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KGSf9s + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-argparse-0.2.2-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-argparse-0.2.2-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-argparse-0.2.2-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-argparse-0.2.2-1.oc9.aarch64 + cd argparse-0.2.2 + 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=argparse ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.2.2 + REG_DIR=/builddir/build/BUILDROOT/rust-argparse-0.2.2-1.oc9.aarch64/usr/share/cargo/registry/argparse-0.2.2 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-argparse-0.2.2-1.oc9.aarch64/usr/share/cargo/registry/argparse-0.2.2 + gawk -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 --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-argparse-0.2.2-1.oc9.aarch64/usr/share/cargo/registry/argparse-0.2.2 warning: No (git) VCS found for `/builddir/build/BUILD/argparse-0.2.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-argparse-0.2.2-1.oc9.aarch64/usr/share/cargo/registry/argparse-0.2.2/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-argparse-0.2.2-1.oc9.aarch64/usr/share/cargo/registry/argparse-0.2.2/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/OpenCloudOS/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/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: rust-argparse-devel-0.2.2-1.oc9.noarch warning: File listed twice: /usr/share/cargo/registry/argparse-0.2.2/LICENSE warning: File listed twice: /usr/share/cargo/registry/argparse-0.2.2/README.rst Provides: crate(argparse) = 0.2.2 rust-argparse-devel = 0.2.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-argparse+default-devel-0.2.2-1.oc9.noarch Provides: crate(argparse/default) = 0.2.2 rust-argparse+default-devel = 0.2.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(argparse) = 0.2.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-argparse-0.2.2-1.oc9.aarch64 Wrote: /builddir/build/SRPMS/rust-argparse-0.2.2-1.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-argparse+default-devel-0.2.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-argparse-devel-0.2.2-1.oc9.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/argparse-0.2.2/LICENSE File listed twice: /usr/share/cargo/registry/argparse-0.2.2/README.rst Child return code was: 0