Package: src:rust-expectrl Version: 0.7.1-7 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202608/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot 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 add an affects on src:rust-expectrl, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem cargo dh_auto_clean -O--buildsystem=cargo debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto = debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True} Removed 0 files dh_autoreconf_clean -O--buildsystem=cargo dh_clean -XCargo.toml.orig -O--buildsystem=cargo 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 = ['parallel=2'], profiles = [], parallel = ['-j2'], lto = [... snipped ...] 56 | #[cfg(not(feature = "async"))] | ^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `r#async` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `async` --> tests/is_matched.rs:68:7 | 68 | #[cfg(feature = "async")] | ^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `r#async` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `async` --> tests/is_matched.rs:82:11 | 82 | #[cfg(not(feature = "async"))] | ^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `r#async` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `async` --> tests/is_matched.rs:96:7 | 96 | #[cfg(feature = "async")] | ^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `r#async` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `async` --> tests/is_matched.rs:113:11 | 113 | #[cfg(not(feature = "async"))] | ^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `r#async` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `async` --> tests/is_matched.rs:135:7 | 135 | #[cfg(feature = "async")] | ^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `r#async` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `async` --> tests/is_matched.rs:159:11 | 159 | #[cfg(not(feature = "async"))] | ^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `r#async` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `async` --> tests/is_matched.rs:179:7 | 179 | #[cfg(feature = "async")] | ^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `r#async` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `async` --> tests/is_matched.rs:200:11 | 200 | #[cfg(not(feature = "async"))] | ^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `r#async` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `async` --> tests/is_matched.rs:222:7 | 222 | #[cfg(feature = "async")] | ^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `r#async` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `async` --> examples/log.rs:7:15 | 7 | #[cfg(not(feature = "async"))] | ^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `r#async` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `async` --> examples/log.rs:12:11 | 12 | #[cfg(feature = "async")] | ^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `r#async` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: `expectrl` (example "log") generated 2 warnings warning: `expectrl` (test "is_matched") generated 14 warnings Finished `test` profile [unoptimized + debuginfo] target(s) in 16.67s Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKG [too-long-redacted] deps/expectrl-ef30eef14a90bf1c` running 23 tests test captures::tests::test_before ... ok test captures::tests::test_captures_get ... ok test captures::tests::test_captures_index ... ok test captures::tests::test_captures_get_panics_on_invalid_match - should panic ... ok test captures::tests::test_captures_index_panics_on_empty_captures - should panic ... ok test captures::tests::test_captures_index_panics_on_empty_match - should panic ... ok test captures::tests::test_captures_index_panics_on_invalid_index - should panic ... ok test captures::tests::test_captures_index_panics_on_invalid_match - should panic ... ok test captures::tests::test_captures_into_iter ... ok test captures::tests::test_captures_into_iter_panics_on_invalid_match - should panic ... ok test captures::tests::test_captures_matches ... ok test check_macros::tests::test_check ... ignored, Testing in compile time test captures::tests::test_matches ... ok test needle::tests::test_byte ... ok test needle::tests::test_any ... ok test needle::tests::test_bytes ... ok test needle::tests::test_char ... ok test needle::tests::test_bytes_ref ... ok test needle::tests::test_eof ... ok test needle::tests::test_n_bytes ... ok test needle::tests::test_str ... ok test process::unix::tests::test_tokenize_command ... ok test needle::tests::test_regex ... ok test result: ok. 22 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.04s Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKG [too-long-redacted] ug/deps/check-cbe7c41a024353d3` running 9 tests test check_eof_timeout ... ok test check_eof ... ok test check_macro ... ok test check_macro_doest_consume_missmatch ... ok test check_macro_with_different_needles ... ok test check_n_bytes ... ok test check_str ... ok test check_regex ... ok test read_after_check_str ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.42s Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKG [too-long-redacted] g/deps/expect-e2bebdcd9628c4b3` running 6 tests test expect_eof ... ok test expect_n_bytes ... ok test expect_eof_timeout ... ok test expect_regex_lazy ... ok test expect_str ... ok test read_after_expect_str ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKG [too-long-redacted] deps/interact-02e2596054988624` running 5 tests test interact_callback ... ignored, It requires manual interaction; Or it's necessary to redirect an stdin of current process test interact_context ... ok test interact_callbacks_with_stream_redirection ... ok test interact_on_output_not_matched ... ok test interact_filters ... ok test result: ok. 4 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 6.20s Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Maxim Zhiburt <[email protected]>' CARGO_PKG_DESCRIPTION='A tool for automating terminal applications in Unix like Don libes expect' CARGO_PKG_HOMEPAGE='https://github.com/zhiburt/expectrl' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=expectrl CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/zhiburt/expectrl' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.7.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug:/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/io-843d277c29a9dd09` running 11 tests test blocking_read_after_non_blocking_try_read ... ok test blocking_read_after_non_blocking ... ok test send ... ok test send_controll ... ok test read_line_test ... ok test send_line ... ok test try_read ... ok test try_read_after_process_exit ... ok test try_read_after_eof ... ok test try_read_by_byte ... ok test try_read_to_end ... ok test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.91s Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKG [too-long-redacted] ps/is_matched-7a4af1cb28511f62` running 7 tests test check_after_is_matched_eof ... ok test expect_after_is_matched_eof ... ok test is_matched_eof ... ok test is_matched_bytes ... ok test is_matched_regex ... ok test is_matched_str ... ok test read_after_is_matched ... ok test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.41s Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Maxim Zhiburt <[email protected]>' CARGO_PKG_DESCRIPTION='A tool for automating terminal applications in Unix like Don libes expect' CARGO_PKG_HOMEPAGE='https://github.com/zhiburt/expectrl' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=expectrl CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/zhiburt/expectrl' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.7.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug:/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/log-b6964fd54f6d9d6c` running 1 test test log ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKG [too-long-redacted] bug/deps/repl-1b3d7566486a66da` running 5 tests test bash ... ok test bash_pwd ... ok write: "echo Hello World" write: "\n" read: "Hello World" read: "\r\n" test bash_control_chars ... ok write: "\u{4}" test bash_with_log ... ok test python ... FAILED failures: ---- python stdout ---- thread 'python' (1653) panicked at tests/repl.rs:126:5: assertion `left == right` failed left: Signaled(Pid(1654), SIGINT, false) right: Exited(Pid(1654), 0) stack backtrace: 0: __rustc::rust_begin_unwind at /usr/src/rustc-1.95.0/library/std/src/panicking.rs:689:5 1: core::panicking::panic_fmt at /usr/src/rustc-1.95.0/library/core/src/panicking.rs:80:14 2: core::panicking::assert_failed_inner at /usr/src/rustc-1.95.0/library/core/src/panicking.rs:439:17 3: core::panicking::assert_failed at /usr/src/rustc-1.95.0/library/core/src/panicking.rs:394:5 4: repl::python at /usr/share/cargo/registry/expectrl-0.7.1/tests/repl.rs:126:5 5: repl::python::{{closure}} at /usr/share/cargo/registry/expectrl-0.7.1/tests/repl.rs:103:12 6: core::ops::function::FnOnce::call_once at /usr/src/rustc-1.95.0/library/core/src/ops/function.rs:250:5 7: <fn() -> core::result::Result<(), alloc::string::String> as core::ops::function::FnOnce<()>>::call_once at /usr/src/rustc-1.95.0/library/core/src/ops/function.rs:250:5 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. failures: python test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.18s error: test failed, to rerun pass `--test repl` 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 failed with exit status 2 --------------------------------------------------------------------------------

