autopkgtest failures for buffered-reader
debian autopkgtest for buffered-reader 0.11.0 shows failures when trying to run some simple tests with minimal dependencies.
in particular:
autopkgtest [20:51:43]: test command3: /usr/share/cargo/bin/cargo-auto-test buffered-reader 0.11.0 --all-targets --features bzip2
autopkgtest [20:51:43]: test command3: [-----------------------
debian cargo wrapper: options, profiles, parallel: ['parallel=2'] [] ['-j2']
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 /tmp/tmp.pw8WaA16ZL/registry/
debian cargo wrapper: options, profiles, parallel: ['parallel=2'] [] ['-j2']
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', '-j2', '--target', 'x86_64-unknown-linux-gnu', '--all-targets', '--features', 'bzip2'],) {}
error: no matching package named `flate2` found
location searched: registry `https://github.com/rust-lang/crates.io-index`
required by package `buffered-reader v0.11.0 (/usr/share/cargo/registry/buffered-reader-0.11.0)`
autopkgtest [20:51:44]: test command3: -----------------------]
autopkgtest [20:51:44]: test command3: - - - - - - - - - - results - - - - - - - - - -
command3 FAIL non-zero exit status 101
I think that what this is saying is "when i try to build the bzip2
feature, it fails because flate2
is not available".
and
autopkgtest [20:53:35]: test command5: /usr/share/cargo/bin/cargo-auto-test buffered-reader 0.11.0 --all-targets --features compression-deflate
autopkgtest [20:53:35]: test command5: [-----------------------
debian cargo wrapper: options, profiles, parallel: ['parallel=2'] [] ['-j2']
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 /tmp/tmp.hQlhOKuU4P/registry/
debian cargo wrapper: options, profiles, parallel: ['parallel=2'] [] ['-j2']
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', '-j2', '--target', 'x86_64-unknown-linux-gnu', '--all-targets', '--features', 'compression-deflate'],) {}
error: no matching package named `bzip2` found
location searched: registry `https://github.com/rust-lang/crates.io-index`
required by package `buffered-reader v0.11.0 (/usr/share/cargo/registry/buffered-reader-0.11.0)`
autopkgtest [20:53:36]: test command5: -----------------------]
autopkgtest [20:53:36]: test command5: - - - - - - - - - - results - - - - - - - - - -
command5 FAIL non-zero exit status 101
I think that what this is saying is "when i try to build the compression-deflate
feature, it fails because bzip2
is not available"
These seem weird and backwards. Note that they might be triggered by the debian environment being set up with a very tight/minimal set of dependencies for each such feature.
At any rate, perhaps one of the sequoia upstream team could try testing something like the following in their own very minimal environment (without the bzip2 crate installed) on the buffered-reader
crate:
cargo -Zavoid-dev-deps test --verbose --verbose -j2 --target x86_64-unknown-linux-gnu --all-targets --features compression-deflate
I've just uploaded 0.12.0 to debian unstable, so maybe we'll get a report from the autopkgtester on that in a little while too.