D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-nix0.23-0.23.2-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pUbaAD Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pKGXec + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build + rm -rf nix-0.23.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/nix-0.23.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd nix-0.23.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/nix-fix-metadata-auto.diff + /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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ndQDDh + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build + cd nix-0.23.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mKNSwq + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.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 nix-0.23.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 Compiling autocfg v1.5.0 Compiling libc v0.2.177 Compiling cfg-if v1.0.4 Compiling bitflags v1.3.2 Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.5.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=30692a400051ab54 -C extra-filename=-7b58e34681fff90e --out-dir /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.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 cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.4/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("core", "rustc-dep-of-std"))' -C metadata=557655ab03dec7b9 -C extra-filename=-e398f09b4be48fa3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.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 bitflags --edition=2018 /usr/share/cargo/registry/bitflags-1.3.2/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", "example_generated"))' -C metadata=22c0107e9ca77461 -C extra-filename=-adb7b2a69019941a --out-dir /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.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 build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.177/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="extra_traits"' --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=9dbcbe5a3b72a011 -C extra-filename=-481215de2b5b88e8 --out-dir /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/build/libc-481215de2b5b88e8 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/build/libc-481215de2b5b88e8/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.177/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="extra_traits"' --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=3e283e0526003a39 -C extra-filename=-fc84dee863097cc9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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(libc_thread_local)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(musl_v1_2_3)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos","nto71_iosock","nto80"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling memoffset v0.6.5 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/memoffset-0.6.5/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=535d1eba7aaf62b8 -C extra-filename=-f1a57a4ad0487681 --out-dir /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/build/memoffset-f1a57a4ad0487681 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libautocfg-7b58e34681fff90e.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/build/memoffset-f1a57a4ad0487681/build-script-build` Running `/usr/bin/rustc --crate-name memoffset --edition=2015 /usr/share/cargo/registry/memoffset-0.6.5/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=3d9976c872553dd6 -C extra-filename=-d6b3bd6cd12dbca1 --out-dir /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --cap-lints allow -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` Compiling nix v0.23.2 (/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2) Running `/usr/bin/rustc --crate-name nix --edition=2018 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=80ef7e712490f36c -C extra-filename=-5bbb7ba1fadc45a1 --out-dir /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern bitflags=/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libbitflags-adb7b2a69019941a.rmeta --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcfg_if-e398f09b4be48fa3.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblibc-fc84dee863097cc9.rmeta --extern memoffset=/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libmemoffset-d6b3bd6cd12dbca1.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition value: `fushsia` --> src/lib.rs:52:11 | 52 | target_os = "fushsia", | ^^^^^^^^^^^^--------- | | | help: there is a expected value with a similar name: `"fuchsia"` | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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(target_os, values("fushsia"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"fushsia\"))");` 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/env.rs:45:22 | 45 | target_env = "wasi", | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `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/fcntl.rs:21:29 | 21 | any(target_os = "wasi", target_env = "wasi"), | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `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/fcntl.rs:643:29 | 643 | any(target_os = "wasi", target_env = "wasi"), | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `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/fcntl.rs:686:29 | 686 | any(target_os = "wasi", target_env = "wasi"), | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `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: `osx` --> src/net/if_.rs:99:19 | 99 | target_os = "osx"))] | ^^^^^^^^^^^^----- | | | help: there is a expected value with a similar name: `"psx"` | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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(target_os, values("osx"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"osx\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:572:13 | 572 | Handler(extern fn(libc::c_int)), | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` | = note: `#[warn(missing_abi)]` on by default warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:576:15 | 576 | SigAction(extern fn(libc::c_int, *mut libc::siginfo_t, *mut libc::c_void)) | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:596:55 | 596 | SigHandler::Handler(f) => f as *const extern fn(libc::c_int) as usize, | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:598:57 | 598 | SigHandler::SigAction(f) => f as *const extern fn(libc::c_int, *mut libc::siginfo_t, *mut libc::c_void) as usize, | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:644:36 | 644 | as *const extern fn(_, _, _)) | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:646:20 | 646 | as extern fn(_, _, _)), | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:656:36 | 656 | as *const extern fn(libc::c_int)) | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:658:20 | 658 | as extern fn(libc::c_int)), | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:760:32 | 760 | as *const extern fn(libc::c_int)) | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:761:20 | 761 | as extern fn(libc::c_int)), | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: unexpected `cfg` condition value: `nacl` --> src/sys/socket/sockopt.rs:365:11 | 365 | target_os = "nacl"))] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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(target_os, values("nacl"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"nacl\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `newlibc` --> src/time.rs:233:40 | 233 | not(any(target_env = "uclibc", target_env = "newlibc")), | ^^^^^^^^^^^^^--------- | | | help: there is a expected value with a similar name: `"newlib"` | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `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("newlibc"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"newlibc\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `newlibc` --> src/time.rs:55:44 | 55 | not(any(target_env = "uclibc", target_env = "newlibc")), | ^^^^^^^^^^^^^--------- | | | help: there is a expected value with a similar name: `"newlib"` | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `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("newlibc"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"newlibc\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hiding a lifetime that's elided elsewhere is confusing --> src/dir.rs:65:17 | 65 | pub fn iter(&mut self) -> Iter { | ^^^^^^^^^ ^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 65 | pub fn iter(&mut self) -> Iter<'_> { | ++++ warning: hiding a lifetime that's named elsewhere is confusing --> src/sys/aio.rs:362:50 | 360 | fn from_slice_unpinned(fd: RawFd, offs: off_t, buf: &'a [u8], | -- the lifetime is named here 361 | prio: libc::c_int, sigev_notify: SigevNotify, 362 | opcode: LioOpcode) -> AioCb | ^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 362 | opcode: LioOpcode) -> AioCb<'a> | ++++ warning: hiding a lifetime that's named elsewhere is confusing --> src/sys/aio.rs:424:53 | 422 | pub fn from_slice(fd: RawFd, offs: off_t, buf: &'a [u8], | -- the lifetime is named here 423 | prio: libc::c_int, sigev_notify: SigevNotify, 424 | opcode: LioOpcode) -> Pin> | ^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 424 | opcode: LioOpcode) -> Pin>> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/sys/select.rs:100:16 | 100 | pub fn fds(&self, highest: Option) -> Fds { | ^^^^^ the lifetime is elided here ^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 100 | pub fn fds(&self, highest: Option) -> Fds<'_> { | ++++ warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/sys/signal.rs:572:13 | 565 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] | --------- in this derive macro expansion ... 572 | Handler(extern fn(libc::c_int)), | ^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/sys/signal.rs:576:15 | 565 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] | --------- in this derive macro expansion ... 576 | SigAction(extern fn(libc::c_int, *mut libc::siginfo_t, *mut libc::c_void)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit warning: hiding a lifetime that's elided elsewhere is confusing --> src/sys/socket/mod.rs:499:18 | 499 | pub fn cmsgs(&self) -> CmsgIterator { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 499 | pub fn cmsgs(&self) -> CmsgIterator<'_> { | ++++ warning: hiding a lifetime that's named elsewhere is confusing --> src/sys/socket/sockopt.rs:869:34 | 869 | fn new(val: &'a OsString) -> SetOsString { | -- ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is named here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 869 | fn new(val: &'a OsString) -> SetOsString<'a> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/sys/termios.rs:190:36 | 190 | pub(crate) fn get_libc_termios(&self) -> Ref { | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 190 | pub(crate) fn get_libc_termios(&self) -> Ref<'_, libc::termios> { | +++ warning: `nix` (lib) generated 28 warnings (run `cargo fix --lib -p nix` to apply 17 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 8.67s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nla2Xv + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.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 nix-0.23.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=nix ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.23.2 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT/usr/share/cargo/registry/nix-0.23.2 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT/usr/share/cargo/registry/nix-0.23.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-nix0.23-0.23.2-build/BUILDROOT/usr/share/cargo/registry/nix-0.23.2 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT/usr/share/cargo/registry/nix-0.23.2/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT/usr/share/cargo/registry/nix-0.23.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 + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: rust-nix0.23-devel-0.23.2-2.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/nix-0.23.2/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/nix-0.23.2/LICENSE warning: File listed twice: /usr/share/cargo/registry/nix-0.23.2/README.md Provides: crate(nix) = 0.23.2 rust-nix0.23-devel = 0.23.2-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(bitflags/default) >= 1.1.0 crate(cfg-if/default) >= 1.0.0 crate(libc/default) >= 0.2.121 crate(libc/extra_traits) >= 0.2.121 crate(memoffset/default) >= 0.6.3 rust >= 1.46 Processing files: rust-nix0.23+default-devel-0.23.2-2.mga10.noarch Provides: crate(nix/default) = 0.23.2 rust-nix0.23+default-devel = 0.23.2-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(nix) = 0.23.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-nix0.23+default-devel-0.23.2-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-nix0.23-devel-0.23.2-2.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XEbq8k + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build + test -d /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-nix0.23-0.23.2-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/nix-0.23.2/CHANGELOG.md File listed twice: /usr/share/cargo/registry/nix-0.23.2/LICENSE File listed twice: /usr/share/cargo/registry/nix-0.23.2/README.md D: [iurt_root_command] Success!