D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-resize0.4-0.4.3-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HAKE7u Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RTmWOM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build + rm -rf resize-0.4.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/resize-0.4.3.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd resize-0.4.3 + /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 /home/pterjan/rpmbuild/tmp/rpm-tmp.rprzsI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build + cd resize-0.4.3 + /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.jOwFFe + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-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 resize-0.4.3 + '[' 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 Compiling resize v0.4.3 (/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3) Running `/usr/bin/rustc --crate-name resize --edition=2018 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=4bfb711b8eff0939 -C extra-filename=-74533946e738b900 --out-dir /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:37:5 | 37 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:43:5 | 43 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:59:5 | 59 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:65:5 | 65 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:81:5 | 81 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:87:5 | 87 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:102:5 | 102 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:108:5 | 108 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:123:5 | 123 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:129:5 | 129 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:144:5 | 144 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:150:5 | 150 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `resize` (lib) generated 12 warnings (run `cargo fix --lib -p resize` to apply 12 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 0.41s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.smALkZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-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 resize-0.4.3 + '[' 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=resize ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.4.3 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/BUILDROOT/usr/share/cargo/registry/resize-0.4.3 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/BUILDROOT/usr/share/cargo/registry/resize-0.4.3 + /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-resize0.4-0.4.3-build/BUILDROOT/usr/share/cargo/registry/resize-0.4.3 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/BUILDROOT/usr/share/cargo/registry/resize-0.4.3/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/BUILDROOT/usr/share/cargo/registry/resize-0.4.3/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.NCloKp + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-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 resize-0.4.3 + '[' 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 Compiling crc32fast v1.5.0 Compiling adler32 v1.2.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/crc32fast-1.5.0/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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "std"))' -C metadata=33e19f3112d49d8f -C extra-filename=-e742c1c388581f5f --out-dir /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/build/crc32fast-e742c1c388581f5f -L dependency=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling cfg-if v1.0.4 Compiling byteorder v1.5.0 Compiling bitflags v1.3.2 warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:37:5 | 37 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:43:5 | 43 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:59:5 | 59 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:65:5 | 65 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:81:5 | 81 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:87:5 | 87 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:102:5 | 102 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:108:5 | 108 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:123:5 | 123 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:129:5 | 129 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:144:5 | 144 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks --> src/px.rs:150:5 | 150 | #[must_use] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits Running `/usr/bin/rustc --crate-name adler32 --edition=2018 /usr/share/cargo/registry/adler32-1.2.0/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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=86544d8739f31518 -C extra-filename=-0a563fbd3230f606 --out-dir /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/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 cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.4/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("core", "rustc-dep-of-std"))' -C metadata=557655ab03dec7b9 -C extra-filename=-e398f09b4be48fa3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/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 byteorder --edition=2021 /usr/share/cargo/registry/byteorder-1.5.0/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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "std"))' -C metadata=8810f3734be278a5 -C extra-filename=-e3e45d3c1cd3a732 --out-dir /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/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 bitflags --edition=2018 /usr/share/cargo/registry/bitflags-1.3.2/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "example_generated"))' -C metadata=22c0107e9ca77461 -C extra-filename=-adb7b2a69019941a --out-dir /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `resize` (lib) generated 12 warnings (run `cargo fix --lib -p resize` to apply 12 suggestions) Compiling miniz_oxide v0.3.7 Running `/usr/bin/rustc --crate-name miniz_oxide --edition=2018 /usr/share/cargo/registry/miniz_oxide-0.3.7/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=39edea3c11bfa583 -C extra-filename=-90b03e0330d49016 --out-dir /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps --extern adler32=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps/libadler32-0a563fbd3230f606.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling deflate v0.8.6 Running `/usr/bin/rustc --crate-name deflate --edition=2018 /usr/share/cargo/registry/deflate-0.8.6/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("benchmarks", "gzip", "gzip-header"))' -C metadata=bdf3dd03e86a2985 -C extra-filename=-bcb6afcabaabc3b3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps --extern adler32=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps/libadler32-0a563fbd3230f606.rmeta --extern byteorder=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps/libbyteorder-e3e45d3c1cd3a732.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/build/crc32fast-e742c1c388581f5f/build-script-build` Running `/usr/bin/rustc --crate-name crc32fast --edition=2021 /usr/share/cargo/registry/crc32fast-1.5.0/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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "std"))' -C metadata=8050007d2a794983 -C extra-filename=-84bf847ff45ac297 --out-dir /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps/libcfg_if-e398f09b4be48fa3.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg stable_arm_crc32_intrinsics --check-cfg 'cfg(stable_arm_crc32_intrinsics)'` Compiling png v0.16.8 Running `/usr/bin/rustc --crate-name png --edition=2018 /usr/share/cargo/registry/png-0.16.8/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="deflate"' --cfg 'feature="png-encoding"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("benchmarks", "default", "deflate", "png-encoding", "unstable"))' -C metadata=cbbe7119ffcb9491 -C extra-filename=-254ec4854fdd3783 --out-dir /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps --extern bitflags=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps/libbitflags-adb7b2a69019941a.rmeta --extern crc32fast=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps/libcrc32fast-84bf847ff45ac297.rmeta --extern deflate=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps/libdeflate-bcb6afcabaabc3b3.rmeta --extern miniz_oxide=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps/libminiz_oxide-90b03e0330d49016.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling resize v0.4.3 (/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3) Running `/usr/bin/rustc --crate-name resize --edition=2018 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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=6f4b140009034b7c -C extra-filename=-0478c527ccb02d23 --out-dir /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps --extern png=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps/libpng-254ec4854fdd3783.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `resize` (lib test) generated 12 warnings (12 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 3.86s Running `/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps/resize-0478c527ccb02d23` running 2 tests test pixel_sizes ... ok test resize_stride ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests resize Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name resize --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps --extern png=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps/libpng-254ec4854fdd3783.rlib --extern resize=/home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/resize-0.4.3/target/rpm/deps/libresize-74533946e738b900.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' --error-format human` running 2 tests test src/lib.rs - Filter::new (line 61) ... ok test src/lib.rs - (line 5) ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-resize0.4-devel-0.4.3-2.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/resize-0.4.3/LICENSE warning: File listed twice: /usr/share/cargo/registry/resize-0.4.3/README.md Provides: crate(resize) = 0.4.3 rust-resize0.4-devel = 0.4.3-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-resize0.4+default-devel-0.4.3-2.mga10.noarch Provides: crate(resize/default) = 0.4.3 rust-resize0.4+default-devel = 0.4.3-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(resize) = 0.4.3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-resize0.4+default-devel-0.4.3-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-resize0.4-devel-0.4.3-2.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.a54SBv + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build + test -d /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-resize0.4-0.4.3-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/resize-0.4.3/LICENSE File listed twice: /usr/share/cargo/registry/resize-0.4.3/README.md D: [iurt_root_command] Success!