[Pkg-rust-maintainers] Bug#998027: rust-smallvec: autopkgtest regression: #![feature]` may not be used on the stable release channel

Paul Gevers elbrus at debian.org
Thu Oct 28 19:03:42 BST 2021


Source: rust-smallvec
Version: 1.7.0-1
X-Debbugs-CC: debian-ci at lists.debian.org
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of rust-smallvec the autopkgtest of rust-smallvec
fails in testing when that autopkgtest is run with the binary packages
of rust-smallvec from unstable. It passes when run with only packages
from testing. In tabular form:

                       pass            fail
rust-smallvec          from testing    1.7.0-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can
you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=rust-smallvec

https://ci.debian.net/data/autopkgtest/testing/amd64/r/rust-smallvec/16267456/log.gz

debian cargo wrapper: options, profiles, parallel: ['parallel=48'] []
['-j48']
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.gvwyouJS2W/registry/
debian cargo wrapper: options, profiles, parallel: ['parallel=48'] []
['-j48']
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',
'-j48', '--target', 'x86_64-unknown-linux-gnu', '--all-targets',
'--all-features'],) {}
   Compiling serde v1.0.106
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build
CARGO_MANIFEST_DIR=/tmp/tmp.gvwyouJS2W/registry/serde-1.0.106
CARGO_PKG_AUTHORS='Erick Tryzelaar <erick.tryzelaar at gmail.com>:David
Tolnay <dtolnay at gmail.com>' CARGO_PKG_DESCRIPTION='A generic
serialization/deserialization framework'
CARGO_PKG_HOMEPAGE='https://serde.rs' CARGO_PKG_LICENSE='MIT OR
Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=serde
CARGO_PKG_REPOSITORY='https://github.com/serde-rs/serde'
CARGO_PKG_VERSION=1.0.106 CARGO_PKG_VERSION_MAJOR=1
CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=106
CARGO_PKG_VERSION_PRE=''
LD_LIBRARY_PATH='/tmp/tmp.gvwyouJS2W/target/debug/deps:/usr/lib' rustc
--crate-name build_script_build
/tmp/tmp.gvwyouJS2W/registry/serde-1.0.106/build.rs --error-format=json
--json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link
-Cembed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg
'feature="std"' -C metadata=9b685932cd0f7028 -C
extra-filename=-9b685932cd0f7028 --out-dir
/tmp/tmp.gvwyouJS2W/target/debug/build/serde-9b685932cd0f7028 -L
dependency=/tmp/tmp.gvwyouJS2W/target/debug/deps --cap-lints warn`
     Running
`/tmp/tmp.gvwyouJS2W/target/debug/build/serde-9b685932cd0f7028/build-script-build`
[serde 1.0.106] cargo:rustc-cfg=ops_bound
[serde 1.0.106] cargo:rustc-cfg=core_reverse
[serde 1.0.106] cargo:rustc-cfg=de_boxed_c_str
[serde 1.0.106] cargo:rustc-cfg=de_boxed_path
[serde 1.0.106] cargo:rustc-cfg=de_rc_dst
[serde 1.0.106] cargo:rustc-cfg=core_duration
[serde 1.0.106] cargo:rustc-cfg=integer128
[serde 1.0.106] cargo:rustc-cfg=range_inclusive
[serde 1.0.106] cargo:rustc-cfg=num_nonzero
[serde 1.0.106] cargo:rustc-cfg=core_try_from
[serde 1.0.106] cargo:rustc-cfg=num_nonzero_signed
[serde 1.0.106] cargo:rustc-cfg=std_atomic64
[serde 1.0.106] cargo:rustc-cfg=std_atomic
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=serde
CARGO_MANIFEST_DIR=/tmp/tmp.gvwyouJS2W/registry/serde-1.0.106
CARGO_PKG_AUTHORS='Erick Tryzelaar <erick.tryzelaar at gmail.com>:David
Tolnay <dtolnay at gmail.com>' CARGO_PKG_DESCRIPTION='A generic
serialization/deserialization framework'
CARGO_PKG_HOMEPAGE='https://serde.rs' CARGO_PKG_LICENSE='MIT OR
Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=serde
CARGO_PKG_REPOSITORY='https://github.com/serde-rs/serde'
CARGO_PKG_VERSION=1.0.106 CARGO_PKG_VERSION_MAJOR=1
CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=106
CARGO_PKG_VERSION_PRE=''
LD_LIBRARY_PATH='/tmp/tmp.gvwyouJS2W/target/debug/deps:/usr/lib'
OUT_DIR=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/build/serde-800e740946d91bd8/out
rustc --crate-name serde
/tmp/tmp.gvwyouJS2W/registry/serde-1.0.106/src/lib.rs
--error-format=json --json=diagnostic-rendered-ansi,artifacts
--crate-type lib --emit=dep-info,metadata,link -Cembed-bitcode=no -C
debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C
metadata=6494c40e4cad4848 -C extra-filename=-6494c40e4cad4848 --out-dir
/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps --target
x86_64-unknown-linux-gnu -L
dependency=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps -L
dependency=/tmp/tmp.gvwyouJS2W/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
/usr/share/cargo/registry/smallvec-1.7.0=/usr/share/cargo/registry/smallvec-1.7.0
--cfg ops_bound --cfg core_reverse --cfg de_boxed_c_str --cfg
de_boxed_path --cfg de_rc_dst --cfg core_duration --cfg integer128 --cfg
range_inclusive --cfg num_nonzero --cfg core_try_from --cfg
num_nonzero_signed --cfg std_atomic64 --cfg std_atomic`
   Compiling bincode v1.3.3
   Compiling smallvec v1.7.0 (/usr/share/cargo/registry/smallvec-1.7.0)
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=bincode
CARGO_MANIFEST_DIR=/tmp/tmp.gvwyouJS2W/registry/bincode-1.3.3
CARGO_PKG_AUTHORS='Ty Overby <ty at pre-alpha.com>:Francesco Mazzoli
<f at mazzo.li>:David Tolnay <dtolnay at gmail.com>:Zoey Riordan
<zoey at dos.cafe>' CARGO_PKG_DESCRIPTION='A binary serialization /
deserialization strategy that uses Serde for transforming structs into
bytes and vice versa'\!'' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT
CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bincode
CARGO_PKG_REPOSITORY='https://github.com/servo/bincode'
CARGO_PKG_VERSION=1.3.3 CARGO_PKG_VERSION_MAJOR=1
CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=3
CARGO_PKG_VERSION_PRE=''
LD_LIBRARY_PATH='/tmp/tmp.gvwyouJS2W/target/debug/deps:/usr/lib' rustc
--crate-name bincode
/tmp/tmp.gvwyouJS2W/registry/bincode-1.3.3/src/lib.rs
--error-format=json --json=diagnostic-rendered-ansi --crate-type lib
--emit=dep-info,metadata,link -Cembed-bitcode=no -C debuginfo=2 -C
metadata=e79872668c496549 -C extra-filename=-e79872668c496549 --out-dir
/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps --target
x86_64-unknown-linux-gnu -L
dependency=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps -L
dependency=/tmp/tmp.gvwyouJS2W/target/debug/deps --extern
serde=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps/libserde-6494c40e4cad4848.rmeta
--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
/usr/share/cargo/registry/smallvec-1.7.0=/usr/share/cargo/registry/smallvec-1.7.0`
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=smallvec
CARGO_MANIFEST_DIR=/usr/share/cargo/registry/smallvec-1.7.0
CARGO_PKG_AUTHORS='The Servo Project Developers'
CARGO_PKG_DESCRIPTION=''\''Small vector'\'' optimization: store up to a
small number of items on the stack' CARGO_PKG_HOMEPAGE=''
CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE=''
CARGO_PKG_NAME=smallvec
CARGO_PKG_REPOSITORY='https://github.com/servo/rust-smallvec'
CARGO_PKG_VERSION=1.7.0 CARGO_PKG_VERSION_MAJOR=1
CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=0
CARGO_PKG_VERSION_PRE=''
LD_LIBRARY_PATH='/tmp/tmp.gvwyouJS2W/target/debug/deps:/usr/lib' rustc
--crate-name smallvec --edition=2018 src/lib.rs --error-format=json
--json=diagnostic-rendered-ansi --crate-type lib
--emit=dep-info,metadata,link -Cembed-bitcode=no -C debuginfo=2 --cfg
'feature="const_generics"' --cfg 'feature="const_new"' --cfg
'feature="may_dangle"' --cfg 'feature="serde"' --cfg
'feature="specialization"' --cfg 'feature="union"' --cfg
'feature="write"' -C metadata=ed5a5a7d3c90cebb -C
extra-filename=-ed5a5a7d3c90cebb --out-dir
/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps --target
x86_64-unknown-linux-gnu -C
incremental=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/incremental
-L
dependency=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps -L
dependency=/tmp/tmp.gvwyouJS2W/target/debug/deps --extern
serde=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps/libserde-6494c40e4cad4848.rmeta
-C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C
link-arg=-Wl,-z,relro --remap-path-prefix
/usr/share/cargo/registry/smallvec-1.7.0=/usr/share/cargo/registry/smallvec-1.7.0`
error[E0554]: `#![feature]` may not be used on the stable release channel
  --> src/lib.rs:82:41
   |
82 | #![cfg_attr(feature = "specialization", feature(specialization))]
   |                                         ^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: `#![feature]` may not be used on the stable release channel
  --> src/lib.rs:83:37
   |
83 | #![cfg_attr(feature = "may_dangle", feature(dropck_eyepatch))]
   |                                     ^^^^^^^^^^^^^^^^^^^^^^^^

error[E0658]: const generics are unstable
   --> src/lib.rs:412:15
    |
412 | impl<T, const N: usize> SmallVecData<[T; N]> {
    |               ^
    |
    = note: see issue #74878
<https://github.com/rust-lang/rust/issues/74878> for more information

error[E0658]: const generics are unstable
    --> src/lib.rs:2032:15
     |
2032 | impl<T, const N: usize> SmallVec<[T; N]> {
     |               ^
     |
     = note: see issue #74878
<https://github.com/rust-lang/rust/issues/74878> for more information

error[E0658]: const generics are unstable
    --> src/lib.rs:2060:22
     |
2060 | unsafe impl<T, const N: usize> Array for [T; N] {
     |                      ^
     |
     = note: see issue #74878
<https://github.com/rust-lang/rust/issues/74878> for more information

error: aborting due to 5 previous errors

Some errors have detailed explanations: E0554, E0658.
For more information about an error, try `rustc --explain E0554`.
error: could not compile `smallvec`.

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo
CARGO_CRATE_NAME=smallvec
CARGO_MANIFEST_DIR=/usr/share/cargo/registry/smallvec-1.7.0
CARGO_PKG_AUTHORS='The Servo Project Developers'
CARGO_PKG_DESCRIPTION=''\''Small vector'\'' optimization: store up to a
small number of items on the stack' CARGO_PKG_HOMEPAGE=''
CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE=''
CARGO_PKG_NAME=smallvec
CARGO_PKG_REPOSITORY='https://github.com/servo/rust-smallvec'
CARGO_PKG_VERSION=1.7.0 CARGO_PKG_VERSION_MAJOR=1
CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=0
CARGO_PKG_VERSION_PRE=''
LD_LIBRARY_PATH='/tmp/tmp.gvwyouJS2W/target/debug/deps:/usr/lib' rustc
--crate-name smallvec --edition=2018 src/lib.rs --error-format=json
--json=diagnostic-rendered-ansi --crate-type lib
--emit=dep-info,metadata,link -Cembed-bitcode=no -C debuginfo=2 --cfg
'feature="const_generics"' --cfg 'feature="const_new"' --cfg
'feature="may_dangle"' --cfg 'feature="serde"' --cfg
'feature="specialization"' --cfg 'feature="union"' --cfg
'feature="write"' -C metadata=ed5a5a7d3c90cebb -C
extra-filename=-ed5a5a7d3c90cebb --out-dir
/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps --target
x86_64-unknown-linux-gnu -C
incremental=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/incremental
-L
dependency=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps -L
dependency=/tmp/tmp.gvwyouJS2W/target/debug/deps --extern
serde=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps/libserde-6494c40e4cad4848.rmeta
-C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C
link-arg=-Wl,-z,relro --remap-path-prefix
/usr/share/cargo/registry/smallvec-1.7.0=/usr/share/cargo/registry/smallvec-1.7.0`
(exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: build failed

----------------------------------------------------------------
cargo-auto-test: re-running test with RUSTC_BOOTSTRAP due to E0554
debian cargo wrapper: options, profiles, parallel: ['parallel=48'] []
['-j48']
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',
'-j48', '--target', 'x86_64-unknown-linux-gnu', '--all-targets',
'--all-features'],) {}
       Fresh serde v1.0.106
       Fresh bincode v1.3.3
   Compiling smallvec v1.7.0 (/usr/share/cargo/registry/smallvec-1.7.0)
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=smallvec
CARGO_MANIFEST_DIR=/usr/share/cargo/registry/smallvec-1.7.0
CARGO_PKG_AUTHORS='The Servo Project Developers'
CARGO_PKG_DESCRIPTION=''\''Small vector'\'' optimization: store up to a
small number of items on the stack' CARGO_PKG_HOMEPAGE=''
CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE=''
CARGO_PKG_NAME=smallvec
CARGO_PKG_REPOSITORY='https://github.com/servo/rust-smallvec'
CARGO_PKG_VERSION=1.7.0 CARGO_PKG_VERSION_MAJOR=1
CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=0
CARGO_PKG_VERSION_PRE=''
LD_LIBRARY_PATH='/tmp/tmp.gvwyouJS2W/target/debug/deps:/usr/lib' rustc
--crate-name smallvec --edition=2018 src/lib.rs --error-format=json
--json=diagnostic-rendered-ansi --crate-type lib
--emit=dep-info,metadata,link -Cembed-bitcode=no -C debuginfo=2 --cfg
'feature="const_generics"' --cfg 'feature="const_new"' --cfg
'feature="may_dangle"' --cfg 'feature="serde"' --cfg
'feature="specialization"' --cfg 'feature="union"' --cfg
'feature="write"' -C metadata=ed5a5a7d3c90cebb -C
extra-filename=-ed5a5a7d3c90cebb --out-dir
/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps --target
x86_64-unknown-linux-gnu -C
incremental=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/incremental
-L
dependency=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps -L
dependency=/tmp/tmp.gvwyouJS2W/target/debug/deps --extern
serde=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps/libserde-6494c40e4cad4848.rmeta
-C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C
link-arg=-Wl,-z,relro --remap-path-prefix
/usr/share/cargo/registry/smallvec-1.7.0=/usr/share/cargo/registry/smallvec-1.7.0`
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=smallvec
CARGO_MANIFEST_DIR=/usr/share/cargo/registry/smallvec-1.7.0
CARGO_PKG_AUTHORS='The Servo Project Developers'
CARGO_PKG_DESCRIPTION=''\''Small vector'\'' optimization: store up to a
small number of items on the stack' CARGO_PKG_HOMEPAGE=''
CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE=''
CARGO_PKG_NAME=smallvec
CARGO_PKG_REPOSITORY='https://github.com/servo/rust-smallvec'
CARGO_PKG_VERSION=1.7.0 CARGO_PKG_VERSION_MAJOR=1
CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=0
CARGO_PKG_VERSION_PRE=''
LD_LIBRARY_PATH='/tmp/tmp.gvwyouJS2W/target/debug/deps:/usr/lib' rustc
--crate-name smallvec --edition=2018 src/lib.rs --error-format=json
--json=diagnostic-rendered-ansi --emit=dep-info,link -Cembed-bitcode=no
-C debuginfo=2 --test --cfg 'feature="const_generics"' --cfg
'feature="const_new"' --cfg 'feature="may_dangle"' --cfg
'feature="serde"' --cfg 'feature="specialization"' --cfg
'feature="union"' --cfg 'feature="write"' -C metadata=6704553374c1e161
-C extra-filename=-6704553374c1e161 --out-dir
/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps --target
x86_64-unknown-linux-gnu -C
incremental=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/incremental
-L
dependency=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps -L
dependency=/tmp/tmp.gvwyouJS2W/target/debug/deps --extern
bincode=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps/libbincode-e79872668c496549.rlib
--extern
serde=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps/libserde-6494c40e4cad4848.rlib
-C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C
link-arg=-Wl,-z,relro --remap-path-prefix
/usr/share/cargo/registry/smallvec-1.7.0=/usr/share/cargo/registry/smallvec-1.7.0`
error[E0658]: const generics are unstable
   --> src/lib.rs:412:15
    |
412 | impl<T, const N: usize> SmallVecData<[T; N]> {
    |               ^
    |
    = note: see issue #74878
<https://github.com/rust-lang/rust/issues/74878> for more information
    = help: add `#![feature(min_const_generics)]` to the crate
attributes to enable

error[E0658]: const generics are unstable
    --> src/lib.rs:2032:15
     |
2032 | impl<T, const N: usize> SmallVec<[T; N]> {
     |               ^
     |
     = note: see issue #74878
<https://github.com/rust-lang/rust/issues/74878> for more information
     = help: add `#![feature(min_const_generics)]` to the crate
attributes to enable

error[E0658]: const generics are unstable
    --> src/lib.rs:2060:22
     |
2060 | unsafe impl<T, const N: usize> Array for [T; N] {
     |                      ^
     |
     = note: see issue #74878
<https://github.com/rust-lang/rust/issues/74878> for more information
     = help: add `#![feature(min_const_generics)]` to the crate
attributes to enable

error[E0658]: const generics are unstable
   --> src/lib.rs:412:15
    |
412 | impl<T, const N: usize> SmallVecData<[T; N]> {
    |               ^
    |
    = note: see issue #74878
<https://github.com/rust-lang/rust/issues/74878> for more information
    = help: add `#![feature(min_const_generics)]` to the crate
attributes to enable

error[E0658]: const generics are unstable
    --> src/lib.rs:2032:15
     |
2032 | impl<T, const N: usize> SmallVec<[T; N]> {
     |               ^
     |
     = note: see issue #74878
<https://github.com/rust-lang/rust/issues/74878> for more information
     = help: add `#![feature(min_const_generics)]` to the crate
attributes to enable

error[E0658]: const generics are unstable
    --> src/lib.rs:2060:22
     |
2060 | unsafe impl<T, const N: usize> Array for [T; N] {
     |                      ^
     |
     = note: see issue #74878
<https://github.com/rust-lang/rust/issues/74878> for more information
     = help: add `#![feature(min_const_generics)]` to the crate
attributes to enable

warning: use of deprecated function `tests::bincode::config`: please use
`options()` instead
   --> src/tests.rs:837:19
    |
837 |     let encoded = config().limit(100).serialize(&small_vec).unwrap();
    |                   ^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default

warning: use of deprecated function `tests::bincode::config`: please use
`options()` instead
   --> src/tests.rs:845:19
    |
845 |     let encoded = config().limit(100).serialize(&small_vec).unwrap();
    |                   ^^^^^^

warning: use of deprecated function `tests::bincode::config`: please use
`options()` instead
   --> src/tests.rs:834:25
    |
834 |     use self::bincode::{config, deserialize};
    |                         ^^^^^^

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0658`.
error: could not compile `smallvec`.

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo
CARGO_CRATE_NAME=smallvec
CARGO_MANIFEST_DIR=/usr/share/cargo/registry/smallvec-1.7.0
CARGO_PKG_AUTHORS='The Servo Project Developers'
CARGO_PKG_DESCRIPTION=''\''Small vector'\'' optimization: store up to a
small number of items on the stack' CARGO_PKG_HOMEPAGE=''
CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE=''
CARGO_PKG_NAME=smallvec
CARGO_PKG_REPOSITORY='https://github.com/servo/rust-smallvec'
CARGO_PKG_VERSION=1.7.0 CARGO_PKG_VERSION_MAJOR=1
CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=0
CARGO_PKG_VERSION_PRE=''
LD_LIBRARY_PATH='/tmp/tmp.gvwyouJS2W/target/debug/deps:/usr/lib' rustc
--crate-name smallvec --edition=2018 src/lib.rs --error-format=json
--json=diagnostic-rendered-ansi --crate-type lib
--emit=dep-info,metadata,link -Cembed-bitcode=no -C debuginfo=2 --cfg
'feature="const_generics"' --cfg 'feature="const_new"' --cfg
'feature="may_dangle"' --cfg 'feature="serde"' --cfg
'feature="specialization"' --cfg 'feature="union"' --cfg
'feature="write"' -C metadata=ed5a5a7d3c90cebb -C
extra-filename=-ed5a5a7d3c90cebb --out-dir
/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps --target
x86_64-unknown-linux-gnu -C
incremental=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/incremental
-L
dependency=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps -L
dependency=/tmp/tmp.gvwyouJS2W/target/debug/deps --extern
serde=/tmp/tmp.gvwyouJS2W/target/x86_64-unknown-linux-gnu/debug/deps/libserde-6494c40e4cad4848.rmeta
-C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C
link-arg=-Wl,-z,relro --remap-path-prefix
/usr/share/cargo/registry/smallvec-1.7.0=/usr/share/cargo/registry/smallvec-1.7.0`
(exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: aborting due to 3 previous errors; 3 warnings emitted

For more information about this error, try `rustc --explain E0658`.
error: build failed
autopkgtest [11:11:20]: test rust-smallvec:@


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20211028/dd27590e/attachment.sig>


More information about the Pkg-rust-maintainers mailing list