Run of lintian-fixes for rust-match-cfg

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

debcheckout rust-match-cfg
cd rust-match-cfg
lintian-brush
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j32', '--target', 'x86_64-unknown-linux-gnu', '--all-targets', '--no-default-features'],) {}
   Compiling match_cfg v0.1.0 (/usr/share/cargo/registry/match_cfg-0.1.0)
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=match_cfg CARGO_MANIFEST_DIR=/usr/share/cargo/registry/match_cfg-0.1.0 CARGO_PKG_AUTHORS='gnzlbg <gonzalobg88@gmail.com>' CARGO_PKG_DESCRIPTION='A convenience macro to ergonomically define an item depending on a large number
of `#[cfg]` parameters. Structured like match statement, the first matching
branch is the item that gets emitted.
' CARGO_PKG_HOMEPAGE='https://github.com/gnzlbg/match_cfg' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=match_cfg CARGO_PKG_REPOSITORY='https://github.com/gnzlbg/match_cfg' CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.wCISgz1rXa/target/debug/deps:/usr/lib:/usr/lib/libeatmydata' rustc --crate-name match_cfg src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -Cembed-bitcode=no -C debuginfo=2 --test -C metadata=c23f0fb1c60809e6 -C extra-filename=-c23f0fb1c60809e6 --out-dir /tmp/tmp.wCISgz1rXa/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/tmp/tmp.wCISgz1rXa/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/tmp/tmp.wCISgz1rXa/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.wCISgz1rXa/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 /usr/share/cargo/registry/match_cfg-0.1.0=/usr/share/cargo/registry/match-cfg-0.1.0`
error[E0433]: failed to resolve: maybe a missing crate `core`?
   --> src/lib.rs:118:17
    |
118 |             use core::option::Option as Option2;
    |                 ^^^^ maybe a missing crate `core`?

error[E0433]: failed to resolve: maybe a missing crate `core`?
   --> src/lib.rs:149:17

Summary

Full worker log Full build log