dim icon indicating copy to clipboard operation
dim copied to clipboard

cargo run fails at there is no argument named `placeholders`

Open krevoit opened this issue 2 years ago • 1 comments

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

krevoit avatar May 23 '22 14:05 krevoit

Looks like you're running a old rustc version. Try updating rustc.

vgarleanu avatar May 23 '22 14:05 vgarleanu