D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-memoffset0.7-0.7.1-0.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NGyQdw Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gbj5YX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build + rm -rf memoffset-0.7.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/memoffset-0.7.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd memoffset-0.7.1 + /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.7PNx9H + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build + cd memoffset-0.7.1 + /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.x2OBcO + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-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 memoffset-0.7.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling autocfg v1.4.0 Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.4.0/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=e124a71a4c38a5a2 -C extra-filename=-33df3ec257ba7fb0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling memoffset v0.7.1 (/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1) Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "unstable_const"))' -C metadata=c185ada300861f9e -C extra-filename=-59c8358e656ffa38 --out-dir /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/build/memoffset-59c8358e656ffa38 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps/libautocfg-33df3ec257ba7fb0.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/build/memoffset-59c8358e656ffa38/build-script-build` Running `/usr/bin/rustc --crate-name memoffset --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "unstable_const"))' -C metadata=b0ceaae7ee7704ff -C extra-filename=-84f0c0eeaaaa18e7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg tuple_ty --cfg allow_clippy --cfg maybe_uninit --cfg doctests --cfg raw_ref_macros` warning: unexpected `cfg` condition name: `doctests` --> src/lib.rs:65:7 | 65 | #[cfg(doctests)] | ^^^^^^^^ help: there is a config with a similar name: `doctest` | = 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(doctests)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doctests)");` 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: `doctests` --> src/lib.rs:68:7 | 68 | #[cfg(doctests)] | ^^^^^^^^ help: there is a config with a similar name: `doctest` | = 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(doctests)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doctests)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `raw_ref_macros` --> src/raw_field.rs:22:7 | 22 | #[cfg(raw_ref_macros)] | ^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = 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(raw_ref_macros)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(raw_ref_macros)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `raw_ref_macros` --> src/raw_field.rs:30:11 | 30 | #[cfg(not(raw_ref_macros))] | ^^^^^^^^^^^^^^ | = 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(raw_ref_macros)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(raw_ref_macros)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `allow_clippy` --> src/raw_field.rs:57:7 | 57 | #[cfg(allow_clippy)] | ^^^^^^^^^^^^ | = 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(allow_clippy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allow_clippy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `allow_clippy` --> src/raw_field.rs:69:11 | 69 | #[cfg(not(allow_clippy))] | ^^^^^^^^^^^^ | = 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(allow_clippy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allow_clippy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `allow_clippy` --> src/raw_field.rs:90:7 | 90 | #[cfg(allow_clippy)] | ^^^^^^^^^^^^ | = 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(allow_clippy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allow_clippy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `allow_clippy` --> src/raw_field.rs:100:11 | 100 | #[cfg(not(allow_clippy))] | ^^^^^^^^^^^^ | = 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(allow_clippy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allow_clippy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `allow_clippy` --> src/raw_field.rs:125:7 | 125 | #[cfg(allow_clippy)] | ^^^^^^^^^^^^ | = 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(allow_clippy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allow_clippy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `allow_clippy` --> src/raw_field.rs:141:11 | 141 | #[cfg(not(allow_clippy))] | ^^^^^^^^^^^^ | = 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(allow_clippy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allow_clippy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `tuple_ty` --> src/raw_field.rs:183:7 | 183 | #[cfg(tuple_ty)] | ^^^^^^^^ | = 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(tuple_ty)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tuple_ty)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `maybe_uninit` --> src/offset_of.rs:23:7 | 23 | #[cfg(maybe_uninit)] | ^^^^^^^^^^^^ | = 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(maybe_uninit)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(maybe_uninit)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `maybe_uninit` --> src/offset_of.rs:37:11 | 37 | #[cfg(not(maybe_uninit))] | ^^^^^^^^^^^^ | = 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(maybe_uninit)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(maybe_uninit)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `tuple_ty` --> src/offset_of.rs:121:7 | 121 | #[cfg(tuple_ty)] | ^^^^^^^^ | = 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(tuple_ty)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tuple_ty)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `memoffset` (lib) generated 14 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 2.58s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uvxVuu + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-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 memoffset-0.7.1 + '[' 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=memoffset ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.7.1 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/BUILDROOT/usr/share/cargo/registry/memoffset-0.7.1 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/BUILDROOT/usr/share/cargo/registry/memoffset-0.7.1 + /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-memoffset0.7-0.7.1-build/BUILDROOT/usr/share/cargo/registry/memoffset-0.7.1 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/BUILDROOT/usr/share/cargo/registry/memoffset-0.7.1/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/BUILDROOT/usr/share/cargo/registry/memoffset-0.7.1/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.zJKtR3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-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 memoffset-0.7.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 test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Fresh autocfg v1.4.0 Compiling doc-comment v0.3.3 warning: unexpected `cfg` condition name: `doctests` --> src/lib.rs:65:7 | 65 | #[cfg(doctests)] | ^^^^^^^^ help: there is a config with a similar name: `doctest` | = 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(doctests)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doctests)");` 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: `doctests` --> src/lib.rs:68:7 | 68 | #[cfg(doctests)] | ^^^^^^^^ help: there is a config with a similar name: `doctest` | = 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(doctests)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doctests)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `raw_ref_macros` --> src/raw_field.rs:22:7 | 22 | #[cfg(raw_ref_macros)] | ^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = 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(raw_ref_macros)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(raw_ref_macros)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `raw_ref_macros` --> src/raw_field.rs:30:11 | 30 | #[cfg(not(raw_ref_macros))] | ^^^^^^^^^^^^^^ | = 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(raw_ref_macros)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(raw_ref_macros)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `allow_clippy` --> src/raw_field.rs:57:7 | 57 | #[cfg(allow_clippy)] | ^^^^^^^^^^^^ | = 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(allow_clippy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allow_clippy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `allow_clippy` --> src/raw_field.rs:69:11 | 69 | #[cfg(not(allow_clippy))] | ^^^^^^^^^^^^ | = 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(allow_clippy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allow_clippy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `allow_clippy` --> src/raw_field.rs:90:7 | 90 | #[cfg(allow_clippy)] | ^^^^^^^^^^^^ | = 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(allow_clippy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allow_clippy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `allow_clippy` --> src/raw_field.rs:100:11 | 100 | #[cfg(not(allow_clippy))] | ^^^^^^^^^^^^ | = 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(allow_clippy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allow_clippy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `allow_clippy` --> src/raw_field.rs:125:7 | 125 | #[cfg(allow_clippy)] | ^^^^^^^^^^^^ | = 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(allow_clippy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allow_clippy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `allow_clippy` --> src/raw_field.rs:141:11 | 141 | #[cfg(not(allow_clippy))] | ^^^^^^^^^^^^ | = 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(allow_clippy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allow_clippy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `tuple_ty` --> src/raw_field.rs:183:7 | 183 | #[cfg(tuple_ty)] | ^^^^^^^^ | = 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(tuple_ty)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tuple_ty)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `maybe_uninit` --> src/offset_of.rs:23:7 | 23 | #[cfg(maybe_uninit)] | ^^^^^^^^^^^^ | = 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(maybe_uninit)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(maybe_uninit)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `maybe_uninit` --> src/offset_of.rs:37:11 | 37 | #[cfg(not(maybe_uninit))] | ^^^^^^^^^^^^ | = 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(maybe_uninit)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(maybe_uninit)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `tuple_ty` --> src/offset_of.rs:121:7 | 121 | #[cfg(tuple_ty)] | ^^^^^^^^ | = 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(tuple_ty)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tuple_ty)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/doc-comment-0.3.3/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,test)' --check-cfg 'cfg(feature, values("no_core", "old_macros"))' -C metadata=7ee6a90c02315db0 -C extra-filename=-2635105fcc066346 --out-dir /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/build/doc-comment-2635105fcc066346 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `memoffset` (lib) generated 14 warnings Running `/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/build/doc-comment-2635105fcc066346/build-script-build` Running `/usr/bin/rustc --crate-name doc_comment --edition=2015 /usr/share/cargo/registry/doc-comment-0.3.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("no_core", "old_macros"))' -C metadata=24453c60953116eb -C extra-filename=-54ffebe0458e2c5a --out-dir /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling memoffset v0.7.1 (/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1) Running `/usr/bin/rustc --crate-name memoffset --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "unstable_const"))' -C metadata=0b985d89f6283f71 -C extra-filename=-fe8fa7800b0a03fa --out-dir /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps --extern doc_comment=/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps/libdoc_comment-54ffebe0458e2c5a.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg tuple_ty --cfg allow_clippy --cfg maybe_uninit --cfg doctests --cfg raw_ref_macros` warning: unexpected `cfg` condition name: `tuple_ty` --> src/offset_of.rs:245:11 | 245 | #[cfg(tuple_ty)] | ^^^^^^^^ | = 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(tuple_ty)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tuple_ty)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `tuple_ty` --> src/offset_of.rs:278:11 | 278 | #[cfg(tuple_ty)] | ^^^^^^^^ | = 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(tuple_ty)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tuple_ty)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `memoffset` (lib test) generated 16 warnings (14 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.11s Running `/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps/memoffset-fe8fa7800b0a03fa` running 14 tests test offset_of::tests::inside_generic_method ... ok test offset_of::tests::offset_simple ... ok test offset_of::tests::offset_union ... ok test offset_of::tests::offset_simple_packed ... ok test offset_of::tests::path ... ok test offset_of::tests::test_raw_field_tuple ... ok test offset_of::tests::test_raw_field ... ok test offset_of::tests::test_raw_field_union ... ok test offset_of::tests::tuple_struct ... ok test offset_of::tests::test_tuple_offset ... ok test span_of::tests::ig_test ... ok test span_of::tests::span_forms ... ok test span_of::tests::span_simple ... ok test span_of::tests::span_simple_packed ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests memoffset Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name memoffset --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps --extern doc_comment=/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps/libdoc_comment-54ffebe0458e2c5a.rlib --extern memoffset=/home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/memoffset-0.7.1/target/rpm/deps/libmemoffset-84f0c0eeaaaa18e7.rlib -C embed-bitcode=no --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "unstable_const"))' --cfg tuple_ty --cfg allow_clippy --cfg maybe_uninit --cfg doctests --cfg raw_ref_macros --error-format human` running 13 tests test src/lib.rs - (line 132) ... ignored test src/lib.rs - (line 44) ... ignored test src/span_of.rs - span_of::span_of (line 37) ... ignored test src/span_of.rs - span_of::span_of (line 44) ... ignored test src/raw_field.rs - raw_field::_memoffset__field_check_union (line 114) - compile fail ... ok test src/raw_field.rs - raw_field::_memoffset__field_check (line 46) - compile fail ... ok test src/raw_field.rs - raw_field::_memoffset__field_check_tuple (line 85) - compile fail ... ok test src/offset_of.rs - offset_of::offset_of_union (line 137) ... ok test src/lib.rs - (line 26) ... ok test src/offset_of.rs - offset_of::offset_of (line 74) ... ok test src/lib.rs - (line 94) ... ok test src/offset_of.rs - offset_of::offset_of_tuple (line 114) ... ok test src/span_of.rs - span_of::span_of (line 68) ... ok test result: ok. 9 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.30s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-memoffset0.7-devel-0.7.1-0.1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/memoffset-0.7.1/LICENSE warning: File listed twice: /usr/share/cargo/registry/memoffset-0.7.1/README.md Provides: crate(memoffset) = 0.7.1 rust-memoffset0.7-devel = 0.7.1-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(autocfg/default) >= 1.0.0 Processing files: rust-memoffset0.7+default-devel-0.7.1-0.1.mga10.noarch Provides: crate(memoffset/default) = 0.7.1 rust-memoffset0.7+default-devel = 0.7.1-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(memoffset) = 0.7.1 Processing files: rust-memoffset0.7+unstable_const-devel-0.7.1-0.1.mga10.noarch Provides: crate(memoffset/unstable_const) = 0.7.1 rust-memoffset0.7+unstable_const-devel = 0.7.1-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(memoffset) = 0.7.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-memoffset0.7+default-devel-0.7.1-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-memoffset0.7+unstable_const-devel-0.7.1-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-memoffset0.7-devel-0.7.1-0.1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4BBITb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build + test -d /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-memoffset0.7-0.7.1-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/memoffset-0.7.1/LICENSE File listed twice: /usr/share/cargo/registry/memoffset-0.7.1/README.md D: [iurt_root_command] Success!