Run of lintian-fixes for rust-fuchsia-cprng

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

debcheckout rust-fuchsia-cprng
cd rust-fuchsia-cprng
lintian-brush
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j4', '--target', 'x86_64-unknown-linux-gnu', '--all'],) {}
   Compiling fuchsia-cprng v0.1.1 (/<<PKGBUILDDIR>>)
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=fuchsia_cprng CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Erick Tryzelaar <etryzelaar@google.com>' CARGO_PKG_DESCRIPTION='Rust crate for the Fuchsia cryptographically secure pseudorandom number generator' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='' CARGO_PKG_LICENSE_FILE=LICENSE CARGO_PKG_NAME=fuchsia-cprng CARGO_PKG_REPOSITORY='https://fuchsia.googlesource.com/fuchsia/+/master/garnet/public/rust/fuchsia-cprng' CARGO_PKG_VERSION=0.1.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name fuchsia_cprng --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -Cembed-bitcode=no -C debuginfo=2 --test -C metadata=bbc15d0cf263df5d -C extra-filename=-bbc15d0cf263df5d --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 -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/fuchsia-cprng-0.1.1`
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=fuchsia_cprng CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Erick Tryzelaar <etryzelaar@google.com>' CARGO_PKG_DESCRIPTION='Rust crate for the Fuchsia cryptographically secure pseudorandom number generator' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='' CARGO_PKG_LICENSE_FILE=LICENSE CARGO_PKG_NAME=fuchsia-cprng CARGO_PKG_REPOSITORY='https://fuchsia.googlesource.com/fuchsia/+/master/garnet/public/rust/fuchsia-cprng' CARGO_PKG_VERSION=0.1.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name fuchsia_cprng --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -Cembed-bitcode=no -C debuginfo=2 -C metadata=643b79fc4965c13c -C extra-filename=-643b79fc4965c13c --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 -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/fuchsia-cprng-0.1.1`
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/fuchsia_cprng-bbc15d0cf263df5d.14s32ym2yq1iepl7.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.1dkac95tnrsrsrfl.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.1dlwl46q4mrm5ka6.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.1imkklfult2ox78t.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.1m2h6w1u7g1h1e9y.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.1nc4e727r9t7sbl.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.1oynwbg6jfqs8org.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.2lplbp2ju2uyj8mq.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.2m2o81gxpjyycsoc.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.2pidl338hspc2bwm.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.30nzyet9f4pr8isv.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.323r1xfnh9aobk04.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.38uuiyn0fgtahlqc.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.3ggc7ucfr8b9rrrj.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.3qmwmwh96lpdddt2.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.3qs1dyzvp17017q7.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.3tquk1rbpjzpin7i.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.3u21mnjuq4af37ml.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.48hsuv45jna3nhx9.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.4b3y1h0mlmv0vnht.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.4neah08aq93qslzl.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.95mm56ph0o0qt12.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.f7rqum5dumx8hzx.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.llwt8uptjoepg3d.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.lz942ncnf8wby7.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.yk2mblayhddm3qp.rcgu.o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.zxbf4x9m7jbgt1d.rcgu.o" "-o" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d" "/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/fuchsia_cprng-bbc15d0cf263df5d.1if6ja4duqinfw5q.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" "-lzircon" "-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 -lzircon
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: could not compile `fuchsia-cprng`.

Summary

  • Section field set in source stanza rather than binary packages. (recommended-field)

Full worker log Full build log