Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-mime.spec'], chrootPath='/var/lib/mock/epel9-build-54913335-6530921/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.745cbg9v:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-mime.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1679356800 Wrote: /builddir/build/SRPMS/rust-mime-0.3.17-1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-mime.spec'], chrootPath='/var/lib/mock/epel9-build-54913335-6530921/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'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.745cbg9v:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-mime.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1679356800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kRiT8M + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mime-0.3.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/mime-0.3.17.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mime-0.3.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.pExULA + umask 022 + cd /builddir/build/BUILD + cd mime-0.3.17 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-mime-0.3.17-1.el9.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 ppc64le /builddir/build/SPECS/rust-mime.spec'], chrootPath='/var/lib/mock/epel9-build-54913335-6530921/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.745cbg9v:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target ppc64le /builddir/build/SPECS/rust-mime.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1679356800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.b7n4S8 + umask 022 + cd /builddir/build/BUILD + cd mime-0.3.17 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hU72Bf + umask 022 + cd /builddir/build/BUILD + cd mime-0.3.17 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --profile rpm Compiling mime v0.3.17 (/builddir/build/BUILD/mime-0.3.17) Running `/usr/bin/rustc --crate-name mime src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=afcb7604167586ac -C extra-filename=-afcb7604167586ac --out-dir /builddir/build/BUILD/mime-0.3.17/target/rpm/deps -L dependency=/builddir/build/BUILD/mime-0.3.17/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished rpm [optimized + debuginfo] target(s) in 1.31s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zVSZpY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-mime-0.3.17-1.el9.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-mime-0.3.17-1.el9.ppc64le ++ dirname /builddir/build/BUILDROOT/rust-mime-0.3.17-1.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-mime-0.3.17-1.el9.ppc64le + cd mime-0.3.17 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=mime ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.3.17 + REG_DIR=/builddir/build/BUILDROOT/rust-mime-0.3.17-1.el9.ppc64le/usr/share/cargo/registry/mime-0.3.17 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-mime-0.3.17-1.el9.ppc64le/usr/share/cargo/registry/mime-0.3.17 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-mime-0.3.17-1.el9.ppc64le/usr/share/cargo/registry/mime-0.3.17 warning: No (git) VCS found for `/builddir/build/BUILD/mime-0.3.17` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-mime-0.3.17-1.el9.ppc64le/usr/share/cargo/registry/mime-0.3.17/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-mime-0.3.17-1.el9.ppc64le/usr/share/cargo/registry/mime-0.3.17/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.eNKet4 + umask 022 + cd /builddir/build/BUILD + cd mime-0.3.17 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j8 -Z avoid-dev-deps --profile rpm --no-fail-fast -- --skip parse::test_parse_iterator_all_invalid Compiling mime v0.3.17 (/builddir/build/BUILD/mime-0.3.17) Running `/usr/bin/rustc --crate-name mime src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=05ac73af896b3272 -C extra-filename=-05ac73af896b3272 --out-dir /builddir/build/BUILD/mime-0.3.17/target/rpm/deps -L dependency=/builddir/build/BUILD/mime-0.3.17/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: trailing semicolon in macro used in expression position --> src/lib.rs:713:53 | 713 | mime_constant_test!($id, $src, $slash, None); | ^ ... 746 | / mimes! { 747 | | STAR_STAR, "*/*", 1; 748 | | 749 | | TEXT_STAR, "text/*", 4; ... | 783 | | MULTIPART_FORM_DATA, "multipart/form-data", 9; 784 | | } | |_- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 note: the lint level is defined here --> src/lib.rs:27:9 | 27 | #![deny(warnings)] | ^^^^^^^^ = note: `#[warn(semicolon_in_expressions_from_macros)]` implied by `#[warn(warnings)]` = note: this warning originates in the macro `mime_constant_test` which comes from the expansion of the macro `mimes` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trailing semicolon in macro used in expression position --> src/lib.rs:716:78 | 716 | mime_constant_test!(FULL $id, $src, $slash, $plus, ParamSource::None); | ^ ... 746 | / mimes! { 747 | | STAR_STAR, "*/*", 1; 748 | | 749 | | TEXT_STAR, "text/*", 4; ... | 783 | | MULTIPART_FORM_DATA, "multipart/form-data", 9; 784 | | } | |_- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 = note: this warning originates in the macro `mime_constant_test` which comes from the expansion of the macro `mimes` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trailing semicolon in macro used in expression position --> src/lib.rs:713:53 | 713 | mime_constant_test!($id, $src, $slash, None); | ^ ... 746 | / mimes! { 747 | | STAR_STAR, "*/*", 1; 748 | | 749 | | TEXT_STAR, "text/*", 4; ... | 783 | | MULTIPART_FORM_DATA, "multipart/form-data", 9; 784 | | } | |_- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 = note: this warning originates in the macro `mime_constant_test` which comes from the expansion of the macro `mimes` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trailing semicolon in macro used in expression position --> src/lib.rs:720:87 | 720 | mime_constant_test!(FULL $id, $src, $slash, $plus, ParamSource::Utf8($params)); | ^ ... 746 | / mimes! { 747 | | STAR_STAR, "*/*", 1; 748 | | 749 | | TEXT_STAR, "text/*", 4; ... | 783 | | MULTIPART_FORM_DATA, "multipart/form-data", 9; 784 | | } | |_- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 = note: this warning originates in the macro `mime_constant_test` which comes from the expansion of the macro `mimes` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `mime` (lib test) generated 57 warnings (53 duplicates) Finished rpm [optimized + debuginfo] target(s) in 4.37s warning: the following packages contain code that will be rejected by a future version of Rust: mime v0.3.17 (/builddir/build/BUILD/mime-0.3.17) note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` Running `/builddir/build/BUILD/mime-0.3.17/target/rpm/deps/mime-05ac73af896b3272 --skip 'parse::test_parse_iterator_all_invalid'` running 16 tests test parse::test_parse_iterator_invalid ... ok test test_names_macro_consts ... ok test test_mimes_macro_consts ... ok test parse::test_parse_iterator ... ok test tests::test_essence_str ... ok test tests::test_case_sensitive_values ... ok test tests::test_get_param ... ok test tests::test_matching ... ok test tests::test_mime_from_str_empty_parameter_list ... ok test tests::test_mime_from_str ... ok test tests::test_mime_fmt ... ok test parse::test_lookup_tables ... ok test tests::test_type_ ... ok test tests::test_name_eq ... ok test tests::test_subtype ... ok test tests::test_suffix ... ok test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s Doc-tests mime Running `/usr/bin/rustdoc --crate-type lib --crate-name mime --test src/lib.rs --test-run-directory /builddir/build/BUILD/mime-0.3.17 -L dependency=/builddir/build/BUILD/mime-0.3.17/target/rpm/deps -L dependency=/builddir/build/BUILD/mime-0.3.17/target/rpm/deps --test-args --skip --test-args 'parse::test_parse_iterator_all_invalid' --extern mime=/builddir/build/BUILD/mime-0.3.17/target/rpm/deps/libmime-afcb7604167586ac.rlib -C embed-bitcode=no --error-format human` running 6 tests test src/lib.rs - Mime::type_ (line 133) ... ok test src/lib.rs - (line 17) ... ok test src/lib.rs - Mime::subtype (line 150) ... ok test src/lib.rs - (line 10) ... ok test src/lib.rs - Mime::get_param (line 191) ... ok test src/lib.rs - Mime::suffix (line 170) ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-mime-devel-0.3.17-1.el9.noarch warning: File listed twice: /usr/share/cargo/registry/mime-0.3.17/CONTRIBUTING.md warning: File listed twice: /usr/share/cargo/registry/mime-0.3.17/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/mime-0.3.17/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/mime-0.3.17/README.md Provides: crate(mime) = 0.3.17 rust-mime-devel = 0.3.17-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-mime+default-devel-0.3.17-1.el9.noarch Provides: crate(mime/default) = 0.3.17 rust-mime+default-devel = 0.3.17-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(mime) = 0.3.17 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-mime-0.3.17-1.el9.ppc64le Wrote: /builddir/build/SRPMS/rust-mime-0.3.17-1.el9.src.rpm Wrote: /builddir/build/RPMS/rust-mime+default-devel-0.3.17-1.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-mime-devel-0.3.17-1.el9.noarch.rpm Child return code was: 0