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

Lucas Nussbaum lucas at debian.org
Sun Feb 23 13:13:34 GMT 2020


Source: rust-core-arch
Version: 0.1.5-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200222 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_HOMEPAGE='https://github.com/rust-lang-nursery/stdsimd' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_DESCRIPTION='`core::arch` - Rust'\''s core library architecture-specific intrinsics.' CARGO_PKG_VERSION_PRE= CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_REPOSITORY='https://github.com/rust-lang-nursery/stdsimd' CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_NAME=core_arch CARGO_PKG_VERSION=0.1.5 CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>:Andrew Gallant <jamslam at gmail.com>:Gonzalo Brito Gadeschi <gonzalobg88 at gmail.com>' CARGO=/usr/bin/cargo rustc --crate-name build_script_build build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=b2c70d1e450a8104 -C extra-filename=-b2c70d1e450a8104 --out-dir /<<PKGBUILDDIR>>/target/debug/build/core_arch-b2c70d1e450a8104 -C incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/debug/deps`
>      Running `/<<PKGBUILDDIR>>/target/debug/build/core_arch-b2c70d1e450a8104/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-2eb9109bd2d2464b/out CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_HOMEPAGE='https://github.com/rust-lang-nursery/stdsimd' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_DESCRIPTION='`core::arch` - Rust'\''s core library architecture-specific intrinsics.' CARGO_PKG_VERSION_PRE= CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_REPOSITORY='https://github.com/rust-lang-nursery/stdsimd' CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_NAME=core_arch CARGO_PKG_VERSION=0.1.5 CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>:Andrew Gallant <jamslam at gmail.com>:Gonzalo Brito Gadeschi <gonzalobg88 at gmail.com>' CARGO=/usr/bin/cargo rustc --crate-name core_arch src/lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=c93c8f2c89aa891b -C extra-filename=-c93c8f2c89aa891b --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`
> error[E0658]: non-builtin inner attributes are unstable
>  --> src/simd.rs:3:1
>   |
> 3 | #![rustfmt::skip]
>   | ^^^^^^^^^^^^^^^^^
>   |
>   = note: for more information, see https://github.com/rust-lang/rust/issues/54726
>   = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable
> 
> error: aborting due to previous error
> 
> For more information about this error, try `rustc --explain E0658`.
> 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-2eb9109bd2d2464b/out CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_HOMEPAGE='https://github.com/rust-lang-nursery/stdsimd' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_DESCRIPTION='`core::arch` - Rust'\''s core library architecture-specific intrinsics.' CARGO_PKG_VERSION_PRE= CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_REPOSITORY='https://github.com/rust-lang-nursery/stdsimd' CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_NAME=core_arch CARGO_PKG_VERSION=0.1.5 CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>:Andrew Gallant <jamslam at gmail.com>:Gonzalo Brito Gadeschi <gonzalobg88 at gmail.com>' CARGO=/usr/bin/cargo rustc --crate-name core_arch src/lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=c93c8f2c89aa891b -C extra-filename=-c93c8f2c89aa891b --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/02/22/rust-core-arch_0.1.5-2_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