Mock Version: 1.4.20 Mock Version: 1.4.20 Mock Version: 1.4.20 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.spec'], chrootPath='/var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf']unshare_net=TrueprintOutput=True) ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.spec'], chrootPath='/var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf'] Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '90d92f37d3444a41b6f9babcec1491a2', '-D', '/var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.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': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '90d92f37d3444a41b6f9babcec1491a2', '-D', '/var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1571447193 setting SOURCE_DATE_EPOCH=1571447193 Wrote: /builddir/build/SRPMS/rust-rpassword-4.0.1-1.fc32.src.rpm Wrote: /builddir/build/SRPMS/rust-rpassword-4.0.1-1.fc32.src.rpm Child return code was: 0 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.spec'], chrootPath='/var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf']unshare_net=TrueprintOutput=True) ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.spec'], chrootPath='/var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf'] Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f642fe964d5b48c49c4938882411b871', '-D', '/var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.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': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f642fe964d5b48c49c4938882411b871', '-D', '/var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1571447193 setting SOURCE_DATE_EPOCH=1571447193 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GeTJLu Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GeTJLu + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpassword-4.0.1 + rm -rf rpassword-4.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/rpassword-4.0.1.crate + /usr/bin/gzip -dc /builddir/build/SOURCES/rpassword-4.0.1.crate + /usr/bin/tar -xof - + /usr/bin/tar -xof - + STATUS=0 + STATUS=0 + '[' 0 -ne 0 ']' + '[' 0 -ne 0 ']' + cd rpassword-4.0.1 + cd rpassword-4.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/rpassword-fix-metadata.diff + /usr/bin/cat /builddir/build/SOURCES/rpassword-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + set -eu + set -eu + /usr/bin/mkdir -p .cargo + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.lock + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.plPoUt Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.plPoUt + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd rpassword-4.0.1 + cd rpassword-4.0.1 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Wrote: /builddir/build/SRPMS/rust-rpassword-4.0.1-1.fc32.buildreqs.nosrc.rpm Wrote: /builddir/build/SRPMS/rust-rpassword-4.0.1-1.fc32.buildreqs.nosrc.rpm Child return code was: 11 Child return code was: 11 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 745, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M f642fe964d5b48c49c4938882411b871 -D /var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf --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=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.spec EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 745, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M f642fe964d5b48c49c4938882411b871 -D /var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf --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=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.spec ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.spec'], chrootPath='/var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf']unshare_net=TrueprintOutput=True) ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.spec'], chrootPath='/var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf'] Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '40b417a1f632492191601e0fcf3a7aef', '-D', '/var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.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': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '40b417a1f632492191601e0fcf3a7aef', '-D', '/var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1571447193 setting SOURCE_DATE_EPOCH=1571447193 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vliDvw Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vliDvw + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpassword-4.0.1 + rm -rf rpassword-4.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/rpassword-4.0.1.crate + /usr/bin/gzip -dc /builddir/build/SOURCES/rpassword-4.0.1.crate + /usr/bin/tar -xof - + /usr/bin/tar -xof - + STATUS=0 + STATUS=0 + '[' 0 -ne 0 ']' + '[' 0 -ne 0 ']' + cd rpassword-4.0.1 + cd rpassword-4.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/rpassword-fix-metadata.diff + /usr/bin/cat /builddir/build/SOURCES/rpassword-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + set -eu + set -eu + /usr/bin/mkdir -p .cargo + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.lock + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Wamq6s Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Wamq6s + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd rpassword-4.0.1 + cd rpassword-4.0.1 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Wrote: /builddir/build/SRPMS/rust-rpassword-4.0.1-1.fc32.buildreqs.nosrc.rpm Wrote: /builddir/build/SRPMS/rust-rpassword-4.0.1-1.fc32.buildreqs.nosrc.rpm Child return code was: 11 Child return code was: 11 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 745, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 40b417a1f632492191601e0fcf3a7aef -D /var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf --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=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.spec EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 745, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 40b417a1f632492191601e0fcf3a7aef -D /var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf --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=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.spec ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.spec'], chrootPath='/var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf']unshare_net=TrueprintOutput=True) ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.spec'], chrootPath='/var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf'] Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3b8e0828bb0b47b0969b973710bf1812', '-D', '/var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.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': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3b8e0828bb0b47b0969b973710bf1812', '-D', '/var/lib/mock/1065336-fedora-rawhide-x86_64-1571440312.541243/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rxt4xjtx:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/rust-rpassword.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1571447193 setting SOURCE_DATE_EPOCH=1571447193 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.TzVIHv Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.TzVIHv + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd rpassword-4.0.1 + cd rpassword-4.0.1 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.D4Quyv Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.D4Quyv + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd rpassword-4.0.1 + cd rpassword-4.0.1 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo build -j2 -Z avoid-dev-deps --release + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo build -j2 -Z avoid-dev-deps --release Compiling libc v0.2.62 Compiling libc v0.2.62 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.62/build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=64ff74c02eec3e8e -C extra-filename=-64ff74c02eec3e8e --out-dir /builddir/build/BUILD/rpassword-4.0.1/target/release/build/libc-64ff74c02eec3e8e -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1` Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.62/build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=64ff74c02eec3e8e -C extra-filename=-64ff74c02eec3e8e --out-dir /builddir/build/BUILD/rpassword-4.0.1/target/release/build/libc-64ff74c02eec3e8e -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1` Running `/builddir/build/BUILD/rpassword-4.0.1/target/release/build/libc-64ff74c02eec3e8e/build-script-build` Running `/builddir/build/BUILD/rpassword-4.0.1/target/release/build/libc-64ff74c02eec3e8e/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.62/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=17da6dbe3dfda6d8 -C extra-filename=-17da6dbe3dfda6d8 --out-dir /builddir/build/BUILD/rpassword-4.0.1/target/release/deps -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_core_cvoid --cfg libc_packedN` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.62/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=17da6dbe3dfda6d8 -C extra-filename=-17da6dbe3dfda6d8 --out-dir /builddir/build/BUILD/rpassword-4.0.1/target/release/deps -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_core_cvoid --cfg libc_packedN` Compiling rpassword v4.0.1 (/builddir/build/BUILD/rpassword-4.0.1) Compiling rpassword v4.0.1 (/builddir/build/BUILD/rpassword-4.0.1) Running `/usr/bin/rustc --crate-name rpassword src/lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=4884f762cd2a149a -C extra-filename=-4884f762cd2a149a --out-dir /builddir/build/BUILD/rpassword-4.0.1/target/release/deps -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --extern libc=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/liblibc-17da6dbe3dfda6d8.rmeta -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1` Running `/usr/bin/rustc --crate-name rpassword src/lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=4884f762cd2a149a -C extra-filename=-4884f762cd2a149a --out-dir /builddir/build/BUILD/rpassword-4.0.1/target/release/deps -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --extern libc=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/liblibc-17da6dbe3dfda6d8.rmeta -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1` warning: variable does not need to be mutable warning: variable does not need to be mutable --> src/lib.rs:140:31 --> src/lib.rs:140:31 | | 140 | Source::Stdin(mut stdin) => stdin.read_line(&mut password), 140 | Source::Stdin(mut stdin) => stdin.read_line(&mut password), | ----^^^^^ | ----^^^^^ | | | | | help: remove this `mut` | help: remove this `mut` | | = note: `#[warn(unused_mut)]` on by default = note: `#[warn(unused_mut)]` on by default Finished release [optimized] target(s) in 4.50s Finished release [optimized] target(s) in 4.50s + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cdfYyu Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cdfYyu + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64 '!=' / ']' + '[' /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64 + rm -rf /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64 + mkdir /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64 + cd rpassword-4.0.1 + cd rpassword-4.0.1 + set -eu + set -eu + /usr/bin/cargo-inspector --target-kinds Cargo.toml + /usr/bin/cargo-inspector --target-kinds Cargo.toml ++ printf 'lib\nrlib\nproc-macro' ++ printf 'lib\nrlib\nproc-macro' + grep -q -F -x 'lib + grep -q -F -x 'lib rlib rlib proc-macro' proc-macro' ++ /usr/bin/cargo-inspector --name Cargo.toml ++ /usr/bin/cargo-inspector --name Cargo.toml + CRATE_NAME=rpassword + CRATE_NAME=rpassword ++ /usr/bin/cargo-inspector --version Cargo.toml ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=4.0.1 + CRATE_VERSION=4.0.1 + REG_DIR=/builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/cargo/registry/rpassword-4.0.1 + REG_DIR=/builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/cargo/registry/rpassword-4.0.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/cargo/registry/rpassword-4.0.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/cargo/registry/rpassword-4.0.1 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + grep -w -v Cargo.lock + grep -w -v Cargo.lock + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo package -l + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo package -l + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/cargo/registry/rpassword-4.0.1 + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/cargo/registry/rpassword-4.0.1 warning: No (git) VCS found for `/builddir/build/BUILD/rpassword-4.0.1` warning: No (git) VCS found for `/builddir/build/BUILD/rpassword-4.0.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/cargo/registry/rpassword-4.0.1/Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/cargo/registry/rpassword-4.0.1/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/cargo/registry/rpassword-4.0.1/Cargo.toml.orig /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/cargo/registry/rpassword-4.0.1/Cargo.toml.deps + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/cargo/registry/rpassword-4.0.1/Cargo.toml.orig /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/cargo/registry/rpassword-4.0.1/Cargo.toml.deps + echo '{"files":{},"package":""}' + echo '{"files":{},"package":""}' + grep -q -F -x bin + grep -q -F -x bin + /usr/bin/cargo-inspector --target-kinds Cargo.toml + /usr/bin/cargo-inspector --target-kinds Cargo.toml + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/cargo/registry/rpassword-4.0.1/tests/tests-unix.sh from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/share/cargo/registry/rpassword-4.0.1/tests/tests-unix.sh from /usr/bin/env bash to #!/usr/bin/bash Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.OxsZWu Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.OxsZWu + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd rpassword-4.0.1 + cd rpassword-4.0.1 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo test -j2 -Z avoid-dev-deps --release --no-fail-fast + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo test -j2 -Z avoid-dev-deps --release --no-fail-fast Fresh libc v0.2.62 Fresh libc v0.2.62 Compiling rpassword v4.0.1 (/builddir/build/BUILD/rpassword-4.0.1) Compiling rpassword v4.0.1 (/builddir/build/BUILD/rpassword-4.0.1) Running `/usr/bin/rustc --crate-name rpassword src/lib.rs --color never --emit=dep-info,link -C opt-level=3 --test -C metadata=a87998dff06bb0ef -C extra-filename=-a87998dff06bb0ef --out-dir /builddir/build/BUILD/rpassword-4.0.1/target/release/deps -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --extern libc=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/liblibc-17da6dbe3dfda6d8.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1` Running `/usr/bin/rustc --crate-name rpassword src/lib.rs --color never --emit=dep-info,link -C opt-level=3 --test -C metadata=a87998dff06bb0ef -C extra-filename=-a87998dff06bb0ef --out-dir /builddir/build/BUILD/rpassword-4.0.1/target/release/deps -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --extern libc=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/liblibc-17da6dbe3dfda6d8.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1` Running `/usr/bin/rustc --crate-name no_terminal tests/no-terminal.rs --color never --emit=dep-info,link -C opt-level=3 --test -C metadata=f7407689cf434d00 -C extra-filename=-f7407689cf434d00 --out-dir /builddir/build/BUILD/rpassword-4.0.1/target/release/deps -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --extern libc=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/liblibc-17da6dbe3dfda6d8.rlib --extern rpassword=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/librpassword-4884f762cd2a149a.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1` Running `/usr/bin/rustc --crate-name no_terminal tests/no-terminal.rs --color never --emit=dep-info,link -C opt-level=3 --test -C metadata=f7407689cf434d00 -C extra-filename=-f7407689cf434d00 --out-dir /builddir/build/BUILD/rpassword-4.0.1/target/release/deps -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --extern libc=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/liblibc-17da6dbe3dfda6d8.rlib --extern rpassword=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/librpassword-4884f762cd2a149a.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1` warning: variable does not need to be mutable warning: variable does not need to be mutable --> src/lib.rs:140:31 --> src/lib.rs:140:31 | | 140 | Source::Stdin(mut stdin) => stdin.read_line(&mut password), 140 | Source::Stdin(mut stdin) => stdin.read_line(&mut password), | ----^^^^^ | ----^^^^^ | | | | | help: remove this `mut` | help: remove this `mut` | | = note: `#[warn(unused_mut)]` on by default = note: `#[warn(unused_mut)]` on by default Running `/usr/bin/rustc --crate-name read_password_tty examples/read-password-tty.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=2bb5ba9729a0a70a -C extra-filename=-2bb5ba9729a0a70a --out-dir /builddir/build/BUILD/rpassword-4.0.1/target/release/examples -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --extern libc=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/liblibc-17da6dbe3dfda6d8.rlib --extern rpassword=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/librpassword-4884f762cd2a149a.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1` Running `/usr/bin/rustc --crate-name read_password_tty examples/read-password-tty.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=2bb5ba9729a0a70a -C extra-filename=-2bb5ba9729a0a70a --out-dir /builddir/build/BUILD/rpassword-4.0.1/target/release/examples -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --extern libc=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/liblibc-17da6dbe3dfda6d8.rlib --extern rpassword=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/librpassword-4884f762cd2a149a.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1` Running `/usr/bin/rustc --crate-name tests examples/tests.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=963ddf96d4483e86 -C extra-filename=-963ddf96d4483e86 --out-dir /builddir/build/BUILD/rpassword-4.0.1/target/release/examples -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --extern libc=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/liblibc-17da6dbe3dfda6d8.rlib --extern rpassword=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/librpassword-4884f762cd2a149a.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1` Running `/usr/bin/rustc --crate-name tests examples/tests.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=963ddf96d4483e86 -C extra-filename=-963ddf96d4483e86 --out-dir /builddir/build/BUILD/rpassword-4.0.1/target/release/examples -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --extern libc=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/liblibc-17da6dbe3dfda6d8.rlib --extern rpassword=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/librpassword-4884f762cd2a149a.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1` Running `/usr/bin/rustc --crate-name read_password examples/read-password.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=c273dca4317fff1c -C extra-filename=-c273dca4317fff1c --out-dir /builddir/build/BUILD/rpassword-4.0.1/target/release/examples -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --extern libc=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/liblibc-17da6dbe3dfda6d8.rlib --extern rpassword=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/librpassword-4884f762cd2a149a.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1` Running `/usr/bin/rustc --crate-name read_password examples/read-password.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=c273dca4317fff1c -C extra-filename=-c273dca4317fff1c --out-dir /builddir/build/BUILD/rpassword-4.0.1/target/release/examples -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --extern libc=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/liblibc-17da6dbe3dfda6d8.rlib --extern rpassword=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/librpassword-4884f762cd2a149a.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1` Finished release [optimized] target(s) in 1.72s Finished release [optimized] target(s) in 1.72s Running `/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/rpassword-a87998dff06bb0ef` Running `/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/rpassword-a87998dff06bb0ef` running 1 test running 1 test test tests::can_read_from_redirected_input ... ok test tests::can_read_from_redirected_input ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Running `/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/no_terminal-f7407689cf434d00` Running `/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/no_terminal-f7407689cf434d00` running 1 test running 1 test test can_read_from_redirected_input ... ok test can_read_from_redirected_input ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Doc-tests rpassword Doc-tests rpassword Running `/usr/bin/rustdoc --test /builddir/build/BUILD/rpassword-4.0.1/src/lib.rs --crate-name rpassword -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --extern libc=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/liblibc-17da6dbe3dfda6d8.rlib --extern rpassword=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/librpassword-4884f762cd2a149a.rlib` Running `/usr/bin/rustdoc --test /builddir/build/BUILD/rpassword-4.0.1/src/lib.rs --crate-name rpassword -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps -L dependency=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps --extern libc=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/liblibc-17da6dbe3dfda6d8.rlib --extern rpassword=/builddir/build/BUILD/rpassword-4.0.1/target/release/deps/librpassword-4884f762cd2a149a.rlib` running 0 tests running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Processing files: rust-rpassword-devel-4.0.1-1.fc32.noarch Processing files: rust-rpassword-devel-4.0.1-1.fc32.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MQsTbx Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MQsTbx + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd rpassword-4.0.1 + cd rpassword-4.0.1 + DOCDIR=/builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/doc/rust-rpassword-devel + DOCDIR=/builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/doc/rust-rpassword-devel + export LC_ALL=C + export LC_ALL=C + LC_ALL=C + LC_ALL=C + export DOCDIR + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/doc/rust-rpassword-devel + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/doc/rust-rpassword-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/doc/rust-rpassword-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/doc/rust-rpassword-devel + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1CiDmu Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1CiDmu + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd rpassword-4.0.1 + cd rpassword-4.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/licenses/rust-rpassword-devel + LICENSEDIR=/builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/licenses/rust-rpassword-devel + export LC_ALL=C + export LC_ALL=C + LC_ALL=C + LC_ALL=C + export LICENSEDIR + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/licenses/rust-rpassword-devel + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/licenses/rust-rpassword-devel + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/licenses/rust-rpassword-devel + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64/usr/share/licenses/rust-rpassword-devel + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Provides: crate(rpassword) = 4.0.1 rust-rpassword-devel = 4.0.1-1.fc32 Provides: crate(rpassword) = 4.0.1 rust-rpassword-devel = 4.0.1-1.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) /usr/bin/bash cargo Requires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) /usr/bin/bash cargo Processing files: rust-rpassword+default-devel-4.0.1-1.fc32.noarch Processing files: rust-rpassword+default-devel-4.0.1-1.fc32.noarch Provides: crate(rpassword/default) = 4.0.1 rust-rpassword+default-devel = 4.0.1-1.fc32 Provides: crate(rpassword/default) = 4.0.1 rust-rpassword+default-devel = 4.0.1-1.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(rpassword) = 4.0.1 Requires: cargo crate(rpassword) = 4.0.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64 Wrote: /builddir/build/SRPMS/rust-rpassword-4.0.1-1.fc32.src.rpm Wrote: /builddir/build/SRPMS/rust-rpassword-4.0.1-1.fc32.src.rpm Wrote: /builddir/build/RPMS/rust-rpassword+default-devel-4.0.1-1.fc32.noarch.rpm Wrote: /builddir/build/RPMS/rust-rpassword+default-devel-4.0.1-1.fc32.noarch.rpm Wrote: /builddir/build/RPMS/rust-rpassword-devel-4.0.1-1.fc32.noarch.rpm Wrote: /builddir/build/RPMS/rust-rpassword-devel-4.0.1-1.fc32.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MF9X5w Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MF9X5w + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd rpassword-4.0.1 + cd rpassword-4.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-rpassword-4.0.1-1.fc32.x86_64 + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Child return code was: 0 Child return code was: 0