D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-mime_guess-2.0.5-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JrId4N Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.j3gozC + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build + rm -rf mime_guess-2.0.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/mime_guess-2.0.5.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd mime_guess-2.0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/mime_guess-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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 /home/pterjan/rpmbuild/tmp/rpm-tmp.AAiYRP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build + cd mime_guess-2.0.5 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oRZ6qC + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mime_guess-2.0.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /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 -j16 -Z avoid-dev-deps --profile rpm warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling unicase v2.8.1 Compiling mime v0.3.17 Running `/usr/bin/rustc --crate-name unicase --edition=2018 /usr/share/cargo/registry/unicase-2.8.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("nightly"))' -C metadata=13f6c3adb601e6dc -C extra-filename=-b370355954160741 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name unicase --edition=2018 /usr/share/cargo/registry/unicase-2.8.1/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("nightly"))' -C metadata=79540e8140cb28cd -C extra-filename=-44051dcba903ecbe --out-dir /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name mime --edition=2015 /usr/share/cargo/registry/mime-0.3.17/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=f133dcd2a5b1defa -C extra-filename=-d3e2870b29d011c0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling mime_guess v2.0.5 (/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5) Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="rev-mappings"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "rev-mappings"))' -C metadata=cf4ffa26223ca059 -C extra-filename=-4194b17c6af5858f --out-dir /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/build/mime_guess-4194b17c6af5858f -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps --extern unicase=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps/libunicase-b370355954160741.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition value: `phf` --> build.rs:1:7 | 1 | #[cfg(feature = "phf")] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `rev-mappings` = help: consider adding `phf` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `phf` --> build.rs:20:7 | 20 | #[cfg(feature = "phf")] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `rev-mappings` = help: consider adding `phf` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `phf` --> build.rs:41:7 | 41 | #[cfg(feature = "phf")] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `rev-mappings` = help: consider adding `phf` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `phf` --> build.rs:78:11 | 78 | #[cfg(all(feature = "phf", feature = "rev-mappings"))] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `rev-mappings` = help: consider adding `phf` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `phf` --> build.rs:123:15 | 123 | #[cfg(all(not(feature = "phf"), feature = "rev-mappings"))] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `rev-mappings` = help: consider adding `phf` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `phf` --> build.rs:33:11 | 33 | #[cfg(feature = "phf")] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `rev-mappings` = help: consider adding `phf` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: `mime_guess` (build script) generated 6 warnings Running `/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/build/mime_guess-4194b17c6af5858f/build-script-build` Running `/usr/bin/rustc --crate-name mime_guess --edition=2015 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 --cfg 'feature="default"' --cfg 'feature="rev-mappings"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "rev-mappings"))' -C metadata=1063dc41816ee4cb -C extra-filename=-32ae008b54f1c6b6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps --extern mime=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps/libmime-d3e2870b29d011c0.rmeta --extern unicase=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps/libunicase-44051dcba903ecbe.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition value: `phf` --> src/lib.rs:32:7 | 32 | #[cfg(feature = "phf")] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `rev-mappings` = help: consider adding `phf` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `phf` --> src/lib.rs:36:11 | 36 | #[cfg(not(feature = "phf"))] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `rev-mappings` = help: consider adding `phf` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: `mime_guess` (lib) generated 2 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 3.62s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oQTHAP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mime_guess-2.0.5 + '[' 1 -eq 1 ']' + 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_guess ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=2.0.5 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/BUILDROOT/usr/share/cargo/registry/mime_guess-2.0.5 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/BUILDROOT/usr/share/cargo/registry/mime_guess-2.0.5 + /usr/bin/awk -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 /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/BUILDROOT/usr/share/cargo/registry/mime_guess-2.0.5 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/BUILDROOT/usr/share/cargo/registry/mime_guess-2.0.5/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/BUILDROOT/usr/share/cargo/registry/mime_guess-2.0.5/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /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-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dlpOjQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mime_guess-2.0.5 + '[' 1 -eq 1 ']' + /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 -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast warning: no edition set: defaulting to the 2015 edition while the latest is 2024 warning: unexpected `cfg` condition value: `phf` --> build.rs:1:7 | 1 | #[cfg(feature = "phf")] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `rev-mappings` = help: consider adding `phf` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `phf` --> build.rs:20:7 | 20 | #[cfg(feature = "phf")] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `rev-mappings` = help: consider adding `phf` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `phf` --> build.rs:41:7 | 41 | #[cfg(feature = "phf")] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `rev-mappings` = help: consider adding `phf` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `phf` --> build.rs:78:11 | 78 | #[cfg(all(feature = "phf", feature = "rev-mappings"))] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `rev-mappings` = help: consider adding `phf` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `phf` --> build.rs:123:15 | 123 | #[cfg(all(not(feature = "phf"), feature = "rev-mappings"))] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `rev-mappings` = help: consider adding `phf` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `phf` --> build.rs:33:11 | 33 | #[cfg(feature = "phf")] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `rev-mappings` = help: consider adding `phf` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: `mime_guess` (build script) generated 6 warnings Fresh mime v0.3.17 Fresh unicase v2.8.1 warning: unexpected `cfg` condition value: `phf` --> src/lib.rs:32:7 | 32 | #[cfg(feature = "phf")] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `rev-mappings` = help: consider adding `phf` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `phf` --> src/lib.rs:36:11 | 36 | #[cfg(not(feature = "phf"))] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `rev-mappings` = help: consider adding `phf` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration Compiling mime_guess v2.0.5 (/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5) warning: `mime_guess` (lib) generated 2 warnings Running `/usr/bin/rustc --crate-name mime_guess --edition=2015 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 --cfg 'feature="default"' --cfg 'feature="rev-mappings"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "rev-mappings"))' -C metadata=1f148b10700cd9df -C extra-filename=-77be28ffeba1aef4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps --extern mime=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps/libmime-d3e2870b29d011c0.rlib --extern unicase=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps/libunicase-44051dcba903ecbe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name rev_map --edition=2015 examples/rev_map.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="rev-mappings"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "rev-mappings"))' -C metadata=ac37da8ab792738d -C extra-filename=-5cba8827c182f8e5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps --extern mime=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps/libmime-d3e2870b29d011c0.rlib --extern mime_guess=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps/libmime_guess-32ae008b54f1c6b6.rlib --extern unicase=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps/libunicase-44051dcba903ecbe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `mime_guess` (lib test) generated 2 warnings (2 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.75s Running `/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps/mime_guess-77be28ffeba1aef4` running 7 tests test tests::check_type_bounds ... ok test tests::test_are_extensions_ascii ... ok test tests::test_are_extensions_sorted ... ok test tests::test_get_mime_extensions_str_no_panic_if_bad_mime ... ok test tests::test_are_mime_types_parseable ... ok test tests::test_mime_type_guessing ... ok test tests::test_mime_type_guessing_opt ... ok test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests mime_guess Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name mime_guess --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps --extern mime=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps/libmime-d3e2870b29d011c0.rlib --extern mime_guess=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps/libmime_guess-32ae008b54f1c6b6.rlib --extern unicase=/home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/mime_guess-2.0.5/target/rpm/deps/libunicase-44051dcba903ecbe.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="rev-mappings"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "rev-mappings"))' --error-format human` running 2 tests test src/mime_types.rs - impl_::MIME_TYPES (line 12) ... ignored test src/lib.rs - (line 5) ... ok test result: ok. 1 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.55s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-mime_guess-devel-2.0.5-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/mime_guess-2.0.5/LICENSE warning: File listed twice: /usr/share/cargo/registry/mime_guess-2.0.5/README.md Provides: crate(mime_guess) = 2.0.5 rust-mime_guess-devel = 2.0.5-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(mime/default) >= 0.3.0 crate(unicase/default) >= 2.4.0 Processing files: rust-mime_guess+default-devel-2.0.5-1.mga10.noarch Provides: crate(mime_guess/default) = 2.0.5 rust-mime_guess+default-devel = 2.0.5-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(mime_guess) = 2.0.5 crate(mime_guess/rev-mappings) = 2.0.5 Processing files: rust-mime_guess+rev-mappings-devel-2.0.5-1.mga10.noarch Provides: crate(mime_guess/rev-mappings) = 2.0.5 rust-mime_guess+rev-mappings-devel = 2.0.5-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(mime_guess) = 2.0.5 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-mime_guess+default-devel-2.0.5-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-mime_guess+rev-mappings-devel-2.0.5-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-mime_guess-devel-2.0.5-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EdY8fB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build + test -d /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-mime_guess-2.0.5-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/mime_guess-2.0.5/LICENSE File listed twice: /usr/share/cargo/registry/mime_guess-2.0.5/README.md D: [iurt_root_command] Success!