D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-lz4-sys-1.11.1-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GPcITa Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.w332hJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build + rm -rf lz4-sys-1.11.1+lz4-1.10.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/lz4-sys-1.11.1+lz4-1.10.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd lz4-sys-1.11.1+lz4-1.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/lz4-sys-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/lz4-sys-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/lz4-sys-1.11.0-system-liblz4.patch + rm -rv liblz4 removed 'liblz4/contrib/snap/snapcraft.yaml' removed 'liblz4/contrib/snap/README.md' removed directory 'liblz4/contrib/snap' removed 'liblz4/contrib/gen_manual/gen_manual.cpp' removed 'liblz4/contrib/gen_manual/gen-lz4-manual.sh' removed 'liblz4/contrib/gen_manual/.gitignore' removed 'liblz4/contrib/gen_manual/Makefile' removed 'liblz4/contrib/gen_manual/README.md' removed directory 'liblz4/contrib/gen_manual' removed 'liblz4/contrib/djgpp/Makefile' removed 'liblz4/contrib/djgpp/LICENSE' removed 'liblz4/contrib/djgpp/README.MD' removed directory 'liblz4/contrib/djgpp' removed 'liblz4/contrib/debian/control' removed 'liblz4/contrib/debian/liblz4-dev.install' removed 'liblz4/contrib/debian/liblz4.install' removed 'liblz4/contrib/debian/changelog' removed 'liblz4/contrib/debian/compat' removed 'liblz4/contrib/debian/dirs' removed 'liblz4/contrib/debian/rules' removed 'liblz4/contrib/debian/copyright' removed 'liblz4/contrib/debian/docs' removed directory 'liblz4/contrib/debian' removed directory 'liblz4/contrib' removed 'liblz4/appveyor.yml' removed 'liblz4/INSTALL' removed 'liblz4/build/visual/generate_vs2017.cmd' removed 'liblz4/build/visual/generate_vs2015.cmd' removed 'liblz4/build/visual/generate_vs2022.cmd' removed 'liblz4/build/visual/generate_vs2019.cmd' removed 'liblz4/build/visual/generate_solution.cmd' removed 'liblz4/build/visual/README.md' removed directory 'liblz4/build/visual' removed 'liblz4/build/meson/meson_options.txt' removed 'liblz4/build/meson/meson/contrib/gen_manual/meson.build' removed directory 'liblz4/build/meson/meson/contrib/gen_manual' removed 'liblz4/build/meson/meson/contrib/meson.build' removed directory 'liblz4/build/meson/meson/contrib' removed 'liblz4/build/meson/meson/examples/meson.build' removed directory 'liblz4/build/meson/meson/examples' removed 'liblz4/build/meson/meson/tests/meson.build' removed directory 'liblz4/build/meson/meson/tests' removed 'liblz4/build/meson/meson/programs/meson.build' removed directory 'liblz4/build/meson/meson/programs' removed 'liblz4/build/meson/meson/meson.build' removed 'liblz4/build/meson/meson/lib/meson.build' removed directory 'liblz4/build/meson/meson/lib' removed 'liblz4/build/meson/meson/ossfuzz/meson.build' removed directory 'liblz4/build/meson/meson/ossfuzz' removed directory 'liblz4/build/meson/meson' removed 'liblz4/build/meson/meson.build' removed 'liblz4/build/meson/README.md' removed 'liblz4/build/meson/GetLz4LibraryVersion.py' removed directory 'liblz4/build/meson' removed 'liblz4/build/cmake/CMakeLists.txt' removed 'liblz4/build/cmake/lz4Config.cmake.in' removed 'liblz4/build/cmake/.gitignore' removed directory 'liblz4/build/cmake' removed 'liblz4/build/.gitignore' removed 'liblz4/build/VS2022/_build.bat' removed 'liblz4/build/VS2022/fullbench/fullbench.vcxproj' removed directory 'liblz4/build/VS2022/fullbench' removed 'liblz4/build/VS2022/fullbench-dll/fullbench-dll.vcxproj' removed directory 'liblz4/build/VS2022/fullbench-dll' removed 'liblz4/build/VS2022/build-and-test-win32-release.bat' removed 'liblz4/build/VS2022/liblz4/liblz4.vcxproj' removed directory 'liblz4/build/VS2022/liblz4' removed 'liblz4/build/VS2022/build-and-test-win32-debug.bat' removed 'liblz4/build/VS2022/build-and-test-x64-release.bat' removed 'liblz4/build/VS2022/lz4/lz4.rc' removed 'liblz4/build/VS2022/lz4/lz4.vcxproj' removed directory 'liblz4/build/VS2022/lz4' removed 'liblz4/build/VS2022/liblz4-dll/liblz4-dll.rc' removed 'liblz4/build/VS2022/liblz4-dll/liblz4-dll.vcxproj' removed directory 'liblz4/build/VS2022/liblz4-dll' removed 'liblz4/build/VS2022/_test.bat' removed 'liblz4/build/VS2022/datagen/datagen.vcxproj' removed directory 'liblz4/build/VS2022/datagen' removed 'liblz4/build/VS2022/lz4.sln' removed 'liblz4/build/VS2022/fuzzer/fuzzer.vcxproj' removed directory 'liblz4/build/VS2022/fuzzer' removed 'liblz4/build/VS2022/_setup.bat' removed 'liblz4/build/VS2022/frametest/frametest.vcxproj' removed directory 'liblz4/build/VS2022/frametest' removed 'liblz4/build/VS2022/build-and-test-x64-debug.bat' removed directory 'liblz4/build/VS2022' removed 'liblz4/build/README.md' removed directory 'liblz4/build' removed 'liblz4/.clang-format' removed 'liblz4/examples/blockStreaming_ringBuffer.c' removed 'liblz4/examples/frameCompress.c' removed 'liblz4/examples/blockStreaming_doubleBuffer.c' removed 'liblz4/examples/blockStreaming_lineByLine.c' removed 'liblz4/examples/fileCompress.c' removed 'liblz4/examples/print_version.c' removed 'liblz4/examples/dictionaryRandomAccess.md' removed 'liblz4/examples/COPYING' removed 'liblz4/examples/simple_buffer.c' removed 'liblz4/examples/blockStreaming_lineByLine.md' removed 'liblz4/examples/streamingHC_ringBuffer.c' removed 'liblz4/examples/.gitignore' removed 'liblz4/examples/Makefile' removed 'liblz4/examples/streaming_api_basics.md' removed 'liblz4/examples/bench_functions.c' removed 'liblz4/examples/blockStreaming_doubleBuffer.md' removed 'liblz4/examples/dictionaryRandomAccess.c' removed 'liblz4/examples/README.md' removed directory 'liblz4/examples' removed 'liblz4/.circleci/images/primary/Dockerfile' removed directory 'liblz4/.circleci/images/primary' removed directory 'liblz4/.circleci/images' removed 'liblz4/.circleci/config.yml' removed directory 'liblz4/.circleci' removed 'liblz4/CODING_STYLE' removed 'liblz4/NEWS' removed 'liblz4/tests/test-lz4-dict.sh' removed 'liblz4/tests/checkFrame.c' removed 'liblz4/tests/checkTag.c' removed 'liblz4/tests/test-lz4-frame-concatenation.sh' removed 'liblz4/tests/datagencli.c' removed 'liblz4/tests/test_custom_block_sizes.sh' removed 'liblz4/tests/test-lz4-speed.py' removed 'liblz4/tests/goldenSamples/skip.bin' removed directory 'liblz4/tests/goldenSamples' removed 'liblz4/tests/test_install.sh' removed 'liblz4/tests/test-lz4-opt-parser.sh' removed 'liblz4/tests/roundTripTest.c' removed 'liblz4/tests/test-lz4-fast-hugefile.sh' removed 'liblz4/tests/freestanding.c' removed 'liblz4/tests/unicode_lint.sh' removed 'liblz4/tests/test-lz4hc-hugefile.sh' removed 'liblz4/tests/abiTest.c' removed 'liblz4/tests/COPYING' removed 'liblz4/tests/test-lz4-multiple.sh' removed 'liblz4/tests/check_liblz4_version.sh' removed 'liblz4/tests/test-lz4-list.py' removed 'liblz4/tests/decompress-partial.c' removed 'liblz4/tests/datagen.c' removed 'liblz4/tests/loremOut.c' removed 'liblz4/tests/cmake/CMakeLists.txt' removed directory 'liblz4/tests/cmake' removed 'liblz4/tests/decompress-partial-usingDict.c' removed 'liblz4/tests/test-lz4-skippable.sh' removed 'liblz4/tests/fullbench.c' removed 'liblz4/tests/test-lz4-contentSize.sh' removed 'liblz4/tests/datagen.h' removed 'liblz4/tests/test-lz4-abi.py' removed 'liblz4/tests/test-lz4-testmode.sh' removed 'liblz4/tests/test-lz4-multiple-legacy.sh' removed 'liblz4/tests/loremOut.h' removed 'liblz4/tests/.gitignore' removed 'liblz4/tests/Makefile' removed 'liblz4/tests/fuzzer.c' removed 'liblz4/tests/test-lz4-basic.sh' removed 'liblz4/tests/test-lz4-versions.py' removed 'liblz4/tests/frametest.c' removed 'liblz4/tests/test-lz4-sparse.sh' removed 'liblz4/tests/README.md' removed directory 'liblz4/tests' removed 'liblz4/.github/ISSUE_TEMPLATE/feature_request.md' removed 'liblz4/.github/ISSUE_TEMPLATE/bug_report.md' removed directory 'liblz4/.github/ISSUE_TEMPLATE' removed 'liblz4/.github/workflows/ci.yml' removed 'liblz4/.github/workflows/scorecard.yml' removed 'liblz4/.github/workflows/README.md' removed directory 'liblz4/.github/workflows' removed 'liblz4/.github/dependabot.yaml' removed directory 'liblz4/.github' removed 'liblz4/.gitattributes' removed 'liblz4/Makefile.inc' removed 'liblz4/doc/lz4_Block_format.md' removed 'liblz4/doc/lz4frame_manual.html' removed 'liblz4/doc/lz4_manual.html' removed 'liblz4/doc/lz4_Frame_format.md' removed directory 'liblz4/doc' removed 'liblz4/programs/timefn.h' removed 'liblz4/programs/lz4io.h' removed 'liblz4/programs/lorem.c' removed 'liblz4/programs/lz4conf.h' removed 'liblz4/programs/lz4-exe.rc.in' removed 'liblz4/programs/platform.h' removed 'liblz4/programs/COPYING' removed 'liblz4/programs/lz4cli.c' removed 'liblz4/programs/lorem.h' removed 'liblz4/programs/timefn.c' removed 'liblz4/programs/lz4.1.md' removed 'liblz4/programs/util.c' removed 'liblz4/programs/threadpool.h' removed 'liblz4/programs/lz4.1' removed 'liblz4/programs/.gitignore' removed 'liblz4/programs/util.h' removed 'liblz4/programs/Makefile' removed 'liblz4/programs/threadpool.c' removed 'liblz4/programs/bench.h' removed 'liblz4/programs/bench.c' removed 'liblz4/programs/lz4io.c' removed 'liblz4/programs/README.md' removed directory 'liblz4/programs' removed 'liblz4/.cirrus.yml' removed 'liblz4/.gitignore' removed 'liblz4/Makefile' removed 'liblz4/LICENSE' removed 'liblz4/lib/lz4frame.h' removed 'liblz4/lib/lz4hc.h' removed 'liblz4/lib/liblz4-dll.rc.in' removed 'liblz4/lib/lz4frame.c' removed 'liblz4/lib/lz4hc.c' removed 'liblz4/lib/liblz4.pc.in' removed 'liblz4/lib/lz4file.h' removed 'liblz4/lib/xxhash.c' removed 'liblz4/lib/lz4frame_static.h' removed 'liblz4/lib/lz4.c' removed 'liblz4/lib/dll/example/fullbench-dll.sln' removed 'liblz4/lib/dll/example/fullbench-dll.vcxproj' removed 'liblz4/lib/dll/example/Makefile' removed 'liblz4/lib/dll/example/README.md' removed directory 'liblz4/lib/dll/example' removed directory 'liblz4/lib/dll' removed 'liblz4/lib/xxhash.h' removed 'liblz4/lib/.gitignore' removed 'liblz4/lib/Makefile' removed 'liblz4/lib/lz4.h' removed 'liblz4/lib/lz4file.c' removed 'liblz4/lib/LICENSE' removed 'liblz4/lib/README.md' removed directory 'liblz4/lib' removed 'liblz4/SECURITY.md' removed 'liblz4/ossfuzz/fuzz_data_producer.h' removed 'liblz4/ossfuzz/fuzz_data_producer.c' removed 'liblz4/ossfuzz/travisoss.sh' removed 'liblz4/ossfuzz/fuzz.h' removed 'liblz4/ossfuzz/decompress_fuzzer.c' removed 'liblz4/ossfuzz/lz4_helpers.c' removed 'liblz4/ossfuzz/compress_hc_fuzzer.c' removed 'liblz4/ossfuzz/decompress_frame_fuzzer.c' removed 'liblz4/ossfuzz/compress_fuzzer.c' removed 'liblz4/ossfuzz/lz4_helpers.h' removed 'liblz4/ossfuzz/round_trip_stream_fuzzer.c' removed 'liblz4/ossfuzz/ossfuzz.sh' removed 'liblz4/ossfuzz/round_trip_frame_fuzzer.c' removed 'liblz4/ossfuzz/fuzz_helpers.h' removed 'liblz4/ossfuzz/compress_frame_fuzzer.c' removed 'liblz4/ossfuzz/round_trip_hc_fuzzer.c' removed 'liblz4/ossfuzz/round_trip_fuzzer.c' removed 'liblz4/ossfuzz/round_trip_frame_uncompressed_fuzzer.c' removed 'liblz4/ossfuzz/.gitignore' removed 'liblz4/ossfuzz/Makefile' removed 'liblz4/ossfuzz/standaloneengine.c' removed directory 'liblz4/ossfuzz' removed 'liblz4/README.md' removed directory 'liblz4' + 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.jfACqz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build + cd lz4-sys-1.11.1+lz4-1.10.0 + /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.LdgE4s + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.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 lz4-sys-1.11.1+lz4-1.10.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling find-msvc-tools v0.1.5 Compiling shlex v1.3.0 Compiling libc v0.2.180 Compiling pkg-config v0.3.32 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-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/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 pkg_config --edition=2018 /usr/share/cargo/registry/pkg-config-0.3.32/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=196d8f041392f804 -C extra-filename=-e7e77189d2b1a301 --out-dir /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/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-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/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 build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.180/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no '--allow=clippy::used_underscore_binding' --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--allow=clippy::uninlined_format_args' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' '--allow=clippy::expl_impl_clone_on_copy' -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=5847cfa6a656dc4c -C extra-filename=-5e3842ffd01dceae --out-dir /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/build/libc-5e3842ffd01dceae -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/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-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps --extern find_msvc_tools=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps/libfind_msvc_tools-e5cc6597788409f3.rmeta --extern shlex=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps/libshlex-7753d24ed50f086b.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/build/libc-5e3842ffd01dceae/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.180/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 '--allow=clippy::used_underscore_binding' --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--allow=clippy::uninlined_format_args' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' '--allow=clippy::expl_impl_clone_on_copy' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=a90c244e0b1f6725 -C extra-filename=-3c016273de920cf5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd12 --check-cfg 'cfg(emscripten_old_stat_abi)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(gnu_file_offset_bits64)' --check-cfg 'cfg(gnu_time_bits64)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(musl_v1_2_3)' --check-cfg 'cfg(musl32_time64)' --check-cfg 'cfg(vxworks_lt_25_09)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin","qurt"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos","nto71_iosock","nto80"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling lz4-sys v1.11.1 (/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0) 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=e09f052b43ee9337 -C extra-filename=-044d8d667032900c --out-dir /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/build/lz4-sys-044d8d667032900c -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps --extern cc=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps/libcc-28aca5ba6b147a66.rlib --extern pkg_config=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps/libpkg_config-e7e77189d2b1a301.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/build/lz4-sys-044d8d667032900c/build-script-build` Running `/usr/bin/rustc --crate-name lz4_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=009ed08c2cab0be8 -C extra-filename=-b120c3807ae95a99 --out-dir /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps/liblibc-3c016273de920cf5.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -l lz4` warning: unexpected `cfg` condition value: `wasi` --> src/lib.rs:6:13 | 6 | not(any(target_env = "wasi", target_os = "wasi")) | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = 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(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` 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 value: `wasi` --> src/lib.rs:12:13 | 12 | not(any(target_env = "wasi", target_os = "wasi")) | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = 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(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasi` --> src/lib.rs:18:13 | 18 | not(any(target_env = "wasi", target_os = "wasi")) | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = 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(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasi` --> src/lib.rs:24:13 | 24 | not(any(target_env = "wasi", target_os = "wasi")) | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = 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(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasi` --> src/lib.rs:30:13 | 30 | not(any(target_env = "wasi", target_os = "wasi")) | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = 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(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasi` --> src/lib.rs:36:13 | 36 | not(any(target_env = "wasi", target_os = "wasi")) | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = 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(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `lz4-sys` (lib) generated 6 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 10.59s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vbECtL + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.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 lz4-sys-1.11.1+lz4-1.10.0 + '[' 1 -eq 1 ']' + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=lz4-sys ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=1.11.1 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/BUILDROOT/usr/share/cargo/registry/lz4-sys-1.11.1 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/BUILDROOT/usr/share/cargo/registry/lz4-sys-1.11.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-lz4-sys-1.11.1-build/BUILDROOT/usr/share/cargo/registry/lz4-sys-1.11.1 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/BUILDROOT/usr/share/cargo/registry/lz4-sys-1.11.1/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/BUILDROOT/usr/share/cargo/registry/lz4-sys-1.11.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.ZV9DVZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.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 lz4-sys-1.11.1+lz4-1.10.0 + '[' 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 pkg-config v0.3.32 Fresh libc v0.2.180 warning: unexpected `cfg` condition value: `wasi` --> src/lib.rs:6:13 | 6 | not(any(target_env = "wasi", target_os = "wasi")) | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = 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(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` 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 value: `wasi` --> src/lib.rs:12:13 | 12 | not(any(target_env = "wasi", target_os = "wasi")) | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = 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(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasi` --> src/lib.rs:18:13 | 18 | not(any(target_env = "wasi", target_os = "wasi")) | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = 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(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasi` --> src/lib.rs:24:13 | 24 | not(any(target_env = "wasi", target_os = "wasi")) | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = 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(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasi` --> src/lib.rs:30:13 | 30 | not(any(target_env = "wasi", target_os = "wasi")) | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = 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(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasi` --> src/lib.rs:36:13 | 36 | not(any(target_env = "wasi", target_os = "wasi")) | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = 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(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `lz4-sys` (lib) generated 6 warnings Compiling lz4-sys v1.11.1 (/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0) Running `/usr/bin/rustc --crate-name lz4_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=01bbccd9dc18a938 -C extra-filename=-68f425f8290fa9ff --out-dir /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps/liblibc-3c016273de920cf5.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -l lz4` warning: `lz4-sys` (lib test) generated 6 warnings (6 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 0.71s Running `/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps/lz4_sys-68f425f8290fa9ff` running 2 tests test test_version_number ... ok test test_frame_info_size ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests lz4_sys Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name lz4_sys --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps/liblibc-3c016273de920cf5.rlib --extern lz4_sys=/home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/lz4-sys-1.11.1+lz4-1.10.0/target/rpm/deps/liblz4_sys-b120c3807ae95a99.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-lz4-sys-devel-1.11.1-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/lz4-sys-1.11.1/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/lz4-sys-1.11.1/LICENSE Provides: crate(lz4-sys) = 1.11.1 rust-lz4-sys-devel = 1.11.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(cc/default) >= 1.1.0 crate(libc/default) >= 0.2.0 crate(pkg-config/default) >= 0.3.9 Processing files: rust-lz4-sys+default-devel-1.11.1-1.mga10.noarch Provides: crate(lz4-sys/default) = 1.11.1 rust-lz4-sys+default-devel = 1.11.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(lz4-sys) = 1.11.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-lz4-sys+default-devel-1.11.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-lz4-sys-devel-1.11.1-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IF2HLi + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build + test -d /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-lz4-sys-1.11.1-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/lz4-sys-1.11.1/CHANGELOG.md File listed twice: /usr/share/cargo/registry/lz4-sys-1.11.1/LICENSE D: [iurt_root_command] Success!