[Pkg-rust-maintainers] Bug#1002257: rust-os-info: FTBFS: dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101

Lucas Nussbaum lucas at debian.org
Tue Dec 21 16:35:04 GMT 2021


Source: rust-os-info
Version: 1.3.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> dh build --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: ['parallel=4'] [] ['-j4']
> 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
>    dh_auto_test -O--buildsystem=cargo
> debian cargo wrapper: options, profiles, parallel: ['parallel=4'] [] ['-j4']
> 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', 'build', '--verbose', '--verbose', '-j4', '--target', 'x86_64-unknown-linux-gnu'],) {}
>    Compiling proc-macro2 v1.0.28
>    Compiling unicode-xid v0.2.0
>    Compiling memchr v2.4.1
>    Compiling syn v1.0.76
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/proc-macro2-1.0.28 CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>:David Tolnay <dtolnay at gmail.com>' CARGO_PKG_DESCRIPTION='A substitute implementation of the compiler'\''s `proc_macro` API to decouple
> token-based libraries from the procedural macro use case.
> ' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=proc-macro2 CARGO_PKG_REPOSITORY='https://github.com/alexcrichton/proc-macro2' CARGO_PKG_VERSION=1.0.28 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=28 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name build_script_build --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/proc-macro2-1.0.28/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=e0c680855105df2d -C extra-filename=-e0c680855105df2d --out-dir /<<PKGBUILDDIR>>/target/debug/build/proc-macro2-e0c680855105df2d -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=unicode_xid CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/unicode-xid-0.2.0 CARGO_PKG_AUTHORS='erick.tryzelaar <erick.tryzelaar at gmail.com>:kwantam <kwantam at gmail.com>' CARGO_PKG_DESCRIPTION='Determine whether characters have the XID_Start
> or XID_Continue properties according to
> Unicode Standard Annex #31.
> ' CARGO_PKG_HOMEPAGE='https://github.com/unicode-rs/unicode-xid' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=unicode-xid CARGO_PKG_REPOSITORY='https://github.com/unicode-rs/unicode-xid' CARGO_PKG_VERSION=0.2.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name unicode_xid /<<PKGBUILDDIR>>/debian/cargo_registry/unicode-xid-0.2.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=046b391f7047a9b4 -C extra-filename=-046b391f7047a9b4 --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/memchr-2.4.1 CARGO_PKG_AUTHORS='Andrew Gallant <jamslam at gmail.com>:bluss' CARGO_PKG_DESCRIPTION='Safe interface to memchr.' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/memchr' CARGO_PKG_LICENSE=Unlicense/MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=memchr CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/memchr' CARGO_PKG_VERSION=2.4.1 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name build_script_build --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/memchr-2.4.1/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --cfg 'feature="use_std"' -C metadata=df185bbe23475f61 -C extra-filename=-df185bbe23475f61 --out-dir /<<PKGBUILDDIR>>/target/debug/build/memchr-df185bbe23475f61 -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/syn-1.0.76 CARGO_PKG_AUTHORS='David Tolnay <dtolnay at gmail.com>' CARGO_PKG_DESCRIPTION='Parser for Rust source code' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=syn CARGO_PKG_REPOSITORY='https://github.com/dtolnay/syn' CARGO_PKG_VERSION=1.0.76 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=76 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name build_script_build --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/syn-1.0.76/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=40d32add7c8315bf -C extra-filename=-40d32add7c8315bf --out-dir /<<PKGBUILDDIR>>/target/debug/build/syn-40d32add7c8315bf -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
>    Compiling serde_derive v1.0.130
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/serde_derive-1.0.130 CARGO_PKG_AUTHORS='Erick Tryzelaar <erick.tryzelaar at gmail.com>:David Tolnay <dtolnay at gmail.com>' CARGO_PKG_DESCRIPTION='Macros 1.1 implementation of #[derive(Serialize, Deserialize)]' CARGO_PKG_HOMEPAGE='https://serde.rs' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=serde_derive CARGO_PKG_REPOSITORY='https://github.com/serde-rs/serde' CARGO_PKG_VERSION=1.0.130 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=130 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name build_script_build /<<PKGBUILDDIR>>/debian/cargo_registry/serde_derive-1.0.130/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=3a2b961a98f9225d -C extra-filename=-3a2b961a98f9225d --out-dir /<<PKGBUILDDIR>>/target/debug/build/serde_derive-3a2b961a98f9225d -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
>    Compiling log v0.4.11
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/log-0.4.11 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='A lightweight logging facade for Rust
> ' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=log CARGO_PKG_REPOSITORY='https://github.com/rust-lang/log' CARGO_PKG_VERSION=0.4.11 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=11 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name build_script_build /<<PKGBUILDDIR>>/debian/cargo_registry/log-0.4.11/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=77f6a98898c176fa -C extra-filename=-77f6a98898c176fa --out-dir /<<PKGBUILDDIR>>/target/debug/build/log-77f6a98898c176fa -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
>    Compiling serde v1.0.130
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/serde-1.0.130 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.130 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=130 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name build_script_build /<<PKGBUILDDIR>>/debian/cargo_registry/serde-1.0.130/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=e89269a5ed33aff2 -C extra-filename=-e89269a5ed33aff2 --out-dir /<<PKGBUILDDIR>>/target/debug/build/serde-e89269a5ed33aff2 -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
>    Compiling os_info v1.3.2 (/<<PKGBUILDDIR>>)
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Jan Schulte <hello at unexpected-co.de>:Stanislav Tkach <stanislav.tkach at gmail.com>' CARGO_PKG_DESCRIPTION='Detect the operating system type and version.' CARGO_PKG_HOMEPAGE='https://github.com/darkeld3r/os_info' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=os_info CARGO_PKG_REPOSITORY='https://github.com/darkeld3r/os_info' CARGO_PKG_VERSION=1.3.2 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name build_script_build --edition=2018 build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=cf12880c081f0930 -C extra-filename=-cf12880c081f0930 --out-dir /<<PKGBUILDDIR>>/target/debug/build/os_info-cf12880c081f0930 -C incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/debug/deps`
>    Compiling regex-syntax v0.6.25
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=regex_syntax CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/regex-syntax-0.6.25 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='A regular expression parser.' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/regex' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=regex-syntax CARGO_PKG_REPOSITORY='https://github.com/rust-lang/regex' CARGO_PKG_VERSION=0.6.25 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=25 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name regex_syntax --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/regex-syntax-0.6.25/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=1c20e80f1537e502 -C extra-filename=-1c20e80f1537e502 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/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 /<<PKGBUILDDIR>>=/usr/share/cargo/registry/os-info-1.3.2`
>    Compiling cfg-if v0.1.10
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=cfg_if CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/cfg-if-0.1.10 CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>' CARGO_PKG_DESCRIPTION='A macro to ergonomically define an item depending on a large number of #[cfg]
> parameters. Structured like an if-else chain, the first matching branch is the
> item that gets emitted.
> ' CARGO_PKG_HOMEPAGE='https://github.com/alexcrichton/cfg-if' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cfg-if CARGO_PKG_REPOSITORY='https://github.com/alexcrichton/cfg-if' CARGO_PKG_VERSION=0.1.10 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=10 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name cfg_if --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/cfg-if-0.1.10/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=cc6989a34955d33a -C extra-filename=-cc6989a34955d33a --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/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 /<<PKGBUILDDIR>>=/usr/share/cargo/registry/os-info-1.3.2`
>      Running `/<<PKGBUILDDIR>>/target/debug/build/memchr-df185bbe23475f61/build-script-build`
> [memchr 2.4.1] cargo:rustc-cfg=memchr_runtime_simd
> [memchr 2.4.1] cargo:rustc-cfg=memchr_runtime_sse2
> [memchr 2.4.1] cargo:rustc-cfg=memchr_runtime_sse42
> [memchr 2.4.1] cargo:rustc-cfg=memchr_runtime_avx
>      Running `/<<PKGBUILDDIR>>/target/debug/build/syn-40d32add7c8315bf/build-script-build`
> [syn 1.0.76] cargo:rustc-cfg=syn_disable_nightly_tests
>      Running `/<<PKGBUILDDIR>>/target/debug/build/proc-macro2-e0c680855105df2d/build-script-build`
> [proc-macro2 1.0.28] cargo:rerun-if-changed=build.rs
> [proc-macro2 1.0.28] cargo:rustc-cfg=lexerror_display
> [proc-macro2 1.0.28] cargo:rustc-cfg=hygiene
> [proc-macro2 1.0.28] cargo:rustc-cfg=use_proc_macro
> [proc-macro2 1.0.28] cargo:rustc-cfg=wrap_proc_macro
>      Running `/<<PKGBUILDDIR>>/target/debug/build/serde_derive-3a2b961a98f9225d/build-script-build`
> [serde_derive 1.0.130] cargo:rustc-cfg=underscore_consts
> [serde_derive 1.0.130] cargo:rustc-cfg=ptr_addr_of
>      Running `/<<PKGBUILDDIR>>/target/debug/build/log-77f6a98898c176fa/build-script-build`
> [log 0.4.11] cargo:rustc-cfg=atomic_cas
> [log 0.4.11] cargo:rerun-if-changed=build.rs
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=memchr CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/memchr-2.4.1 CARGO_PKG_AUTHORS='Andrew Gallant <jamslam at gmail.com>:bluss' CARGO_PKG_DESCRIPTION='Safe interface to memchr.' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/memchr' CARGO_PKG_LICENSE=Unlicense/MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=memchr CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/memchr' CARGO_PKG_VERSION=2.4.1 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/memchr-f9f4829b0763904a/out rustc --crate-name memchr --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/memchr-2.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --cfg 'feature="use_std"' -C metadata=16429e3ba62940b4 -C extra-filename=-16429e3ba62940b4 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/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 /<<PKGBUILDDIR>>=/usr/share/cargo/registry/os-info-1.3.2 --cfg memchr_runtime_simd --cfg memchr_runtime_sse2 --cfg memchr_runtime_sse42 --cfg memchr_runtime_avx`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=proc_macro2 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/proc-macro2-1.0.28 CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>:David Tolnay <dtolnay at gmail.com>' CARGO_PKG_DESCRIPTION='A substitute implementation of the compiler'\''s `proc_macro` API to decouple
> token-based libraries from the procedural macro use case.
> ' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=proc-macro2 CARGO_PKG_REPOSITORY='https://github.com/alexcrichton/proc-macro2' CARGO_PKG_VERSION=1.0.28 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=28 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/debug/build/proc-macro2-3a63d7ce9ecadb7e/out rustc --crate-name proc_macro2 --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/proc-macro2-1.0.28/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=71a6f9c48203e374 -C extra-filename=-71a6f9c48203e374 --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern unicode_xid=/<<PKGBUILDDIR>>/target/debug/deps/libunicode_xid-046b391f7047a9b4.rmeta --cap-lints warn --cfg lexerror_display --cfg hygiene --cfg use_proc_macro --cfg wrap_proc_macro`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=log CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/log-0.4.11 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='A lightweight logging facade for Rust
> ' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=log CARGO_PKG_REPOSITORY='https://github.com/rust-lang/log' CARGO_PKG_VERSION=0.4.11 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=11 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/log-359f40feb3b555b3/out rustc --crate-name log /<<PKGBUILDDIR>>/debian/cargo_registry/log-0.4.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=509fb65c3df26897 -C extra-filename=-509fb65c3df26897 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern cfg_if=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libcfg_if-cc6989a34955d33a.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 /<<PKGBUILDDIR>>=/usr/share/cargo/registry/os-info-1.3.2 --cfg atomic_cas`
> warning: use of deprecated function `core::sync::atomic::spin_loop_hint`: use hint::spin_loop instead
>     --> /usr/share/cargo/registry/os-info-1.3.2/debian/cargo_registry/log-0.4.11/src/lib.rs:1279:36
>      |
> 1279 |                 std::sync::atomic::spin_loop_hint();
>      |                                    ^^^^^^^^^^^^^^
>      |
>      = note: `#[warn(deprecated)]` on by default
> 
> warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
>     --> /usr/share/cargo/registry/os-info-1.3.2/debian/cargo_registry/log-0.4.11/src/lib.rs:1269:17
>      |
> 1269 |     match STATE.compare_and_swap(UNINITIALIZED, INITIALIZING, Ordering::SeqCst) {
>      |                 ^^^^^^^^^^^^^^^^
> 
> warning: `log` (lib) generated 2 warnings
>      Running `/<<PKGBUILDDIR>>/target/debug/build/os_info-cf12880c081f0930/build-script-build`
>      Running `/<<PKGBUILDDIR>>/target/debug/build/serde-e89269a5ed33aff2/build-script-build`
> [serde 1.0.130] cargo:rustc-cfg=ops_bound
> [serde 1.0.130] cargo:rustc-cfg=core_reverse
> [serde 1.0.130] cargo:rustc-cfg=de_boxed_c_str
> [serde 1.0.130] cargo:rustc-cfg=de_boxed_path
> [serde 1.0.130] cargo:rustc-cfg=de_rc_dst
> [serde 1.0.130] cargo:rustc-cfg=core_duration
> [serde 1.0.130] cargo:rustc-cfg=integer128
> [serde 1.0.130] cargo:rustc-cfg=range_inclusive
> [serde 1.0.130] cargo:rustc-cfg=iterator_try_fold
> [serde 1.0.130] cargo:rustc-cfg=num_nonzero
> [serde 1.0.130] cargo:rustc-cfg=serde_derive
> [serde 1.0.130] cargo:rustc-cfg=core_try_from
> [serde 1.0.130] cargo:rustc-cfg=num_nonzero_signed
> [serde 1.0.130] cargo:rustc-cfg=systemtime_checked_add
> [serde 1.0.130] cargo:rustc-cfg=std_atomic64
> [serde 1.0.130] cargo:rustc-cfg=std_atomic
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=serde CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/serde-1.0.130 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.130 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=130 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/serde-f6b9da4d747ada4b/out rustc --crate-name serde /<<PKGBUILDDIR>>/debian/cargo_registry/serde-1.0.130/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=c54e34db59eee0ae -C extra-filename=-c54e34db59eee0ae --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/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 /<<PKGBUILDDIR>>=/usr/share/cargo/registry/os-info-1.3.2 --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 iterator_try_fold --cfg num_nonzero --cfg serde_derive --cfg core_try_from --cfg num_nonzero_signed --cfg systemtime_checked_add --cfg std_atomic64 --cfg std_atomic`
>    Compiling aho-corasick v0.7.10
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=aho_corasick CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/aho-corasick-0.7.10 CARGO_PKG_AUTHORS='Andrew Gallant <jamslam at gmail.com>' CARGO_PKG_DESCRIPTION='Fast multiple substring searching.' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/aho-corasick' CARGO_PKG_LICENSE=Unlicense/MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=aho-corasick CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/aho-corasick' CARGO_PKG_VERSION=0.7.10 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=10 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name aho_corasick /<<PKGBUILDDIR>>/debian/cargo_registry/aho-corasick-0.7.10/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=3f04a9ed306f4d02 -C extra-filename=-3f04a9ed306f4d02 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern memchr=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libmemchr-16429e3ba62940b4.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 /<<PKGBUILDDIR>>=/usr/share/cargo/registry/os-info-1.3.2`
>    Compiling quote v1.0.9
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=quote CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/quote-1.0.9 CARGO_PKG_AUTHORS='David Tolnay <dtolnay at gmail.com>' CARGO_PKG_DESCRIPTION='Quasi-quoting macro quote'\!'(...)' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=quote CARGO_PKG_REPOSITORY='https://github.com/dtolnay/quote' CARGO_PKG_VERSION=1.0.9 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=9 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name quote --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/quote-1.0.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=ec5efa0ca34f9b8d -C extra-filename=-ec5efa0ca34f9b8d --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern proc_macro2=/<<PKGBUILDDIR>>/target/debug/deps/libproc_macro2-71a6f9c48203e374.rmeta --cap-lints warn`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=syn CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/syn-1.0.76 CARGO_PKG_AUTHORS='David Tolnay <dtolnay at gmail.com>' CARGO_PKG_DESCRIPTION='Parser for Rust source code' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=syn CARGO_PKG_REPOSITORY='https://github.com/dtolnay/syn' CARGO_PKG_VERSION=1.0.76 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=76 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/debug/build/syn-2de8b43f8a24b821/out rustc --crate-name syn --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/syn-1.0.76/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=57c9a50084aa95fc -C extra-filename=-57c9a50084aa95fc --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern proc_macro2=/<<PKGBUILDDIR>>/target/debug/deps/libproc_macro2-71a6f9c48203e374.rmeta --extern quote=/<<PKGBUILDDIR>>/target/debug/deps/libquote-ec5efa0ca34f9b8d.rmeta --extern unicode_xid=/<<PKGBUILDDIR>>/target/debug/deps/libunicode_xid-046b391f7047a9b4.rmeta --cap-lints warn --cfg syn_disable_nightly_tests`
>    Compiling regex v1.5.4
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=regex CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/regex-1.5.4 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='An implementation of regular expressions for Rust. This implementation uses
> finite automata and guarantees linear time matching on all inputs.
> ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/regex' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=regex CARGO_PKG_REPOSITORY='https://github.com/rust-lang/regex' CARGO_PKG_VERSION=1.5.4 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name regex --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/regex-1.5.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="aho-corasick"' --cfg 'feature="default"' --cfg 'feature="memchr"' --cfg 'feature="perf"' --cfg 'feature="perf-cache"' --cfg 'feature="perf-dfa"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=6920fbec932fed26 -C extra-filename=-6920fbec932fed26 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern aho_corasick=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libaho_corasick-3f04a9ed306f4d02.rmeta --extern memchr=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libmemchr-16429e3ba62940b4.rmeta --extern regex_syntax=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libregex_syntax-1c20e80f1537e502.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 /<<PKGBUILDDIR>>=/usr/share/cargo/registry/os-info-1.3.2`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=serde_derive CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/serde_derive-1.0.130 CARGO_PKG_AUTHORS='Erick Tryzelaar <erick.tryzelaar at gmail.com>:David Tolnay <dtolnay at gmail.com>' CARGO_PKG_DESCRIPTION='Macros 1.1 implementation of #[derive(Serialize, Deserialize)]' CARGO_PKG_HOMEPAGE='https://serde.rs' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=serde_derive CARGO_PKG_REPOSITORY='https://github.com/serde-rs/serde' CARGO_PKG_VERSION=1.0.130 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=130 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/debug/build/serde_derive-5feebafc1620c110/out rustc --crate-name serde_derive /<<PKGBUILDDIR>>/debian/cargo_registry/serde_derive-1.0.130/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=18890df85648ae1e -C extra-filename=-18890df85648ae1e --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern proc_macro2=/<<PKGBUILDDIR>>/target/debug/deps/libproc_macro2-71a6f9c48203e374.rlib --extern quote=/<<PKGBUILDDIR>>/target/debug/deps/libquote-ec5efa0ca34f9b8d.rlib --extern syn=/<<PKGBUILDDIR>>/target/debug/deps/libsyn-57c9a50084aa95fc.rlib --extern proc_macro --cap-lints warn --cfg underscore_consts --cfg ptr_addr_of`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=os_info CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Jan Schulte <hello at unexpected-co.de>:Stanislav Tkach <stanislav.tkach at gmail.com>' CARGO_PKG_DESCRIPTION='Detect the operating system type and version.' CARGO_PKG_HOMEPAGE='https://github.com/darkeld3r/os_info' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=os_info CARGO_PKG_REPOSITORY='https://github.com/darkeld3r/os_info' CARGO_PKG_VERSION=1.3.2 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/os_info-66694680352bbf39/out rustc --crate-name os_info --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=39eb6190cd8c44f9 -C extra-filename=-39eb6190cd8c44f9 --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 --extern log=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/liblog-509fb65c3df26897.rmeta --extern regex=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libregex-6920fbec932fed26.rmeta --extern serde=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libserde-c54e34db59eee0ae.rmeta --extern serde_derive=/<<PKGBUILDDIR>>/target/debug/deps/libserde_derive-18890df85648ae1e.so -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/os-info-1.3.2`
> error[E0597]: `version_regex` does not live long enough
>   --> src/linux/file_release.rs:36:13
>    |
> 36 |               version_regex
>    |               -^^^^^^^^^^^^
>    |               |
>    |  _____________borrowed value does not live long enough
>    | |
> 37 | |                 .captures_iter(&file_content)
>    | |_____________________________________________- a temporary with access to the borrow is created here ...
> ...
> 41 |           } else {
>    |           -
>    |           |
>    |           `version_regex` dropped here while still borrowed
>    |           ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `regex::CaptureMatches<'_, '_>`
>    |
>    = note: the temporary is part of an expression at the end of a block;
>            consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
> help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
>    |
> 36 ~             let x = version_regex
> 37 |                 .captures_iter(&file_content)
> 38 |                 .next()
> 39 |                 .and_then(|c| c.get(1))
> 40 ~                 .map(|v| v.as_str().trim_end().to_owned()); x
>    |
> 
> For more information about this error, try `rustc --explain E0597`.
> error: could not compile `os_info` due to previous error
> 
> Caused by:
>   process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=os_info CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Jan Schulte <hello at unexpected-co.de>:Stanislav Tkach <stanislav.tkach at gmail.com>' CARGO_PKG_DESCRIPTION='Detect the operating system type and version.' CARGO_PKG_HOMEPAGE='https://github.com/darkeld3r/os_info' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=os_info CARGO_PKG_REPOSITORY='https://github.com/darkeld3r/os_info' CARGO_PKG_VERSION=1.3.2 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/os_info-66694680352bbf39/out rustc --crate-name os_info --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=39eb6190cd8c44f9 -C extra-filename=-39eb6190cd8c44f9 --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 --extern log=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/liblog-509fb65c3df26897.rmeta --extern regex=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libregex-6920fbec932fed26.rmeta --extern serde=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libserde-c54e34db59eee0ae.rmeta --extern serde_derive=/<<PKGBUILDDIR>>/target/debug/deps/libserde_derive-18890df85648ae1e.so -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/os-info-1.3.2` (exit status: 1)
> dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/rust-os-info_1.3.2-1_unstable.log

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 marking 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