[Pkg-rust-maintainers] Bug#1091255: rust-sys-info: FTBFS on armhf: dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
Lucas Nussbaum
lucas at debian.org
Mon Dec 23 17:42:48 GMT 2024
Source: rust-sys-info
Version: 0.9.1-6
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20241223 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, this package failed to build
on armhf.
This package currently has binary packages on armhf, so this is a regression.
Also, there are no known issues on amd64 or arm64 according to recent (a couple
days ago) rebuilds.
The rebuild was done using an armhf chroot on an AWS "m6g" instance (Graviton2
CPU).
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- test --all
> debian cargo wrapper: options, profiles, parallel, lto: ['parallel=4'] [] ['-j4']
> debian cargo wrapper: rust_type, gnu_type: armv7-unknown-linux-gnueabihf, arm-linux-gnueabihf
> debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j4', '--target', 'armv7-unknown-linux-gnueabihf', '--all'],) {}
> warning: no edition set: defaulting to the 2015 edition while the latest is 2021
> Compiling shlex v1.3.0
> Compiling libc v0.2.168
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=shlex CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/shlex-1.3.0 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/shlex-1.3.0/Cargo.toml CARGO_PKG_AUTHORS='comex <comexk at gmail.com>:Fenhl <fenhl at fenhl.net>:Adrian Taylor <adetaylor at chromium.org>:Alex Touchet <alextouchet at outlook.com>:Daniel Parks <dp+git at oxidized.org>:Garrett Berg <googberg at gmail.com>' CARGO_PKG_DESCRIPTION='Split a string into shell words, like Python'\''s shlex.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=shlex CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/comex/rust-shlex' CARGO_PKG_RUST_VERSION=1.46.0 CARGO_PKG_VERSION=1.3.0 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/shlex-1.3.0 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name shlex --edition=2015 /<<PKGBUILDDIR>>/debian/cargo_registry/shlex-1.3.0/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 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=726f391d4d4276f8 -C extra-filename=-726f391d4d4276f8 --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.168 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.168/Cargo.toml CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc.
> ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libc CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_RUST_VERSION=1.63 CARGO_PKG_VERSION=0.2.168 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=168 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.168 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name build_script_build --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.168/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=8c28352f18f66275 -C extra-filename=-8c28352f18f66275 --out-dir /<<PKGBUILDDIR>>/target/debug/build/libc-8c28352f18f66275 -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
> warning: unexpected `cfg` condition name: `manual_codegen_check`
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/shlex-1.3.0/src/bytes.rs:353:12
> |
> 353 | #[cfg_attr(manual_codegen_check, inline(never))]
> | ^^^^^^^^^^^^^^^^^^^^
> |
> = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
> = 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(manual_codegen_check)'] }
> = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(manual_codegen_check)");` 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
> = note: `#[warn(unexpected_cfgs)]` on by default
>
> Compiling cc v1.1.14
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=cc CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/cc-1.1.14 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/cc-1.1.14/Cargo.toml CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>' CARGO_PKG_DESCRIPTION='A build-time dependency for Cargo build scripts to assist in invoking the native
> C compiler to compile native C code into a static archive to be linked into Rust
> code.
> ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/cc-rs' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cc CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/cc-rs' CARGO_PKG_RUST_VERSION=1.63 CARGO_PKG_VERSION=1.1.14 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=14 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/cc-1.1.14 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name cc --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/cc-1.1.14/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("jobserver", "parallel"))' -C metadata=bcfce54e13cbf8f2 -C extra-filename=-bcfce54e13cbf8f2 --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern shlex=/<<PKGBUILDDIR>>/target/debug/deps/libshlex-726f391d4d4276f8.rmeta --cap-lints warn`
> warning: `shlex` (lib) generated 1 warning
> Running `CARGO=/usr/bin/cargo CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ABI=eabihf CARGO_CFG_TARGET_ARCH=arm CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnu CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_HAS_ATOMIC=16,32,64,8,ptr CARGO_CFG_TARGET_OS=linux CARGO_CFG_TARGET_POINTER_WIDTH=32 CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='-Cdebuginfo=2-Cstrip=none--cap-lintswarn-Clinker=arm-linux-gnueabihf-gcc-Clink-arg=-Wl,-z,relro--remap-path-prefix/<<PKGBUILDDIR>>=/usr/share/cargo/registry/sys-info-0.9.1--remap-path-prefix/<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry' CARGO_FEATURE_DEFAULT=1 CARGO_FEATURE_STD=1 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.168 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.168/Cargo.toml CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc.
> ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libc CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_RUST_VERSION=1.63 CARGO_PKG_VERSION=0.2.168 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=168 CARGO_PKG_VERSION_PRE='' DEBUG=true HOST=armv7-unknown-linux-gnueabihf LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/<<PKGBUILDDIR>>/target/debug:/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' NUM_JOBS=4 OPT_LEVEL=0 OUT_DIR=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/build/libc-e146b40e788dd1b7/out PROFILE=debug RUSTC=rustc RUSTDOC=rustdoc TARGET=armv7-unknown-linux-gnueabihf /<<PKGBUILDDIR>>/target/debug/build/libc-8c28352f18f66275/build-script-build`
> [libc 0.2.168] cargo:rerun-if-changed=build.rs
> [libc 0.2.168] cargo:rerun-if-env-changed=RUST_LIBC_UNSTABLE_FREEBSD_VERSION
> [libc 0.2.168] cargo:rustc-cfg=freebsd11
> [libc 0.2.168] cargo:rustc-cfg=gnu_time64_abi
> [libc 0.2.168] cargo:rustc-cfg=libc_const_extern_fn
> [libc 0.2.168] cargo:rustc-check-cfg=cfg(emscripten_new_stat_abi)
> [libc 0.2.168] cargo:rustc-check-cfg=cfg(espidf_time32)
> [libc 0.2.168] cargo:rustc-check-cfg=cfg(freebsd10)
> [libc 0.2.168] cargo:rustc-check-cfg=cfg(freebsd11)
> [libc 0.2.168] cargo:rustc-check-cfg=cfg(freebsd12)
> [libc 0.2.168] cargo:rustc-check-cfg=cfg(freebsd13)
> [libc 0.2.168] cargo:rustc-check-cfg=cfg(freebsd14)
> [libc 0.2.168] cargo:rustc-check-cfg=cfg(freebsd15)
> [libc 0.2.168] cargo:rustc-check-cfg=cfg(gnu_time64_abi)
> [libc 0.2.168] cargo:rustc-check-cfg=cfg(libc_const_extern_fn)
> [libc 0.2.168] cargo:rustc-check-cfg=cfg(libc_deny_warnings)
> [libc 0.2.168] cargo:rustc-check-cfg=cfg(libc_thread_local)
> [libc 0.2.168] cargo:rustc-check-cfg=cfg(libc_ctest)
> [libc 0.2.168] cargo:rustc-check-cfg=cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))
> [libc 0.2.168] cargo:rustc-check-cfg=cfg(target_env,values("illumos","wasi","aix","ohos"))
> [libc 0.2.168] cargo:rustc-check-cfg=cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=libc CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.168 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.168/Cargo.toml CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc.
> ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libc CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_RUST_VERSION=1.63 CARGO_PKG_VERSION=0.2.168 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=168 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.168 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps OUT_DIR=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/build/libc-e146b40e788dd1b7/out rustc --crate-name libc --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.168/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 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=4349d9afdb5cd662 -C extra-filename=-4349d9afdb5cd662 --out-dir /<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -L dependency=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/sys-info-0.9.1 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry --cfg freebsd11 --cfg gnu_time64_abi --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_new_stat_abi)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(gnu_time64_abi)' --check-cfg 'cfg(libc_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'`
> warning: `fgetpos64` redeclared with a different signature
> --> /usr/share/cargo/registry/libc-0.2.168/src/unix/linux_like/linux/mod.rs:6811:13
> |
> 6811 | pub fn fgetpos64(stream: *mut crate::FILE, ptr: *mut fpos64_t) -> c_int;
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration
> |
> ::: /usr/share/cargo/registry/libc-0.2.168/src/unix/mod.rs:623:32
> |
> 623 | #[cfg_attr(gnu_time64_abi, link_name = "fgetpos64")]
> | ----------------------- `fgetpos64` previously declared here
> |
> = note: expected `unsafe extern "C" fn(*mut unix::FILE, *mut fpos_t) -> i32`
> found `unsafe extern "C" fn(*mut unix::FILE, *mut fpos64_t) -> i32`
> = note: `#[warn(clashing_extern_declarations)]` on by default
>
> warning: `fsetpos64` redeclared with a different signature
> --> /usr/share/cargo/registry/libc-0.2.168/src/unix/linux_like/linux/mod.rs:6819:13
> |
> 6819 | pub fn fsetpos64(stream: *mut crate::FILE, ptr: *const fpos64_t) -> c_int;
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration
> |
> ::: /usr/share/cargo/registry/libc-0.2.168/src/unix/mod.rs:626:32
> |
> 626 | #[cfg_attr(gnu_time64_abi, link_name = "fsetpos64")]
> | ----------------------- `fsetpos64` previously declared here
> |
> = note: expected `unsafe extern "C" fn(*mut unix::FILE, *const fpos_t) -> i32`
> found `unsafe extern "C" fn(*mut unix::FILE, *const fpos64_t) -> i32`
>
> warning: `libc` (lib) generated 2 warnings
> Compiling sys-info v0.9.1 (/<<PKGBUILDDIR>>)
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Siyu Wang <FillZpp.pub at gmail.com>' CARGO_PKG_DESCRIPTION='Get system information in Rust.
>
> For now it supports Linux, Mac OS X, illumos, Solaris, FreeBSD, OpenBSD, and Windows.
> ' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=sys-info CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/FillZpp/sys-info-rs' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.9.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=9 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 build_script_build --edition=2015 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=6d479c021ecea1ff -C extra-filename=-6d479c021ecea1ff --out-dir /<<PKGBUILDDIR>>/target/debug/build/sys-info-6d479c021ecea1ff -C incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern cc=/<<PKGBUILDDIR>>/target/debug/deps/libcc-bcfce54e13cbf8f2.rlib`
> Running `CARGO=/usr/bin/cargo CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ABI=eabihf CARGO_CFG_TARGET_ARCH=arm CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnu CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_HAS_ATOMIC=16,32,64,8,ptr CARGO_CFG_TARGET_OS=linux CARGO_CFG_TARGET_POINTER_WIDTH=32 CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='-Cdebuginfo=2-Cstrip=none--cap-lintswarn-Clinker=arm-linux-gnueabihf-gcc-Clink-arg=-Wl,-z,relro--remap-path-prefix/<<PKGBUILDDIR>>=/usr/share/cargo/registry/sys-info-0.9.1--remap-path-prefix/<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_LINKS=info CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Siyu Wang <FillZpp.pub at gmail.com>' CARGO_PKG_DESCRIPTION='Get system information in Rust.
>
> For now it supports Linux, Mac OS X, illumos, Solaris, FreeBSD, OpenBSD, and Windows.
> ' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=sys-info CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/FillZpp/sys-info-rs' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.9.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=9 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' DEBUG=true HOST=armv7-unknown-linux-gnueabihf LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/<<PKGBUILDDIR>>/target/debug:/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' NUM_JOBS=4 OPT_LEVEL=0 OUT_DIR=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/build/sys-info-23e241ff285585bc/out PROFILE=debug RUSTC=rustc RUSTDOC=rustdoc TARGET=armv7-unknown-linux-gnueabihf /<<PKGBUILDDIR>>/target/debug/build/sys-info-6d479c021ecea1ff/build-script-build`
> [sys-info 0.9.1] dh-cargo:deb-built-using=info=0=/<<PKGBUILDDIR>>
> [sys-info 0.9.1] OUT_DIR = Some(/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/build/sys-info-23e241ff285585bc/out)
> [sys-info 0.9.1] TARGET = Some(armv7-unknown-linux-gnueabihf)
> [sys-info 0.9.1] OPT_LEVEL = Some(0)
> [sys-info 0.9.1] HOST = Some(armv7-unknown-linux-gnueabihf)
> [sys-info 0.9.1] cargo:rerun-if-env-changed=CC_armv7-unknown-linux-gnueabihf
> [sys-info 0.9.1] CC_armv7-unknown-linux-gnueabihf = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=CC_armv7_unknown_linux_gnueabihf
> [sys-info 0.9.1] CC_armv7_unknown_linux_gnueabihf = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=HOST_CC
> [sys-info 0.9.1] HOST_CC = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=CC
> [sys-info 0.9.1] CC = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
> [sys-info 0.9.1] RUSTC_WRAPPER = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
> [sys-info 0.9.1] CRATE_CC_NO_DEFAULTS = None
> [sys-info 0.9.1] DEBUG = Some(true)
> [sys-info 0.9.1] CARGO_CFG_TARGET_FEATURE = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=CFLAGS_armv7-unknown-linux-gnueabihf
> [sys-info 0.9.1] CFLAGS_armv7-unknown-linux-gnueabihf = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=CFLAGS_armv7_unknown_linux_gnueabihf
> [sys-info 0.9.1] CFLAGS_armv7_unknown_linux_gnueabihf = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=HOST_CFLAGS
> [sys-info 0.9.1] HOST_CFLAGS = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=CFLAGS
> [sys-info 0.9.1] CFLAGS = Some(-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security)
> [sys-info 0.9.1] cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
> [sys-info 0.9.1] CC_SHELL_ESCAPED_FLAGS = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=AR_armv7-unknown-linux-gnueabihf
> [sys-info 0.9.1] AR_armv7-unknown-linux-gnueabihf = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=AR_armv7_unknown_linux_gnueabihf
> [sys-info 0.9.1] AR_armv7_unknown_linux_gnueabihf = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=HOST_AR
> [sys-info 0.9.1] HOST_AR = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=AR
> [sys-info 0.9.1] AR = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=ARFLAGS_armv7-unknown-linux-gnueabihf
> [sys-info 0.9.1] ARFLAGS_armv7-unknown-linux-gnueabihf = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=ARFLAGS_armv7_unknown_linux_gnueabihf
> [sys-info 0.9.1] ARFLAGS_armv7_unknown_linux_gnueabihf = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=HOST_ARFLAGS
> [sys-info 0.9.1] HOST_ARFLAGS = None
> [sys-info 0.9.1] cargo:rerun-if-env-changed=ARFLAGS
> [sys-info 0.9.1] ARFLAGS = None
> [sys-info 0.9.1] cargo:rustc-link-lib=static=info
> [sys-info 0.9.1] cargo:rustc-link-search=native=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/build/sys-info-23e241ff285585bc/out
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=sys_info CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Siyu Wang <FillZpp.pub at gmail.com>' CARGO_PKG_DESCRIPTION='Get system information in Rust.
>
> For now it supports Linux, Mac OS X, illumos, Solaris, FreeBSD, OpenBSD, and Windows.
> ' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=sys-info CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/FillZpp/sys-info-rs' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.9.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=9 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 OUT_DIR=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/build/sys-info-23e241ff285585bc/out rustc --crate-name sys_info --edition=2015 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=bc22fe928560fe94 -C extra-filename=-bc22fe928560fe94 --out-dir /<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern libc=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/deps/liblibc-4349d9afdb5cd662.rmeta -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/sys-info-0.9.1 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry -L native=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/build/sys-info-23e241ff285585bc/out -l static=info`
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=sys_info CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Siyu Wang <FillZpp.pub at gmail.com>' CARGO_PKG_DESCRIPTION='Get system information in Rust.
>
> For now it supports Linux, Mac OS X, illumos, Solaris, FreeBSD, OpenBSD, and Windows.
> ' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=sys-info CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/FillZpp/sys-info-rs' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.9.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=9 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 OUT_DIR=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/build/sys-info-23e241ff285585bc/out rustc --crate-name sys_info --edition=2015 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=4f3fd944af7ba522 -C extra-filename=-4f3fd944af7ba522 --out-dir /<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern libc=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/deps/liblibc-4349d9afdb5cd662.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/sys-info-0.9.1 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry -L native=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/build/sys-info-23e241ff285585bc/out -l static=info`
> error[E0308]: mismatched types
> --> lib.rs:827:22
> |
> 827 | bt.tv_usec = secs[1] as libc::suseconds_t;
> | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32`
> | |
> | expected due to the type of this binding
>
> warning: unreachable expression
> --> lib.rs:857:5
> |
> 828 | return Ok(bt);
> | ------------- any code following this expression is unreachable
> ...
> 857 | Err(Error::UnsupportedSystem)
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
> |
> note: the lint level is defined here
> --> lib.rs:856:12
> |
> 856 | #[warn(unreachable_code)]
> | ^^^^^^^^^^^^^^^^
>
> For more information about this error, try `rustc --explain E0308`.
> warning: `sys-info` (lib) generated 1 warning
> error: could not compile `sys-info` (lib) due to 1 previous error; 1 warning emitted
>
> Caused by:
> process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=sys_info CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Siyu Wang <FillZpp.pub at gmail.com>' CARGO_PKG_DESCRIPTION='Get system information in Rust.
>
> For now it supports Linux, Mac OS X, illumos, Solaris, FreeBSD, OpenBSD, and Windows.
> ' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=sys-info CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/FillZpp/sys-info-rs' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.9.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=9 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 OUT_DIR=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/build/sys-info-23e241ff285585bc/out rustc --crate-name sys_info --edition=2015 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=bc22fe928560fe94 -C extra-filename=-bc22fe928560fe94 --out-dir /<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern libc=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/deps/liblibc-4349d9afdb5cd662.rmeta -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/sys-info-0.9.1 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry -L native=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/build/sys-info-23e241ff285585bc/out -l static=info` (exit status: 1)
> warning: build failed, waiting for other jobs to finish...
> warning: `sys-info` (lib test) generated 1 warning (1 duplicate)
> error: could not compile `sys-info` (lib test) due to 1 previous error; 1 warning emitted
>
> Caused by:
> process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=sys_info CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Siyu Wang <FillZpp.pub at gmail.com>' CARGO_PKG_DESCRIPTION='Get system information in Rust.
>
> For now it supports Linux, Mac OS X, illumos, Solaris, FreeBSD, OpenBSD, and Windows.
> ' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=sys-info CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/FillZpp/sys-info-rs' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.9.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=9 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 OUT_DIR=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/build/sys-info-23e241ff285585bc/out rustc --crate-name sys_info --edition=2015 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=4f3fd944af7ba522 -C extra-filename=-4f3fd944af7ba522 --out-dir /<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern libc=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/deps/liblibc-4349d9afdb5cd662.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/sys-info-0.9.1 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry -L native=/<<PKGBUILDDIR>>/target/armv7-unknown-linux-gnueabihf/debug/build/sys-info-23e241ff285585bc/out -l static=info` (exit status: 1)
> dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
The full build log is available from:
http://qa-logs.debian.net/2024/12/23/rust-sys-info_0.9.1-6_unstable-armhf.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241223;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241223&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-rust-maintainers
mailing list