Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target s390x --nodeps /builddir/build/SPECS/rust-argparse.spec'], chrootPath='/var/lib/mock/f38-build-40481754-4983281/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.krzm5dte:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.krzm5dte:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0a0502267b9f4828902516ef040fc6f2', '-D', '/var/lib/mock/f38-build-40481754-4983281/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.krzm5dte:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target s390x --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/rust-argparse-0.2.2-8.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target s390x --nodeps /builddir/build/SPECS/rust-argparse.spec'], chrootPath='/var/lib/mock/f38-build-40481754-4983281/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.krzm5dte:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.krzm5dte:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6eea29c43f7749498fe3fec5c0a48e37', '-D', '/var/lib/mock/f38-build-40481754-4983281/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.krzm5dte:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target s390x --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x79mA9 + 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 -eu + /usr/bin/mkdir -p .cargo + 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.iKqJxi + umask 022 + cd /builddir/build/BUILD + cd argparse-0.2.2 + /usr/bin/cargo-inspector -BR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-argparse-0.2.2-8.fc38.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 s390x --nodeps /builddir/build/SPECS/rust-argparse.spec'], chrootPath='/var/lib/mock/f38-build-40481754-4983281/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.krzm5dte:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.krzm5dte:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0c734c80c23e488b8c9c4d6d9bc908d1', '-D', '/var/lib/mock/f38-build-40481754-4983281/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.krzm5dte:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target s390x --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1674172800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.me9Hr1 + umask 022 + cd /builddir/build/BUILD + cd argparse-0.2.2 + /usr/bin/cargo-inspector -BR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dXrOIQ + 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 -m64 -march=z13 -mtune=z14 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 argparse-0.2.2 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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 -j2 -Z avoid-dev-deps --release 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 metadata=53aa5b48d86db965 -C extra-filename=-53aa5b48d86db965 --out-dir /builddir/build/BUILD/argparse-0.2.2/target/release/deps -L dependency=/builddir/build/BUILD/argparse-0.2.2/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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: 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 Finished release [optimized] target(s) in 3.50s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Z0VLUR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-argparse-0.2.2-8.fc38.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-argparse-0.2.2-8.fc38.s390x ++ dirname /builddir/build/BUILDROOT/rust-argparse-0.2.2-8.fc38.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-argparse-0.2.2-8.fc38.s390x + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 argparse-0.2.2 + set -eu + /usr/bin/cargo-inspector --target-kinds Cargo.toml ++ printf 'lib\nrlib\nproc-macro' + grep -q -F -x 'lib rlib proc-macro' ++ /usr/bin/cargo-inspector --name Cargo.toml + CRATE_NAME=argparse ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=0.2.2 + REG_DIR=/builddir/build/BUILDROOT/rust-argparse-0.2.2-8.fc38.s390x/usr/share/cargo/registry/argparse-0.2.2 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-argparse-0.2.2-8.fc38.s390x/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 -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 + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-argparse-0.2.2-8.fc38.s390x/usr/share/cargo/registry/argparse-0.2.2 + grep -w -E -v 'Cargo.(lock|toml.orig)' 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-8.fc38.s390x/usr/share/cargo/registry/argparse-0.2.2/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-argparse-0.2.2-8.fc38.s390x/usr/share/cargo/registry/argparse-0.2.2/Cargo.toml.deps + echo '{"files":{},"package":""}' + /usr/bin/cargo-inspector --target-kinds Cargo.toml + grep -q -F -x bin + /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 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: rust-argparse-devel-0.2.2-8.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ABkq89 + umask 022 + cd /builddir/build/BUILD + cd argparse-0.2.2 + DOCDIR=/builddir/build/BUILDROOT/rust-argparse-0.2.2-8.fc38.s390x/usr/share/doc/rust-argparse-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-argparse-0.2.2-8.fc38.s390x/usr/share/doc/rust-argparse-devel + cp -pr README.rst /builddir/build/BUILDROOT/rust-argparse-0.2.2-8.fc38.s390x/usr/share/doc/rust-argparse-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Uck7pt + umask 022 + cd /builddir/build/BUILD + cd argparse-0.2.2 + LICENSEDIR=/builddir/build/BUILDROOT/rust-argparse-0.2.2-8.fc38.s390x/usr/share/licenses/rust-argparse-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-argparse-0.2.2-8.fc38.s390x/usr/share/licenses/rust-argparse-devel + cp -pr LICENSE /builddir/build/BUILDROOT/rust-argparse-0.2.2-8.fc38.s390x/usr/share/licenses/rust-argparse-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(argparse) = 0.2.2 rust-argparse-devel = 0.2.2-8.fc38 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-8.fc38.noarch Provides: crate(argparse/default) = 0.2.2 rust-argparse+default-devel = 0.2.2-8.fc38 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-8.fc38.s390x Wrote: /builddir/build/SRPMS/rust-argparse-0.2.2-8.fc38.src.rpm Wrote: /builddir/build/RPMS/rust-argparse+default-devel-0.2.2-8.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-argparse-devel-0.2.2-8.fc38.noarch.rpm Child return code was: 0