>>> espflash 3.1.0 Downloading wget -nd -t 3 --no-check-certificate -O '/workdir/instance-1/output-1/build/.espflash-3.1.0-cargo2.tar.gz.9sl2Xb/output' 'https://github.com/esp-rs/espflash/archive/v3.1.0/espflash-3.1.0-cargo2.tar.gz' WARNING: The certificate is NOT trusted. The certificate issuer is unknown. WARNING: The certificate is NOT trusted. The certificate issuer is unknown. Failed to open tmpfile '/home/br-user/.local/share/wget/.wget-hstszJ6vyO' (2) Failed to write HSTS file '/home/br-user/.local/share/wget/.wget-hsts' [0] Downloading 'https://github.com/esp-rs/espflash/archive/v3.1.0/espflash-3.1.0-cargo2.tar.gz' ... HTTP response 302 [https://github.com/esp-rs/espflash/archive/v3.1.0/espflash-3.1.0-cargo2.tar.gz] Adding URL: https://codeload.github.com/esp-rs/espflash/tar.gz/refs/tags/v3.1.0 [0] Downloading 'https://codeload.github.com/esp-rs/espflash/tar.gz/refs/tags/v3.1.0' ... Saving '/workdir/instance-1/output-1/build/.espflash-3.1.0-cargo2.tar.gz.9sl2Xb/output' HTTP response 200 [https://codeload.github.com/esp-rs/espflash/tar.gz/refs/tags/v3.1.0] warning: `/workdir/instance-1/output-1/build/.espflash-3.1.0-cargo2.tar.gz.9sl2Xb/espflash-3.1.0/.cargo/config` is deprecated in favor of `config.toml` note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` Updating crates.io index Downloading crates ... error: failed to sync Caused by: failed to download packages Caused by: failed to download `shell-words v1.1.0` Caused by: unable to get packages from source Caused by: failed to parse manifest at `/workdir/instance-1/dl/br-cargo-home/registry/src/index.crates.io-6f17d22bba15001f/shell-words-1.1.0/Cargo.toml` Caused by: no targets specified in the manifest either src/lib.rs, src/main.rs, a [lib] section, or [[bin]] section must be present wget -nd -t 3 --no-check-certificate -O '/workdir/instance-1/output-1/build/.espflash-3.1.0-cargo2.tar.gz.a7uUO8/output' 'https://sources.buildroot.net/espflash/espflash-3.1.0-cargo2.tar.gz' WARNING: The certificate is NOT trusted. The certificate issuer is unknown. [0] Downloading 'https://sources.buildroot.net/espflash/espflash-3.1.0-cargo2.tar.gz' ... Saving '/workdir/instance-1/output-1/build/.espflash-3.1.0-cargo2.tar.gz.a7uUO8/output' HTTP response 200 [https://sources.buildroot.net/espflash/espflash-3.1.0-cargo2.tar.gz] espflash-3.1.0-cargo2.tar.gz: OK (sha256: 8e5da5e90d03135a1b2af6c0b551e4f2504ad64e659b0e88e8a4ecd98cc6a6b6) >>> espflash 3.1.0 Extracting gzip -d -c /workdir/instance-1/dl/espflash/espflash-3.1.0-cargo2.tar.gz | tar --strip-components=1 -C /workdir/instance-1/output-1/build/espflash-3.1.0 -xf - >>> espflash 3.1.0 Patching >>> espflash 3.1.0 Configuring >>> espflash 3.1.0 Building cd /workdir/instance-1/output-1/build/espflash-3.1.0/espflash && GIT_DIR=. PATH="/workdir/instance-1/output-1/host/bin:/workdir/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" GIT_DIR=. PATH="/workdir/instance-1/output-1/host/bin:/workdir/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/workdir/instance-1/output-1/host/bin/s390x-linux-gcc-ar" AS="/workdir/instance-1/output-1/host/bin/s390x-linux-as" LD="/workdir/instance-1/output-1/host/bin/s390x-linux-ld" NM="/workdir/instance-1/output-1/host/bin/s390x-linux-gcc-nm" CC="/workdir/instance-1/output-1/host/bin/s390x-linux-gcc" GCC="/workdir/instance-1/output-1/host/bin/s390x-linux-gcc" CPP="/workdir/instance-1/output-1/host/bin/s390x-linux-cpp" CXX="/workdir/instance-1/output-1/host/bin/s390x-linux-g++" FC="/workdir/instance-1/output-1/host/bin/s390x-linux-gfortran" F77="/workdir/instance-1/output-1/host/bin/s390x-linux-gfortran" RANLIB="/workdir/instance-1/output-1/host/bin/s390x-linux-gcc-ranlib" READELF="/workdir/instance-1/output-1/host/bin/s390x-linux-readelf" STRIP="/workdir/instance-1/output-1/host/bin/s390x-linux-strip" OBJCOPY="/workdir/instance-1/output-1/host/bin/s390x-linux-objcopy" OBJDUMP="/workdir/instance-1/output-1/host/bin/s390x-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/workdir/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/workdir/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/workdir/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/workdir/instance-1/output-1/host/lib -Wl,-rpath,/workdir/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/workdir/instance-1/output-1/host/bin/s390x-linux-as" DEFAULT_LINKER="/workdir/instance-1/output-1/host/bin/s390x-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1" LDFLAGS="" FCFLAGS=" -O2 -g0" FFLAGS=" -O2 -g0" PKG_CONFIG="/workdir/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/workdir/instance-1/output-1/host/s390x-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CARGO_HOME=/workdir/instance-1/dl/br-cargo-home __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" CARGO_UNSTABLE_HOST_CONFIG="true" CARGO_UNSTABLE_TARGET_APPLIES_TO_HOST="true" CARGO_TARGET_APPLIES_TO_HOST="false" CARGO_BUILD_TARGET="s390x-unknown-linux-gnu" CARGO_HOST_RUSTFLAGS="-C link-args=-L/workdir/instance-1/output-1/host/lib -C link-args=-Wl,-rpath,/workdir/instance-1/output-1/host/lib" CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_LINKER=s390x-linux-gcc CARGO_PROFILE_DEV_INCREMENTAL="false" CARGO_PROFILE_RELEASE_INCREMENTAL="false" CARGO_PROFILE_DEV_CODEGEN_UNITS="16" CARGO_PROFILE_RELEASE_CODEGEN_UNITS="16" CARGO_PROFILE_DEV_SPLIT_DEBUGINFO="off" CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO="off" CARGO_PROFILE_DEV_OPT_LEVEL="2" CARGO_PROFILE_RELEASE_OPT_LEVEL="2" CARGO_PROFILE_DEV_LTO="false" CARGO_PROFILE_RELEASE_LTO="false" CARGO_PROFILE_DEV_DEBUG="0" CARGO_PROFILE_RELEASE_DEBUG="0" CARGO_PROFILE_DEV_DEBUG_ASSERTIONS="false" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="false" CARGO_PROFILE_DEV_OVERFLOW_CHECKS="false" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" cargo build --offline --release --manifest-path Cargo.toml --locked warning: `/workdir/instance-1/output-1/build/espflash-3.1.0/.cargo/config` is deprecated in favor of `config.toml` note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` Compiling proc-macro2 v1.0.78 Compiling unicode-ident v1.0.12 Compiling libc v0.2.155 Compiling cfg-if v1.0.0 Compiling serde v1.0.202 Compiling memchr v2.7.1 Compiling bitflags v2.4.2 Compiling syn v1.0.109 Compiling cc v1.0.89 Compiling autocfg v1.1.0 Compiling adler v1.0.2 Compiling thiserror v1.0.61 Compiling rustix v0.38.31 Compiling version_check v0.9.4 Compiling crc32fast v1.4.0 Compiling linux-raw-sys v0.4.13 Compiling typenum v1.17.0 Compiling byteorder v1.5.0 Compiling miniz_oxide v0.7.2 Compiling itoa v1.0.10 Compiling rustversion v1.0.14 Compiling strsim v0.10.0 Compiling utf8parse v0.2.1 Compiling generic-array v0.14.7 Compiling unicode-width v0.1.11 Compiling tinyvec_macros v0.1.1 Compiling ident_case v1.0.1 Compiling equivalent v1.0.1 Compiling hashbrown v0.14.3 Compiling fnv v1.0.7 Compiling ryu v1.0.17 Compiling aho-corasick v1.1.2 Compiling tinyvec v1.6.0 Compiling anstyle-parse v0.2.3 Compiling lock_api v0.4.11 Compiling pkg-config v0.3.30 Compiling smallvec v1.13.1 Compiling signal-hook v0.3.17 Compiling stable_deref_trait v1.2.0 Compiling winnow v0.5.40 Compiling anstyle v1.0.6 Compiling lazy_static v1.4.0 Compiling rustls-pki-types v1.3.1 Compiling scopeguard v1.2.0 Compiling untrusted v0.9.0 Compiling flate2 v1.0.30 Compiling toml_datetime v0.6.6 Compiling quote v1.0.35 Compiling serde_json v1.0.114 Compiling radium v0.7.0 Compiling colorchoice v1.0.0 Compiling syn v2.0.52 Compiling indexmap v2.2.5 Compiling static_assertions v1.1.0 Compiling regex-syntax v0.8.2 Compiling anstyle-query v1.0.2 Compiling parking_lot_core v0.9.9 Compiling libudev-sys v0.1.4 Compiling anstream v0.6.13 Compiling twox-hash v1.6.3 Compiling unicode-normalization v0.1.23 Compiling ring v0.17.8 Compiling backtrace v0.3.69 Compiling errno v0.3.8 Compiling getrandom v0.2.12 Compiling signal-hook-registry v1.4.1 Compiling num-traits v0.2.18 Compiling rustc-demangle v0.1.23 Compiling percent-encoding v2.3.1 Compiling tap v1.0.1 Compiling zeroize v1.7.0 Compiling once_cell v1.19.0 Compiling gimli v0.28.1 Compiling heck v0.4.1 Compiling cfg_aliases v0.1.1 Compiling unicode-bidi v0.3.15 Compiling rustls v0.22.2 Compiling nix v0.28.0 Compiling wyz v0.5.1 Compiling form_urlencoded v1.2.1 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling idna v0.5.0 error: failed to run custom build command for `libudev-sys v0.1.4` Caused by: process didn't exit successfully: `/workdir/instance-1/output-1/build/espflash-3.1.0/target/release/build/libudev-sys-3ee1c984e60cfd05/build-script-build` (exit status: 101) --- stdout cargo:rerun-if-env-changed=LIBUDEV_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_s390x-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_s390x_unknown_linux_gnu cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS cargo:rerun-if-env-changed=PKG_CONFIG_s390x-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_s390x_unknown_linux_gnu cargo:rerun-if-env-changed=TARGET_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_s390x-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_s390x_unknown_linux_gnu cargo:rerun-if-env-changed=TARGET_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=LIBUDEV_STATIC cargo:rerun-if-env-changed=LIBUDEV_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_s390x-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_s390x_unknown_linux_gnu cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_s390x-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_s390x_unknown_linux_gnu cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_s390x-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_s390x_unknown_linux_gnu cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR --- stderr thread 'main' panicked at /workdir/instance-1/output-1/build/espflash-3.1.0/VENDOR/libudev-sys/build.rs:38:41: called `Result::unwrap()` on an `Err` value: "\npkg-config exited with status code 1\n> PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 /workdir/instance-1/output-1/host/bin/pkg-config --libs --cflags libudev\n\nThe system library `libudev` required by crate `libudev-sys` was not found.\nThe file `libudev.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.\nThe PKG_CONFIG_PATH environment variable is not set.\n\nHINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `libudev.pc`.\n" note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... make: *** [package/pkg-generic.mk:289: /workdir/instance-1/output-1/build/espflash-3.1.0/.stamp_built] Error 101 make: Leaving directory '/workdir/instance-1/buildroot'