[Pkg-rust-maintainers] Bug#1042272: rust-simdutf8: FTBFS: dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 1
Lucas Nussbaum
lucas at debian.org
Wed Jul 26 21:07:50 BST 2023
Source: rust-simdutf8
Version: 0.1.4-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230726 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- test --all
> debian cargo wrapper: options, profiles, parallel: ['parallel=8'] [] ['-j8']
> 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', '-j8', '--target', 'x86_64-unknown-linux-gnu', '--all'],) {}
> Compiling simdutf8 v0.1.4 (/<<PKGBUILDDIR>>)
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=simdutf8 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Hans Kratz <hans at appfour.com>' CARGO_PKG_DESCRIPTION='SIMD-accelerated UTF-8 validation.' CARGO_PKG_HOMEPAGE='https://github.com/rusticstuff/simdutf8' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=simdutf8 CARGO_PKG_REPOSITORY='https://github.com/rusticstuff/simdutf8' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.4 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name simdutf8 --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=234f342816591bee -C extra-filename=-234f342816591bee --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/simdutf8-0.1.4 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=simdutf8 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Hans Kratz <hans at appfour.com>' CARGO_PKG_DESCRIPTION='SIMD-accelerated UTF-8 validation.' CARGO_PKG_HOMEPAGE='https://github.com/rusticstuff/simdutf8' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=simdutf8 CARGO_PKG_REPOSITORY='https://github.com/rusticstuff/simdutf8' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.4 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name simdutf8 --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=60b7954468578d4b -C extra-filename=-60b7954468578d4b --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/simdutf8-0.1.4 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
> warning: lint `const_err` has been removed: converted into hard error, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> for more information
> --> src/implementation/algorithm.rs:185:21
> |
> 185 | #[allow(const_err)] // the same, but for Rust 1.38.0
> | ^^^^^^^^^
> |
> ::: src/implementation/x86/avx2.rs:261:1
> |
> 261 | algorithm_simd!("avx2");
> | ----------------------- in this macro invocation
> |
> note: the lint level is defined here
> --> src/lib.rs:1:9
> |
> 1 | #![deny(warnings)]
> | ^^^^^^^^
> = note: `#[warn(renamed_and_removed_lints)]` implied by `#[warn(warnings)]`
> = note: this warning originates in the macro `algorithm_simd` (in Nightly builds, run with -Z macro-backtrace for more info)
>
> warning: lint `const_err` has been removed: converted into hard error, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> for more information
> --> src/implementation/algorithm.rs:185:21
> |
> 185 | #[allow(const_err)] // the same, but for Rust 1.38.0
> | ^^^^^^^^^
> |
> ::: src/implementation/x86/sse42.rs:245:1
> |
> 245 | algorithm_simd!("sse4.2");
> | ------------------------- in this macro invocation
> |
> = note: this warning originates in the macro `algorithm_simd` (in Nightly builds, run with -Z macro-backtrace for more info)
>
> warning: `simdutf8` (lib) generated 2 warnings
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=tests CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Hans Kratz <hans at appfour.com>' CARGO_PKG_DESCRIPTION='SIMD-accelerated UTF-8 validation.' CARGO_PKG_HOMEPAGE='https://github.com/rusticstuff/simdutf8' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=simdutf8 CARGO_PKG_REPOSITORY='https://github.com/rusticstuff/simdutf8' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.4 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/tmp LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name tests --edition=2018 tests/tests.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=d71667995e24efc1 -C extra-filename=-d71667995e24efc1 --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 --extern simdutf8=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libsimdutf8-234f342816591bee.rlib -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/simdutf8-0.1.4 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=streaming CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Hans Kratz <hans at appfour.com>' CARGO_PKG_DESCRIPTION='SIMD-accelerated UTF-8 validation.' CARGO_PKG_HOMEPAGE='https://github.com/rusticstuff/simdutf8' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=simdutf8 CARGO_PKG_REPOSITORY='https://github.com/rusticstuff/simdutf8' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.4 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name streaming --edition=2018 examples/streaming.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=1c8a86896d81a1e4 -C extra-filename=-1c8a86896d81a1e4 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/examples --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 --extern simdutf8=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libsimdutf8-234f342816591bee.rlib -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/simdutf8-0.1.4 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
> warning: `simdutf8` (lib test) generated 2 warnings (2 duplicates)
> Finished test [unoptimized + debuginfo] target(s) in 1.28s
> Running `/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/simdutf8-60b7954468578d4b`
>
> running 0 tests
>
> test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
>
> Running `/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/tests-d71667995e24efc1`
>
> running 11 tests
> test error_debug_basic ... ok
> test error_debug_compat ... ok
> test error_derives_basic ... ok
> test error_derives_compat ... ok
> test error_display_basic ... ok
> test error_display_compat ... ok
> test incomplete_on_32nd_byte ... ok
> test incomplete_on_64th_byte ... ok
> test incomplete_on_64th_byte_65_bytes_total ... ok
> test simple_valid ... ok
> test simple_invalid ... ok
>
> test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
>
> Doc-tests simdutf8
> Running `rustdoc --edition=2018 --crate-type lib --crate-name simdutf8 --test /<<PKGBUILDDIR>>/src/lib.rs --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern simdutf8=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libsimdutf8-234f342816591bee.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --error-format human`
> error: lint `const_err` has been removed: converted into hard error, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> for more information
> --> /<<PKGBUILDDIR>>/src/implementation/algorithm.rs:185:21
> |
> 185 | #[allow(const_err)] // the same, but for Rust 1.38.0
> | ^^^^^^^^^
> |
> ::: /<<PKGBUILDDIR>>/src/implementation/x86/avx2.rs:261:1
> |
> 261 | algorithm_simd!("avx2");
> | ----------------------- in this macro invocation
> |
> note: the lint level is defined here
> --> /<<PKGBUILDDIR>>/src/lib.rs:1:9
> |
> 1 | #![deny(warnings)]
> | ^^^^^^^^
> = note: `#[deny(renamed_and_removed_lints)]` implied by `#[deny(warnings)]`
> = note: this error originates in the macro `algorithm_simd` (in Nightly builds, run with -Z macro-backtrace for more info)
>
> error: lint `const_err` has been removed: converted into hard error, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> for more information
> --> /<<PKGBUILDDIR>>/src/implementation/algorithm.rs:185:21
> |
> 185 | #[allow(const_err)] // the same, but for Rust 1.38.0
> | ^^^^^^^^^
> |
> ::: /<<PKGBUILDDIR>>/src/implementation/x86/sse42.rs:245:1
> |
> 245 | algorithm_simd!("sse4.2");
> | ------------------------- in this macro invocation
> |
> = note: this error originates in the macro `algorithm_simd` (in Nightly builds, run with -Z macro-backtrace for more info)
>
> error: aborting due to 2 previous errors
>
> error: doctest failed, to rerun pass `--doc`
>
> Caused by:
> process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name simdutf8 --test /<<PKGBUILDDIR>>/src/lib.rs --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern simdutf8=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libsimdutf8-234f342816591bee.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --error-format human` (exit status: 1)
> dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 1
The full build log is available from:
http://qa-logs.debian.net/2023/07/26/rust-simdutf8_0.1.4-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-rust-maintainers
mailing list