Rust build image has no libclang for bindgen
A dependency has to be compiled and needs development headers that the build image does not carry (pkg-config, or a library it queries). The full output is in the deploy log, naming the dependency.
TypeErrorAn error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.
Seen1 times
WhereRust
StatusIn AnalysisOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
A dependency generates its C bindings with bindgen, which needs libclang. The engine's Rust build image does not ship libclang, and a build cannot install packages.
What the log looks like
Deploy log
cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnuCC_x86_64_unknown_linux_gnu = Nonecargo:rerun-if-env-changed=HOST_CCHOST_CC = Nonecargo:rerun-if-env-changed=CCCC = Nonecargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTSCRATE_CC_NO_DEFAULTS = Nonecargo:rerun-if-env-changed=CFLAGSCFLAGS = Nonecargo:rerun-if-env-changed=HOST_CFLAGSHOST_CFLAGS = Nonecargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnuCFLAGS_x86_64_unknown_linux_gnu = Nonecargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnuCFLAGS_x86_64-unknown-linux-gnu = Nonecargo:rerun-if-env-changed=CC_x86_64-unkno…