[Pkg-rust-maintainers] Bug#1072139: rust-bytecheck: FTBFS: error: doctest failed

Santiago Vila sanvila at debian.org
Wed May 29 00:38:07 BST 2024


Package: src:rust-bytecheck
Version: 0.6.11-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary --buildsystem cargo
    dh_update_autotools_config -O--buildsystem=cargo
    dh_autoreconf -O--buildsystem=cargo
    dh_auto_configure -O--buildsystem=cargo
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=1'] [] ['-j1'] 0
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
debian cargo wrapper: linking /usr/share/cargo/registry/* into /<<PKGBUILDDIR>>/debian/cargo_registry/
    dh_auto_build -O--buildsystem=cargo
    debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test -- test --all
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=1'] [] ['-j1'] 0
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'],) {}
    Compiling proc-macro2 v1.0.81
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/proc-macro2-1.0.81 CARGO_PKG_AUTHORS='David Tolnay <dtolnay at gmail.com>:Alex Crichton <alex at alexcrichton.com>' CARGO_PKG_DESCRIPTION='A substitute implementation of the compiler'\''s `proc_macro` API to decouple token-based libraries from the procedural macro use case.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=proc-macro2 CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/dtolnay/proc-macro2' CARGO_PKG_RUST_VERSION=1.56 CARGO_PKG_VERSION=1.0.81 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=81 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name build_script_build --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/proc-macro2-1.0.81/build.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="proc-macro"' -C metadata=4d8c4d975ab38429 -C extra-filename=-4d8c4d975ab38429 --out-dir /<<PKGBUILDDIR>>/target/debug/build/proc-macro2-4d8c4d975ab38429 -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
      Running `/<<PKGBUILDDIR>>/target/debug/build/proc-macro2-4d8c4d975ab38429/build-script-build`
[proc-macro2 1.0.81] cargo:rustc-cfg=no_literal_byte_character
[proc-macro2 1.0.81] cargo:rustc-cfg=no_literal_c_string
[proc-macro2 1.0.81] cargo:rerun-if-changed=build/probe.rs
[proc-macro2 1.0.81] cargo:rustc-cfg=wrap_proc_macro
[proc-macro2 1.0.81] cargo:rerun-if-env-changed=RUSTC_BOOTSTRAP
    Compiling unicode-ident v1.0.12
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=unicode_ident CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/unicode-ident-1.0.12 CARGO_PKG_AUTHORS='David Tolnay <dtolnay at gmail.com>' CARGO_PKG_DESCRIPTION='Determine whether characters have the XID_Start or XID_Continue properties according to Unicode Standard Annex #31' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='(MIT OR Apache-2.0) AND Unicode-DFS-2016' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=unicode-ident CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/dtolnay/unicode-ident' CARGO_PKG_RUST_VERSION=1.31 CARGO_PKG_VERSION=1.0.12 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=12 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name unicode_ident --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/unicode-ident-1.0.12/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 -C metadata=be436016487c1153 -C extra-filename=-be436016487c1153 --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=proc_macro2 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/proc-macro2-1.0.81 CARGO_PKG_AUTHORS='David Tolnay <dtolnay at gmail.com>:Alex Crichton <alex at alexcrichton.com>' CARGO_PKG_DESCRIPTION='A substitute implementation of the compiler'\''s `proc_macro` API to decouple token-based libraries from the procedural macro use case.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=proc-macro2 CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/dtolnay/proc-macro2' CARGO_PKG_RUST_VERSION=1.56 CARGO_PKG_VERSION=1.0.81 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=81 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/debug/build/proc-macro2-0c807cd762dc92e9/out rustc --crate-name proc_macro2 --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/proc-macro2-1.0.81/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="proc-macro"' -C metadata=a353313beb99e53e -C extra-filename=-a353313beb99e53e --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern unicode_ident=/<<PKGBUILDDIR>>/target/debug/deps/libunicode_ident-be436016487c1153.rmeta --cap-lints warn --cfg no_literal_byte_character --cfg no_literal_c_string --cfg wrap_proc_macro`
    Compiling syn v1.0.109
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/syn-1.0.109 CARGO_PKG_AUTHORS='David Tolnay <dtolnay at gmail.com>' CARGO_PKG_DESCRIPTION='Parser for Rust source code' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=syn CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/dtolnay/syn' CARGO_PKG_RUST_VERSION=1.31 CARGO_PKG_VERSION=1.0.109 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=109 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name build_script_build --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/syn-1.0.109/build.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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=4f42f38aee11be10 -C extra-filename=-4f42f38aee11be10 --out-dir /<<PKGBUILDDIR>>/target/debug/build/syn-4f42f38aee11be10 -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
      Running `/<<PKGBUILDDIR>>/target/debug/build/syn-4f42f38aee11be10/build-script-build`
[syn 1.0.109] cargo:rustc-cfg=syn_disable_nightly_tests
    Compiling quote v1.0.36
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=quote CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/quote-1.0.36 CARGO_PKG_AUTHORS='David Tolnay <dtolnay at gmail.com>' CARGO_PKG_DESCRIPTION='Quasi-quoting macro quote'\!'(...)' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=quote CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/dtolnay/quote' CARGO_PKG_RUST_VERSION=1.56 CARGO_PKG_VERSION=1.0.36 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=36 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name quote --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/quote-1.0.36/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="proc-macro"' -C metadata=1ad71f571b909c05 -C extra-filename=-1ad71f571b909c05 --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern proc_macro2=/<<PKGBUILDDIR>>/target/debug/deps/libproc_macro2-a353313beb99e53e.rmeta --cap-lints warn`
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=syn CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/syn-1.0.109 CARGO_PKG_AUTHORS='David Tolnay <dtolnay at gmail.com>' CARGO_PKG_DESCRIPTION='Parser for Rust source code' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=syn CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/dtolnay/syn' CARGO_PKG_RUST_VERSION=1.31 CARGO_PKG_VERSION=1.0.109 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=109 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/debug/build/syn-aeb6e27d22da7e33/out rustc --crate-name syn --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/syn-1.0.109/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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=234ae77f82ed5978 -C extra-filename=-234ae77f82ed5978 --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern proc_macro2=/<<PKGBUILDDIR>>/target/debug/deps/libproc_macro2-a353313beb99e53e.rmeta --extern quote=/<<PKGBUILDDIR>>/target/debug/deps/libquote-1ad71f571b909c05.rmeta --extern unicode_ident=/<<PKGBUILDDIR>>/target/debug/deps/libunicode_ident-be436016487c1153.rmeta --cap-lints warn --cfg syn_disable_nightly_tests`
    Compiling ptr_meta_derive v0.1.4
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=ptr_meta_derive CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/ptr_meta_derive-0.1.4 CARGO_PKG_AUTHORS='David Koloski <djkoloski at gmail.com>' CARGO_PKG_DESCRIPTION='Macros for ptr_meta' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=ptr_meta_derive CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/djkoloski/ptr_meta' 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='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name ptr_meta_derive --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/ptr_meta_derive-0.1.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debuginfo=2 -C metadata=bb4091a6541ac986 -C extra-filename=-bb4091a6541ac986 --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern proc_macro2=/<<PKGBUILDDIR>>/target/debug/deps/libproc_macro2-a353313beb99e53e.rlib --extern quote=/<<PKGBUILDDIR>>/target/debug/deps/libquote-1ad71f571b909c05.rlib --extern syn=/<<PKGBUILDDIR>>/target/debug/deps/libsyn-234ae77f82ed5978.rlib --extern proc_macro --cap-lints warn`
    Compiling bytecheck v0.6.11 (/<<PKGBUILDDIR>>)
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='David Koloski <djkoloski at gmail.com>' CARGO_PKG_DESCRIPTION='Derive macro for bytecheck' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bytecheck CARGO_PKG_README=crates-io.md CARGO_PKG_REPOSITORY='https://github.com/djkoloski/bytecheck' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.11 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=11 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name build_script_build --edition=2021 build.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="simdutf8"' --cfg 'feature="std"' -C metadata=3122c012faafdb87 -C extra-filename=-3122c012faafdb87 --out-dir /<<PKGBUILDDIR>>/target/debug/build/bytecheck-3122c012faafdb87 -C incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/debug/deps`
      Running `/<<PKGBUILDDIR>>/target/debug/build/bytecheck-3122c012faafdb87/build-script-build`
[bytecheck 0.6.11] cargo:rustc-cfg=has_atomics_64
[bytecheck 0.6.11] cargo:rustc-cfg=has_atomics
    Compiling ptr_meta v0.1.4
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=ptr_meta CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/ptr_meta-0.1.4 CARGO_PKG_AUTHORS='David Koloski <djkoloski at gmail.com>' CARGO_PKG_DESCRIPTION='A radioactive stabilization of the ptr_meta rfc' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=ptr_meta CARGO_PKG_README=crates-io.md CARGO_PKG_REPOSITORY='https://github.com/djkoloski/ptr_meta' 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='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name ptr_meta --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/ptr_meta-0.1.4/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="std"' -C metadata=b92a2e01ca42e435 -C extra-filename=-b92a2e01ca42e435 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern ptr_meta_derive=/<<PKGBUILDDIR>>/target/debug/deps/libptr_meta_derive-bb4091a6541ac986.so --cap-lints warn -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/bytecheck-0.6.11 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
    Compiling bytecheck_derive v0.6.11
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=bytecheck_derive CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/bytecheck_derive-0.6.11 CARGO_PKG_AUTHORS='David Koloski <djkoloski at gmail.com>' CARGO_PKG_DESCRIPTION='Derive macro for bytecheck' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bytecheck_derive CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/djkoloski/bytecheck' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.11 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=11 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name bytecheck_derive --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/bytecheck_derive-0.6.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=4897d4b9b64bbf2b -C extra-filename=-4897d4b9b64bbf2b --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern proc_macro2=/<<PKGBUILDDIR>>/target/debug/deps/libproc_macro2-a353313beb99e53e.rlib --extern quote=/<<PKGBUILDDIR>>/target/debug/deps/libquote-1ad71f571b909c05.rlib --extern syn=/<<PKGBUILDDIR>>/target/debug/deps/libsyn-234ae77f82ed5978.rlib --extern proc_macro --cap-lints warn`
    Compiling simdutf8 v0.1.4
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=simdutf8 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/simdutf8-0.1.4 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_README=README.md 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='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name simdutf8 --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/simdutf8-0.1.4/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="std"' -C metadata=d8dbccddbae5b5c5 -C extra-filename=-d8dbccddbae5b5c5 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -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/bytecheck-0.6.11 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=bytecheck CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='David Koloski <djkoloski at gmail.com>' CARGO_PKG_DESCRIPTION='Derive macro for bytecheck' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bytecheck CARGO_PKG_README=crates-io.md CARGO_PKG_REPOSITORY='https://github.com/djkoloski/bytecheck' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.11 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=11 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/bytecheck-26a4d76466581d63/out rustc --crate-name bytecheck --edition=2021 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="simdutf8"' --cfg 'feature="std"' -C metadata=9fe2a3630cc44586 -C extra-filename=-9fe2a3630cc44586 --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 bytecheck_derive=/<<PKGBUILDDIR>>/target/debug/deps/libbytecheck_derive-4897d4b9b64bbf2b.so --extern ptr_meta=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libptr_meta-b92a2e01ca42e435.rmeta --extern simdutf8=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libsimdutf8-d8dbccddbae5b5c5.rmeta -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/bytecheck-0.6.11 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry --cfg has_atomics_64 --cfg has_atomics`
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=bytecheck CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='David Koloski <djkoloski at gmail.com>' CARGO_PKG_DESCRIPTION='Derive macro for bytecheck' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bytecheck CARGO_PKG_README=crates-io.md CARGO_PKG_REPOSITORY='https://github.com/djkoloski/bytecheck' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.11 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=11 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/bytecheck-26a4d76466581d63/out rustc --crate-name bytecheck --edition=2021 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="simdutf8"' --cfg 'feature="std"' -C metadata=0cdd8609440f1dd8 -C extra-filename=-0cdd8609440f1dd8 --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 bytecheck_derive=/<<PKGBUILDDIR>>/target/debug/deps/libbytecheck_derive-4897d4b9b64bbf2b.so --extern ptr_meta=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libptr_meta-b92a2e01ca42e435.rlib --extern simdutf8=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libsimdutf8-d8dbccddbae5b5c5.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/bytecheck-0.6.11 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry --cfg has_atomics_64 --cfg has_atomics`
     Finished test [unoptimized + debuginfo] target(s) in 14.50s
      Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='David Koloski <djkoloski at gmail.com>' CARGO_PKG_DESCRIPTION='Derive macro for bytecheck' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bytecheck CARGO_PKG_README=crates-io.md CARGO_PKG_REPOSITORY='https://github.com/djkoloski/bytecheck' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.11 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=11 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps:/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/bytecheck-26a4d76466581d63/out /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/bytecheck-0cdd8609440f1dd8`

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

    Doc-tests bytecheck
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=bytecheck CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='David Koloski <djkoloski at gmail.com>' CARGO_PKG_DESCRIPTION='Derive macro for bytecheck' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bytecheck CARGO_PKG_README=crates-io.md CARGO_PKG_REPOSITORY='https://github.com/djkoloski/bytecheck' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.11 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=11 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/bytecheck-26a4d76466581d63/out rustdoc --edition=2021 --crate-type lib --crate-name bytecheck --test src/lib.rs --test-run-directory /<<PKGBUILDDIR>> --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern bytecheck=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libbytecheck-9fe2a3630cc44586.rlib --extern bytecheck_derive=/<<PKGBUILDDIR>>/target/debug/deps/libbytecheck_derive-4897d4b9b64bbf2b.so --extern ptr_meta=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libptr_meta-b92a2e01ca42e435.rlib --extern simdutf8=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libsimdutf8-d8dbccddbae5b5c5.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="simdutf8"' --cfg 'feature="std"' --cfg has_atomics_64 --cfg has_atomics --error-format human`

running 1 test
test src/lib.rs - (line 23) ... FAILED

failures:

---- src/lib.rs - (line 23) stdout ----
Test executable failed (exit status: 101).

stderr:
thread 'main' panicked at src/lib.rs:45:7:
called `Result::unwrap()` on an `Err` value: StructCheckError { field_name: "c", inner: CharCheckError { invalid_value: 51646506 } }
stack backtrace:
    0: rust_begin_unwind
              at /usr/src/rustc-1.73.0/library/std/src/panicking.rs:595:5
    1: core::panicking::panic_fmt
              at /usr/src/rustc-1.73.0/library/core/src/panicking.rs:67:14
    2: core::result::unwrap_failed
              at /usr/src/rustc-1.73.0/library/core/src/result.rs:1652:5
    3: core::result::Result<T,E>::unwrap
    4: rust_out::main::_doctest_main_src_lib_rs_23_0
    5: rust_out::main
    6: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.



failures:
     src/lib.rs - (line 23)

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s

error: doctest failed, to rerun pass `--doc`
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
make[1]: *** [debian/rules:6: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202405/

About the archive rebuild: The build was first tried under trixie
on virtual machines of type m6a.large and r6a.large from AWS,
using sbuild and a reduced chroot with only build-essential packages,
then under sid on self-hosted KVM machines.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.


More information about the Pkg-rust-maintainers mailing list