[Pkg-rust-maintainers] Bug#964651: rust-core-arch: FTBFS: dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101

Lucas Nussbaum lucas at debian.org
Thu Jul 9 12:28:12 BST 2020


Source: rust-core-arch
Version: 0.1.5-3
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200709 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> export RUSTC_BOOTSTRAP=1; \
> dh_auto_test
> debian cargo wrapper: options, profiles, parallel: ['parallel=4'] [] ['-j4']
> 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', 'build', '--verbose', '--verbose', '-j4', '--target', 'x86_64-unknown-linux-gnu'],) {}
>    Compiling core_arch v0.1.5 (/<<PKGBUILDDIR>>)
>      Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_NAME=core_arch CARGO_PKG_VERSION_PRE= CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>:Andrew Gallant <jamslam at gmail.com>:Gonzalo Brito Gadeschi <gonzalobg88 at gmail.com>' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang-nursery/stdsimd' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_VERSION=0.1.5 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_REPOSITORY='https://github.com/rust-lang-nursery/stdsimd' CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_DESCRIPTION='`core::arch` - Rust'\''s core library architecture-specific intrinsics.' rustc --crate-name build_script_build build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=3ced685bd91f4af9 -C extra-filename=-3ced685bd91f4af9 --out-dir /<<PKGBUILDDIR>>/target/debug/build/core_arch-3ced685bd91f4af9 -C incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/debug/deps`
>      Running `/<<PKGBUILDDIR>>/target/debug/build/core_arch-3ced685bd91f4af9/build-script-build`
> [core_arch 0.1.5] cargo:rustc-cfg=core_arch_docs
>      Running `OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/core_arch-dec210fe67df190e/out CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_NAME=core_arch CARGO_PKG_VERSION_PRE= CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>:Andrew Gallant <jamslam at gmail.com>:Gonzalo Brito Gadeschi <gonzalobg88 at gmail.com>' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang-nursery/stdsimd' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_VERSION=0.1.5 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_REPOSITORY='https://github.com/rust-lang-nursery/stdsimd' CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_DESCRIPTION='`core::arch` - Rust'\''s core library architecture-specific intrinsics.' rustc --crate-name core_arch src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=9f73e5ba48717b3f -C extra-filename=-9f73e5ba48717b3f --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/core-arch-0.1.5 --cfg core_arch_docs`
> warning: unnecessary parentheses around assigned value
>   --> src/x86/sse41.rs:38:35
>    |
> 38 | pub const _MM_FROUND_FLOOR: i32 = (_MM_FROUND_RAISE_EXC | _MM_FROUND_TO_NEG_INF);
>    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
>    |
>    = note: `#[warn(unused_parens)]` on by default
> 
> warning: unnecessary parentheses around assigned value
>   --> src/x86/sse41.rs:41:34
>    |
> 41 | pub const _MM_FROUND_CEIL: i32 = (_MM_FROUND_RAISE_EXC | _MM_FROUND_TO_POS_INF);
>    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
> 
> warning: unnecessary parentheses around assigned value
>   --> src/x86/sse41.rs:44:35
>    |
> 44 | pub const _MM_FROUND_TRUNC: i32 = (_MM_FROUND_RAISE_EXC | _MM_FROUND_TO_ZERO);
>    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
> 
> warning: unnecessary parentheses around assigned value
>   --> src/x86/sse41.rs:48:34
>    |
> 48 | pub const _MM_FROUND_RINT: i32 = (_MM_FROUND_RAISE_EXC | _MM_FROUND_CUR_DIRECTION);
>    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
> 
> warning: unnecessary parentheses around assigned value
>   --> src/x86/sse41.rs:51:39
>    |
> 51 | pub const _MM_FROUND_NEARBYINT: i32 = (_MM_FROUND_NO_EXC | _MM_FROUND_CUR_DIRECTION);
>    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
> 
> error[E0545]: `issue` must be a non-zero numeric string or "none"
>    --> src/x86/mod.rs:355:41
>     |
> 355 | #[unstable(feature = "stdimd_internal", issue = "0")]
>     |                                         ^^^^^^^^---
>     |                                                 |
>     |                                                 `issue` must not be "0", use "none" instead
> 
> error[E0545]: `issue` must be a non-zero numeric string or "none"
>    --> src/x86/mod.rs:408:41
>     |
> 408 | #[unstable(feature = "stdimd_internal", issue = "0")]
>     |                                         ^^^^^^^^---
>     |                                                 |
>     |                                                 `issue` must not be "0", use "none" instead
> 
> error[E0545]: `issue` must be a non-zero numeric string or "none"
>    --> src/x86/mod.rs:461:41
>     |
> 461 | #[unstable(feature = "stdimd_internal", issue = "0")]
>     |                                         ^^^^^^^^---
>     |                                                 |
>     |                                                 `issue` must not be "0", use "none" instead
> 
> error: aborting due to 3 previous errors
> 
> error: could not compile `core_arch`.
> 
> Caused by:
>   process didn't exit successfully: `OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/core_arch-dec210fe67df190e/out CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_NAME=core_arch CARGO_PKG_VERSION_PRE= CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>:Andrew Gallant <jamslam at gmail.com>:Gonzalo Brito Gadeschi <gonzalobg88 at gmail.com>' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang-nursery/stdsimd' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_VERSION=0.1.5 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_REPOSITORY='https://github.com/rust-lang-nursery/stdsimd' CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_DESCRIPTION='`core::arch` - Rust'\''s core library architecture-specific intrinsics.' rustc --crate-name core_arch src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=9f73e5ba48717b3f -C extra-filename=-9f73e5ba48717b3f --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/core-arch-0.1.5 --cfg core_arch_docs` (exit code: 1)
> dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101

The full build log is available from:
   http://qa-logs.debian.net/2020/07/09/rust-core-arch_0.1.5-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-rust-maintainers mailing list