Rust build fails because the ODBC library is missing
The project's Rust code does not compile: proc-macro2. The full output is in the deploy log.
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.
Seen28 times · 22 variants
WhereDocker Compose, Dockerfile, Rust
StatusFixed (2.1.0)Fixed in PanelAlpha Engine 2.1.0. The error is resolved on our side, so you will not run into it anymore.
Why it happens
The Rust linker cannot find the ODBC system library required by the application. The build environment also reports that /var/lib/apt/lists/partial is inaccessible, so installing missing packages during the build may fail. This is a dependency or build-image configuration issue, not a repository checkout failure.
What the log looks like
Deploy log
Updating crates.io indexDownloading crates ...Compiling sqlpage v...error: linking with `cc` failed: exit status: 1= note: rust-lld: error: unable to find library -lodbcerror: could not compile `<account>` due to 1 previous error