[Pkg-rust-maintainers] Bug#933522: rust-derive-more: test failures
Gianfranco Costamagna
locutusofborg at debian.org
Wed Jul 31 09:09:45 BST 2019
Source: rust-derive-more
Version: 0.15.0-1
Severity: important
tags: patch
Hello, looks like derive more needs files that are available only on git repo, such as "tests/no_std.rs" 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!)
--- rust-derive-more-0.15.0/debian/tests/control 2019-07-07 10:22:49.000000000 +0200
+++ rust-derive-more-0.15.0/debian/tests/control 2019-07-29 19:19:19.000000000 +0200
@@ -1,7 +1,7 @@
-Test-Command: /usr/share/cargo/bin/cargo-auto-test derive_more 0.15.0 --all-targets --all-features
-Depends: dh-cargo (>= 18), @
-Restrictions: allow-stderr, skip-not-installable
-
+#Test-Command: /usr/share/cargo/bin/cargo-auto-test derive_more 0.15.0 --all-targets --all-features
+#Depends: dh-cargo (>= 18), @
+#Restrictions: allow-stderr, skip-not-installable
+#
Test-Command: /usr/share/cargo/bin/cargo-auto-test derive_more 0.15.0 --all-targets --no-default-features
Depends: dh-cargo (>= 18), librust-derive-more-dev
Restrictions: allow-stderr, skip-not-installable
Running `CARGO_PRIMARY_PACKAGE=1 CARGO_PKG_AUTHORS='Jelte Fennema <github-tech at jeltef.nl>' CARGO_PKG_VERSION_MINOR=15 CARGO_PKG_NAME=derive_more CARGO_PKG_DESCRIPTION='Adds #[derive(x)] macros for more traits' LD_LIBRARY_PATH='/tmp/tmp.2bO9UtdQd1/target/debug/deps:/usr/lib' CARGO_PKG_VERSION_PRE= CARGO=/usr/bin/cargo CARGO_PKG_HOMEPAGE= CARGO_PKG_VERSION_PATCH=0 CARGO_MANIFEST_DIR=/usr/share/cargo/registry/derive_more-0.15.0 CARGO_PKG_REPOSITORY='https://github.com/JelteF/derive_more' CARGO_PKG_VERSION=0.15.0 CARGO_PKG_VERSION_MAJOR=0 rustc --crate-name derive_more src/lib.rs --color never --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C debuginfo=2 --cfg 'feature="nightly"' --cfg 'feature="no_std"' -C metadata=12db36755b30a158 -C extra-filename=-12db36755b30a158 --out-dir /tmp/tmp.2bO9UtdQd1/target/debug/deps -C incremental=/tmp/tmp.2bO9UtdQd1/target/debug/incremental -L dependency=/tmp/tmp.2bO9UtdQd1/target/debug/deps --extern lazy_static=/tmp/tmp.2bO9UtdQd1/target/debug/deps/liblazy_static-d7cf869005a9cd3b.rlib --extern proc_macro2=/tmp/tmp.2bO9UtdQd1/target/debug/deps/libproc_macro2-a56befce449449a0.rlib --extern quote=/tmp/tmp.2bO9UtdQd1/target/debug/deps/libquote-0c65a50d06a8d533.rlib --extern regex=/tmp/tmp.2bO9UtdQd1/target/debug/deps/libregex-8d66294886b06ba1.rlib --extern syn=/tmp/tmp.2bO9UtdQd1/target/debug/deps/libsyn-259d4a8101f7baee.rlib`
Running `CARGO_PRIMARY_PACKAGE=1 CARGO_PKG_AUTHORS='Jelte Fennema <github-tech at jeltef.nl>' CARGO_PKG_VERSION_MINOR=15 CARGO_PKG_NAME=derive_more CARGO_PKG_DESCRIPTION='Adds #[derive(x)] macros for more traits' LD_LIBRARY_PATH='/tmp/tmp.2bO9UtdQd1/target/debug/deps:/usr/lib' CARGO_PKG_VERSION_PRE= CARGO=/usr/bin/cargo CARGO_PKG_HOMEPAGE= CARGO_PKG_VERSION_PATCH=0 CARGO_MANIFEST_DIR=/usr/share/cargo/registry/derive_more-0.15.0 CARGO_PKG_REPOSITORY='https://github.com/JelteF/derive_more' CARGO_PKG_VERSION=0.15.0 CARGO_PKG_VERSION_MAJOR=0 rustc --crate-name derive_more src/lib.rs --color never --emit=dep-info,link -C prefer-dynamic -C debuginfo=2 --test --cfg 'feature="nightly"' --cfg 'feature="no_std"' -C metadata=daccf67a1db43aee -C extra-filename=-daccf67a1db43aee --out-dir /tmp/tmp.2bO9UtdQd1/target/debug/deps -C incremental=/tmp/tmp.2bO9UtdQd1/target/debug/incremental -L dependency=/tmp/tmp.2bO9UtdQd1/target/debug/deps --extern lazy_static=/tmp/tmp.2bO9UtdQd1/target/debug/deps/liblazy_static-d7cf869005a9cd3b.rlib --extern proc_macro2=/tmp/tmp.2bO9UtdQd1/target/debug/deps/libproc_macro2-a56befce449449a0.rlib --extern quote=/tmp/tmp.2bO9UtdQd1/target/debug/deps/libquote-0c65a50d06a8d533.rlib --extern regex=/tmp/tmp.2bO9UtdQd1/target/debug/deps/libregex-8d66294886b06ba1.rlib --extern syn=/tmp/tmp.2bO9UtdQd1/target/debug/deps/libsyn-259d4a8101f7baee.rlib`
Running `CARGO_PRIMARY_PACKAGE=1 CARGO_PKG_AUTHORS='Jelte Fennema <github-tech at jeltef.nl>' CARGO_PKG_VERSION_MINOR=15 CARGO_PKG_NAME=derive_more CARGO_PKG_DESCRIPTION='Adds #[derive(x)] macros for more traits' LD_LIBRARY_PATH='/tmp/tmp.2bO9UtdQd1/target/debug/deps:/usr/lib' CARGO_PKG_VERSION_PRE= CARGO=/usr/bin/cargo CARGO_PKG_HOMEPAGE= CARGO_PKG_VERSION_PATCH=0 CARGO_MANIFEST_DIR=/usr/share/cargo/registry/derive_more-0.15.0 CARGO_PKG_REPOSITORY='https://github.com/JelteF/derive_more' CARGO_PKG_VERSION=0.15.0 CARGO_PKG_VERSION_MAJOR=0 rustc --crate-name no_std tests/no_std.rs --color never --emit=dep-info,link -C debuginfo=2 --test --cfg 'feature="nightly"' --cfg 'feature="no_std"' -C metadata=635308e2ba9702e6 -C extra-filename=-635308e2ba9702e6 --out-dir /tmp/tmp.2bO9UtdQd1/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/tmp/tmp.2bO9UtdQd1/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/tmp/tmp.2bO9UtdQd1/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.2bO9UtdQd1/target/debug/deps --extern derive_more=/tmp/tmp.2bO9UtdQd1/target/debug/deps/libderive_more-12db36755b30a158.so --extern lazy_static=/tmp/tmp.2bO9UtdQd1/target/x86_64-unknown-linux-gnu/debug/deps/liblazy_static-8418aff37b9661aa.rlib --extern proc_macro2=/tmp/tmp.2bO9UtdQd1/target/x86_64-unknown-linux-gnu/debug/deps/libproc_macro2-83d6639a9c5dd092.rlib --extern quote=/tmp/tmp.2bO9UtdQd1/target/x86_64-unknown-linux-gnu/debug/deps/libquote-a24f422cd781768b.rlib --extern regex=/tmp/tmp.2bO9UtdQd1/target/x86_64-unknown-linux-gnu/debug/deps/libregex-63a96be7c4c251a6.rlib --extern syn=/tmp/tmp.2bO9UtdQd1/target/x86_64-unknown-linux-gnu/debug/deps/libsyn-802348a7faa40a7a.rlib -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/derive_more-0.15.0=/usr/share/cargo/registry/derive-more-0.15.0`
error: couldn't read tests/no_std.rs: No such file or directory (os error 2)
error: aborting due to previous error
error: Could not compile `derive_more`.
Caused by:
process didn't exit successfully: `CARGO_PRIMARY_PACKAGE=1 CARGO_PKG_AUTHORS='Jelte Fennema <github-tech at jeltef.nl>' CARGO_PKG_VERSION_MINOR=15 CARGO_PKG_NAME=derive_more CARGO_PKG_DESCRIPTION='Adds #[derive(x)] macros for more traits' LD_LIBRARY_PATH='/tmp/tmp.2bO9UtdQd1/target/debug/deps:/usr/lib' CARGO_PKG_VERSION_PRE= CARGO=/usr/bin/cargo CARGO_PKG_HOMEPAGE= CARGO_PKG_VERSION_PATCH=0 CARGO_MANIFEST_DIR=/usr/share/cargo/registry/derive_more-0.15.0 CARGO_PKG_REPOSITORY='https://github.com/JelteF/derive_more' CARGO_PKG_VERSION=0.15.0 CARGO_PKG_VERSION_MAJOR=0 rustc --crate-name no_std tests/no_std.rs --color never --emit=dep-info,link -C debuginfo=2 --test --cfg 'feature="nightly"' --cfg 'feature="no_std"' -C metadata=635308e2ba9702e6 -C extra-filename=-635308e2ba9702e6 --out-dir /tmp/tmp.2bO9UtdQd1/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/tmp/tmp.2bO9UtdQd1/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/tmp/tmp.2bO9UtdQd1/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.2bO9UtdQd1/target/debug/deps --extern derive_more=/tmp/tmp.2bO9UtdQd1/target/debug/deps/libderive_more-12db36755b30a158.so --extern lazy_static=/tmp/tmp.2bO9UtdQd1/target/x86_64-unknown-linux-gnu/debug/deps/liblazy_static-8418aff37b9661aa.rlib --extern proc_macro2=/tmp/tmp.2bO9UtdQd1/target/x86_64-unknown-linux-gnu/debug/deps/libproc_macro2-83d6639a9c5dd092.rlib --extern quote=/tmp/tmp.2bO9UtdQd1/target/x86_64-unknown-linux-gnu/debug/deps/libquote-a24f422cd781768b.rlib --extern regex=/tmp/tmp.2bO9UtdQd1/target/x86_64-unknown-linux-gnu/debug/deps/libregex-63a96be7c4c251a6.rlib --extern syn=/tmp/tmp.2bO9UtdQd1/target/x86_64-unknown-linux-gnu/debug/deps/libsyn-802348a7faa40a7a.rlib -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/derive_more-0.15.0=/usr/share/cargo/registry/derive-more-0.15.0` (exit code: 1)
More information about the Pkg-rust-maintainers
mailing list