[Pkg-rust-maintainers] Bug#1020915: rust-xmlparser: FTBFS: cdata_err_01 test fails

Andreas Beckmann anbe at debian.org
Wed Sep 28 13:53:23 BST 2022

Source: rust-xmlparser
Version: 0.13.3-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)


rust-xmlparser/experimental (but not the version in sid) recently
started to FTBFS (previous rebuilds in February and May succeeded):

     Running `/build/rust-xmlparser-0.13.3/target/x86_64-unknown-linux-gnu/debug/deps/cdata-4167abb68ff53f68`

running 10 tests
test cdata_05 ... ok
test cdata_08 ... ok
test cdata_01 ... ok
test cdata_02 ... ok
test cdata_03 ... ok
test cdata_04 ... ok
test cdata_09 ... ok
test cdata_06 ... ok
test cdata_07 ... ok
test cdata_err_01 ... FAILED


---- cdata_err_01 stdout ----
thread 'cdata_err_01' panicked at 'assertion failed: `(left == right)`
  left: `Error("invalid CDATA at 1:4 cause a non-XML character '\\0' found at 1:13")`,
 right: `Error("invalid CDATA at 1:4 cause a non-XML character '\\u{0}' found at 1:13")`', tests/cdata.rs:72:1
stack backtrace:
   0: rust_begin_unwind
             at /usr/src/rustc-1.61.0/library/std/src/panicking.rs:584:5
   1: core::panicking::panic_fmt
             at /usr/src/rustc-1.61.0/library/core/src/panicking.rs:143:14
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
             at /usr/src/rustc-1.61.0/library/core/src/panicking.rs:182:5
   4: cdata::cdata_err_01
             at /usr/share/cargo/registry/xmlparser-0.13.3/tests/token.rs:49:17
   5: cdata::cdata_err_01::{{closure}}
             at /usr/share/cargo/registry/xmlparser-0.13.3/tests/token.rs:45:9
   6: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.61.0/library/core/src/ops/function.rs:227:5
   7: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.61.0/library/core/src/ops/function.rs:227:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


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

error: test failed, to rerun pass '--test cdata'
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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rust-xmlparser_0.13.3-1.log.gz
Type: application/gzip
Size: 12838 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20220928/cdaf94f1/attachment.gz>

More information about the Pkg-rust-maintainers mailing list