Run of lintian-fixes for rust-ipconfig

Try this locally (using the lintian-brush package):

debcheckout rust-ipconfig
cd rust-ipconfig
lintian-brush
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=test CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Liran Ringel <liranringel@gmail.com>' CARGO_PKG_DESCRIPTION='Get network adapters information and network configuration for windows.' CARGO_PKG_HOMEPAGE='https://github.com/liranringel/ipconfig' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=ipconfig CARGO_PKG_REPOSITORY='https://github.com/liranringel/ipconfig' CARGO_PKG_VERSION=0.2.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/ipconfig-8885c4e3e0984139/out rustc --crate-name test --edition=2018 tests/test.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -Cembed-bitcode=no -C debuginfo=2 --test -C metadata=4ea3e4b9115e70d4 -C extra-filename=-4ea3e4b9115e70d4 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern ipconfig=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libipconfig-bc3917bfb48b2c78.rlib -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/ipconfig-0.2.1` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: linking with `x86_64-linux-gnu-gcc` failed: exit code: 1
  |
  = note: "x86_64-linux-gnu-gcc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/ipconfig-67601d463c7a609b.1a15yv7gechqb6e8.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/ipconfig-67601d463c7a609b.1hcx4gui29v7sqqk.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/ipconfig-67601d463c7a609b.1q68yzhryo4h21c5.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/ipconfig-67601d463c7a609b.2gre2eoizowlnxou.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/ipconfig-67601d463c7a609b.527djpxl5q94j81o.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/ipconfig-67601d463c7a609b.5794j3zrmgcyk6mq.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/ipconfig-67601d463c7a609b.5dj7mrnqpiy9t7qj.rcgu.o" "-o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/ipconfig-67601d463c7a609b" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/ipconfig-67601d463c7a609b.zrze3ip6k0z7xrt.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps" "-L" "/<<PKGBUILDDIR>>/target/debug/deps" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-liphlpapi" "-Wl,-Bstatic" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-3829520b6bbba20d.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-d63cbf61faef104d.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-5c5d7c7cbef3b8a3.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-9dfba5044a9b9560.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-4592650e76b69cf7.rlib" "-Wl,--start-group" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6bf3f16f340782ca.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-13f3099d50c21bc6.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-a2ba33c985785afe.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-3f6e9f8f4afbea6d.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-af517d7f13e7c960.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-12740563628e601f.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0ac82a1e1820dd21.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-3ac2d0878c297d42.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c6632ca171f954dd.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-b5bfd0198c7b740d.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-bd645b20c6c7b56d.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b9e1e523c0c29a77.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-dfbef8c525de0186.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-1ebf406bd4ea5769.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-5e0675f526ef5c6b.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-3375e4f89d420e7a.rlib" "-Wl,--end-group" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f74b197469e67088.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" "-Wl,-z,relro"
  = note: /usr/bin/ld: cannot find -liphlpapi
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: build failed
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101

Summary

Full worker log Full build log