Source: rust-xmlparser Version: 0.11.0-1 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past)
Hi, Your package fails to build with: | running 6 tests | test src/lib.rs - map_err_at (line 396) - compile ... FAILED | test src/stream.rs - stream::Stream::consume_byte (line 181) ... ok | test src/stream.rs - stream::Stream::advance (line 140) ... ok | test src/lib.rs - (line 7) ... ok | test src/stream.rs - stream::Stream::gen_text_pos_from (line 313) ... ok | test src/stream.rs - stream::Stream::starts_with (line 159) ... ok | | failures: | | ---- src/lib.rs - map_err_at (line 396) stdout ---- | error[E0433]: failed to resolve: use of undeclared type `Token` | --> src/lib.rs:399:25 | | | 5 | Error::InvalidToken(Token::SomeToken, stream.gen_error_pos_from(start), Some(e)) | | ^^^^^ use of undeclared type `Token` | | error[E0425]: cannot find value `stream` in this scope | --> src/lib.rs:397:13 | | | 3 | let start = stream.pos() - 2; // or any other number | | ^^^^^^ not found in this scope | | error[E0425]: cannot find function `some_func` in this scope | --> src/lib.rs:398:1 | | | 4 | some_func().map_err(|e| | | ^^^^^^^^^ not found in this scope | | error[E0433]: failed to resolve: use of undeclared type `Error` | --> src/lib.rs:399:5 | | | 5 | Error::InvalidToken(Token::SomeToken, stream.gen_error_pos_from(start), Some(e)) | | ^^^^^ not found in this scope | | | help: consider importing one of these items | | | 2 | use std::error::Error; | | | 2 | use std::fmt::Error; | | | 2 | use std::io::Error; | | | | error[E0425]: cannot find value `stream` in this scope | --> src/lib.rs:399:43 | | | 5 | Error::InvalidToken(Token::SomeToken, stream.gen_error_pos_from(start), Some(e)) | | ^^^^^^ not found in this scope | | error: aborting due to 5 previous errors | | Some errors have detailed explanations: E0425, E0433. | For more information about an error, try `rustc --explain E0425`. | Couldn't compile the test. | | failures: | src/lib.rs - map_err_at (line 396) | | test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 8.96s The full build log is available from: https://buildd.debian.org/status/fetch.php?pkg=rust-xmlparser&arch=riscv64&ver=0.11.0-1%2Bb1&stamp=1670942978&raw=0 https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/rust-xmlparser_0.11.0-1.rbuild.log.gz Regards Aurelien