Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-pcap.spec'], chrootPath='/var/lib/mock/f42-build-56282157-6542502/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qphxvjne:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qphxvjne:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4d49618d8ba549b2a7882db4eac132ec', '-D', '/var/lib/mock/f42-build-56282157-6542502/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qphxvjne:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-pcap.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/rust-pcap-1.3.0-3.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-pcap.spec'], chrootPath='/var/lib/mock/f42-build-56282157-6542502/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qphxvjne:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qphxvjne:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '591bd89c90024151a483c5cd67c66d16', '-D', '/var/lib/mock/f42-build-56282157-6542502/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qphxvjne:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-pcap.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ewgz6g + umask 022 + cd /builddir/build/BUILD/rust-pcap-1.3.0-build + test -d /builddir/build/BUILD/rust-pcap-1.3.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/rust-pcap-1.3.0-build + /usr/bin/rm -rf /builddir/build/BUILD/rust-pcap-1.3.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-pcap-1.3.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-pcap-1.3.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rVPwzA + umask 022 + cd /builddir/build/BUILD/rust-pcap-1.3.0-build + cd /builddir/build/BUILD/rust-pcap-1.3.0-build + rm -rf pcap-1.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pcap-1.3.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd pcap-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pcap-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pcap-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Downstream-only-use-pkg-config-unconditionally.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/348.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.PW8nsH + umask 022 + cd /builddir/build/BUILD/rust-pcap-1.3.0-build + cd pcap-1.3.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + echo 'pkgconfig(libpcap)' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-pcap-1.3.0-3.fc42.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 --noprep --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-pcap.spec'], chrootPath='/var/lib/mock/f42-build-56282157-6542502/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qphxvjne:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qphxvjne:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7bfd7d13c90147c5a52fb3f7635ea6b6', '-D', '/var/lib/mock/f42-build-56282157-6542502/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qphxvjne:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-pcap.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721433600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.f5y0N7 + umask 022 + cd /builddir/build/BUILD/rust-pcap-1.3.0-build + cd pcap-1.3.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + echo 'pkgconfig(libpcap)' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-pcap-1.3.0-3.fc42.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 ppc64le /builddir/build/SPECS/rust-pcap.spec'], chrootPath='/var/lib/mock/f42-build-56282157-6542502/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qphxvjne:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qphxvjne:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8884226c3783487697662538ab66b733', '-D', '/var/lib/mock/f42-build-56282157-6542502/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qphxvjne:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target ppc64le /builddir/build/SPECS/rust-pcap.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721433600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.EYajc2 + umask 022 + cd /builddir/build/BUILD/rust-pcap-1.3.0-build + cd pcap-1.3.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + echo 'pkgconfig(libpcap)' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4Jkgyy + umask 022 + cd /builddir/build/BUILD/rust-pcap-1.3.0-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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 pcap-1.3.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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 memchr v2.7.4 Compiling regex-syntax v0.8.5 Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.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 --cfg 'feature="alloc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=f7eddab9b726b6cc -C extra-filename=-f7eddab9b726b6cc --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling libc v0.2.169 Compiling pkg-config v0.3.31 Compiling bitflags v1.3.2 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.169/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"' --check-cfg 'cfg(docsrs)' --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=c3f4c09ad0512368 -C extra-filename=-c3f4c09ad0512368 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/build/libc-c3f4c09ad0512368 -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("arbitrary", "default", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"))' -C metadata=7aa2eb81a1549e8a -C extra-filename=-7aa2eb81a1549e8a --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name pkg_config --edition=2018 /usr/share/cargo/registry/pkg-config-0.3.31/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)' --check-cfg 'cfg(feature, values())' -C metadata=d7724c45a9ff4c8c -C extra-filename=-d7724c45a9ff4c8c --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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)' --check-cfg 'cfg(feature, values("default", "example_generated"))' -C metadata=4c52398931d0f9f1 -C extra-filename=-4c52398931d0f9f1 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling aho-corasick v1.1.3 Running `/usr/bin/rustc --crate-name aho_corasick --edition=2021 /usr/share/cargo/registry/aho-corasick-1.1.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="perf-literal"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "logging", "perf-literal", "std"))' -C metadata=8ec574ca8b4f2796 -C extra-filename=-8ec574ca8b4f2796 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern memchr=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmemchr-f7eddab9b726b6cc.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/build/libc-c3f4c09ad0512368/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.169/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"' --check-cfg 'cfg(docsrs)' --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=8aa6b8ea845e0765 -C extra-filename=-8aa6b8ea845e0765 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg freebsd11 --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_new_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(libc_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling errno v0.2.8 Running `/usr/bin/rustc --crate-name errno --edition=2015 /usr/share/cargo/registry/errno-0.2.8/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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=b676c8e485bd03a4 -C extra-filename=-b676c8e485bd03a4 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling regex-automata v0.4.9 Running `/usr/bin/rustc --crate-name regex_automata --edition=2021 /usr/share/cargo/registry/regex-automata-0.4.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "dfa", "dfa-build", "dfa-onepass", "dfa-search", "hybrid", "internal-instrument", "internal-instrument-pikevm", "logging", "meta", "nfa", "nfa-backtrack", "nfa-pikevm", "nfa-thompson", "perf", "perf-inline", "perf-literal", "perf-literal-multisubstring", "perf-literal-substring", "std", "syntax", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unicode-word-boundary"))' -C metadata=0d7a88e25619fc01 -C extra-filename=-0d7a88e25619fc01 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern aho_corasick=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libaho_corasick-8ec574ca8b4f2796.rmeta --extern memchr=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmemchr-f7eddab9b726b6cc.rmeta --extern regex_syntax=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libregex_syntax-7aa2eb81a1549e8a.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling regex v1.11.1 Running `/usr/bin/rustc --crate-name regex --edition=2021 /usr/share/cargo/registry/regex-1.11.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "logging", "pattern", "perf", "perf-backtrack", "perf-cache", "perf-dfa", "perf-dfa-full", "perf-inline", "perf-literal", "perf-onepass", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unstable", "use_std"))' -C metadata=099074d6780713eb -C extra-filename=-099074d6780713eb --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern aho_corasick=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libaho_corasick-8ec574ca8b4f2796.rmeta --extern memchr=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmemchr-f7eddab9b726b6cc.rmeta --extern regex_automata=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libregex_automata-0d7a88e25619fc01.rmeta --extern regex_syntax=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libregex_syntax-7aa2eb81a1549e8a.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling pcap v1.3.0 (/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0) Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' -C metadata=937730958cd2a4fd -C extra-filename=-937730958cd2a4fd --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/build/pcap-937730958cd2a4fd -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern pkg_config=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpkg_config-d7724c45a9ff4c8c.rlib --extern regex=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libregex-099074d6780713eb.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: unused import: `std::ffi::CStr` --> build.rs:2:5 | 2 | use std::ffi::CStr; | ^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused import: `std::os::raw::c_char` --> build.rs:3:5 | 3 | use std::os::raw::c_char; | ^^^^^^^^^^^^^^^^^^^^ warning: unused import: `std::path::PathBuf` --> build.rs:4:5 | 4 | use std::path::PathBuf; | ^^^^^^^^^^^^^^^^^^ warning: associated functions `max` and `docs_rs` are never used --> build.rs:38:8 | 13 | impl Version { | ------------ associated functions in this implementation ... 38 | fn max() -> Version { | ^^^ ... 49 | fn docs_rs() -> Version { | ^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `pcap` (build script) generated 4 warnings Running `/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/build/pcap-937730958cd2a4fd/build-script-build` Running `/usr/bin/rustc --crate-name pcap --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)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' -C metadata=42ca6cf6c9f1c0cb -C extra-filename=-42ca6cf6c9f1c0cb --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbitflags-4c52398931d0f9f1.rmeta --extern errno=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liberrno-b676c8e485bd03a4.rmeta --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64 -l pcap --cfg libpcap_1_2_1 --cfg libpcap_1_5_0 --cfg libpcap_1_7_2 --cfg libpcap_1_9_0 --cfg libpcap_1_9_1` warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/activated/dead.rs:9:7 | 9 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/activated/dead.rs:22:11 | 22 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/activated/offline.rs:11:7 | 11 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/activated/offline.rs:27:11 | 27 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/activated/offline.rs:54:29 | 54 | #[cfg(all(not(windows), libpcap_1_5_0))] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_7_2` --> src/capture/activated/mod.rs:135:11 | 135 | #[cfg(libpcap_1_7_2)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_7_2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_7_2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:9:7 | 9 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_2_1` --> src/capture/inactive.rs:55:11 | 55 | #[cfg(libpcap_1_2_1)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_2_1)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_2_1)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:73:15 | 73 | #[cfg(any(libpcap_1_5_0, windows))] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:117:11 | 117 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:80:15 | 80 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:86:32 | 86 | #[cfg(all(windows, not(libpcap_1_5_0)))] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_2_1` --> src/raw.rs:198:11 | 198 | #[cfg(libpcap_1_2_1)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_2_1)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_2_1)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/raw.rs:208:11 | 208 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_7_2` --> src/raw.rs:230:11 | 230 | #[cfg(libpcap_1_7_2)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_7_2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_7_2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_9_0` --> src/raw.rs:235:11 | 235 | #[cfg(libpcap_1_9_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_9_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_9_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_9_1` --> src/raw.rs:252:11 | 252 | #[cfg(libpcap_1_9_1)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_9_1)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_9_1)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `pcap` (lib) generated 17 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 38.56s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LIWnta + umask 022 + cd /builddir/build/BUILD/rust-pcap-1.3.0-build + '[' /builddir/build/BUILD/rust-pcap-1.3.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rust-pcap-1.3.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/rust-pcap-1.3.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rust-pcap-1.3.0-build + mkdir /builddir/build/BUILD/rust-pcap-1.3.0-build/BUILDROOT + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 pcap-1.3.0 + 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=pcap ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=1.3.0 + REG_DIR=/builddir/build/BUILD/rust-pcap-1.3.0-build/BUILDROOT/usr/share/cargo/registry/pcap-1.3.0 + /usr/bin/mkdir -p /builddir/build/BUILD/rust-pcap-1.3.0-build/BUILDROOT/usr/share/cargo/registry/pcap-1.3.0 + /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 -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/BUILD/rust-pcap-1.3.0-build/BUILDROOT/usr/share/cargo/registry/pcap-1.3.0 warning: no (git) VCS found for `/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILD/rust-pcap-1.3.0-build/BUILDROOT/usr/share/cargo/registry/pcap-1.3.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILD/rust-pcap-1.3.0-build/BUILDROOT/usr/share/cargo/registry/pcap-1.3.0/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 + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/rust-pcap-1.3.0-build/BUILDROOT Scanned 16 directories and 50 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/rust-pcap-1.3.0-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qvnKcW + umask 022 + cd /builddir/build/BUILD/rust-pcap-1.3.0-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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 pcap-1.3.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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 proc-macro2 v1.0.92 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.92/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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=255a3f2d27890c7a -C extra-filename=-255a3f2d27890c7a --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/build/proc-macro2-255a3f2d27890c7a -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling unicode-ident v1.0.14 Compiling cfg-if v1.0.0 Compiling autocfg v1.4.0 Compiling memchr v2.7.4 Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.14/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)' --check-cfg 'cfg(feature, values())' -C metadata=a9ea12849da9f39f -C extra-filename=-a9ea12849da9f39f --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "rustc-dep-of-std"))' -C metadata=1fc5ba0fe9436718 -C extra-filename=-1fc5ba0fe9436718 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling byteorder v1.5.0 Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.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="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=939c5ee85bec3f45 -C extra-filename=-939c5ee85bec3f45 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=27cd6c321db05786 -C extra-filename=-27cd6c321db05786 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Fresh libc v0.2.169 Running `/usr/bin/rustc --crate-name byteorder --edition=2021 /usr/share/cargo/registry/byteorder-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 opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "i128", "std"))' -C metadata=b8525bc5e72dfd70 -C extra-filename=-b8525bc5e72dfd70 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling regex-syntax v0.8.5 Compiling syn v1.0.109 Running `/usr/bin/rustc --crate-name regex_syntax --edition=2021 /usr/share/cargo/registry/regex-syntax-0.8.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"' --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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("arbitrary", "default", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"))' -C metadata=b3ccf9c3ec7c0bcf -C extra-filename=-b3ccf9c3ec7c0bcf --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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/syn-1.0.109/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="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "test", "visit", "visit-mut"))' -C metadata=6890f0a95250de21 -C extra-filename=-6890f0a95250de21 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/build/syn-6890f0a95250de21 -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling getrandom v0.2.15 Running `/usr/bin/rustc --crate-name getrandom --edition=2018 /usr/share/cargo/registry/getrandom-0.2.15/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="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("custom", "linux_disable_fallback", "rdrand", "std"))' -C metadata=3f24a857e6520d99 -C extra-filename=-3f24a857e6520d99 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libcfg_if-1fc5ba0fe9436718.rmeta --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Fresh pkg-config v0.3.31 Compiling either v1.13.0 Running `/usr/bin/rustc --crate-name either --edition=2018 /usr/share/cargo/registry/either-1.13.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="use_std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "serde", "use_std"))' -C metadata=55ce56fdba94eb2e -C extra-filename=-55ce56fdba94eb2e --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling rand_core v0.6.4 Running `/usr/bin/rustc --crate-name rand_core --edition=2018 /usr/share/cargo/registry/rand_core-0.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="getrandom"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "getrandom", "serde", "serde1", "std"))' -C metadata=f966fab317e27171 -C extra-filename=-f966fab317e27171 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern getrandom=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libgetrandom-3f24a857e6520d99.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling aho-corasick v1.1.3 Running `/usr/bin/rustc --crate-name aho_corasick --edition=2021 /usr/share/cargo/registry/aho-corasick-1.1.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="perf-literal"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "logging", "perf-literal", "std"))' -C metadata=b34652f89c6b5b55 -C extra-filename=-b34652f89c6b5b55 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern memchr=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmemchr-939c5ee85bec3f45.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling predicates-core v1.0.9 Running `/usr/bin/rustc --crate-name predicates_core --edition=2021 /usr/share/cargo/registry/predicates-core-1.0.9/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)' --check-cfg 'cfg(feature, values())' -C metadata=cbd070051deccaf1 -C extra-filename=-cbd070051deccaf1 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling itertools v0.10.5 Running `/usr/bin/rustc --crate-name itertools --edition=2018 /usr/share/cargo/registry/itertools-0.10.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"' --cfg 'feature="use_alloc"' --cfg 'feature="use_std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "use_alloc", "use_std"))' -C metadata=1e33d88a747ae5d6 -C extra-filename=-1e33d88a747ae5d6 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern either=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libeither-55ce56fdba94eb2e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: unused import: `std::ffi::CStr` --> build.rs:2:5 | 2 | use std::ffi::CStr; | ^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused import: `std::os::raw::c_char` --> build.rs:3:5 | 3 | use std::os::raw::c_char; | ^^^^^^^^^^^^^^^^^^^^ warning: unused import: `std::path::PathBuf` --> build.rs:4:5 | 4 | use std::path::PathBuf; | ^^^^^^^^^^^^^^^^^^ warning: associated functions `max` and `docs_rs` are never used --> build.rs:38:8 | 13 | impl Version { | ------------ associated functions in this implementation ... 38 | fn max() -> Version { | ^^^ ... 49 | fn docs_rs() -> Version { | ^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `pcap` (build script) generated 4 warnings Compiling termtree v0.5.1 Running `/usr/bin/rustc --crate-name termtree --edition=2021 /usr/share/cargo/registry/termtree-0.5.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 '--warn=clippy::zero_sized_map_values' '--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::single_match_else' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' --warn=rust_2018_idioms '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::match_wildcard_for_single_variants' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::items_after_statements' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=413aa5bccf515a71 -C extra-filename=-413aa5bccf515a71 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.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)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "rustc-dep-of-std"))' -C metadata=112ab9430df06b59 -C extra-filename=-112ab9430df06b59 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/build/syn-6890f0a95250de21/build-script-build` Compiling difflib v0.4.0 Running `/usr/bin/rustc --crate-name difflib --edition=2015 /usr/share/cargo/registry/difflib-0.4.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=01e1b41aaf4d95fa -C extra-filename=-01e1b41aaf4d95fa --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling normalize-line-endings v0.3.0 Running `/usr/bin/rustc --crate-name normalize_line_endings --edition=2015 /usr/share/cargo/registry/normalize-line-endings-0.3.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=daa0d2a6043114d5 -C extra-filename=-daa0d2a6043114d5 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling predicates-tree v1.0.12 Running `/usr/bin/rustc --crate-name predicates_tree --edition=2021 /usr/share/cargo/registry/predicates-tree-1.0.12/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)' --check-cfg 'cfg(feature, values())' -C metadata=d980707b25f4c9af -C extra-filename=-d980707b25f4c9af --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern predicates_core=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpredicates_core-cbd070051deccaf1.rmeta --extern termtree=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libtermtree-413aa5bccf515a71.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling remove_dir_all v0.7.0 Running `/usr/bin/rustc --crate-name remove_dir_all --edition=2018 /usr/share/cargo/registry/remove_dir_all-0.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=f98be7a87e9d0218 -C extra-filename=-f98be7a87e9d0218 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/build/proc-macro2-255a3f2d27890c7a/build-script-build` Fresh errno v0.2.8 Compiling lazy_static v1.5.0 Running `/usr/bin/rustc --crate-name lazy_static --edition=2015 /usr/share/cargo/registry/lazy_static-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 opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("spin", "spin_no_std"))' -C metadata=0ce713f36fdd1dc9 -C extra-filename=-0ce713f36fdd1dc9 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling fragile v2.0.0 Running `/usr/bin/rustc --crate-name fragile --edition=2018 /usr/share/cargo/registry/fragile-2.0.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("slab"))' -C metadata=f744982e7e3ca09d -C extra-filename=-f744982e7e3ca09d --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.92/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=8fe71aa96bd7b95a -C extra-filename=-8fe71aa96bd7b95a --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern unicode_ident=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libunicode_ident-a9ea12849da9f39f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg wrap_proc_macro --cfg proc_macro_span --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` Compiling quote v1.0.38 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.38/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=657363cecff0cdb6 -C extra-filename=-657363cecff0cdb6 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libproc_macro2-8fe71aa96bd7b95a.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Fresh bitflags v1.3.2 Compiling downcast v0.11.0 Running `/usr/bin/rustc --crate-name downcast --edition=2018 /usr/share/cargo/registry/downcast-0.11.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="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "nightly", "std"))' -C metadata=4604181b3076a3e7 -C extra-filename=-4604181b3076a3e7 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling num-traits v0.2.19 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/num-traits-0.2.19/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "i128", "libm", "std"))' -C metadata=1ff764ed63350161 -C extra-filename=-1ff764ed63350161 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/build/num-traits-1ff764ed63350161 -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern autocfg=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libautocfg-27cd6c321db05786.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling once_cell v1.20.2 Running `/usr/bin/rustc --crate-name once_cell --edition=2021 /usr/share/cargo/registry/once_cell-1.20.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="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "atomic-polyfill", "critical-section", "default", "parking_lot", "portable-atomic", "race", "std", "unstable"))' -C metadata=efc01644aa7d3197 -C extra-filename=-efc01644aa7d3197 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling syn v2.0.94 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.94/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "test", "visit", "visit-mut"))' -C metadata=80f0be5f27491657 -C extra-filename=-80f0be5f27491657 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libproc_macro2-8fe71aa96bd7b95a.rmeta --extern quote=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libquote-657363cecff0cdb6.rmeta --extern unicode_ident=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libunicode_ident-a9ea12849da9f39f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/build/num-traits-1ff764ed63350161/build-script-build` Running `/usr/bin/rustc --crate-name num_traits --edition=2021 /usr/share/cargo/registry/num-traits-0.2.19/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)' --check-cfg 'cfg(feature, values("default", "i128", "libm", "std"))' -C metadata=13e2356c9f8c6d4a -C extra-filename=-13e2356c9f8c6d4a --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg has_total_cmp --check-cfg 'cfg(has_total_cmp)'` Compiling regex-automata v0.4.9 Running `/usr/bin/rustc --crate-name regex_automata --edition=2021 /usr/share/cargo/registry/regex-automata-0.4.9/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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "dfa", "dfa-build", "dfa-onepass", "dfa-search", "hybrid", "internal-instrument", "internal-instrument-pikevm", "logging", "meta", "nfa", "nfa-backtrack", "nfa-pikevm", "nfa-thompson", "perf", "perf-inline", "perf-literal", "perf-literal-multisubstring", "perf-literal-substring", "std", "syntax", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unicode-word-boundary"))' -C metadata=33d85c4c408ed206 -C extra-filename=-33d85c4c408ed206 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern aho_corasick=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libaho_corasick-b34652f89c6b5b55.rmeta --extern memchr=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmemchr-939c5ee85bec3f45.rmeta --extern regex_syntax=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libregex_syntax-b3ccf9c3ec7c0bcf.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling float-cmp v0.9.0 Running `/usr/bin/rustc --crate-name float_cmp --edition=2018 /usr/share/cargo/registry/float-cmp-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 --cfg 'feature="default"' --cfg 'feature="num-traits"' --cfg 'feature="ratio"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "num-traits", "ratio", "std"))' -C metadata=c3c052fbc2493fe1 -C extra-filename=-c3c052fbc2493fe1 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern num_traits=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libnum_traits-13e2356c9f8c6d4a.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name syn --edition=2018 /usr/share/cargo/registry/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "test", "visit", "visit-mut"))' -C metadata=bc3c1538951bbebc -C extra-filename=-bc3c1538951bbebc --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libproc_macro2-8fe71aa96bd7b95a.rmeta --extern quote=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libquote-657363cecff0cdb6.rmeta --extern unicode_ident=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libunicode_ident-a9ea12849da9f39f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg syn_disable_nightly_tests` warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/activated/dead.rs:9:7 | 9 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/activated/dead.rs:22:11 | 22 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/activated/offline.rs:11:7 | 11 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/activated/offline.rs:27:11 | 27 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/activated/offline.rs:54:29 | 54 | #[cfg(all(not(windows), libpcap_1_5_0))] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_7_2` --> src/capture/activated/mod.rs:135:11 | 135 | #[cfg(libpcap_1_7_2)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_7_2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_7_2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:9:7 | 9 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_2_1` --> src/capture/inactive.rs:55:11 | 55 | #[cfg(libpcap_1_2_1)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_2_1)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_2_1)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:73:15 | 73 | #[cfg(any(libpcap_1_5_0, windows))] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:117:11 | 117 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:80:15 | 80 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:86:32 | 86 | #[cfg(all(windows, not(libpcap_1_5_0)))] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_2_1` --> src/raw.rs:198:11 | 198 | #[cfg(libpcap_1_2_1)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_2_1)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_2_1)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/raw.rs:208:11 | 208 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_7_2` --> src/raw.rs:230:11 | 230 | #[cfg(libpcap_1_7_2)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_7_2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_7_2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_9_0` --> src/raw.rs:235:11 | 235 | #[cfg(libpcap_1_9_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_9_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_9_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_9_1` --> src/raw.rs:252:11 | 252 | #[cfg(libpcap_1_9_1)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_9_1)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_9_1)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `pcap` (lib) generated 17 warnings Compiling regex v1.11.1 Running `/usr/bin/rustc --crate-name regex --edition=2021 /usr/share/cargo/registry/regex-1.11.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 --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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "logging", "pattern", "perf", "perf-backtrack", "perf-cache", "perf-dfa", "perf-dfa-full", "perf-inline", "perf-literal", "perf-onepass", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unstable", "use_std"))' -C metadata=16dc1fb254a9cf37 -C extra-filename=-16dc1fb254a9cf37 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern aho_corasick=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libaho_corasick-b34652f89c6b5b55.rmeta --extern memchr=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmemchr-939c5ee85bec3f45.rmeta --extern regex_automata=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libregex_automata-33d85c4c408ed206.rmeta --extern regex_syntax=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libregex_syntax-b3ccf9c3ec7c0bcf.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling predicates v2.1.5 Running `/usr/bin/rustc --crate-name predicates --edition=2021 /usr/share/cargo/registry/predicates-2.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 --cfg 'feature="default"' --cfg 'feature="diff"' --cfg 'feature="float-cmp"' --cfg 'feature="normalize-line-endings"' --cfg 'feature="regex"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "diff", "float-cmp", "normalize-line-endings", "regex", "unstable"))' -C metadata=a85981e6094b1b32 -C extra-filename=-a85981e6094b1b32 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern difflib=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libdifflib-01e1b41aaf4d95fa.rmeta --extern float_cmp=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libfloat_cmp-c3c052fbc2493fe1.rmeta --extern itertools=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libitertools-1e33d88a747ae5d6.rmeta --extern normalize_line_endings=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libnormalize_line_endings-daa0d2a6043114d5.rmeta --extern predicates_core=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpredicates_core-cbd070051deccaf1.rmeta --extern regex=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libregex-16dc1fb254a9cf37.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling zerocopy-derive v0.7.35 Running `/usr/bin/rustc --crate-name zerocopy_derive --edition=2018 /usr/share/cargo/registry/zerocopy-derive-0.7.35/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=962a54ab5bc7be63 -C extra-filename=-962a54ab5bc7be63 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libproc_macro2-8fe71aa96bd7b95a.rlib --extern quote=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libquote-657363cecff0cdb6.rlib --extern syn=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libsyn-80f0be5f27491657.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling zerocopy v0.7.35 Running `/usr/bin/rustc --crate-name zerocopy --edition=2018 /usr/share/cargo/registry/zerocopy-0.7.35/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="byteorder"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="simd"' --cfg 'feature="zerocopy-derive"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("__internal_use_only_features_that_work_on_stable", "alloc", "byteorder", "default", "derive", "simd", "simd-nightly", "zerocopy-derive"))' -C metadata=21c156e8c6b6c101 -C extra-filename=-21c156e8c6b6c101 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern byteorder=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbyteorder-b8525bc5e72dfd70.rmeta --extern zerocopy_derive=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libzerocopy_derive-962a54ab5bc7be63.so --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling ppv-lite86 v0.2.20 Running `/usr/bin/rustc --crate-name ppv_lite86 --edition=2021 /usr/share/cargo/registry/ppv-lite86-0.2.20/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="simd"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "no_simd", "simd", "std"))' -C metadata=328a1f944942511c -C extra-filename=-328a1f944942511c --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern zerocopy=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libzerocopy-21c156e8c6b6c101.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling rand_chacha v0.3.1 Running `/usr/bin/rustc --crate-name rand_chacha --edition=2018 /usr/share/cargo/registry/rand_chacha-0.3.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 --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "serde", "serde1", "simd", "std"))' -C metadata=32286323a071ce89 -C extra-filename=-32286323a071ce89 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern ppv_lite86=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libppv_lite86-328a1f944942511c.rmeta --extern rand_core=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/librand_core-f966fab317e27171.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling rand v0.8.5 Running `/usr/bin/rustc --crate-name rand --edition=2018 /usr/share/cargo/registry/rand-0.8.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="alloc"' --cfg 'feature="default"' --cfg 'feature="getrandom"' --cfg 'feature="libc"' --cfg 'feature="rand_chacha"' --cfg 'feature="std"' --cfg 'feature="std_rng"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "getrandom", "libc", "log", "min_const_gen", "nightly", "packed_simd", "rand_chacha", "serde", "serde1", "simd_support", "small_rng", "std", "std_rng"))' -C metadata=e5eceac3cbeae9b0 -C extra-filename=-e5eceac3cbeae9b0 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rmeta --extern rand_chacha=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/librand_chacha-32286323a071ce89.rmeta --extern rand_core=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/librand_core-f966fab317e27171.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling tempdir v0.3.7 Running `/usr/bin/rustc --crate-name tempdir --edition=2015 /usr/share/cargo/registry/tempdir-0.3.7/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)' --check-cfg 'cfg(feature, values())' -C metadata=1481b7bc979e5c2b -C extra-filename=-1481b7bc979e5c2b --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern rand=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/librand-e5eceac3cbeae9b0.rmeta --extern remove_dir_all=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libremove_dir_all-f98be7a87e9d0218.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling mockall_derive v0.11.4 Running `/usr/bin/rustc --crate-name mockall_derive --edition=2018 /usr/share/cargo/registry/mockall_derive-0.11.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("nightly_derive"))' -C metadata=d9e917faf2caa155 -C extra-filename=-d9e917faf2caa155 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libcfg_if-112ab9430df06b59.rlib --extern proc_macro2=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libproc_macro2-8fe71aa96bd7b95a.rlib --extern quote=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libquote-657363cecff0cdb6.rlib --extern syn=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libsyn-bc3c1538951bbebc.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling mockall v0.11.4 Running `/usr/bin/rustc --crate-name mockall --edition=2018 /usr/share/cargo/registry/mockall-0.11.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)' --check-cfg 'cfg(feature, values("nightly"))' -C metadata=39d23cba0f53c436 -C extra-filename=-39d23cba0f53c436 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libcfg_if-1fc5ba0fe9436718.rmeta --extern downcast=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libdowncast-4604181b3076a3e7.rmeta --extern fragile=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libfragile-f744982e7e3ca09d.rmeta --extern lazy_static=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblazy_static-0ce713f36fdd1dc9.rmeta --extern mockall_derive=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmockall_derive-d9e917faf2caa155.so --extern predicates=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpredicates-a85981e6094b1b32.rmeta --extern predicates_tree=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpredicates_tree-d980707b25f4c9af.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling pcap v1.3.0 (/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0) Running `/usr/bin/rustc --crate-name getstatistics --edition=2018 examples/getstatistics.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' -C metadata=8b526fbdc6a82668 -C extra-filename=-8b526fbdc6a82668 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbitflags-4c52398931d0f9f1.rlib --extern errno=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liberrno-b676c8e485bd03a4.rlib --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rlib --extern mockall=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmockall-39d23cba0f53c436.rlib --extern once_cell=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libonce_cell-efc01644aa7d3197.rlib --extern pcap=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpcap-42ca6cf6c9f1c0cb.rlib --extern tempdir=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libtempdir-1481b7bc979e5c2b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64 --cfg libpcap_1_2_1 --cfg libpcap_1_5_0 --cfg libpcap_1_7_2 --cfg libpcap_1_9_0 --cfg libpcap_1_9_1` Running `/usr/bin/rustc --crate-name listenlocalhost --edition=2018 examples/listenlocalhost.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' -C metadata=edfd8141683db8ca -C extra-filename=-edfd8141683db8ca --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbitflags-4c52398931d0f9f1.rlib --extern errno=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liberrno-b676c8e485bd03a4.rlib --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rlib --extern mockall=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmockall-39d23cba0f53c436.rlib --extern once_cell=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libonce_cell-efc01644aa7d3197.rlib --extern pcap=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpcap-42ca6cf6c9f1c0cb.rlib --extern tempdir=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libtempdir-1481b7bc979e5c2b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64 --cfg libpcap_1_2_1 --cfg libpcap_1_5_0 --cfg libpcap_1_7_2 --cfg libpcap_1_9_0 --cfg libpcap_1_9_1` Running `/usr/bin/rustc --crate-name tap_tests --edition=2018 tests/tap_tests.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' -C metadata=e91e7eaf00827c5a -C extra-filename=-e91e7eaf00827c5a --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbitflags-4c52398931d0f9f1.rlib --extern errno=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liberrno-b676c8e485bd03a4.rlib --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rlib --extern mockall=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmockall-39d23cba0f53c436.rlib --extern once_cell=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libonce_cell-efc01644aa7d3197.rlib --extern pcap=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpcap-42ca6cf6c9f1c0cb.rlib --extern tempdir=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libtempdir-1481b7bc979e5c2b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64 --cfg libpcap_1_2_1 --cfg libpcap_1_5_0 --cfg libpcap_1_7_2 --cfg libpcap_1_9_0 --cfg libpcap_1_9_1` Running `/usr/bin/rustc --crate-name nfbpfcompile --edition=2018 examples/nfbpfcompile.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' -C metadata=e31e84b773125abc -C extra-filename=-e31e84b773125abc --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbitflags-4c52398931d0f9f1.rlib --extern errno=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liberrno-b676c8e485bd03a4.rlib --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rlib --extern mockall=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmockall-39d23cba0f53c436.rlib --extern once_cell=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libonce_cell-efc01644aa7d3197.rlib --extern pcap=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpcap-42ca6cf6c9f1c0cb.rlib --extern tempdir=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libtempdir-1481b7bc979e5c2b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64 --cfg libpcap_1_2_1 --cfg libpcap_1_5_0 --cfg libpcap_1_7_2 --cfg libpcap_1_9_0 --cfg libpcap_1_9_1` Running `/usr/bin/rustc --crate-name getdevices --edition=2018 examples/getdevices.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' -C metadata=280d4a76854d65c3 -C extra-filename=-280d4a76854d65c3 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbitflags-4c52398931d0f9f1.rlib --extern errno=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liberrno-b676c8e485bd03a4.rlib --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rlib --extern mockall=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmockall-39d23cba0f53c436.rlib --extern once_cell=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libonce_cell-efc01644aa7d3197.rlib --extern pcap=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpcap-42ca6cf6c9f1c0cb.rlib --extern tempdir=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libtempdir-1481b7bc979e5c2b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64 --cfg libpcap_1_2_1 --cfg libpcap_1_5_0 --cfg libpcap_1_7_2 --cfg libpcap_1_9_0 --cfg libpcap_1_9_1` Running `/usr/bin/rustc --crate-name pcap --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' -C metadata=8d0c61f8d0bcbac5 -C extra-filename=-8d0c61f8d0bcbac5 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbitflags-4c52398931d0f9f1.rlib --extern errno=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liberrno-b676c8e485bd03a4.rlib --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rlib --extern mockall=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmockall-39d23cba0f53c436.rlib --extern once_cell=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libonce_cell-efc01644aa7d3197.rlib --extern tempdir=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libtempdir-1481b7bc979e5c2b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64 -l pcap --cfg libpcap_1_2_1 --cfg libpcap_1_5_0 --cfg libpcap_1_7_2 --cfg libpcap_1_9_0 --cfg libpcap_1_9_1` Running `/usr/bin/rustc --crate-name lib --edition=2018 tests/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' -C metadata=38afdce357062ff9 -C extra-filename=-38afdce357062ff9 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbitflags-4c52398931d0f9f1.rlib --extern errno=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liberrno-b676c8e485bd03a4.rlib --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rlib --extern mockall=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmockall-39d23cba0f53c436.rlib --extern once_cell=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libonce_cell-efc01644aa7d3197.rlib --extern pcap=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpcap-42ca6cf6c9f1c0cb.rlib --extern tempdir=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libtempdir-1481b7bc979e5c2b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64 --cfg libpcap_1_2_1 --cfg libpcap_1_5_0 --cfg libpcap_1_7_2 --cfg libpcap_1_9_0 --cfg libpcap_1_9_1` Running `/usr/bin/rustc --crate-name loop --edition=2018 examples/loop.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' -C metadata=430b98102049fb16 -C extra-filename=-430b98102049fb16 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbitflags-4c52398931d0f9f1.rlib --extern errno=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liberrno-b676c8e485bd03a4.rlib --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rlib --extern mockall=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmockall-39d23cba0f53c436.rlib --extern once_cell=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libonce_cell-efc01644aa7d3197.rlib --extern pcap=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpcap-42ca6cf6c9f1c0cb.rlib --extern tempdir=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libtempdir-1481b7bc979e5c2b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64 --cfg libpcap_1_2_1 --cfg libpcap_1_5_0 --cfg libpcap_1_7_2 --cfg libpcap_1_9_0 --cfg libpcap_1_9_1` warning: unexpected `cfg` condition name: `libpcap_1_7_2` --> tests/capture/activated/mod.rs:40:7 | 40 | #[cfg(libpcap_1_7_2)] | ^^^^^^^^^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = 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(libpcap_1_7_2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_7_2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> tests/lib.rs:130:11 | 130 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> tests/lib.rs:176:11 | 176 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> tests/lib.rs:181:15 | 181 | #[cfg(not(libpcap_1_5_0))] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration Running `/usr/bin/rustc --crate-name sendqueue --edition=2018 examples/sendqueue.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' -C metadata=5bdc2e5615130822 -C extra-filename=-5bdc2e5615130822 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbitflags-4c52398931d0f9f1.rlib --extern errno=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liberrno-b676c8e485bd03a4.rlib --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rlib --extern mockall=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmockall-39d23cba0f53c436.rlib --extern once_cell=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libonce_cell-efc01644aa7d3197.rlib --extern pcap=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpcap-42ca6cf6c9f1c0cb.rlib --extern tempdir=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libtempdir-1481b7bc979e5c2b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64 --cfg libpcap_1_2_1 --cfg libpcap_1_5_0 --cfg libpcap_1_7_2 --cfg libpcap_1_9_0 --cfg libpcap_1_9_1` warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/activated/dead.rs:38:11 | 38 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/activated/dead.rs:65:11 | 65 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/activated/offline.rs:84:11 | 84 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/activated/offline.rs:114:11 | 114 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_7_2` --> src/capture/activated/mod.rs:643:11 | 643 | #[cfg(libpcap_1_7_2)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_7_2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_7_2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_7_2` --> src/capture/activated/mod.rs:692:11 | 692 | #[cfg(libpcap_1_7_2)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_7_2)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_7_2)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_2_1` --> src/capture/inactive.rs:274:11 | 274 | #[cfg(libpcap_1_2_1)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_2_1)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_2_1)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:314:11 | 314 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:317:28 | 317 | #[cfg(all(windows, not(libpcap_1_5_0)))] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:320:15 | 320 | #[cfg(any(libpcap_1_5_0, windows))] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:343:15 | 343 | #[cfg(any(libpcap_1_5_0, windows))] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:398:11 | 398 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:322:15 | 322 | #[cfg(libpcap_1_5_0)] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `libpcap_1_5_0` --> src/capture/inactive.rs:331:32 | 331 | #[cfg(all(windows, not(libpcap_1_5_0)))] | ^^^^^^^^^^^^^ | = 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(libpcap_1_5_0)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libpcap_1_5_0)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration Running `/usr/bin/rustc --crate-name iterprint --edition=2018 examples/iterprint.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' -C metadata=0d936079674fc14b -C extra-filename=-0d936079674fc14b --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbitflags-4c52398931d0f9f1.rlib --extern errno=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liberrno-b676c8e485bd03a4.rlib --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rlib --extern mockall=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmockall-39d23cba0f53c436.rlib --extern once_cell=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libonce_cell-efc01644aa7d3197.rlib --extern pcap=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpcap-42ca6cf6c9f1c0cb.rlib --extern tempdir=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libtempdir-1481b7bc979e5c2b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64 --cfg libpcap_1_2_1 --cfg libpcap_1_5_0 --cfg libpcap_1_7_2 --cfg libpcap_1_9_0 --cfg libpcap_1_9_1` Running `/usr/bin/rustc --crate-name savefile --edition=2018 examples/savefile.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' -C metadata=170f8fea1dafec3a -C extra-filename=-170f8fea1dafec3a --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbitflags-4c52398931d0f9f1.rlib --extern errno=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liberrno-b676c8e485bd03a4.rlib --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rlib --extern mockall=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmockall-39d23cba0f53c436.rlib --extern once_cell=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libonce_cell-efc01644aa7d3197.rlib --extern pcap=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpcap-42ca6cf6c9f1c0cb.rlib --extern tempdir=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libtempdir-1481b7bc979e5c2b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64 --cfg libpcap_1_2_1 --cfg libpcap_1_5_0 --cfg libpcap_1_7_2 --cfg libpcap_1_9_0 --cfg libpcap_1_9_1` Running `/usr/bin/rustc --crate-name stdin --edition=2018 examples/stdin.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' -C metadata=bc5946141478af56 -C extra-filename=-bc5946141478af56 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbitflags-4c52398931d0f9f1.rlib --extern errno=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liberrno-b676c8e485bd03a4.rlib --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rlib --extern mockall=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmockall-39d23cba0f53c436.rlib --extern once_cell=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libonce_cell-efc01644aa7d3197.rlib --extern pcap=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpcap-42ca6cf6c9f1c0cb.rlib --extern tempdir=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libtempdir-1481b7bc979e5c2b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64 --cfg libpcap_1_2_1 --cfg libpcap_1_5_0 --cfg libpcap_1_7_2 --cfg libpcap_1_9_0 --cfg libpcap_1_9_1` Running `/usr/bin/rustc --crate-name savemultiplefiles --edition=2018 examples/savemultiplefiles.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' -C metadata=2c74cc0f89a46a80 -C extra-filename=-2c74cc0f89a46a80 --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbitflags-4c52398931d0f9f1.rlib --extern errno=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liberrno-b676c8e485bd03a4.rlib --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rlib --extern mockall=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmockall-39d23cba0f53c436.rlib --extern once_cell=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libonce_cell-efc01644aa7d3197.rlib --extern pcap=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpcap-42ca6cf6c9f1c0cb.rlib --extern tempdir=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libtempdir-1481b7bc979e5c2b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64 --cfg libpcap_1_2_1 --cfg libpcap_1_5_0 --cfg libpcap_1_7_2 --cfg libpcap_1_9_0 --cfg libpcap_1_9_1` Running `/usr/bin/rustc --crate-name easylisten --edition=2018 examples/easylisten.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' -C metadata=1c263eae105b287b -C extra-filename=-1c263eae105b287b --out-dir /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbitflags-4c52398931d0f9f1.rlib --extern errno=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liberrno-b676c8e485bd03a4.rlib --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rlib --extern mockall=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmockall-39d23cba0f53c436.rlib --extern once_cell=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libonce_cell-efc01644aa7d3197.rlib --extern pcap=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpcap-42ca6cf6c9f1c0cb.rlib --extern tempdir=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libtempdir-1481b7bc979e5c2b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64 --cfg libpcap_1_2_1 --cfg libpcap_1_5_0 --cfg libpcap_1_7_2 --cfg libpcap_1_9_0 --cfg libpcap_1_9_1` warning: `pcap` (test "lib") generated 4 warnings warning: creating a mutable reference to mutable static is discouraged --> src/capture/activated/mod.rs:462:58 | 462 | let pkthdr_ptr: *mut raw::pcap_pkthdr = unsafe { &mut PKTHDR }; | ^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives = note: `#[warn(static_mut_refs)]` on by default help: use `&raw mut` instead to create a raw pointer | 462 | let pkthdr_ptr: *mut raw::pcap_pkthdr = unsafe { &raw mut PKTHDR }; | ~~~~~~~~ warning: `pcap` (lib test) generated 32 warnings (17 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 2m 16s Running `/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/pcap-8d0c61f8d0bcbac5` running 66 tests test capture::activated::active::tests::test_as_raw_fd ... ok test capture::activated::dead::tests::test_dead ... ok test capture::activated::active::tests::test_setnonblock_error ... ok test capture::activated::dead::tests::test_dead_with_precision ... ok test capture::activated::active::tests::test_sendpacket ... ok test capture::activated::iterator::tests::test_iter_next ... ok test capture::activated::active::tests::test_setnonblock ... ok test capture::activated::iterator::tests::test_iter_timeout ... ok test capture::activated::iterator::tests::test_next_packet_read_error ... ok test capture::activated::tests::for_each_with_count ... ok test capture::activated::iterator::tests::test_next_packet_no_more_packets ... ok test capture::activated::tests::for_each_with_count_0 ... ok test capture::activated::tests::panic_in_pcap_loop - should panic ... ok test capture::activated::tests::test_bpf_instruction_display ... ok test capture::activated::offline::tests::test_from_file ... ok test capture::activated::offline::tests::test_version ... ok test capture::activated::tests::read_packet_via_pcap_loop ... ok test capture::activated::offline::tests::test_from_file_with_precision ... ok test capture::activated::tests::test_compile ... ok test capture::activated::tests::test_direction ... ok test capture::activated::tests::test_list_datalinks ... ok test capture::activated::tests::test_next_packet ... ok test capture::activated::tests::test_next_packet_read_error ... ok test capture::activated::tests::test_next_packet_no_more_packets ... ok test capture::activated::tests::test_next_packet_timeout ... ok test capture::activated::tests::test_filter ... ok test capture::activated::tests::test_savefile_append ... ok test capture::activated::tests::test_savefile ... ok test capture::activated::tests::test_savefile_append_error ... ok test capture::activated::tests::test_savefile_error ... ok test capture::activated::tests::test_savefile_ops ... ok test capture::activated::tests::test_set_datalink ... ok test capture::activated::tests::test_stats ... ok test capture::activated::tests::unify_activated ... ok test capture::inactive::tests::test_buffer_size ... ok test capture::activated::tests::test_get_datalink ... ok test capture::inactive::tests::test_from_device ... ok test capture::inactive::tests::test_from_device_error ... ok test capture::inactive::tests::test_immediate_mode ... ok test capture::inactive::tests::test_open ... ok test capture::inactive::tests::test_open_error ... ok test capture::inactive::tests::test_precision ... ok test capture::inactive::tests::test_rfmon ... ok test capture::inactive::tests::test_snaplen ... ok test capture::inactive::tests::test_promisc ... ok test capture::inactive::tests::test_timstamp_type ... ok test capture::tests::test_precision ... ok test capture::tests::test_capture_getters ... ok test device::tests::test_address_family ... ok test capture::inactive::tests::test_timeout ... ok test device::tests::test_address_ipv4 ... ok test device::tests::test_address_ipv6 ... ok test device::tests::test_connection_status ... ok test device::tests::test_device_flags ... ok test device::tests::test_into_capture ... ok test device::tests::test_list ... ok test device::tests::test_lookup ... ok test linktype::tests::test_from_name ... ok test packet::tests::test_packet_header_clone ... ok test packet::tests::test_packet_header_size ... ok test packet::tests::test_packet_header_display ... ok test tests::test_error_invalid_utf8 ... ok test linktype::tests::test_get_description ... ok test tests::test_error_null ... ok test tests::test_errors ... ok test linktype::tests::test_get_name ... ok test result: ok. 66 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/lib-38afdce357062ff9` running 14 tests test capture::activated::offline::test_pcap_version ... ok test capture::activated::capture_dead_savefile ... ok test capture::activated::read_packet_via_pcap_loop ... ok test capture::activated::panic_in_pcap_loop - should panic ... ok test capture::activated::capture_dead_savefile_append ... ok test capture::activated::read_packet_with_full_data ... ok test capture::activated::test_compile_error ... ok test capture::activated::test_compile ... ok test capture::activated::test_compile_optimized ... ok test capture::activated::test_error ... ok test capture::activated::test_filter ... ok test capture::activated::test_linktype ... ok test capture::activated::read_packet_with_truncated_data ... ok test test_raw_fd_api ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/tap_tests-e91e7eaf00827c5a` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests pcap Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name pcap --test src/lib.rs --test-run-directory /builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0 -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps -L native=/usr/lib64 --extern bitflags=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libbitflags-4c52398931d0f9f1.rlib --extern errno=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liberrno-b676c8e485bd03a4.rlib --extern libc=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/liblibc-8aa6b8ea845e0765.rlib --extern mockall=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libmockall-39d23cba0f53c436.rlib --extern once_cell=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libonce_cell-efc01644aa7d3197.rlib --extern pcap=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libpcap-42ca6cf6c9f1c0cb.rlib --extern tempdir=/builddir/build/BUILD/rust-pcap-1.3.0-build/pcap-1.3.0/target/rpm/deps/libtempdir-1481b7bc979e5c2b.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-features", "capture-stream", "etherparse", "futures", "gat-std", "lending-iter", "tap-tests", "tokio", "tun-tap"))' --cfg libpcap_1_2_1 --cfg libpcap_1_5_0 --cfg libpcap_1_7_2 --cfg libpcap_1_9_0 --cfg libpcap_1_9_1 --error-format human` running 6 tests test src/capture/mod.rs - capture::Capture (line 79) - compile ... ok test src/lib.rs - (line 11) - compile ... ok test src/lib.rs - (line 32) - compile ... ok test src/lib.rs - (line 51) ... ok test src/linktype.rs - linktype::Linktype (line 9) ... ok test src/capture/inactive.rs - capture::inactive::Capture::from_device (line 17) ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s Processing files: rust-pcap-devel-1.3.0-3.fc42.noarch + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /usr/share/cargo/registry/pcap-1.3.0/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/pcap-1.3.0/CONTRIBUTING.md warning: File listed twice: /usr/share/cargo/registry/pcap-1.3.0/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/pcap-1.3.0/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/pcap-1.3.0/README.md Provides: crate(pcap) = 1.3.0 rust-pcap-devel = 1.3.0-3.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(bitflags/default) >= 1.3.0 with crate(bitflags/default) < 2.0.0~) (crate(errno/default) >= 0.2.0 with crate(errno/default) < 0.3.0~) (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0~) (crate(pkg-config/default) >= 0.3.0 with crate(pkg-config/default) < 0.4.0~) (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0~) cargo Processing files: rust-pcap+default-devel-1.3.0-3.fc42.noarch Provides: crate(pcap/default) = 1.3.0 rust-pcap+default-devel = 1.3.0-3.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pcap) = 1.3.0 Processing files: rust-pcap+all-features-devel-1.3.0-3.fc42.noarch Provides: crate(pcap/all-features) = 1.3.0 rust-pcap+all-features-devel = 1.3.0-3.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pcap) = 1.3.0 Processing files: rust-pcap+capture-stream-devel-1.3.0-3.fc42.noarch Provides: crate(pcap/capture-stream) = 1.3.0 rust-pcap+capture-stream-devel = 1.3.0-3.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pcap) = 1.3.0 crate(pcap/futures) = 1.3.0 crate(pcap/tokio) = 1.3.0 Processing files: rust-pcap+futures-devel-1.3.0-3.fc42.noarch Provides: crate(pcap/futures) = 1.3.0 rust-pcap+futures-devel = 1.3.0-3.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(futures/default) >= 0.3.0 with crate(futures/default) < 0.4.0~) cargo crate(pcap) = 1.3.0 Processing files: rust-pcap+tokio-devel-1.3.0-3.fc42.noarch Provides: crate(pcap/tokio) = 1.3.0 rust-pcap+tokio-devel = 1.3.0-3.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(tokio/default) >= 1.0.0 with crate(tokio/default) < 2.0.0~) (crate(tokio/macros) >= 1.0.0 with crate(tokio/macros) < 2.0.0~) (crate(tokio/net) >= 1.0.0 with crate(tokio/net) < 2.0.0~) (crate(tokio/rt) >= 1.0.0 with crate(tokio/rt) < 2.0.0~) (crate(tokio/rt-multi-thread) >= 1.0.0 with crate(tokio/rt-multi-thread) < 2.0.0~) cargo crate(pcap) = 1.3.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/rust-pcap-1.3.0-build/BUILDROOT Wrote: /builddir/build/SRPMS/rust-pcap-1.3.0-3.fc42.src.rpm Wrote: /builddir/build/RPMS/rust-pcap+default-devel-1.3.0-3.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-pcap+all-features-devel-1.3.0-3.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-pcap+futures-devel-1.3.0-3.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-pcap+capture-stream-devel-1.3.0-3.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-pcap+tokio-devel-1.3.0-3.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-pcap-devel-1.3.0-3.fc42.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/pcap-1.3.0/CHANGELOG.md File listed twice: /usr/share/cargo/registry/pcap-1.3.0/CONTRIBUTING.md File listed twice: /usr/share/cargo/registry/pcap-1.3.0/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/pcap-1.3.0/LICENSE-MIT File listed twice: /usr/share/cargo/registry/pcap-1.3.0/README.md Child return code was: 0