Source: rust-doc-comment Version: 0.3.1-1 Severity: important tags: patch Hello, looks like derive more needs files features that are available only on nightly cargo, so I had to disable the first "all-features" test (I'm not sure how such a patch translates into a debcargo.toml file, sorry!)
diff -Nru rust-doc-comment-0.3.1/debian/tests/control rust-doc-comment-0.3.1/debian/tests/control --- rust-doc-comment-0.3.1/debian/tests/control 2019-07-13 19:26:33.000000000 +0200 +++ rust-doc-comment-0.3.1/debian/tests/control 2019-07-30 10:18:50.000000000 +0200 @@ -1,7 +1,3 @@ -Test-Command: /usr/share/cargo/bin/cargo-auto-test doc-comment 0.3.1 --all-targets --all-features -Depends: dh-cargo (>= 18), @ -Restrictions: allow-stderr, skip-not-installable - Test-Command: /usr/share/cargo/bin/cargo-auto-test doc-comment 0.3.1 --all-targets --no-default-features Depends: dh-cargo (>= 18), librust-doc-comment-dev Restrictions: allow-stderr, skip-not-installable snip of the test failure: 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', '-j1', '--target', 'x86_64-unknown-linux-gnu', '--all-targets', '--all-features'],) {} Compiling doc-comment v0.3.1 (/usr/share/cargo/registry/doc-comment-0.3.1) Running `CARGO_PKG_VERSION_MINOR=3 LD_LIBRARY_PATH='/tmp/tmp.5xQuDUBlG6/target/debug/deps:/usr/lib' CARGO_PKG_NAME=doc-comment CARGO_PKG_DESCRIPTION='Macro to generate doc comments' CARGO_MANIFEST_DIR=/usr/share/cargo/registry/doc-comment-0.3.1 CARGO_PKG_VERSION_PATCH=1 CARGO=/usr/bin/cargo CARGO_PKG_AUTHORS='Guillaume Gomez <guillaume1.go...@gmail.com>' CARGO_PKG_VERSION_PRE= CARGO_PKG_VERSION=0.3.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_HOMEPAGE= CARGO_PKG_REPOSITORY='https://github.com/GuillaumeGomez/doc-comment' CARGO_PRIMARY_PACKAGE=1 rustc --crate-name build_script_build build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="no_core"' --cfg 'feature="old_macros"' -C metadata=62d83bcab3477fe5 -C extra-filename=-62d83bcab3477fe5 --out-dir /tmp/tmp.5xQuDUBlG6/target/debug/build/doc-comment-62d83bcab3477fe5 -C incremental=/tmp/tmp.5xQuDUBlG6/target/debug/incremental -L dependency=/tmp/tmp.5xQuDUBlG6/target/debug/deps` Running `/tmp/tmp.5xQuDUBlG6/target/debug/build/doc-comment-62d83bcab3477fe5/build-script-build` Running `CARGO_PKG_VERSION_MINOR=3 LD_LIBRARY_PATH='/tmp/tmp.5xQuDUBlG6/target/debug/deps:/usr/lib' CARGO_PKG_NAME=doc-comment CARGO_PKG_DESCRIPTION='Macro to generate doc comments' CARGO_MANIFEST_DIR=/usr/share/cargo/registry/doc-comment-0.3.1 CARGO_PKG_VERSION_PATCH=1 CARGO=/usr/bin/cargo CARGO_PKG_AUTHORS='Guillaume Gomez <guillaume1.go...@gmail.com>' CARGO_PKG_VERSION_PRE= CARGO_PKG_VERSION=0.3.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_HOMEPAGE= CARGO_PKG_REPOSITORY='https://github.com/GuillaumeGomez/doc-comment' CARGO_PRIMARY_PACKAGE=1 OUT_DIR=/tmp/tmp.5xQuDUBlG6/target/x86_64-unknown-linux-gnu/debug/build/doc-comment-8be3033132148f32/out rustc --crate-name doc_comment src/lib.rs --color never --emit=dep-info,link -C debuginfo=2 --test --cfg 'feature="no_core"' --cfg 'feature="old_macros"' -C metadata=286843e9c44de735 -C extra-filename=-286843e9c44de735 --out-dir /tmp/tmp.5xQuDUBlG6/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/tmp/tmp.5xQuDUBlG6/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/tmp/tmp.5xQuDUBlG6/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.5xQuDUBlG6/target/debug/deps -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/doc-comment-0.3.1=/usr/share/cargo/registry/doc-comment-0.3.1` error[E0554]: #![feature] may not be used on the stable release channel --> src/lib.rs:7:34 | 7 | #![cfg_attr(feature = "no_core", feature(no_core))] | ^^^^^^^^^^^^^^^^ error: aborting due to previous error For more information about this error, try `rustc --explain E0554`. error: Could not compile `doc-comment`. Caused by: process didn't exit successfully: `CARGO_PKG_VERSION_MINOR=3 LD_LIBRARY_PATH='/tmp/tmp.5xQuDUBlG6/target/debug/deps:/usr/lib' CARGO_PKG_NAME=doc-comment CARGO_PKG_DESCRIPTION='Macro to generate doc comments' CARGO_MANIFEST_DIR=/usr/share/cargo/registry/doc-comment-0.3.1 CARGO_PKG_VERSION_PATCH=1 CARGO=/usr/bin/cargo CARGO_PKG_AUTHORS='Guillaume Gomez <guillaume1.go...@gmail.com>' CARGO_PKG_VERSION_PRE= CARGO_PKG_VERSION=0.3.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_HOMEPAGE= CARGO_PKG_REPOSITORY='https://github.com/GuillaumeGomez/doc-comment' CARGO_PRIMARY_PACKAGE=1 OUT_DIR=/tmp/tmp.5xQuDUBlG6/target/x86_64-unknown-linux-gnu/debug/build/doc-comment-8be3033132148f32/out rustc --crate-name doc_comment src/lib.rs --color never --emit=dep-info,link -C debuginfo=2 --test --cfg 'feature="no_core"' --cfg 'feature="old_macros"' -C metadata=286843e9c44de735 -C extra-filename=-286843e9c44de735 --out-dir /tmp/tmp.5xQuDUBlG6/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/tmp/tmp.5xQuDUBlG6/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/tmp/tmp.5xQuDUBlG6/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.5xQuDUBlG6/target/debug/deps -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/doc-comment-0.3.1=/usr/share/cargo/registry/doc-comment-0.3.1` (exit code: 1)