Package: src:rust-criterion
Version: 0.5.1-6
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=rust
Use of uninitialized value in join or string at
/usr/share/perl5/Debian/Debhelper/Buildsystem/rust.pm line 309.
/usr/share/dh-rust/bin/cargo prepare-debian debian/cargo_registry
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=2'] []
['-j2'] 0
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 --buildsystem=rust
Use of uninitialized value in join or string at
/usr/share/perl5/Debian/Debhelper/Buildsystem/rust.pm line 309.
dh_auto_test --buildsystem=rust
Use of uninitialized value in join or string at
/usr/share/perl5/Debian/Debhelper/Buildsystem/rust.pm line 309.
[... snipped ...]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");`
to the top of the `build.rs`
= 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 name: `linux_kernel`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/patterns.rs:227:11
|
227 | #[cfg(any(linux_kernel, bsd))]
| ^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg =
['cfg(linux_kernel)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the
`build.rs`
= 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 name: `bsd`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/patterns.rs:227:25
|
227 | #[cfg(any(linux_kernel, bsd))]
| ^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");`
to the top of the `build.rs`
= 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 name: `linux_kernel`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/patterns.rs:230:11
|
230 | #[cfg(any(linux_kernel, bsd))]
| ^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg =
['cfg(linux_kernel)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the
`build.rs`
= 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 name: `bsd`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/patterns.rs:230:25
|
230 | #[cfg(any(linux_kernel, bsd))]
| ^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");`
to the top of the `build.rs`
= 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 name: `linux_kernel`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/patterns.rs:238:11
|
238 | #[cfg(any(linux_kernel, bsd))]
| ^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg =
['cfg(linux_kernel)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the
`build.rs`
= 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 name: `bsd`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/patterns.rs:238:25
|
238 | #[cfg(any(linux_kernel, bsd))]
| ^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");`
to the top of the `build.rs`
= 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 name: `linux_kernel`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/patterns.rs:241:11
|
241 | #[cfg(any(linux_kernel, bsd))]
| ^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg =
['cfg(linux_kernel)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the
`build.rs`
= 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 name: `bsd`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/patterns.rs:241:25
|
241 | #[cfg(any(linux_kernel, bsd))]
| ^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");`
to the top of the `build.rs`
= 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 name: `linux_kernel`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/patterns.rs:250:11
|
250 | #[cfg(any(linux_kernel, bsd))]
| ^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg =
['cfg(linux_kernel)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the
`build.rs`
= 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 name: `bsd`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/patterns.rs:250:25
|
250 | #[cfg(any(linux_kernel, bsd))]
| ^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");`
to the top of the `build.rs`
= 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 name: `linux_kernel`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/patterns.rs:253:11
|
253 | #[cfg(any(linux_kernel, bsd))]
| ^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg =
['cfg(linux_kernel)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the
`build.rs`
= 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 name: `bsd`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/patterns.rs:253:25
|
253 | #[cfg(any(linux_kernel, bsd))]
| ^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");`
to the top of the `build.rs`
= 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 name: `linux_kernel`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/mod.rs:212:15
|
212 | #[cfg(any(linux_kernel, bsd))]
| ^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg =
['cfg(linux_kernel)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the
`build.rs`
= 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 name: `bsd`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/mod.rs:212:29
|
212 | #[cfg(any(linux_kernel, bsd))]
| ^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");`
to the top of the `build.rs`
= 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 name: `linux_kernel`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/mod.rs:237:15
|
237 | #[cfg(any(linux_kernel, bsd))]
| ^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg =
['cfg(linux_kernel)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the
`build.rs`
= 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 name: `bsd`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/mod.rs:237:29
|
237 | #[cfg(any(linux_kernel, bsd))]
| ^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");`
to the top of the `build.rs`
= 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 name: `linux_kernel`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/mod.rs:247:15
|
247 | #[cfg(any(linux_kernel, bsd))]
| ^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg =
['cfg(linux_kernel)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the
`build.rs`
= 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 name: `bsd`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/mod.rs:247:29
|
247 | #[cfg(any(linux_kernel, bsd))]
| ^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");`
to the top of the `build.rs`
= 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 name: `linux_kernel`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/mod.rs:257:15
|
257 | #[cfg(any(linux_kernel, bsd))]
| ^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg =
['cfg(linux_kernel)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the
`build.rs`
= 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 name: `bsd`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/mod.rs:257:29
|
257 | #[cfg(any(linux_kernel, bsd))]
| ^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");`
to the top of the `build.rs`
= 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 name: `linux_kernel`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/mod.rs:267:15
|
267 | #[cfg(any(linux_kernel, bsd))]
| ^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg =
['cfg(linux_kernel)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the
`build.rs`
= 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 name: `bsd`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/ioctl/mod.rs:267:29
|
267 | #[cfg(any(linux_kernel, bsd))]
| ^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");`
to the top of the `build.rs`
= 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 name: `fix_y2038`
--> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/timespec.rs:4:11
|
4 | #[cfg(not(fix_y2038))]
| ^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fix_y2038)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(fix_y2038)");` to the top of the
`build.rs`
= 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 name: `fix_y2038`
--> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/timespec.rs:8:11
|
8 | #[cfg(not(fix_y2038))]
| ^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fix_y2038)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(fix_y2038)");` to the top of the
`build.rs`
= 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 name: `fix_y2038`
--> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/timespec.rs:12:7
|
12 | #[cfg(fix_y2038)]
| ^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fix_y2038)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(fix_y2038)");` to the top of the
`build.rs`
= 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 name: `fix_y2038`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/timespec.rs:24:11
|
24 | #[cfg(not(fix_y2038))]
| ^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fix_y2038)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(fix_y2038)");` to the top of the
`build.rs`
= 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 name: `fix_y2038`
--> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/timespec.rs:29:7
|
29 | #[cfg(fix_y2038)]
| ^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fix_y2038)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(fix_y2038)");` to the top of the
`build.rs`
= 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 name: `fix_y2038`
--> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/timespec.rs:34:5
|
34 | fix_y2038,
| ^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fix_y2038)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(fix_y2038)");` to the top of the
`build.rs`
= 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 name: `linux_raw`
--> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/timespec.rs:35:5
|
35 | linux_raw,
| ^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux_raw)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(linux_raw)");` to the top of the
`build.rs`
= 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 name: `libc`
--> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/timespec.rs:36:9
|
36 | all(libc, target_arch = "x86_64", target_pointer_width = "32")
| ^^^^ help: found config with similar value: `feature = "libc"`
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(libc)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libc)");`
to the top of the `build.rs`
= 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 name: `fix_y2038`
--> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/timespec.rs:42:9
|
42 | not(fix_y2038),
| ^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fix_y2038)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(fix_y2038)");` to the top of the
`build.rs`
= 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 name: `libc`
--> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/timespec.rs:43:5
|
43 | libc,
| ^^^^ help: found config with similar value: `feature = "libc"`
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(libc)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(libc)");`
to the top of the `build.rs`
= 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 name: `fix_y2038`
--> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/timespec.rs:51:7
|
51 | #[cfg(fix_y2038)]
| ^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fix_y2038)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(fix_y2038)");` to the top of the
`build.rs`
= 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 name: `fix_y2038`
--> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/timespec.rs:66:7
|
66 | #[cfg(fix_y2038)]
| ^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fix_y2038)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(fix_y2038)");` to the top of the
`build.rs`
= 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 name: `fix_y2038`
--> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/timespec.rs:77:7
|
77 | #[cfg(fix_y2038)]
| ^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fix_y2038)'] }
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(fix_y2038)");` to the top of the
`build.rs`
= 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 name: `fix_y2038`
-->
/<<PKGBUILDDIR>>/debian/cargo_registry/rustix-0.38.32/src/timespec.rs:110:7
|
110 | #[cfg(fix_y2038)]
| ^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for
the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fix_y2038)']
}
= help: or consider adding
`println!("cargo::rustc-check-cfg=cfg(fix_y2038)");` to the top of the
`build.rs`
= note: see
<https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for
more information about checking conditional configuration
error: could not compile `criterion-plot` (lib) due to 8 previous errors
Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=criterion_plot CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/plot CARGO_PKG_AUTHORS='Jorge Aparicio
<[email protected]>:Brook Heisler <[email protected]>' CARGO_PKG_DESCRIPTION='Criterion'\''s plotting library' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR
Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=criterion-plot CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/bheisler/criterion.rs' CARGO_PKG_RUST_VERSION=''
CARGO_PKG_VERSION=0.5.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>
LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps rustc --crate-name criterion_plot --edition=2018 plot/src/lib.rs --error-format=json
--json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg
'cfg(feature, values())' -C metadata=4eefb020871b8a4d -C extra-filename=-4eefb020871b8a4d --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps --target
x86_64-unknown-linux-gnu -C strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps -L
dependency=/<<PKGBUILDDIR>>/target/release/deps --extern cast=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libcast-232c9169cb3554b9.rmeta --extern
itertools=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libitertools-75e4bddcf42eabd2.rmeta --remap-path-prefix
criterion_0.5.1=/usr/share/cargo/registry/criterion-0.5.1 --remap-path-prefix criterion-plot_0.5.0=/usr/share/cargo/registry/criterion-plot-0.5.0` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
warning: `rustix` (lib) generated 177 warnings
dh_auto_test: error: /usr/share/dh-rust/bin/cargo test returned exit code 101
make: *** [debian/rules:4: binary] Error 25
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/202409/
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.