[Pkg-rust-maintainers] Bug#1084371: rust-concat-string: FTBFS: error: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
Santiago Vila
sanvila at debian.org
Mon Oct 7 09:41:37 BST 2024
Package: src:rust-concat-string
Version: 1.0.1-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
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, profiles, parallel, lto: ['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 /<<PKGBUILDDIR>>/debian/cargo_registry/
dh_auto_build -O--buildsystem=cargo
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test -- test --all
debian cargo wrapper: options, profiles, parallel, lto: ['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'],) {}
warning: no edition set: defaulting to the 2015 edition while the latest is 2021
Compiling concat-string v1.0.1 (/<<PKGBUILDDIR>>)
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=concat_string CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='FaultyRAM <explodingpsu at gmail.com>' CARGO_PKG_DESCRIPTION='Provides macros for concatenating string slices into owned strings.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=concat-string CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/FaultyRAM/concat-string' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.0.1 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>> LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name concat_string --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=953300f81017dc06 -C extra-filename=-953300f81017dc06 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/concat-string-1.0.1 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=concat_string CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='FaultyRAM <explodingpsu at gmail.com>' CARGO_PKG_DESCRIPTION='Provides macros for concatenating string slices into owned strings.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=concat-string CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/FaultyRAM/concat-string' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.0.1 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>> LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name concat_string --edition=2015 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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=52158dd26d13a230 -C extra-filename=-52158dd26d13a230 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/concat-string-1.0.1 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
--> src/lib.rs:28:11
|
28 | #![forbid(box_pointers)]
| ^^^^^^^^^^^^
|
note: the lint level is defined here
--> src/lib.rs:26:11
|
26 | #![forbid(warnings)]
| ^^^^^^^^
= note: `#[warn(renamed_and_removed_lints)]` implied by `#[warn(warnings)]`
warning: unexpected `cfg` condition value: `cargo-clippy`
--> src/lib.rs:40:13
|
40 | #![cfg_attr(feature = "cargo-clippy", forbid(clippy))]
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `cargo-clippy` 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)]` implied by `#[warn(warnings)]`
warning: unexpected `cfg` condition value: `cargo-clippy`
--> src/lib.rs:41:13
|
41 | #![cfg_attr(feature = "cargo-clippy", forbid(clippy_pedantic))]
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `cargo-clippy` 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: `cargo-clippy`
--> src/lib.rs:42:13
|
42 | #![cfg_attr(feature = "cargo-clippy", forbid(clippy_cargo))]
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `cargo-clippy` 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: `cargo-clippy`
--> src/lib.rs:43:13
|
43 | #![cfg_attr(feature = "cargo-clippy", forbid(clippy_complexity))]
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `cargo-clippy` 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: `cargo-clippy`
--> src/lib.rs:44:13
|
44 | #![cfg_attr(feature = "cargo-clippy", forbid(clippy_correctness))]
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `cargo-clippy` 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: `cargo-clippy`
--> src/lib.rs:45:13
|
45 | #![cfg_attr(feature = "cargo-clippy", forbid(clippy_perf))]
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `cargo-clippy` 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: `cargo-clippy`
--> src/lib.rs:46:13
|
46 | #![cfg_attr(feature = "cargo-clippy", forbid(clippy_style))]
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `cargo-clippy` 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: `concat-string` (lib) generated 8 warnings
warning: `concat-string` (lib test) generated 8 warnings (8 duplicates)
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s
Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='FaultyRAM <explodingpsu at gmail.com>' CARGO_PKG_DESCRIPTION='Provides macros for concatenating string slices into owned strings.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=concat-string CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/FaultyRAM/concat-string' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.0.1 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps:/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/concat_string-52158dd26d13a230`
running 3 tests
test tests::concat_string_0_args ... ok
test tests::concat_string_1_arg ... ok
test tests::concat_string_str_string ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests concat_string
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=concat_string CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='FaultyRAM <explodingpsu at gmail.com>' CARGO_PKG_DESCRIPTION='Provides macros for concatenating string slices into owned strings.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=concat-string CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/FaultyRAM/concat-string' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.0.1 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustdoc --edition=2015 --crate-type lib --crate-name concat_string --test src/lib.rs --test-run-directory /<<PKGBUILDDIR>> --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern concat_string=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libconcat_string-953300f81017dc06.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' --error-format human`
error: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
--> src/lib.rs:28:11
|
28 | #![forbid(box_pointers)]
| ^^^^^^^^^^^^
|
note: the lint level is defined here
--> src/lib.rs:26:11
|
26 | #![forbid(warnings)]
| ^^^^^^^^
= note: `#[forbid(renamed_and_removed_lints)]` implied by `#[forbid(warnings)]`
error: aborting due to 1 previous error
error: doctest failed, to rerun pass `--doc`
Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=concat_string CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='FaultyRAM <explodingpsu at gmail.com>' CARGO_PKG_DESCRIPTION='Provides macros for concatenating string slices into owned strings.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=concat-string CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/FaultyRAM/concat-string' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.0.1 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustdoc --edition=2015 --crate-type lib --crate-name concat_string --test src/lib.rs --test-run-directory /<<PKGBUILDDIR>> --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern concat_string=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libconcat_string-953300f81017dc06.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' --error-format human` (exit status: 1)
note: test exited abnormally; to see the full output pass --nocapture to the harness.
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 1
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 returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202410/
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 could not 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the Pkg-rust-maintainers
mailing list