[Pkg-rust-maintainers] Bug#1030543: rust-dockerfile: autopkgtest failure
Adrian Bunk
bunk at debian.org
Sat Feb 4 20:08:57 GMT 2023
Source: rust-dockerfile
Version: 0.2.1-1
Severity: serious
https://ci.debian.net/data/autopkgtest/testing/amd64/r/rust-dockerfile/30979620/log.gz
...
autopkgtest [03:52:12]: test rust-dockerfile:@: /usr/share/cargo/bin/cargo-auto-test dockerfile 0.2.1 --all-targets --all-features
autopkgtest [03:52:12]: test rust-dockerfile:@: [-----------------------
debian cargo wrapper: options, profiles, parallel: ['parallel=64'] [] ['-j64']
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.CZI90S5IlT/registry/
debian cargo wrapper: options, profiles, parallel: ['parallel=64'] [] ['-j64']
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', '-j64', '--target', 'x86_64-unknown-linux-gnu', '--all-targets', '--all-features'],) {}
Compiling dockerfile v0.2.1 (/usr/share/cargo/registry/dockerfile-0.2.1)
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=dockerfile CARGO_MANIFEST_DIR=/usr/share/cargo/registry/dockerfile-0.2.1 CARGO_PKG_AUTHORS='Anthony Dodd <dodd.anthonyjosiah at gmail.com>' CARGO_PKG_DESCRIPTION='A Rust library for dynamically generating Dockerfiles.' CARGO_PKG_HOMEPAGE='https://github.com/thedodd/dockerfile' CARGO_PKG_LICENSE=Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=dockerfile CARGO_PKG_REPOSITORY='https://github.com/thedodd/dockerfile' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/tmp/tmp.CZI90S5IlT/target/debug/deps:/usr/lib' rustc --crate-name dockerfile --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="docinclude"' -C metadata=3260d957e4ef2b10 -C extra-filename=-3260d957e4ef2b10 --out-dir /tmp/tmp.CZI90S5IlT/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/tmp/tmp.CZI90S5IlT/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/tmp/tmp.CZI90S5IlT/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.CZI90S5IlT/target/debug/deps -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/dockerfile-0.2.1=/usr/share/cargo/registry/dockerfile-0.2.1 --remap-path-prefix /tmp/tmp.CZI90S5IlT/registry=/usr/share/cargo/registry`
error[E0557]: feature has been removed
--> src/lib.rs:1:43
|
1 | #![cfg_attr(feature="docinclude", feature(external_doc))]
| ^^^^^^^^^^^^ feature has been removed
|
= note: use #[doc = include_str!("filename")] instead, which handles macro invocations
warning: unknown `doc` attribute `include`
--> src/lib.rs:2:39
|
2 | #![cfg_attr(feature="docinclude", doc(include="../README.md"))]
| ----^^^^^^^^^^^^^^^^^^^^^^- help: use `doc = include_str!` instead: `#![doc = include_str!("../README.md")]`
|
= note: `#[warn(invalid_doc_attributes)]` on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730>
For more information about this error, try `rustc --explain E0557`.
warning: `dockerfile` (lib test) generated 1 warning
error: could not compile `dockerfile` due to previous error; 1 warning emitted
Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=dockerfile CARGO_MANIFEST_DIR=/usr/share/cargo/registry/dockerfile-0.2.1 CARGO_PKG_AUTHORS='Anthony Dodd <dodd.anthonyjosiah at gmail.com>' CARGO_PKG_DESCRIPTION='A Rust library for dynamically generating Dockerfiles.' CARGO_PKG_HOMEPAGE='https://github.com/thedodd/dockerfile' CARGO_PKG_LICENSE=Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=dockerfile CARGO_PKG_REPOSITORY='https://github.com/thedodd/dockerfile' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/tmp/tmp.CZI90S5IlT/target/debug/deps:/usr/lib' rustc --crate-name dockerfile --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="docinclude"' -C metadata=3260d957e4ef2b10 -C extra-filename=-3260d957e4ef2b10 --out-dir /tmp/tmp.CZI90S5IlT/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/tmp/tmp.CZI90S5IlT/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/tmp/tmp.CZI90S5IlT/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.CZI90S5IlT/target/debug/deps -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/dockerfile-0.2.1=/usr/share/cargo/registry/dockerfile-0.2.1 --remap-path-prefix /tmp/tmp.CZI90S5IlT/registry=/usr/share/cargo/registry` (exit status: 1)
autopkgtest [03:52:13]: test rust-dockerfile:@: -----------------------]
autopkgtest [03:52:13]: test rust-dockerfile:@: - - - - - - - - - - results - - - - - - - - - -
rust-dockerfile:@ FAIL non-zero exit status 101
...
autopkgtest [03:52:25]: @@@@@@@@@@@@@@@@@@@@ summary
rust-dockerfile:@ FAIL non-zero exit status 101
librust-dockerfile-dev:default PASS
librust-dockerfile-dev:docinclude FAIL non-zero exit status 101
librust-dockerfile-dev: PASS
More information about the Pkg-rust-maintainers
mailing list