D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-protobuf-2.28.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dmYSGi + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build + test -d /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yhkDKB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build + rm -rf protobuf-2.28.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/protobuf-2.28.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd protobuf-2.28.0 + /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.4APGjl + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build + cd protobuf-2.28.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OEtiwY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build + cd protobuf-2.28.0 + '[' 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 protobuf v2.28.0 (/home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/protobuf-2.28.0) Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("bytes", "serde", "serde_derive", "with-bytes", "with-serde"))' -C metadata=c7f118996b9894dc -C extra-filename=-c7f118996b9894dc --out-dir /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/protobuf-2.28.0/target/rpm/build/protobuf-c7f118996b9894dc -L dependency=/home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/protobuf-2.28.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/protobuf-2.28.0/target/rpm/build/protobuf-c7f118996b9894dc/build-script-build` Running `/usr/bin/rustc --crate-name protobuf --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)' --check-cfg 'cfg(feature, values("bytes", "serde", "serde_derive", "with-bytes", "with-serde"))' -C metadata=e5954e073ce83389 -C extra-filename=-e5954e073ce83389 --out-dir /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/protobuf-2.28.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/protobuf-2.28.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `never` --> src/lib.rs:186:7 | 186 | #[cfg(never)] | ^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(never)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(never)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `never` --> src/lib.rs:189:7 | 189 | #[cfg(never)] | ^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(never)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(never)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> src/descriptor.rs:11:10 | 11 | #![allow(box_pointers)] | ^^^^^^^^^^^^ | = note: `#[warn(renamed_and_removed_lints)]` on by default warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> src/plugin.rs:11:10 | 11 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> src/rustproto.rs:11:10 | 11 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> src/well_known_types/any.rs:11:10 | 11 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> src/well_known_types/api.rs:11:10 | 11 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> src/well_known_types/duration.rs:11:10 | 11 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> src/well_known_types/empty.rs:11:10 | 11 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> src/well_known_types/field_mask.rs:11:10 | 11 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> src/well_known_types/source_context.rs:11:10 | 11 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> src/well_known_types/struct_pb.rs:11:10 | 11 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> src/well_known_types/timestamp.rs:11:10 | 11 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> src/well_known_types/type_pb.rs:11:10 | 11 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> src/well_known_types/wrappers.rs:11:10 | 11 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: ambiguous glob re-exports --> src/well_known_types/mod.rs:17:9 | 17 | pub use self::any::*; | ^^^^^^^^^^^^ the name `file_descriptor_proto` in the value namespace is first re-exported here ... 26 | pub use self::wrappers::*; | ----------------- but the name `file_descriptor_proto` in the value namespace is also re-exported here | = note: `#[warn(ambiguous_glob_reexports)]` on by default warning: field `1` is never read --> src/coded_output_stream.rs:69:30 | 69 | Write(&'a mut dyn Write, Vec), | ----- ^^^^^^^ | | | field in this variant | = note: `#[warn(dead_code)]` on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 69 | Write(&'a mut dyn Write, ()), | ~~ warning: trait `GetRepeatedMessage` is never used --> src/reflect/acc/v1.rs:75:7 | 75 | trait GetRepeatedMessage: Sync { | ^^^^^^^^^^^^^^^^^^ warning: trait `GetRepeatedEnum` is never used --> src/reflect/acc/v1.rs:81:7 | 81 | trait GetRepeatedEnum: Sync { | ^^^^^^^^^^^^^^^ warning: field `1` is never read --> src/reflect/acc/v1.rs:104:42 | 104 | String(for<'a> fn(&'a M) -> &'a str, fn(&mut M, String)), | ------ field in this variant ^^^^^^^^^^^^^^^^^^ | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 104 | String(for<'a> fn(&'a M) -> &'a str, ()), | ~~ warning: field `1` is never read --> src/reflect/acc/v1.rs:105:42 | 105 | Bytes(for<'a> fn(&'a M) -> &'a [u8], fn(&mut M, Vec)), | ----- field in this variant ^^^^^^^^^^^^^^^^^^^ | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 105 | Bytes(for<'a> fn(&'a M) -> &'a [u8], ()), | ~~ warning: method `mut_field` is never used --> src/reflect/acc/v1.rs:127:8 | 122 | pub(crate) trait FieldAccessor2: Sync | -------------- method in this trait ... 127 | fn mut_field<'a>(&self, _: &'a mut M) -> &'a mut R; | ^^^^^^^^^ warning: field `mut_field` is never read --> src/reflect/acc/v1.rs:135:5 | 130 | struct MessageGetMut | ------------- field in this struct ... 135 | mut_field: for<'a> fn(&'a mut M) -> &'a mut L, | ^^^^^^^^^ warning: method `set_value` is never used --> src/reflect/optional.rs:9:8 | 6 | pub trait ReflectOptional: 'static { | --------------- method in this trait ... 9 | fn set_value(&mut self, value: &dyn ProtobufValue); | ^^^^^^^^^ warning: field `0` is never read --> src/buf_read_iter.rs:37:11 | 37 | Slice(&'a [u8]), | ----- ^^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 37 | Slice(()), | ~~ warning: `protobuf` (lib) generated 25 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 46.98s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Qqc2tr + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/BUILDROOT + cd protobuf-2.28.0 + '[' 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=protobuf ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=2.28.0 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/BUILDROOT/usr/share/cargo/registry/protobuf-2.28.0 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/BUILDROOT/usr/share/cargo/registry/protobuf-2.28.0 + /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-protobuf-2.28.0-build/BUILDROOT/usr/share/cargo/registry/protobuf-2.28.0 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/protobuf-2.28.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/BUILDROOT/usr/share/cargo/registry/protobuf-2.28.0/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/BUILDROOT/usr/share/cargo/registry/protobuf-2.28.0/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 mangling shebang in /usr/share/cargo/registry/protobuf-2.28.0/regenerate.sh from /bin/sh -ex to #!/usr/bin/sh -ex + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: rust-protobuf-devel-2.28.0-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/protobuf-2.28.0/LICENSE.txt warning: File listed twice: /usr/share/cargo/registry/protobuf-2.28.0/README.md Provides: crate(protobuf) = 2.28.0 rust-protobuf-devel = 2.28.0-1.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-protobuf+default-devel-2.28.0-1.mga10.noarch Provides: crate(protobuf/default) = 2.28.0 rust-protobuf+default-devel = 2.28.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(protobuf) = 2.28.0 Processing files: rust-protobuf+bytes-devel-2.28.0-1.mga10.noarch Provides: crate(protobuf/bytes) = 2.28.0 rust-protobuf+bytes-devel = 2.28.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(bytes/default) >= 1.0.0 crate(protobuf) = 2.28.0 Processing files: rust-protobuf+serde-devel-2.28.0-1.mga10.noarch Provides: crate(protobuf/serde) = 2.28.0 rust-protobuf+serde-devel = 2.28.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(protobuf) = 2.28.0 crate(serde/default) >= 1.0.0 crate(serde/derive) >= 1.0.0 Processing files: rust-protobuf+serde_derive-devel-2.28.0-1.mga10.noarch Provides: crate(protobuf/serde_derive) = 2.28.0 rust-protobuf+serde_derive-devel = 2.28.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(protobuf) = 2.28.0 crate(serde_derive/default) >= 1.0.0 Processing files: rust-protobuf+with-bytes-devel-2.28.0-1.mga10.noarch Provides: crate(protobuf/with-bytes) = 2.28.0 rust-protobuf+with-bytes-devel = 2.28.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(protobuf) = 2.28.0 crate(protobuf/bytes) = 2.28.0 Processing files: rust-protobuf+with-serde-devel-2.28.0-1.mga10.noarch Provides: crate(protobuf/with-serde) = 2.28.0 rust-protobuf+with-serde-devel = 2.28.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(protobuf) = 2.28.0 crate(protobuf/serde) = 2.28.0 crate(protobuf/serde_derive) = 2.28.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-protobuf+serde_derive-devel-2.28.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-protobuf+default-devel-2.28.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-protobuf+bytes-devel-2.28.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-protobuf+with-serde-devel-2.28.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-protobuf+with-bytes-devel-2.28.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-protobuf+serde-devel-2.28.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-protobuf-devel-2.28.0-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rqaqki + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build + test -d /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-protobuf-2.28.0-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/protobuf-2.28.0/LICENSE.txt File listed twice: /usr/share/cargo/registry/protobuf-2.28.0/README.md D: [iurt_root_command] Success!