Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-goblin0.5.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-207422-14854/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-goblin0.5.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rust-goblin0.5-0.5.4-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-goblin0.5.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-207422-14854/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-goblin0.5.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.16LG3e + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf goblin-0.5.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/goblin-0.5.4.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd goblin-0.5.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Qiw0Oh + umask 022 + cd /builddir/build/BUILD + cd goblin-0.5.4 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-goblin0.5-0.5.4-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-goblin0.5.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-207422-14854/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-goblin0.5.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kAbFnm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf goblin-0.5.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/goblin-0.5.4.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd goblin-0.5.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.SpcaeO + umask 022 + cd /builddir/build/BUILD + cd goblin-0.5.4 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-goblin0.5-0.5.4-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-goblin0.5.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-207422-14854/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-goblin0.5.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.1gJPWB + umask 022 + cd /builddir/build/BUILD + cd goblin-0.5.4 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.t26CMT + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd goblin-0.5.4 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --profile rpm Compiling proc-macro2 v1.0.85 Compiling unicode-ident v1.0.12 Compiling log v0.4.21 Compiling plain v0.2.3 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.85/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"' -C metadata=babed0b83134bcce -C extra-filename=-babed0b83134bcce --out-dir /builddir/build/BUILD/goblin-0.5.4/target/rpm/build/proc-macro2-babed0b83134bcce -L dependency=/builddir/build/BUILD/goblin-0.5.4/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 unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.12/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 -C metadata=ade339fe45a6060c -C extra-filename=-ade339fe45a6060c --out-dir /builddir/build/BUILD/goblin-0.5.4/target/rpm/deps -L dependency=/builddir/build/BUILD/goblin-0.5.4/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.21/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=fd57b7fbdfcf7526 -C extra-filename=-fd57b7fbdfcf7526 --out-dir /builddir/build/BUILD/goblin-0.5.4/target/rpm/deps -L dependency=/builddir/build/BUILD/goblin-0.5.4/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 /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 -C metadata=1faa0241518204cd -C extra-filename=-1faa0241518204cd --out-dir /builddir/build/BUILD/goblin-0.5.4/target/rpm/deps -L dependency=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/goblin-0.5.4/target/rpm/build/proc-macro2-babed0b83134bcce/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.85/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"' -C metadata=299159ae160863b5 -C extra-filename=-299159ae160863b5 --out-dir /builddir/build/BUILD/goblin-0.5.4/target/rpm/deps -L dependency=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps --extern unicode_ident=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps/libunicode_ident-ade339fe45a6060c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg no_literal_byte_character --cfg no_literal_c_string --cfg wrap_proc_macro --cfg proc_macro_span` Compiling quote v1.0.36 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.36/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"' -C metadata=ed0d1d9be9371c88 -C extra-filename=-ed0d1d9be9371c88 --out-dir /builddir/build/BUILD/goblin-0.5.4/target/rpm/deps -L dependency=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps/libproc_macro2-299159ae160863b5.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling syn v2.0.66 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.66/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"' -C metadata=69612f61534dbfcb -C extra-filename=-69612f61534dbfcb --out-dir /builddir/build/BUILD/goblin-0.5.4/target/rpm/deps -L dependency=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps/libproc_macro2-299159ae160863b5.rmeta --extern quote=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps/libquote-ed0d1d9be9371c88.rmeta --extern unicode_ident=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps/libunicode_ident-ade339fe45a6060c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling scroll_derive v0.11.1 Running `/usr/bin/rustc --crate-name scroll_derive --edition=2018 /usr/share/cargo/registry/scroll_derive-0.11.1/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 -C metadata=8a215a4d89b35f6b -C extra-filename=-8a215a4d89b35f6b --out-dir /builddir/build/BUILD/goblin-0.5.4/target/rpm/deps -L dependency=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps/libproc_macro2-299159ae160863b5.rlib --extern quote=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps/libquote-ed0d1d9be9371c88.rlib --extern syn=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps/libsyn-69612f61534dbfcb.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling scroll v0.11.0 Running `/usr/bin/rustc --crate-name scroll --edition=2021 /usr/share/cargo/registry/scroll-0.11.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="scroll_derive"' --cfg 'feature="std"' -C metadata=e5e48abc1d525b0d -C extra-filename=-e5e48abc1d525b0d --out-dir /builddir/build/BUILD/goblin-0.5.4/target/rpm/deps -L dependency=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps --extern scroll_derive=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps/libscroll_derive-8a215a4d89b35f6b.so --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling goblin v0.5.4 (/builddir/build/BUILD/goblin-0.5.4) 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"' -C metadata=5b143570c0397e3c -C extra-filename=-5b143570c0397e3c --out-dir /builddir/build/BUILD/goblin-0.5.4/target/rpm/deps -L dependency=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps --extern log=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps/liblog-fd57b7fbdfcf7526.rmeta --extern plain=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps/libplain-1faa0241518204cd.rmeta --extern scroll=/builddir/build/BUILD/goblin-0.5.4/target/rpm/deps/libscroll-e5e48abc1d525b0d.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: private item shadows public glob re-export --> src/elf/reloc.rs:132:17 | 132 | use crate::elf::reloc::Reloc; | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 245 | elf_rela_std_impl!(u32, i32); | ---------------------------- in this macro invocation | note: the name `Reloc` in the type namespace is supposed to be publicly re-exported here --> src/elf/reloc.rs:223:13 | 223 | pub use crate::elf::reloc::*; | ^^^^^^^^^^^^^^^^^^^^ note: but the private item here shadows it --> src/elf/reloc.rs:132:17 | 132 | use crate::elf::reloc::Reloc; | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 245 | elf_rela_std_impl!(u32, i32); | ---------------------------- in this macro invocation = note: `#[warn(hidden_glob_reexports)]` on by default = note: this warning originates in the macro `elf_rela_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) warning: private item shadows public glob re-export --> src/elf/reloc.rs:132:17 | 132 | use crate::elf::reloc::Reloc; | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 271 | elf_rela_std_impl!(u64, i64); | ---------------------------- in this macro invocation | note: the name `Reloc` in the type namespace is supposed to be publicly re-exported here --> src/elf/reloc.rs:249:13 | 249 | pub use crate::elf::reloc::*; | ^^^^^^^^^^^^^^^^^^^^ note: but the private item here shadows it --> src/elf/reloc.rs:132:17 | 132 | use crate::elf::reloc::Reloc; | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 271 | elf_rela_std_impl!(u64, i64); | ---------------------------- in this macro invocation = note: this warning originates in the macro `elf_rela_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary parentheses around match arm expression --> src/mach/symbols.rs:317:34 | 317 | Container::Little => (bytes.pwrite_with::(self.into(), 0, le)?), | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 317 - Container::Little => (bytes.pwrite_with::(self.into(), 0, le)?), 317 + Container::Little => bytes.pwrite_with::(self.into(), 0, le)?, | warning: unnecessary parentheses around match arm expression --> src/mach/symbols.rs:318:31 | 318 | Container::Big => (bytes.pwrite_with::(self.into(), 0, le)?), | ^ ^ | help: remove these parentheses | 318 - Container::Big => (bytes.pwrite_with::(self.into(), 0, le)?), 318 + Container::Big => bytes.pwrite_with::(self.into(), 0, le)?, | warning: `goblin` (lib) generated 4 warnings (run `cargo fix --lib -p goblin` to apply 2 suggestions) Finished rpm [optimized + debuginfo] target(s) in 1m 09s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bL5vLS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-goblin0.5-0.5.4-1.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-goblin0.5-0.5.4-1.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-goblin0.5-0.5.4-1.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-goblin0.5-0.5.4-1.ocs23.aarch64 + cd goblin-0.5.4 + 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.5.4 + REG_DIR=/builddir/build/BUILDROOT/rust-goblin0.5-0.5.4-1.ocs23.aarch64/usr/share/cargo/registry/goblin-0.5.4 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-goblin0.5-0.5.4-1.ocs23.aarch64/usr/share/cargo/registry/goblin-0.5.4 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-goblin0.5-0.5.4-1.ocs23.aarch64/usr/share/cargo/registry/goblin-0.5.4 warning: No (git) VCS found for `/builddir/build/BUILD/goblin-0.5.4` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-goblin0.5-0.5.4-1.ocs23.aarch64/usr/share/cargo/registry/goblin-0.5.4/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-goblin0.5-0.5.4-1.ocs23.aarch64/usr/share/cargo/registry/goblin-0.5.4/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: rust-goblin0.5-devel-0.5.4-1.ocs23.noarch warning: File listed twice: /usr/share/cargo/registry/goblin-0.5.4/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/goblin-0.5.4/LICENSE warning: File listed twice: /usr/share/cargo/registry/goblin-0.5.4/README.md Provides: crate(goblin) = 0.5.4 rust-goblin0.5-devel = 0.5.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(plain/default) >= 0.2.3 with crate(plain/default) < 0.3.0~) (crate(scroll) >= 0.11.0 with crate(scroll) < 0.12.0~) cargo rust >= 1.56.0 Processing files: rust-goblin0.5+default-devel-0.5.4-1.ocs23.noarch Provides: crate(goblin/default) = 0.5.4 rust-goblin0.5+default-devel = 0.5.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(goblin) = 0.5.4 crate(goblin/archive) = 0.5.4 crate(goblin/elf32) = 0.5.4 crate(goblin/elf64) = 0.5.4 crate(goblin/endian_fd) = 0.5.4 crate(goblin/mach32) = 0.5.4 crate(goblin/mach64) = 0.5.4 crate(goblin/pe32) = 0.5.4 crate(goblin/pe64) = 0.5.4 crate(goblin/std) = 0.5.4 Processing files: rust-goblin0.5+alloc-devel-0.5.4-1.ocs23.noarch Provides: crate(goblin/alloc) = 0.5.4 rust-goblin0.5+alloc-devel = 0.5.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(scroll/derive) >= 0.11.0 with crate(scroll/derive) < 0.12.0~) cargo crate(goblin) = 0.5.4 crate(goblin/log) = 0.5.4 Processing files: rust-goblin0.5+archive-devel-0.5.4-1.ocs23.noarch Provides: crate(goblin/archive) = 0.5.4 rust-goblin0.5+archive-devel = 0.5.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(goblin) = 0.5.4 crate(goblin/alloc) = 0.5.4 Processing files: rust-goblin0.5+elf32-devel-0.5.4-1.ocs23.noarch Provides: crate(goblin/elf32) = 0.5.4 rust-goblin0.5+elf32-devel = 0.5.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(goblin) = 0.5.4 Processing files: rust-goblin0.5+elf64-devel-0.5.4-1.ocs23.noarch Provides: crate(goblin/elf64) = 0.5.4 rust-goblin0.5+elf64-devel = 0.5.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(goblin) = 0.5.4 Processing files: rust-goblin0.5+endian_fd-devel-0.5.4-1.ocs23.noarch Provides: crate(goblin/endian_fd) = 0.5.4 rust-goblin0.5+endian_fd-devel = 0.5.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(goblin) = 0.5.4 crate(goblin/alloc) = 0.5.4 Processing files: rust-goblin0.5+log-devel-0.5.4-1.ocs23.noarch Provides: crate(goblin/log) = 0.5.4 rust-goblin0.5+log-devel = 0.5.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0~) cargo crate(goblin) = 0.5.4 Processing files: rust-goblin0.5+mach32-devel-0.5.4-1.ocs23.noarch Provides: crate(goblin/mach32) = 0.5.4 rust-goblin0.5+mach32-devel = 0.5.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(goblin) = 0.5.4 crate(goblin/alloc) = 0.5.4 crate(goblin/endian_fd) = 0.5.4 Processing files: rust-goblin0.5+mach64-devel-0.5.4-1.ocs23.noarch Provides: crate(goblin/mach64) = 0.5.4 rust-goblin0.5+mach64-devel = 0.5.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(goblin) = 0.5.4 crate(goblin/alloc) = 0.5.4 crate(goblin/endian_fd) = 0.5.4 Processing files: rust-goblin0.5+pe32-devel-0.5.4-1.ocs23.noarch Provides: crate(goblin/pe32) = 0.5.4 rust-goblin0.5+pe32-devel = 0.5.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(goblin) = 0.5.4 crate(goblin/alloc) = 0.5.4 crate(goblin/endian_fd) = 0.5.4 Processing files: rust-goblin0.5+pe64-devel-0.5.4-1.ocs23.noarch Provides: crate(goblin/pe64) = 0.5.4 rust-goblin0.5+pe64-devel = 0.5.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(goblin) = 0.5.4 crate(goblin/alloc) = 0.5.4 crate(goblin/endian_fd) = 0.5.4 Processing files: rust-goblin0.5+std-devel-0.5.4-1.ocs23.noarch Provides: crate(goblin/std) = 0.5.4 rust-goblin0.5+std-devel = 0.5.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(scroll/std) >= 0.11.0 with crate(scroll/std) < 0.12.0~) cargo crate(goblin) = 0.5.4 crate(goblin/alloc) = 0.5.4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-goblin0.5-0.5.4-1.ocs23.aarch64 Wrote: /builddir/build/SRPMS/rust-goblin0.5-0.5.4-1.ocs23.src.rpm Wrote: /builddir/build/RPMS/rust-goblin0.5+elf64-devel-0.5.4-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-goblin0.5+archive-devel-0.5.4-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-goblin0.5+default-devel-0.5.4-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-goblin0.5+endian_fd-devel-0.5.4-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-goblin0.5+elf32-devel-0.5.4-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-goblin0.5+log-devel-0.5.4-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-goblin0.5+alloc-devel-0.5.4-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-goblin0.5+mach64-devel-0.5.4-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-goblin0.5+mach32-devel-0.5.4-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-goblin0.5+pe64-devel-0.5.4-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-goblin0.5+pe32-devel-0.5.4-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-goblin0.5+std-devel-0.5.4-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-goblin0.5-devel-0.5.4-1.ocs23.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/goblin-0.5.4/CHANGELOG.md File listed twice: /usr/share/cargo/registry/goblin-0.5.4/LICENSE File listed twice: /usr/share/cargo/registry/goblin-0.5.4/README.md Child return code was: 0