D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-goblin-0.9.3-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TPYrSz Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ivYpGP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build + rm -rf goblin-0.9.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/goblin-0.9.3.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd goblin-0.9.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.REFNVI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build + cd goblin-0.9.3 + /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.POQJsy + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.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 goblin-0.9.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 proc-macro2 v1.0.95 Compiling unicode-ident v1.0.18 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.95/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=43145de99fbc3c75 -C extra-filename=-6df0e9deb46d145b --out-dir /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/build/proc-macro2-6df0e9deb46d145b -L dependency=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling log v0.4.27 Compiling plain v0.2.3 Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.18/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())' -C metadata=d056c812c33466a6 -C extra-filename=-7e20d0fe5993d5bb --out-dir /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.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 log --edition=2021 /usr/share/cargo/registry/log-0.4.27/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("kv", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "serde", "std"))' -C metadata=3ae60979f3f39e86 -C extra-filename=-ba5a7a89c4216fa8 --out-dir /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.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 plain --edition=2015 /usr/share/cargo/registry/plain-0.2.3/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=1156d6a523029e49 -C extra-filename=-ffdd53bc3dc74526 --out-dir /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/build/proc-macro2-6df0e9deb46d145b/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.95/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 --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=3e6f3cc5b29782d7 -C extra-filename=-607625e050d9e33a --out-dir /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps/libunicode_ident-7e20d0fe5993d5bb.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg wrap_proc_macro --cfg proc_macro_span --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` Compiling quote v1.0.40 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.40/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 --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=997ad78a03a5a391 -C extra-filename=-b3b585a787befe69 --out-dir /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps/libproc_macro2-607625e050d9e33a.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling syn v2.0.104 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.104/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 --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "test", "visit", "visit-mut"))' -C metadata=eaceb442cf32a2f4 -C extra-filename=-dd27b55ea6a66d43 --out-dir /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps/libproc_macro2-607625e050d9e33a.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps/libquote-b3b585a787befe69.rmeta --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps/libunicode_ident-7e20d0fe5993d5bb.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling scroll_derive v0.12.0 Running `/usr/bin/rustc --crate-name scroll_derive --edition=2018 /usr/share/cargo/registry/scroll_derive-0.12.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=9c83b047ffbf4996 -C extra-filename=-6bcca535b372db5c --out-dir /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps/libproc_macro2-607625e050d9e33a.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps/libquote-b3b585a787befe69.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps/libsyn-dd27b55ea6a66d43.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling scroll v0.12.0 Running `/usr/bin/rustc --crate-name scroll --edition=2021 /usr/share/cargo/registry/scroll-0.12.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="derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "derive", "std"))' -C metadata=514a40595aee11ea -C extra-filename=-8e4d3a44fa20ab2a --out-dir /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps --extern scroll_derive=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps/libscroll_derive-6bcca535b372db5c.so --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling goblin v0.9.3 (/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3) Running `/usr/bin/rustc --crate-name goblin --edition=2021 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="alloc"' --cfg 'feature="archive"' --cfg 'feature="default"' --cfg 'feature="elf32"' --cfg 'feature="elf64"' --cfg 'feature="endian_fd"' --cfg 'feature="log"' --cfg 'feature="mach32"' --cfg 'feature="mach64"' --cfg 'feature="pe32"' --cfg 'feature="pe64"' --cfg 'feature="std"' --cfg 'feature="te"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "archive", "default", "elf32", "elf64", "endian_fd", "log", "mach32", "mach64", "pe32", "pe64", "std", "te"))' -C metadata=e4a39ae7e8613d48 -C extra-filename=-2dd4ce755df9bb6f --out-dir /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps --extern log=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps/liblog-ba5a7a89c4216fa8.rmeta --extern plain=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps/libplain-ffdd53bc3dc74526.rmeta --extern scroll=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3/target/rpm/deps/libscroll-8e4d3a44fa20ab2a.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:309:29 | 309 | pub fn parse(bytes: &[u8]) -> error::Result { | ^^^^^ ------ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 309 | pub fn parse(bytes: &[u8]) -> error::Result> { | ++++ warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/elf/dynamic.rs:788:5 | 570 | let lib = &(*strtab)[dynamic.d_val as usize]; | ------ this raw pointer has type `*const Strtab<'_>` ... 788 | elf_dyn_std_impl!(u32, crate::elf32::program_header::ProgramHeader); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&Strtab<'_>` --> src/elf/dynamic.rs:570:36 | 570 | let lib = &(*strtab)[dynamic.d_val as usize]; | ^^^^^^^^^ ... 788 | elf_dyn_std_impl!(u32, crate::elf32::program_header::ProgramHeader); | ------------------------------------------------------------------- in this macro invocation = note: `#[warn(dangerous_implicit_autorefs)]` on by default = note: this warning originates in the macro `elf_dyn_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 570 | let lib = &(&(*strtab))[dynamic.d_val as usize]; | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/elf/dynamic.rs:802:5 | 570 | let lib = &(*strtab)[dynamic.d_val as usize]; | ------ this raw pointer has type `*const Strtab<'_>` ... 802 | elf_dyn_std_impl!(u64, crate::elf64::program_header::ProgramHeader); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&Strtab<'_>` --> src/elf/dynamic.rs:570:36 | 570 | let lib = &(*strtab)[dynamic.d_val as usize]; | ^^^^^^^^^ ... 802 | elf_dyn_std_impl!(u64, crate::elf64::program_header::ProgramHeader); | ------------------------------------------------------------------- in this macro invocation = note: this warning originates in the macro `elf_dyn_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 570 | let lib = &(&(*strtab))[dynamic.d_val as usize]; | ++ + warning: hiding a lifetime that's elided elsewhere is confusing --> src/mach/mod.rs:119:9 | 119 | &self, | ^^^^^ the lifetime is elided here 120 | ) -> error::Result> { | --------------------------- the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 120 | ) -> error::Result, segment::Section)>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/mach/mod.rs:134:20 | 134 | pub fn exports(&self) -> error::Result> { | ^^^^^ --------------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 134 | pub fn exports(&self) -> error::Result>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/mach/mod.rs:142:20 | 142 | pub fn imports(&self) -> error::Result> { | ^^^^^ --------------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 142 | pub fn imports(&self) -> error::Result>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/mach/mod.rs:394:31 | 394 | fn extract_multi_entry(bytes: &[u8]) -> error::Result { | ^^^^^ ---------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 394 | fn extract_multi_entry(bytes: &[u8]) -> error::Result> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/mach/mod.rs:458:24 | 458 | pub fn iter_arches(&self) -> FatArchIterator { | ^^^^^ --------------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 458 | pub fn iter_arches(&self) -> FatArchIterator<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/pe/certificate_table.rs:156:12 | 156 | bytes: &[u8], | ^^^^^ the lifetime is elided here ... 159 | ) -> Result { | ------------------------- the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 159 | ) -> Result, error::Error> { | ++++ warning: hiding a lifetime that's named elsewhere is confusing --> src/pe/section_table.rs:84:30 | 84 | pub fn data<'a, 'b: 'a>(&'a self, pe_bytes: &'b [u8]) -> error::Result>> { | ^^ the lifetime is named here --------- the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 84 | pub fn data<'a, 'b: 'a>(&'a self, pe_bytes: &'b [u8]) -> error::Result>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/archive/mod.rs:541:16 | 541 | pub fn get(&self, member: &str) -> Option<&Member> { | ^^^^^ ------- | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 541 | pub fn get(&self, member: &str) -> Option<&Member<'_>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/archive/mod.rs:550:19 | 550 | pub fn get_at(&self, index: usize) -> Option<&Member> { | ^^^^^ ------- | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 550 | pub fn get_at(&self, index: usize) -> Option<&Member<'_>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/archive/mod.rs:573:22 | 573 | pub fn summarize(&self) -> Vec<(&str, &Member, Vec<&'a str>)> { | ^^^^^ ---- ------- | | | || | | | |the same lifetime is hidden here | | | the same lifetime is elided here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 573 | pub fn summarize(&self) -> Vec<(&str, &Member<'_>, Vec<&'a str>)> { | ++++ warning: `goblin` (lib) generated 13 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 34.12s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9X2a5U + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.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 goblin-0.9.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=goblin ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.9.3 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/BUILDROOT/usr/share/cargo/registry/goblin-0.9.3 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/BUILDROOT/usr/share/cargo/registry/goblin-0.9.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-goblin-0.9.3-build/BUILDROOT/usr/share/cargo/registry/goblin-0.9.3 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/goblin-0.9.3` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/BUILDROOT/usr/share/cargo/registry/goblin-0.9.3/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/BUILDROOT/usr/share/cargo/registry/goblin-0.9.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 Processing files: rust-goblin-devel-0.9.3-2.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/goblin-0.9.3/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/goblin-0.9.3/LICENSE warning: File listed twice: /usr/share/cargo/registry/goblin-0.9.3/README.md Provides: crate(goblin) = 0.9.3 rust-goblin-devel = 0.9.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(plain/default) >= 0.2.3 crate(scroll) >= 0.12.0 rust >= 1.63.0 Processing files: rust-goblin+default-devel-0.9.3-2.mga10.noarch Provides: crate(goblin/default) = 0.9.3 rust-goblin+default-devel = 0.9.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(goblin) = 0.9.3 crate(goblin/archive) = 0.9.3 crate(goblin/elf32) = 0.9.3 crate(goblin/elf64) = 0.9.3 crate(goblin/endian_fd) = 0.9.3 crate(goblin/mach32) = 0.9.3 crate(goblin/mach64) = 0.9.3 crate(goblin/pe32) = 0.9.3 crate(goblin/pe64) = 0.9.3 crate(goblin/std) = 0.9.3 crate(goblin/te) = 0.9.3 Processing files: rust-goblin+alloc-devel-0.9.3-2.mga10.noarch Provides: crate(goblin/alloc) = 0.9.3 rust-goblin+alloc-devel = 0.9.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(goblin) = 0.9.3 crate(goblin/log) = 0.9.3 crate(scroll/derive) >= 0.12.0 Processing files: rust-goblin+archive-devel-0.9.3-2.mga10.noarch Provides: crate(goblin/archive) = 0.9.3 rust-goblin+archive-devel = 0.9.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(goblin) = 0.9.3 crate(goblin/alloc) = 0.9.3 Processing files: rust-goblin+elf32-devel-0.9.3-2.mga10.noarch Provides: crate(goblin/elf32) = 0.9.3 rust-goblin+elf32-devel = 0.9.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(goblin) = 0.9.3 Processing files: rust-goblin+elf64-devel-0.9.3-2.mga10.noarch Provides: crate(goblin/elf64) = 0.9.3 rust-goblin+elf64-devel = 0.9.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(goblin) = 0.9.3 Processing files: rust-goblin+endian_fd-devel-0.9.3-2.mga10.noarch Provides: crate(goblin/endian_fd) = 0.9.3 rust-goblin+endian_fd-devel = 0.9.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(goblin) = 0.9.3 crate(goblin/alloc) = 0.9.3 Processing files: rust-goblin+log-devel-0.9.3-2.mga10.noarch Provides: crate(goblin/log) = 0.9.3 rust-goblin+log-devel = 0.9.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(goblin) = 0.9.3 crate(log) >= 0.4.0 Processing files: rust-goblin+mach32-devel-0.9.3-2.mga10.noarch Provides: crate(goblin/mach32) = 0.9.3 rust-goblin+mach32-devel = 0.9.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(goblin) = 0.9.3 crate(goblin/alloc) = 0.9.3 crate(goblin/archive) = 0.9.3 crate(goblin/endian_fd) = 0.9.3 Processing files: rust-goblin+mach64-devel-0.9.3-2.mga10.noarch Provides: crate(goblin/mach64) = 0.9.3 rust-goblin+mach64-devel = 0.9.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(goblin) = 0.9.3 crate(goblin/alloc) = 0.9.3 crate(goblin/archive) = 0.9.3 crate(goblin/endian_fd) = 0.9.3 Processing files: rust-goblin+pe32-devel-0.9.3-2.mga10.noarch Provides: crate(goblin/pe32) = 0.9.3 rust-goblin+pe32-devel = 0.9.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(goblin) = 0.9.3 crate(goblin/alloc) = 0.9.3 crate(goblin/endian_fd) = 0.9.3 Processing files: rust-goblin+pe64-devel-0.9.3-2.mga10.noarch Provides: crate(goblin/pe64) = 0.9.3 rust-goblin+pe64-devel = 0.9.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(goblin) = 0.9.3 crate(goblin/alloc) = 0.9.3 crate(goblin/endian_fd) = 0.9.3 Processing files: rust-goblin+std-devel-0.9.3-2.mga10.noarch Provides: crate(goblin/std) = 0.9.3 rust-goblin+std-devel = 0.9.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(goblin) = 0.9.3 crate(goblin/alloc) = 0.9.3 crate(scroll/std) >= 0.12.0 Processing files: rust-goblin+te-devel-0.9.3-2.mga10.noarch Provides: crate(goblin/te) = 0.9.3 rust-goblin+te-devel = 0.9.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(goblin) = 0.9.3 crate(goblin/alloc) = 0.9.3 crate(goblin/endian_fd) = 0.9.3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-goblin+log-devel-0.9.3-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-goblin+te-devel-0.9.3-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-goblin+archive-devel-0.9.3-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-goblin+elf32-devel-0.9.3-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-goblin+mach64-devel-0.9.3-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-goblin+default-devel-0.9.3-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-goblin+pe32-devel-0.9.3-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-goblin+alloc-devel-0.9.3-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-goblin+mach32-devel-0.9.3-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-goblin+elf64-devel-0.9.3-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-goblin+pe64-devel-0.9.3-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-goblin+endian_fd-devel-0.9.3-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-goblin+std-devel-0.9.3-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-goblin-devel-0.9.3-2.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8HvfA2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build + test -d /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-goblin-0.9.3-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/goblin-0.9.3/CHANGELOG.md File listed twice: /usr/share/cargo/registry/goblin-0.9.3/LICENSE File listed twice: /usr/share/cargo/registry/goblin-0.9.3/README.md D: [iurt_root_command] Success!