dim
dim copied to clipboard
cargo run fails at there is no argument named `placeholders`
On running the command cargo run --features vaapi --release
, the build fails.
This causes the build to fail. Ubuntu 20.04 LTS.
warning: Built database /root/dim/./dim_dev.db.
error: there is no argument named placeholders
--> database/src/mediafile.rs:165:67
|
165 | let query = format!("SELECT * FROM mediafile WHERE id IN ({placeholders})");
| ^^^^^^^^^^^^^^
The following warnings were emitted during compilation:
warning: Generating "./dim_dev.db" from latest migrations.
warning: Built database /root/dim/./dim_dev.db.
error: could not compile `database` due to previous error
Looks like you're running a old rustc version. Try updating rustc.