Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cspc.spec'], chrootPath='/var/lib/mock/729342-fedora-rawhide-x86_64-1521413609.448320/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=[]unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4c786591142e4fa2978492ffad0b3496', '-D', '/var/lib/mock/729342-fedora-rawhide-x86_64-1521413609.448320/root', '-a', '--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/cspc.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 for target x86_64 Wrote: /builddir/build/SRPMS/cspc-0.1.0-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/cspc.spec'], chrootPath='/var/lib/mock/729342-fedora-rawhide-x86_64-1521413609.448320/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=[]unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a80e1c6b57144ee88b0bf3ca651f9993', '-D', '/var/lib/mock/729342-fedora-rawhide-x86_64-1521413609.448320/root', '-a', '--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 -bb --target x86_64 --nodeps /builddir/build/SPECS/cspc.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 for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.elc9pf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cspc-0.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/rust-csp.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cspc-0.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.opyRan + umask 022 + cd /builddir/build/BUILD + cd cspc-0.1.0 + cargo build --release BUILDSTDERR: Updating registry `https://github.com/rust-lang/crates.io-index` BUILDSTDERR: Downloading symbolic_expressions v4.1.11 BUILDSTDERR: Downloading clap v2.26.2 BUILDSTDERR: Downloading error-chain v0.11.0 BUILDSTDERR: Downloading backtrace v0.3.5 BUILDSTDERR: Downloading rustc-demangle v0.1.7 BUILDSTDERR: Downloading cfg-if v0.1.2 BUILDSTDERR: Downloading textwrap v0.8.0 BUILDSTDERR: Downloading term_size v0.3.1 BUILDSTDERR: Downloading ansi_term v0.9.0 BUILDSTDERR: Downloading vec_map v0.8.0 BUILDSTDERR: Downloading strsim v0.6.0 BUILDSTDERR: Downloading atty v0.2.8 BUILDSTDERR: Downloading bitflags v0.9.1 BUILDSTDERR: Downloading unicode-width v0.1.4 BUILDSTDERR: Downloading backtrace-sys v0.1.16 BUILDSTDERR: Downloading libc v0.2.39 BUILDSTDERR: Downloading cc v1.0.8 BUILDSTDERR: Compiling unicode-width v0.1.4 BUILDSTDERR: Compiling cfg-if v0.1.2 BUILDSTDERR: Compiling secsp_syntax v0.1.0 (file:///builddir/build/BUILD/cspc-0.1.0/libsecsp_syntax) BUILDSTDERR: Compiling rustc-demangle v0.1.7 BUILDSTDERR: warning: field is never used: `name` BUILDSTDERR: --> libsecsp_syntax/src/ast.rs:106:5 BUILDSTDERR: | BUILDSTDERR: 106 | name: Option, BUILDSTDERR: | ^^^^^^^^^^^^^^^^^^^^ BUILDSTDERR: | BUILDSTDERR: = note: #[warn(dead_code)] on by default BUILDSTDERR: warning: field is never used: `body` BUILDSTDERR: --> libsecsp_syntax/src/ast.rs:107:5 BUILDSTDERR: | BUILDSTDERR: 107 | body: Vec, BUILDSTDERR: | ^^^^^^^^^^^^^^^^^^^^^^^^ BUILDSTDERR: warning: field is never used: `span` BUILDSTDERR: --> libsecsp_syntax/src/ast.rs:108:5 BUILDSTDERR: | BUILDSTDERR: 108 | span: Span, BUILDSTDERR: | ^^^^^^^^^^ BUILDSTDERR: warning: field is never used: `span` BUILDSTDERR: --> libsecsp_syntax/src/codemap.rs:48:5 BUILDSTDERR: | BUILDSTDERR: 48 | span: Span, BUILDSTDERR: | ^^^^^^^^^^ BUILDSTDERR: warning: field is never used: `source` BUILDSTDERR: --> libsecsp_syntax/src/codemap.rs:49:5 BUILDSTDERR: | BUILDSTDERR: 49 | source: &'a str, BUILDSTDERR: | ^^^^^^^^^^^^^^^ BUILDSTDERR: warning: field is never used: `lines` BUILDSTDERR: --> libsecsp_syntax/src/codemap.rs:50:5 BUILDSTDERR: | BUILDSTDERR: 50 | lines: Vec, BUILDSTDERR: | ^^^^^^^^^^^^^^^^^ BUILDSTDERR: Compiling strsim v0.6.0 BUILDSTDERR: Compiling vec_map v0.8.0 BUILDSTDERR: Compiling libc v0.2.39 BUILDSTDERR: Compiling cc v1.0.8 BUILDSTDERR: Compiling ansi_term v0.9.0 BUILDSTDERR: Compiling bitflags v0.9.1 BUILDSTDERR: Compiling atty v0.2.8 BUILDSTDERR: Compiling term_size v0.3.1 BUILDSTDERR: Compiling textwrap v0.8.0 BUILDSTDERR: Compiling clap v2.26.2 BUILDSTDERR: Compiling backtrace-sys v0.1.16 BUILDSTDERR: Compiling backtrace v0.3.5 BUILDSTDERR: Compiling error-chain v0.11.0 BUILDSTDERR: Compiling symbolic_expressions v4.1.11 BUILDSTDERR: Compiling cspc v0.1.0 (file:///builddir/build/BUILD/cspc-0.1.0) BUILDSTDERR: warning: unused import: `std::io::Read` BUILDSTDERR: --> src/compiler/mod.rs:4:5 BUILDSTDERR: | BUILDSTDERR: 4 | use std::io::Read; BUILDSTDERR: | ^^^^^^^^^^^^^ BUILDSTDERR: | BUILDSTDERR: = note: #[warn(unused_imports)] on by default BUILDSTDERR: warning: unused import: `std::io::Error` BUILDSTDERR: --> src/compiler/mod.rs:5:5 BUILDSTDERR: | BUILDSTDERR: 5 | use std::io::Error; BUILDSTDERR: | ^^^^^^^^^^^^^^ BUILDSTDERR: warning: unused import: `std::io::Write` BUILDSTDERR: --> src/compiler/mod.rs:6:5 BUILDSTDERR: | BUILDSTDERR: 6 | use std::io::Write; BUILDSTDERR: | ^^^^^^^^^^^^^^ BUILDSTDERR: warning: unused variable: `input` BUILDSTDERR: --> src/main.rs:12:33 BUILDSTDERR: | BUILDSTDERR: 12 | fn decompile(input: &mut I, output: &mut O, print_ast: bool) {} BUILDSTDERR: | ^^^^^ BUILDSTDERR: | BUILDSTDERR: = note: #[warn(unused_variables)] on by default BUILDSTDERR: = note: to avoid this warning, consider using `_input` instead BUILDSTDERR: warning: unused variable: `output` BUILDSTDERR: --> src/main.rs:12:48 BUILDSTDERR: | BUILDSTDERR: 12 | fn decompile(input: &mut I, output: &mut O, print_ast: bool) {} BUILDSTDERR: | ^^^^^^ BUILDSTDERR: | BUILDSTDERR: = note: to avoid this warning, consider using `_output` instead BUILDSTDERR: warning: unused variable: `print_ast` BUILDSTDERR: --> src/main.rs:12:64 BUILDSTDERR: | BUILDSTDERR: 12 | fn decompile(input: &mut I, output: &mut O, print_ast: bool) {} BUILDSTDERR: | ^^^^^^^^^ BUILDSTDERR: | BUILDSTDERR: = note: to avoid this warning, consider using `_print_ast` instead BUILDSTDERR: warning: unused variable: `input` BUILDSTDERR: --> src/main.rs:24:9 BUILDSTDERR: | BUILDSTDERR: 24 | let mut input: Box = match opts.value_of("INPUT") { BUILDSTDERR: | ^^^^^^^^^ BUILDSTDERR: | BUILDSTDERR: = note: to avoid this warning, consider using `_input` instead BUILDSTDERR: warning: unused variable: `output` BUILDSTDERR: --> src/main.rs:32:9 BUILDSTDERR: | BUILDSTDERR: 32 | let mut output: Box = Box::new(std::io::stdout()); BUILDSTDERR: | ^^^^^^^^^^ BUILDSTDERR: | BUILDSTDERR: = note: to avoid this warning, consider using `_output` instead BUILDSTDERR: warning: unused variable: `print_ast` BUILDSTDERR: --> src/main.rs:33:9 BUILDSTDERR: | BUILDSTDERR: 33 | let print_ast = opts.is_present("PRINT_AST"); BUILDSTDERR: | ^^^^^^^^^ BUILDSTDERR: | BUILDSTDERR: = note: to avoid this warning, consider using `_print_ast` instead BUILDSTDERR: warning: variable does not need to be mutable BUILDSTDERR: --> src/main.rs:24:9 BUILDSTDERR: | BUILDSTDERR: 24 | let mut input: Box = match opts.value_of("INPUT") { BUILDSTDERR: | ---^^^^^^ BUILDSTDERR: | | BUILDSTDERR: | help: remove this `mut` BUILDSTDERR: | BUILDSTDERR: = note: #[warn(unused_mut)] on by default BUILDSTDERR: warning: variable does not need to be mutable BUILDSTDERR: --> src/main.rs:32:9 BUILDSTDERR: | BUILDSTDERR: 32 | let mut output: Box = Box::new(std::io::stdout()); BUILDSTDERR: | ---^^^^^^^ BUILDSTDERR: | | BUILDSTDERR: | help: remove this `mut` BUILDSTDERR: warning: function is never used: `decompile` BUILDSTDERR: --> src/main.rs:12:1 BUILDSTDERR: | BUILDSTDERR: 12 | fn decompile(input: &mut I, output: &mut O, print_ast: bool) {} BUILDSTDERR: | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BUILDSTDERR: | BUILDSTDERR: = note: #[warn(dead_code)] on by default BUILDSTDERR: Finished release [optimized + debuginfo] target(s) in 150.10 secs + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6GVWqJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cspc-0.1.0-1.fc29.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cspc-0.1.0-1.fc29.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/cspc-0.1.0-1.fc29.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cspc-0.1.0-1.fc29.x86_64 + cd cspc-0.1.0 + mkdir -p /builddir/build/BUILDROOT/cspc-0.1.0-1.fc29.x86_64//usr/bin + cp target/release/cspc /builddir/build/BUILDROOT/cspc-0.1.0-1.fc29.x86_64//usr/bin + mkdir -p /builddir/build/BUILDROOT/cspc-0.1.0-1.fc29.x86_64//usr/libexec/selinux/hll + ln -s /usr/bin/cspc /builddir/build/BUILDROOT/cspc-0.1.0-1.fc29.x86_64//usr/libexec/selinux/hll/csp + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.1.0-1.fc29 --unique-debug-suffix -0.1.0-1.fc29.x86_64 --unique-debug-src-base cspc-0.1.0-1.fc29.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/cspc-0.1.0 extracting debug info from /builddir/build/BUILDROOT/cspc-0.1.0-1.fc29.x86_64/usr/bin/cspc /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 3 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs '' '' Processing files: cspc-0.1.0-1.fc29.x86_64 Provides: cspc = 0.1.0-1.fc29 cspc(x86-64) = 0.1.0-1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.18)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libpthread.so.0(GLIBC_2.3.3)(64bit) rtld(GNU_HASH) Processing files: cspc-debugsource-0.1.0-1.fc29.x86_64 Provides: cspc-debugsource = 0.1.0-1.fc29 cspc-debugsource(x86-64) = 0.1.0-1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cspc-debuginfo-0.1.0-1.fc29.x86_64 Provides: cspc-debuginfo = 0.1.0-1.fc29 cspc-debuginfo(x86-64) = 0.1.0-1.fc29 debuginfo(build-id) = c2818ea96d2f308fb55e33bb3a72c37c5ae164b0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cspc-debugsource(x86-64) = 0.1.0-1.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cspc-0.1.0-1.fc29.x86_64 Wrote: /builddir/build/RPMS/cspc-0.1.0-1.fc29.x86_64.rpm Wrote: /builddir/build/RPMS/cspc-debugsource-0.1.0-1.fc29.x86_64.rpm Wrote: /builddir/build/RPMS/cspc-debuginfo-0.1.0-1.fc29.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.O1Wlwb + umask 022 + cd /builddir/build/BUILD + cd cspc-0.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cspc-0.1.0-1.fc29.x86_64 + exit 0 Child return code was: 0