Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-hostname.spec'], chrootPath='/var/lib/mock/f39-build-1564438-37504/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-hostname.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1699056000 Wrote: /builddir/build/SRPMS/rust-hostname-0.3.1-1.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-hostname.spec'], chrootPath='/var/lib/mock/f39-build-1564438-37504/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-hostname.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1699056000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9w6WSY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hostname-0.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hostname-0.3.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd hostname-0.3.1 + rm -rf /builddir/build/BUILD/hostname-0.3.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/hostname-0.3.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hostname-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 /var/tmp/rpm-tmp.y7QZEW + umask 022 + cd /builddir/build/BUILD + cd hostname-0.3.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-hostname-0.3.1-1.fc39.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-hostname.spec'], chrootPath='/var/lib/mock/f39-build-1564438-37504/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-hostname.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1699056000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1dgqez + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hostname-0.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hostname-0.3.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd hostname-0.3.1 + rm -rf /builddir/build/BUILD/hostname-0.3.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/hostname-0.3.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hostname-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 /var/tmp/rpm-tmp.rAoxUB + umask 022 + cd /builddir/build/BUILD + cd hostname-0.3.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-hostname-0.3.1-1.fc39.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-hostname.spec'], chrootPath='/var/lib/mock/f39-build-1564438-37504/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-hostname.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1699056000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.X1R0NU + umask 022 + cd /builddir/build/BUILD + cd hostname-0.3.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jc5zn0 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hostname-0.3.1 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.149 Compiling match_cfg v0.1.0 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.149/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=48e5783f3d1ad421 -C extra-filename=-48e5783f3d1ad421 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/build/libc-48e5783f3d1ad421 -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name match_cfg /usr/share/cargo/registry/match_cfg-0.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_core"' -C metadata=2a2b945b273c7208 -C extra-filename=-2a2b945b273c7208 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/hostname-0.3.1/target/rpm/build/libc-48e5783f3d1ad421/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.149/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"' --cfg 'feature="std"' -C metadata=d6bcbd2df94385ce -C extra-filename=-d6bcbd2df94385ce --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Compiling hostname v0.3.1 (/builddir/build/BUILD/hostname-0.3.1) Running `/usr/bin/rustc --crate-name hostname 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"' -C metadata=4b9aed4f4d6778fc -C extra-filename=-4b9aed4f4d6778fc --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern libc=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/liblibc-d6bcbd2df94385ce.rmeta --extern match_cfg=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libmatch_cfg-2a2b945b273c7208.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: trivial cast: `*mut u8` as `*mut u8` --> src/nix.rs:22:27 | 22 | libc::gethostname(buffer.as_mut_ptr() as *mut libc::c_char, size) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: cast can be replaced by coercion; this might require a temporary variable note: the lint level is defined here --> src/lib.rs:53:5 | 53 | trivial_casts, | ^^^^^^^^^^^^^ warning: `hostname` (lib) generated 1 warning Finished rpm [optimized + debuginfo] target(s) in 1m 08s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nJ5FBS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-hostname-0.3.1-1.fc39.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-hostname-0.3.1-1.fc39.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-hostname-0.3.1-1.fc39.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-hostname-0.3.1-1.fc39.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hostname-0.3.1 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=hostname ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.3.1 + REG_DIR=/builddir/build/BUILDROOT/rust-hostname-0.3.1-1.fc39.riscv64/usr/share/cargo/registry/hostname-0.3.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-hostname-0.3.1-1.fc39.riscv64/usr/share/cargo/registry/hostname-0.3.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 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-hostname-0.3.1-1.fc39.riscv64/usr/share/cargo/registry/hostname-0.3.1 warning: No (git) VCS found for `/builddir/build/BUILD/hostname-0.3.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-hostname-0.3.1-1.fc39.riscv64/usr/share/cargo/registry/hostname-0.3.1/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-hostname-0.3.1-1.fc39.riscv64/usr/share/cargo/registry/hostname-0.3.1/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qHkgI9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hostname-0.3.1 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j8 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling tinyvec_macros v0.1.1 Compiling version_check v0.9.4 Compiling memchr v2.6.4 Compiling proc-macro2 v0.4.30 Compiling serde v1.0.189 Compiling unicode-xid v0.1.0 Compiling regex-syntax v0.8.2 Compiling syn v0.15.44 Running `/usr/bin/rustc --crate-name tinyvec_macros --edition=2018 /usr/share/cargo/registry/tinyvec_macros-0.1.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=6c006b16d963240c -C extra-filename=-6c006b16d963240c --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name version_check /usr/share/cargo/registry/version_check-0.9.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=4bc7df0f213c0b20 -C extra-filename=-4bc7df0f213c0b20 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.6.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 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=da1153e7d039461c -C extra-filename=-da1153e7d039461c --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/proc-macro2-0.4.30/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --cfg 'feature="span-locations"' -C metadata=4b08d7fd183ff8a3 -C extra-filename=-4b08d7fd183ff8a3 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/build/proc-macro2-4b08d7fd183ff8a3 -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.189/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=a723b2070a3e648d -C extra-filename=-a723b2070a3e648d --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/build/serde-a723b2070a3e648d -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name unicode_xid /usr/share/cargo/registry/unicode-xid-0.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=d2e0f52740089d86 -C extra-filename=-d2e0f52740089d86 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name regex_syntax --edition=2021 /usr/share/cargo/registry/regex-syntax-0.8.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"' --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=b4a52dbd571cfa3d -C extra-filename=-b4a52dbd571cfa3d --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/syn-0.15.44/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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=23fc79feaff8aa27 -C extra-filename=-23fc79feaff8aa27 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/build/syn-23fc79feaff8aa27 -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling tinyvec v1.6.0 Running `/usr/bin/rustc --crate-name tinyvec --edition=2018 /usr/share/cargo/registry/tinyvec-1.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="tinyvec_macros"' -C metadata=c33c0c19ebc4d49f -C extra-filename=-c33c0c19ebc4d49f --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern tinyvec_macros=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libtinyvec_macros-6c006b16d963240c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling pulldown-cmark v0.8.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/pulldown-cmark-0.8.0/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 -C metadata=d6719ce8982e21c6 -C extra-filename=-d6719ce8982e21c6 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/build/pulldown-cmark-d6719ce8982e21c6 -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling unicode-bidi v0.3.13 Running `/usr/bin/rustc --crate-name unicode_bidi --edition=2018 /usr/share/cargo/registry/unicode-bidi-0.3.13/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"' --cfg 'feature="hardcoded-data"' --cfg 'feature="std"' -C metadata=47b26988b3d87e32 -C extra-filename=-47b26988b3d87e32 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/hostname-0.3.1/target/rpm/build/serde-a723b2070a3e648d/build-script-build` Compiling aho-corasick v1.1.2 Running `/usr/bin/rustc --crate-name aho_corasick --edition=2021 /usr/share/cargo/registry/aho-corasick-1.1.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"' --cfg 'feature="perf-literal"' --cfg 'feature="std"' -C metadata=178311b16ffef42b -C extra-filename=-178311b16ffef42b --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern memchr=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libmemchr-da1153e7d039461c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling matches v0.1.10 Running `/usr/bin/rustc --crate-name matches /usr/share/cargo/registry/matches-0.1.10/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=80921bced9b9002b -C extra-filename=-80921bced9b9002b --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/hostname-0.3.1/target/rpm/build/syn-23fc79feaff8aa27/build-script-build` Running `/builddir/build/BUILD/hostname-0.3.1/target/rpm/build/proc-macro2-4b08d7fd183ff8a3/build-script-build` Running `/usr/bin/rustc --crate-name serde --edition=2018 /usr/share/cargo/registry/serde-1.0.189/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"' --cfg 'feature="std"' -C metadata=16b5779c9f226df7 -C extra-filename=-16b5779c9f226df7 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name proc_macro2 /usr/share/cargo/registry/proc-macro2-0.4.30/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"' --cfg 'feature="proc-macro"' --cfg 'feature="span-locations"' -C metadata=a60aabb4ad30051e -C extra-filename=-a60aabb4ad30051e --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern unicode_xid=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libunicode_xid-d2e0f52740089d86.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg u128 --cfg span_locations --cfg use_proc_macro --cfg wrap_proc_macro` Compiling unicode-normalization v0.1.22 Running `/usr/bin/rustc --crate-name unicode_normalization --edition=2018 /usr/share/cargo/registry/unicode-normalization-0.1.22/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"' --cfg 'feature="std"' -C metadata=a3590194233fd2af -C extra-filename=-a3590194233fd2af --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern tinyvec=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libtinyvec-c33c0c19ebc4d49f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/hostname-0.3.1/target/rpm/build/pulldown-cmark-d6719ce8982e21c6/build-script-build` Compiling percent-encoding v1.0.1 Running `/usr/bin/rustc --crate-name percent_encoding /usr/share/cargo/registry/percent-encoding-1.0.1/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=b8e05adca9b3487d -C extra-filename=-b8e05adca9b3487d --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling unicase v2.7.0 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/unicase-2.7.0/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 -C metadata=6193ab96fdc3b36f -C extra-filename=-6193ab96fdc3b36f --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/build/unicase-6193ab96fdc3b36f -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern version_check=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libversion_check-4bc7df0f213c0b20.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling quote v0.6.13 Running `/usr/bin/rustc --crate-name quote /usr/share/cargo/registry/quote-0.6.13/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="proc-macro"' -C metadata=87669588d8f32a66 -C extra-filename=-87669588d8f32a66 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libproc_macro2-a60aabb4ad30051e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/hostname-0.3.1/target/rpm/build/unicase-6193ab96fdc3b36f/build-script-build` Running `/usr/bin/rustc --crate-name unicase /usr/share/cargo/registry/unicase-2.7.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=bf0e69dd7d0759b5 -C extra-filename=-bf0e69dd7d0759b5 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg __unicase__iter_cmp --cfg __unicase__default_hasher --cfg __unicase__const_fns --cfg __unicase__core_and_alloc` Compiling idna v0.1.5 Running `/usr/bin/rustc --crate-name idna /usr/share/cargo/registry/idna-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 opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=ead64eefdb3f4004 -C extra-filename=-ead64eefdb3f4004 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern matches=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libmatches-80921bced9b9002b.rmeta --extern unicode_bidi=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libunicode_bidi-47b26988b3d87e32.rmeta --extern unicode_normalization=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libunicode_normalization-a3590194233fd2af.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling bitflags v1.3.2 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"' -C metadata=d813226e9cd2cd81 -C extra-filename=-d813226e9cd2cd81 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling either v1.9.0 Running `/usr/bin/rustc --crate-name either --edition=2018 /usr/share/cargo/registry/either-1.9.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=9b9ad8c98886991f -C extra-filename=-9b9ad8c98886991f --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling regex-automata v0.4.3 Running `/usr/bin/rustc --crate-name regex_automata --edition=2021 /usr/share/cargo/registry/regex-automata-0.4.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="dfa-onepass"' --cfg 'feature="hybrid"' --cfg 'feature="meta"' --cfg 'feature="nfa-backtrack"' --cfg 'feature="nfa-pikevm"' --cfg 'feature="nfa-thompson"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-literal-multisubstring"' --cfg 'feature="perf-literal-substring"' --cfg 'feature="std"' --cfg 'feature="syntax"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --cfg 'feature="unicode-word-boundary"' -C metadata=f783f32a340563c8 -C extra-filename=-f783f32a340563c8 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern aho_corasick=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libaho_corasick-178311b16ffef42b.rmeta --extern memchr=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libmemchr-da1153e7d039461c.rmeta --extern regex_syntax=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libregex_syntax-b4a52dbd571cfa3d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling itertools v0.8.2 Running `/usr/bin/rustc --crate-name itertools /usr/share/cargo/registry/itertools-0.8.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"' --cfg 'feature="use_std"' -C metadata=86cf65d7fd42232d -C extra-filename=-86cf65d7fd42232d --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern either=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libeither-9b9ad8c98886991f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling url v1.7.2 Running `/usr/bin/rustc --crate-name url /usr/share/cargo/registry/url-1.7.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 -C metadata=d7b105c6c3951aed -C extra-filename=-d7b105c6c3951aed --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern idna=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libidna-ead64eefdb3f4004.rmeta --extern matches=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libmatches-80921bced9b9002b.rmeta --extern percent_encoding=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libpercent_encoding-b8e05adca9b3487d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name pulldown_cmark --edition=2018 /usr/share/cargo/registry/pulldown-cmark-0.8.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=cdd365d14c7c5d3e -C extra-filename=-cdd365d14c7c5d3e --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern bitflags=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libbitflags-d813226e9cd2cd81.rmeta --extern memchr=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libmemchr-da1153e7d039461c.rmeta --extern unicase=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libunicase-bf0e69dd7d0759b5.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name syn /usr/share/cargo/registry/syn-0.15.44/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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=ab7bf60c7de7da01 -C extra-filename=-ab7bf60c7de7da01 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libproc_macro2-a60aabb4ad30051e.rmeta --extern quote=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libquote-87669588d8f32a66.rmeta --extern unicode_xid=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libunicode_xid-d2e0f52740089d86.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg syn_can_match_trailing_dollar --cfg syn_can_use_thread_id --cfg syn_can_use_associated_constants --cfg syn_can_call_macro_by_path --cfg syn_disable_nightly_tests` Fresh libc v0.2.149 Fresh match_cfg v0.1.0 Compiling semver-parser v0.9.0 Running `/usr/bin/rustc --crate-name semver_parser /usr/share/cargo/registry/semver-parser-0.9.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=dbe59a9035cf5146 -C extra-filename=-dbe59a9035cf5146 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling regex v1.10.2 Running `/usr/bin/rustc --crate-name regex --edition=2021 /usr/share/cargo/registry/regex-1.10.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"' --cfg 'feature="perf"' --cfg 'feature="perf-backtrack"' --cfg 'feature="perf-cache"' --cfg 'feature="perf-dfa"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-onepass"' --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=bb404f348f72524f -C extra-filename=-bb404f348f72524f --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern aho_corasick=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libaho_corasick-178311b16ffef42b.rmeta --extern memchr=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libmemchr-da1153e7d039461c.rmeta --extern regex_automata=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libregex_automata-f783f32a340563c8.rmeta --extern regex_syntax=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libregex_syntax-b4a52dbd571cfa3d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling toml v0.5.11 Running `/usr/bin/rustc --crate-name toml --edition=2018 /usr/share/cargo/registry/toml-0.5.11/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"' -C metadata=493ea61fe6dd058b -C extra-filename=-493ea61fe6dd058b --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern serde=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libserde-16b5779c9f226df7.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: trivial cast: `*mut u8` as `*mut u8` --> src/nix.rs:22:27 | 22 | libc::gethostname(buffer.as_mut_ptr() as *mut libc::c_char, size) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: cast can be replaced by coercion; this might require a temporary variable note: the lint level is defined here --> src/lib.rs:53:5 | 53 | trivial_casts, | ^^^^^^^^^^^^^ warning: `hostname` (lib) generated 1 warning Compiling version-sync v0.8.1 Running `/usr/bin/rustc --crate-name version_sync --edition=2018 /usr/share/cargo/registry/version-sync-0.8.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=edf31159dcac8fc6 -C extra-filename=-edf31159dcac8fc6 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern itertools=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libitertools-86cf65d7fd42232d.rmeta --extern proc_macro2=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libproc_macro2-a60aabb4ad30051e.rmeta --extern pulldown_cmark=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libpulldown_cmark-cdd365d14c7c5d3e.rmeta --extern regex=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libregex-bb404f348f72524f.rmeta --extern semver_parser=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libsemver_parser-dbe59a9035cf5146.rmeta --extern syn=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libsyn-ab7bf60c7de7da01.rmeta --extern toml=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libtoml-493ea61fe6dd058b.rmeta --extern url=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/liburl-d7b105c6c3951aed.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling hostname v0.3.1 (/builddir/build/BUILD/hostname-0.3.1) Running `/usr/bin/rustc --crate-name hostname src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' -C metadata=16f3f32beacbbc03 -C extra-filename=-16f3f32beacbbc03 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern libc=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/liblibc-d6bcbd2df94385ce.rlib --extern match_cfg=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libmatch_cfg-2a2b945b273c7208.rlib --extern version_sync=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libversion_sync-edf31159dcac8fc6.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name version tests/version.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' -C metadata=6975f589c267c626 -C extra-filename=-6975f589c267c626 --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern hostname=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libhostname-4b9aed4f4d6778fc.rlib --extern libc=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/liblibc-d6bcbd2df94385ce.rlib --extern match_cfg=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libmatch_cfg-2a2b945b273c7208.rlib --extern version_sync=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libversion_sync-edf31159dcac8fc6.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name hostname examples/hostname.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=9edec4caf25eccda -C extra-filename=-9edec4caf25eccda --out-dir /builddir/build/BUILD/hostname-0.3.1/target/rpm/examples -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern hostname=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libhostname-4b9aed4f4d6778fc.rlib --extern libc=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/liblibc-d6bcbd2df94385ce.rlib --extern match_cfg=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libmatch_cfg-2a2b945b273c7208.rlib --extern version_sync=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libversion_sync-edf31159dcac8fc6.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: `hostname` (lib test) generated 1 warning (1 duplicate) Finished rpm [optimized + debuginfo] target(s) in 13m 06s Running `/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/hostname-16f3f32beacbbc03` running 4 tests test nix::tests::test_empty_buffer ... ok test nix::tests::test_filled_with_null_buffer ... ok test nix::tests::test_non_overflowed_buffer ... ok test nix::tests::test_overflowed_buffer ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s Running `/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/version-6975f589c267c626` running 2 tests test test_readme_deps ... ok test test_html_root_url ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s Doc-tests hostname Running `/usr/bin/rustdoc --crate-type lib --crate-name hostname --test src/lib.rs --test-run-directory /builddir/build/BUILD/hostname-0.3.1 -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps --extern hostname=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libhostname-4b9aed4f4d6778fc.rlib --extern libc=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/liblibc-d6bcbd2df94385ce.rlib --extern match_cfg=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libmatch_cfg-2a2b945b273c7208.rlib --extern version_sync=/builddir/build/BUILD/hostname-0.3.1/target/rpm/deps/libversion_sync-edf31159dcac8fc6.rlib -C embed-bitcode=no --cfg 'feature="default"' --error-format human` running 2 tests test src/lib.rs - (line 5) - compile ... ok test src/lib.rs - get (line 89) ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.49s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-hostname-devel-0.3.1-1.fc39.noarch warning: File listed twice: /usr/share/cargo/registry/hostname-0.3.1/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/hostname-0.3.1/LICENSE warning: File listed twice: /usr/share/cargo/registry/hostname-0.3.1/README.md Provides: crate(hostname) = 0.3.1 rust-hostname-devel = 0.3.1-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0~) (crate(match_cfg/default) >= 0.1.0 with crate(match_cfg/default) < 0.2.0~) cargo Processing files: rust-hostname+default-devel-0.3.1-1.fc39.noarch Provides: crate(hostname/default) = 0.3.1 rust-hostname+default-devel = 0.3.1-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(hostname) = 0.3.1 Processing files: rust-hostname+set-devel-0.3.1-1.fc39.noarch Provides: crate(hostname/set) = 0.3.1 rust-hostname+set-devel = 0.3.1-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(hostname) = 0.3.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-hostname-0.3.1-1.fc39.riscv64 Wrote: /builddir/build/SRPMS/rust-hostname-0.3.1-1.fc39.src.rpm Wrote: /builddir/build/RPMS/rust-hostname+set-devel-0.3.1-1.fc39.noarch.rpm Wrote: /builddir/build/RPMS/rust-hostname+default-devel-0.3.1-1.fc39.noarch.rpm Wrote: /builddir/build/RPMS/rust-hostname-devel-0.3.1-1.fc39.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/hostname-0.3.1/CHANGELOG.md File listed twice: /usr/share/cargo/registry/hostname-0.3.1/LICENSE File listed twice: /usr/share/cargo/registry/hostname-0.3.1/README.md Child return code was: 0