D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-olm-sys-1.3.2-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jnDycM Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bpGHam + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build + rm -rf olm-sys-1.3.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/olm-sys-1.3.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd olm-sys-1.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Don-t-use-const-for-something-that-s-clearly-not-con.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Use-system-olm.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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 + rm -rf olm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jM8lXS + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build + cd olm-sys-1.3.2 + /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.vgxsoz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-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 olm-sys-1.3.2 + '[' 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 shlex v1.3.0 Compiling find-msvc-tools v0.1.5 Compiling fs_extra v1.3.0 Running `/usr/bin/rustc --crate-name shlex --edition=2015 /usr/share/cargo/registry/shlex-1.3.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 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=cf8029a7143bd5bd -C extra-filename=-7753d24ed50f086b --out-dir /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/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 find_msvc_tools --edition=2018 /usr/share/cargo/registry/find-msvc-tools-0.1.5/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 --allow=unexpected_cfgs --check-cfg 'cfg(disable_clang_cl_tests)' -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=285a498358ef3ce4 -C extra-filename=-e5cc6597788409f3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/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 fs_extra --edition=2018 /usr/share/cargo/registry/fs_extra-1.3.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=a666d80a090bd0c6 -C extra-filename=-3f38ce8b62dd4ec4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling cc v1.2.49 Running `/usr/bin/rustc --crate-name cc --edition=2018 /usr/share/cargo/registry/cc-1.2.49/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 --allow=unexpected_cfgs --check-cfg 'cfg(disable_clang_cl_tests)' -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("jobserver", "parallel"))' -C metadata=eb4fb3d51e8626e8 -C extra-filename=-28aca5ba6b147a66 --out-dir /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps --extern find_msvc_tools=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps/libfind_msvc_tools-e5cc6597788409f3.rmeta --extern shlex=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps/libshlex-7753d24ed50f086b.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling cmake v0.1.50 Running `/usr/bin/rustc --crate-name cmake --edition=2021 /usr/share/cargo/registry/cmake-0.1.50/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=c405229692b9153b -C extra-filename=-47618010291b3cbf --out-dir /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps --extern cc=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps/libcc-28aca5ba6b147a66.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling olm-sys v1.3.2 (/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2) 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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=a4ee54bdec2abc1c -C extra-filename=-2845a3cedb69ef90 --out-dir /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/build/olm-sys-2845a3cedb69ef90 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps --extern cmake=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps/libcmake-47618010291b3cbf.rlib --extern fs_extra=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps/libfs_extra-3f38ce8b62dd4ec4.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/build/olm-sys-2845a3cedb69ef90/build-script-build` Running `/usr/bin/rustc --crate-name olm_sys --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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=486a5efa4cf55a4d -C extra-filename=-a2f0d485436ae614 --out-dir /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64 -l olm -l stdc++` Finished `rpm` profile [optimized + debuginfo] target(s) in 8.78s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wVs7j7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-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 olm-sys-1.3.2 + '[' 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=olm-sys ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=1.3.2 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/BUILDROOT/usr/share/cargo/registry/olm-sys-1.3.2 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/BUILDROOT/usr/share/cargo/registry/olm-sys-1.3.2 + /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-olm-sys-1.3.2-build/BUILDROOT/usr/share/cargo/registry/olm-sys-1.3.2 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/BUILDROOT/usr/share/cargo/registry/olm-sys-1.3.2/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/BUILDROOT/usr/share/cargo/registry/olm-sys-1.3.2/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/cargo/registry/olm-sys-1.3.2/generate_bindings.sh from /usr/bin/env bash to #!/usr/bin/bash + 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.6uoRMd + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-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 olm-sys-1.3.2 + '[' 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 find-msvc-tools v0.1.5 Fresh shlex v1.3.0 Fresh cc v1.2.49 Fresh cmake v0.1.50 Fresh fs_extra v1.3.0 Compiling olm-sys v1.3.2 (/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2) Running `/usr/bin/rustc --crate-name olm_sys --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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=8d6875c49dc01543 -C extra-filename=-642faf2a1acf4cca --out-dir /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64 -l olm -l stdc++` warning: dereferencing a null pointer --> src/lib.rs:197:14 | 197 | &(*(::std::ptr::null::())).__clang_max_align_nonce1 as *const _ as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed | = note: `#[warn(deref_nullptr)]` on by default warning: dereferencing a null pointer --> src/lib.rs:209:14 | 209 | &(*(::std::ptr::null::())).__clang_max_align_nonce2 as *const _ as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/lib.rs:272:19 | 272 | unsafe { &(*(::std::ptr::null::<__fsid_t>())).__val as *const _ as usize }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: `olm-sys` (lib test) generated 3 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 0.37s Running `/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps/olm_sys-642faf2a1acf4cca` running 2 tests test bindgen_test_layout___fsid_t ... ok test bindgen_test_layout_max_align_t ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests olm_sys Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name olm_sys --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps -L native=/usr/lib64 --extern olm_sys=/home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/olm-sys-1.3.2/target/rpm/deps/libolm_sys-a2f0d485436ae614.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' --error-format human` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-olm-sys-devel-1.3.2-3.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/olm-sys-1.3.2/CONTRIBUTING.md warning: File listed twice: /usr/share/cargo/registry/olm-sys-1.3.2/LICENSE.md warning: File listed twice: /usr/share/cargo/registry/olm-sys-1.3.2/README.md warning: File listed twice: /usr/share/cargo/registry/olm-sys-1.3.2/copyright_header.txt Provides: crate(olm-sys) = 1.3.2 rust-olm-sys-devel = 1.3.2-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(cmake/default) >= 0.1.0 crate(fs_extra/default) >= 1.2.0 Processing files: rust-olm-sys+default-devel-1.3.2-3.mga10.noarch Provides: crate(olm-sys/default) = 1.3.2 rust-olm-sys+default-devel = 1.3.2-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(olm-sys) = 1.3.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-olm-sys+default-devel-1.3.2-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-olm-sys-devel-1.3.2-3.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.v6m80r + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build + test -d /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-olm-sys-1.3.2-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/olm-sys-1.3.2/CONTRIBUTING.md File listed twice: /usr/share/cargo/registry/olm-sys-1.3.2/LICENSE.md File listed twice: /usr/share/cargo/registry/olm-sys-1.3.2/README.md File listed twice: /usr/share/cargo/registry/olm-sys-1.3.2/copyright_header.txt D: [iurt_root_command] Success!